diff --git a/charts-external/spark/templates/spark.yaml b/charts-external/spark/templates/spark.yaml index cd91a48..0cbfcd9 100644 --- a/charts-external/spark/templates/spark.yaml +++ b/charts-external/spark/templates/spark.yaml @@ -97,6 +97,9 @@ spec: {{ if .Values.drupalSecretName }} - {"name": "DRUPAL_PROFILE_API_PASSWORD", "valueFrom": {"secretKeyRef": {"name": {{ .Values.drupalSecretName | quote }}, "key": "DRUPAL_PROFILE_API_PASSWORD"}}} {{ end }} + {{ if .Values.gateSecretName }} + - {"name": "GATE_FORCE_ENTRY_PASSWORD", "valueFrom": {"secretKeyRef": {"name": {{ .Values.gateSecretName | quote }}, "key": "GATE_FORCE_ENTRY_PASSWORD"}}} + {{ end }} {{ if .Values.enableSecrets }} - name: SPARK_SECRET_TOKEN valueFrom: diff --git a/environments/production/values.yaml b/environments/production/values.yaml index 46947e7..95b1d0a 100644 --- a/environments/production/values.yaml +++ b/environments/production/values.yaml @@ -84,6 +84,8 @@ spark: # Supplier contract files suppliersBucket: midburn-spark-supplier-files-prod + # Gate force entry + gateSecretName: gate nginx: htpasswdSecretName: nginx-htpasswd diff --git a/environments/staging/values.yaml b/environments/staging/values.yaml index 011dd72..4dc8a0b 100644 --- a/environments/staging/values.yaml +++ b/environments/staging/values.yaml @@ -93,6 +93,8 @@ spark: # Supplier contract files suppliersBucket: midburn-spark-supplier-files + # Gate force entry + gateSecretName: gate nginx: htpasswdSecretName: nginx-htpasswd