diff --git a/patchmon/Chart.yaml b/patchmon/Chart.yaml index 70be360..6eab791 100644 --- a/patchmon/Chart.yaml +++ b/patchmon/Chart.yaml @@ -4,7 +4,7 @@ description: A Helm chart to deploy Patchmon on Kubernetes type: application -version: 1.3.0+up1.4.2 +version: 1.4.0+up1.4.2 appVersion: "1.4.2" maintainers: diff --git a/patchmon/templates/patchmon-backend.deployment.yaml b/patchmon/templates/patchmon-backend.deployment.yaml index 7d8555b..b968a09 100644 --- a/patchmon/templates/patchmon-backend.deployment.yaml +++ b/patchmon/templates/patchmon-backend.deployment.yaml @@ -125,12 +125,16 @@ spec: secretKeyRef: name: {{ .Release.Name }}-{{ .Chart.Name }}-oidc-secret key: admin-group-name + - name: SERVER_PROTOCOL + value: "https" - name: SERVER_HOST - value: "https://{{ .Values.ingress.domain }}" - - name: CORS_ORIGIN - value: "https://{{ .Values.ingress.domain }}" + value: "{{ .Values.ingress.domain }}" - name: SERVER_PORT value: "443" + - name: CORS_ORIGIN + value: "https://{{ .Values.ingress.domain }}" + - name: TRUST_PROXIES + value: "1" # TODO: Add liveness and readiness probes {{- with .Values.patchmon.backend.resources }} resources: diff --git a/patchmon/templates/patchmon-frontend.deployment.yaml b/patchmon/templates/patchmon-frontend.deployment.yaml index d9d5d1d..a89df53 100644 --- a/patchmon/templates/patchmon-frontend.deployment.yaml +++ b/patchmon/templates/patchmon-frontend.deployment.yaml @@ -26,7 +26,7 @@ spec: name: http env: - name: BACKEND_URL - value: "{{ .Release.Name }}-{{ .Chart.Name }}-backend-service.{{ .Release.Namespace }}.svc.cluster.local" + value: "{{ .Release.Name }}-{{ .Chart.Name }}-backend-service" - name: BACKEND_PORT value: "80" {{- with .Values.patchmon.frontend.resources }}