Skip to content

Commit

Permalink
Fix external db keys (#216)
Browse files Browse the repository at this point in the history
[Fixed #211] Mismatched default secret key name
  • Loading branch information
TheNumenorean authored Oct 8, 2024
1 parent 1a18c69 commit 2a1131d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ metadata:
namespace: {{ .Release.Namespace }}
type: Opaque
data:
geodata_password: {{ .Values.postgres.external.secret.geodata_password | b64enc }}
geodata-password: {{ .Values.postgres.external.secret.geodata_password | b64enc }}
{{ end }}
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ metadata:
namespace: {{ .Release.Namespace }}
type: Opaque
data:
geonode_password: {{ .Values.postgres.external.secret.geonode_password | b64enc }}
geonode-password: {{ .Values.postgres.external.secret.geonode_password | b64enc }}
{{ end }}
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ metadata:
namespace: {{ .Release.Namespace }}
type: Opaque
data:
postgres_password: {{ .Values.postgres.external.secret.postgres_password | b64enc }}
postgres-password: {{ .Values.postgres.external.secret.postgres_password | b64enc }}
{{ end }}
2 changes: 1 addition & 1 deletion charts/geonode/templates/pycsw/pycsw-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ include "database_geonode_password_secret_key_ref" . }}
key: password
key: {{ include "database_geonode_password_key_ref" . }}
- name: PYCSW_REPOSITORY_DATABASE_URI
value: "postgresql://$(GEONODE_DATABASE):$(GEONODE_DATABASE_PASSWORD)@$(DATABASE_HOST):$(DATABASE_PORT)/$(GEONODE_DATABASE)"

Expand Down

0 comments on commit 2a1131d

Please sign in to comment.