Skip to content

Commit

Permalink
fix: values defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickleet committed Nov 21, 2022
1 parent 18ae652 commit 7cd21fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions promote/helm/templates/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ spec:
targetRevision: {{ .Values.version }}
helm:
version: v3
{{- if .Values.values }}
values: |
{{ .Values.values | nindent 8 }}
{{- end }}
destination:
namespace: {{ .Values.project }}
server: https://kubernetes.default.svc
Expand Down
3 changes: 1 addition & 2 deletions promote/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ name: example-policy-service
version: HEAD
project: dev
repository: CloudNativeEntrepreneur/example-policy-service
values: |
# Empty - set via promote/helm chart in CloudNativeEntrepreneur/example-policy-service
values: ""

0 comments on commit 7cd21fe

Please sign in to comment.