[OPB-xxx] adding environment variable to get the url the bot can be reached at

This commit is contained in:
Sheldan
2024-04-05 01:59:47 +02:00
parent 563f2bd35a
commit 72c8d4dbf3
2 changed files with 3 additions and 0 deletions

View File

@@ -77,6 +77,8 @@ spec:
value: "{{ .Values.privateRestApi.service.name }}.{{ .Release.Namespace }}.svc.cluster.local"
- name: PRIVATE_REST_API_PORT
value: "{{ .Values.privateRestApi.service.targetPort }}"
- name: FRONTEND_BASE
value: "https://{{ .Values.bot.host }}"
{{- range $key, $value := .Values.bot.propertyConfig }}
- name: {{ $key | quote }}
value: {{ $value | quote}}

View File

@@ -16,6 +16,7 @@ bot:
newsForumPostNotificationServerId: null
propertyConfig:
hikariPoolSize: 10
host:
templateDeployment:
enabled: true
repository: harbor.sheldan.dev/abstracto