Skip to content

Commit

Permalink
Merge pull request #331 from bci-oss/bugfix/helm-deployment-condition
Browse files Browse the repository at this point in the history
Add condition to deployment.yml if postgres enabled /add secret
  • Loading branch information
tunacicek authored Feb 20, 2024
2 parents 7165366 + d3dc739 commit edcac48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/registry/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ sources:
- https://github.com/eclipse-tractusx/sldt-digital-twin-registry

type: application
version: 0.4.5
version: 0.4.6
appVersion: 0.3.23

dependencies:
Expand Down
2 changes: 2 additions & 0 deletions charts/registry/templates/registry/registry-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,10 @@ spec:
envFrom:
- secretRef:
name: {{ include "dtr.fullname" . }}
{{- if .Values.enablePostgres }}
- secretRef:
name: {{ .Values.postgresql.auth.existingSecret }}
{{- end }}
resources:
{{ .Values.registry.resources | toYaml | indent 12 }}
imagePullSecrets:
Expand Down

0 comments on commit edcac48

Please sign in to comment.