Skip to content

Commit

Permalink
fix: env quote
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojciech Międzybrodzki committed Jan 23, 2025
1 parent 397a609 commit 3755eb9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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.1
version: 0.7.2
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.1
version: 0.7.2

appVersion: 1.0.0

4 changes: 2 additions & 2 deletions charts/app/templates/_container.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ env:
{{- range $name, $env := .container.env }}
- name: {{ $name }}
{{- if typeIs "string" $env }}
value: {{ $env }}
value: {{ $env | quote }}
{{- else if hasKey $env "valueFrom" }}
valueFrom:
{{- toYaml $env.valueFrom | nindent 4 }}
Expand All @@ -50,7 +50,7 @@ env:
{{- range $name, $env := $ref }}
- name: {{ $name }}
{{- if typeIs "string" $env }}
value: {{ $env }}
value: {{ $env | quote }}
{{- else if hasKey $env "valueFrom" }}
valueFrom: {{- toYaml $env.valueFrom | nindent 4 }}
{{- end }}
Expand Down

0 comments on commit 3755eb9

Please sign in to comment.