Skip to content

Commit

Permalink
fix(#28): quoting of values does not quote templated output
Browse files Browse the repository at this point in the history
  • Loading branch information
saylerb committed Apr 12, 2024
1 parent 34252a8 commit 194e3fe
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions charts/lab-api-teams-chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
- name: DATABASE_URL
value: {{ .Values.database.url }}
- name: DATABASE_PORT
value: {{ .Values.database.port }}
value: "{{ .Values.database.port | quote }}"
resources:
{{- toYaml .Values.resources | nindent 12 }}
livenessProbe:
Expand All @@ -56,7 +56,7 @@ spec:
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
Expand Down
2 changes: 1 addition & 1 deletion charts/lab-api-teams-chart/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ virtualService:

database:
url: "yb-tservers.twdps-core-labs-team-dev.svc.cluster.local"
port: "5433"
port: 5433

strategy:
type: RollingUpdate
Expand Down
2 changes: 1 addition & 1 deletion charts/lab-api-teams-chart/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ virtualService:

database:
url: "yb-tservers.twdps-core-labs-team-prod.svc.cluster.local"
port: "5433"
port: 5433

image:
pullPolicy: Always
Expand Down
2 changes: 1 addition & 1 deletion charts/lab-api-teams-chart/values-qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ virtualService:

database:
url: "yb-tservers.twdps-core-labs-team-qa.svc.cluster.local"
port: "5433"
port: 5433

strategy:
type: RollingUpdate
Expand Down

0 comments on commit 194e3fe

Please sign in to comment.