diff --git a/helm-charts/infisical/Chart.yaml b/helm-charts/infisical/Chart.yaml index 81b7182c0..7205abdaa 100644 --- a/helm-charts/infisical/Chart.yaml +++ b/helm-charts/infisical/Chart.yaml @@ -7,7 +7,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.10 +version: 0.1.11 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/helm-charts/infisical/templates/backend-deployment.yaml b/helm-charts/infisical/templates/backend-deployment.yaml index 141997a3e..9e97c4707 100644 --- a/helm-charts/infisical/templates/backend-deployment.yaml +++ b/helm-charts/infisical/templates/backend-deployment.yaml @@ -33,6 +33,7 @@ spec: - secretRef: name: {{ .Values.backend.kubeSecretRef }} {{- end }} + {{- if .Values.backendEnvironmentVariables }} env: - name: MONGO_URL value: {{ include "infisical.mongodb.connectionString" . | quote }} @@ -43,6 +44,7 @@ spec: - name: {{ $key }} value: {{ quote $value }} {{- end }} + {{- end }} --- apiVersion: v1 diff --git a/helm-charts/infisical/values.yaml b/helm-charts/infisical/values.yaml index 46c611d88..9ed7ef9dc 100644 --- a/helm-charts/infisical/values.yaml +++ b/helm-charts/infisical/values.yaml @@ -83,24 +83,6 @@ ingress: # hosts: # - k8.infisical.com -### -### YOU MUST FILL IN ALL SECRETS BELOW -### -backendEnvironmentVariables: - # Required keys for platform encryption/decryption ops. Replace with nacl sk keys - ENCRYPTION_KEY: MUST_REPLACE - - # JWT - # Required secrets to sign JWT tokens - JWT_SIGNUP_SECRET: MUST_REPLACE - JWT_REFRESH_SECRET: MUST_REPLACE - JWT_AUTH_SECRET: MUST_REPLACE - - # Mail/SMTP - # Required to send emails - SMTP_HOST: MUST_REPLACE - SMTP_NAME: MUST_REPLACE - SMTP_USERNAME: MUST_REPLACE - SMTP_PASSWORD: MUST_REPLACE - frontendEnvironmentVariables: {} + +backendEnvironmentVariables: {}