Skip to content

Commit 2a1131d

Browse files
Fix external db keys (#216)
[Fixed #211] Mismatched default secret key name
1 parent 1a18c69 commit 2a1131d

4 files changed

+4
-4
lines changed

charts/geonode/templates/postgres/postgres-external-geodata-secrets.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ metadata:
66
namespace: {{ .Release.Namespace }}
77
type: Opaque
88
data:
9-
geodata_password: {{ .Values.postgres.external.secret.geodata_password | b64enc }}
9+
geodata-password: {{ .Values.postgres.external.secret.geodata_password | b64enc }}
1010
{{ end }}

charts/geonode/templates/postgres/postgres-external-geonode-secrets.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ metadata:
66
namespace: {{ .Release.Namespace }}
77
type: Opaque
88
data:
9-
geonode_password: {{ .Values.postgres.external.secret.geonode_password | b64enc }}
9+
geonode-password: {{ .Values.postgres.external.secret.geonode_password | b64enc }}
1010
{{ end }}

charts/geonode/templates/postgres/postgres-external-postgres-secrets.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ metadata:
66
namespace: {{ .Release.Namespace }}
77
type: Opaque
88
data:
9-
postgres_password: {{ .Values.postgres.external.secret.postgres_password | b64enc }}
9+
postgres-password: {{ .Values.postgres.external.secret.postgres_password | b64enc }}
1010
{{ end }}

charts/geonode/templates/pycsw/pycsw-deploy.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ spec:
5252
valueFrom:
5353
secretKeyRef:
5454
name: {{ include "database_geonode_password_secret_key_ref" . }}
55-
key: password
55+
key: {{ include "database_geonode_password_key_ref" . }}
5656
- name: PYCSW_REPOSITORY_DATABASE_URI
5757
value: "postgresql://$(GEONODE_DATABASE):$(GEONODE_DATABASE_PASSWORD)@$(DATABASE_HOST):$(DATABASE_PORT)/$(GEONODE_DATABASE)"
5858

0 commit comments

Comments
 (0)