diff --git a/templates/backstage-deployment.yaml b/templates/backstage-deployment.yaml index ceff43e..7b82cf2 100644 --- a/templates/backstage-deployment.yaml +++ b/templates/backstage-deployment.yaml @@ -102,7 +102,17 @@ spec: secretKeyRef: name: backstage-secrets key: GITEA_PASSWORD + # Override auth environment to production + - name: AUTH_ENVIRONMENT + value: "production" + # Disable guest provider + - name: AUTH_PROVIDERS_GUEST_ENABLED + value: "false" volumeMounts: + - name: config + mountPath: /app/app-config.yaml + subPath: app-config.production.yaml + readOnly: true - name: config mountPath: /app/app-config.production.yaml subPath: app-config.production.yaml @@ -111,6 +121,8 @@ spec: - node - packages/backend - --config + - app-config.yaml + - --config - app-config.production.yaml {{- with .Values.livenessProbe }} livenessProbe: