Skip to content

Commit

Permalink
fix: platformex.deployment.imagePullSecrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojciech Międzybrodzki committed Jan 23, 2025
1 parent 3755eb9 commit 149b074
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ appVersion: 1.0.0

dependencies:
- name: app
version: 0.7.2
version: 0.7.3
repository: oci://ghcr.io/wojciechem/platformex
```
Expand Down
2 changes: 1 addition & 1 deletion charts/app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Flexible helm chart to deploy your apps to kubernetes cluster.
type: application

# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.7.2
version: 0.7.3

appVersion: 1.0.0

5 changes: 4 additions & 1 deletion charts/app/templates/_deployment.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@ nodeSelector:

{{- define "platformex.deployment.imagePullSecrets" }}
{{- if .deployment.imagePullSecrets }}
imagePullSecrets: {{- range .deployment.imagePullSecrets }}
- name: {{ . }}
{{- end }}
{{- else }}
imagePullSecrets: {{- range .root.Values.global.defaults.imagePullSecrets }}
- {{ . }}
- name: {{ . }}
{{- end }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit 149b074

Please sign in to comment.