Skip to content

Commit

Permalink
fix(helm): Helm charts generates invalid Deployment spec due to missi…
Browse files Browse the repository at this point in the history
…ng quotes (#135)

* fix(helm): Helm charts generates invalid Deployment spec due to missing quotes

* Remove empty line

Signed-off-by: Tom Kerkhove <[email protected]>

* fix(helm): Helm charts generates invalid Deployment spec due to missing quotes

* Remove empty line

Signed-off-by: Tom Kerkhove <[email protected]>

* Dump Deployment spec for troubleshooting

Signed-off-by: Tom Kerkhove <[email protected]>

* fetch-depth

Signed-off-by: Tom Kerkhove <[email protected]>

* Specify ref

Signed-off-by: Tom Kerkhove <[email protected]>

Signed-off-by: Tom Kerkhove <[email protected]>
  • Loading branch information
tomkerkhove authored Aug 17, 2022
1 parent 5e56082 commit 06af403
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,21 @@ spec:
- name: runtime.deployment.mechanism
value: "Helm"
- name: runtime.deployment.artifact.version
value: {{ .Chart.Version }}
value: {{ .Chart.Version | quote }}
- name: runtime.deployment.orchestrator.type
value: "Kubernetes"
- name: runtime.deployment.highAvailability.enabled
value: {{ .Values.highAvailability.enabled }}
value: {{ .Values.highAvailability.enabled | quote }}
- name: runtime.deployment.dapr.enabled
value: {{ .Values.dapr.enabled }}
value: {{ .Values.dapr.enabled | quote }}
- name: config.service.auth
valueFrom:
secretKeyRef:
{{ if .Values.secret.createSecret -}}
{{- if .Values.secret.createSecret }}
name: {{ include "azure-api-management-gateway.fullname" . }}
{{ else }}
{{- else }}
name: {{ .Values.secret.existingSecretName }}
{{ end }}
{{- end }}
key: gateway-key
envFrom:
- configMapRef:
Expand Down Expand Up @@ -131,4 +131,4 @@ spec:
{{ else -}}
claimName: {{ .Values.gateway.configuration.backup.persistentVolumeClaim.existingName }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 06af403

Please sign in to comment.