Skip to content

Commit

Permalink
Merge pull request #8 from dannysauer/bug/dannys/fix-secret-ref
Browse files Browse the repository at this point in the history
Fix secret conflict
  • Loading branch information
motatoes authored May 2, 2024
2 parents 6013b4c + 0502002 commit 9fb4142
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/digger-backend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,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.3
version: 0.1.4

# 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
Expand Down
6 changes: 4 additions & 2 deletions charts/digger-backend/templates/backend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ spec:
- secretRef:
{{- if not .Values.digger.secret.useExistingSecret }}
name: {{ include "digger-backend.fullname" . }}-secret
{{- else if .Values.digger.postgres.existingSecretName }}
name: {{ .Values.digger.postgres.existingSecretName }}
{{- else }}
name: {{ .Values.digger.secret.existingSecretName }}
{{- end }}
{{- if .Values.digger.postgres.existingSecretName }}
- secretRef:
name: {{ .Values.digger.postgres.existingSecretName }}
{{- end }}
env:
- name: HTTP_BASIC_AUTH
value: "1"
Expand Down

0 comments on commit 9fb4142

Please sign in to comment.