From dd6d23398454d0da15d1b0af240965faf22c9288 Mon Sep 17 00:00:00 2001 From: Collin Pendleton Date: Fri, 15 Nov 2024 06:56:11 -0600 Subject: [PATCH] Add additional variables to podpeople deployment --- .../helm/pinepods/templates/people-deployment.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/deployment/kubernetes/helm/pinepods/templates/people-deployment.yaml b/deployment/kubernetes/helm/pinepods/templates/people-deployment.yaml index 185b34a..fe04689 100644 --- a/deployment/kubernetes/helm/pinepods/templates/people-deployment.yaml +++ b/deployment/kubernetes/helm/pinepods/templates/people-deployment.yaml @@ -31,11 +31,17 @@ spec: value: {{ .Values.podpeople.auth.adminUsername | quote }} - name: ADMIN_PASSWORD value: {{ .Values.podpeople.auth.adminPassword | quote }} + - name: NTFY_URL + value: {{ .Values.podpeople.environment.ntfyUrl | quote }} + - name: NTFY_TOPIC + value: {{ .Values.podpeople.environment.ntfyTopic | quote }} + - name: BASE_URL + value: {{ .Values.podpeople.environment.baseurl | quote }} - name: SEARCH_API_URL {{- if .Values.backend.enabled }} value: "http://{{ include "pinepods.fullname" . }}-backend:{{ .Values.backend.service.port }}" {{- else }} - value: {{ .Values.podpeople.searchApiUrl | quote }} + value: {{ .Values.podpeople.environment.searchApiUrl | quote }} {{- end }} volumeMounts: - name: data @@ -44,4 +50,4 @@ spec: - name: data persistentVolumeClaim: claimName: {{ if .Values.podpeople.persistence.existingClaim }}{{ .Values.podpeople.persistence.existingClaim }}{{ else }}{{ include "pinepods.fullname" . }}-podpeople{{ end }} -{{- end }} \ No newline at end of file +{{- end }}