Skip to content

Commit

Permalink
fix(helm): fix label and username for external database (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
evegufy authored Mar 21, 2024
1 parent fd3839b commit e9817ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/policy-hub/templates/secret-external-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ metadata:
name: {{ .Values.externalDatabase.existingSecret }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "portal.labels" . | nindent 4 }}
{{- include "phub.labels" . | nindent 4 }}
type: Opaque
# use lookup function to check if secret exists
{{- $secret := (lookup "v1" "Secret" .Release.Namespace .Values.externalDatabase.existingSecret) }}
Expand Down
2 changes: 1 addition & 1 deletion charts/policy-hub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ externalDatabase:
# -- Database port number.
port: 5432
# -- Non-root username for policy-hub.
user: "hub"
username: "hub"
# -- Database name.
database: "policy-hub"
# -- Password for the non-root username (default 'hub'). Secret-key 'password'.
Expand Down

0 comments on commit e9817ff

Please sign in to comment.