Skip to content

Commit

Permalink
fix: add conditional for key (#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregkonush authored Nov 29, 2024
1 parent 0832c7d commit 657db72
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions bootstrap/appset-helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ spec:
chart: dgraph
version: 24.0.5
releaseName: dgraph
customValues: true
valuesObject:
zero:
persistence:
Expand Down Expand Up @@ -52,10 +51,9 @@ spec:
releaseName: "{{.releaseName}}"
skipCrds: false
templatePatch: |
{{- if .customValues }}
{{- if hasKey . "valuesObject" }}
spec:
source:
helm:
valuesObject:
{{ .valuesObject }}
valuesObject: {{- .valuesObject | toYaml | nindent 12 }}
{{- end }}

0 comments on commit 657db72

Please sign in to comment.