Skip to content

Commit

Permalink
fix: chart template
Browse files Browse the repository at this point in the history
  • Loading branch information
j-zimnowoda committed Jan 28, 2025
1 parent 5534863 commit c1c28cb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion quickstart-knative-service/templates/knative-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
template:
metadata:
{{- with .Values.annotations }}
annotations: {{- toYaml | nindent 8 }}
annotations: {{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.podLabels }}
labels:
Expand Down
12 changes: 11 additions & 1 deletion tests/test-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,14 @@ versionOne:
repository: https://test/local

serviceMonitor:
create: true
create: true


annotations:
a1: 'a1-test'
a2: 'a2-test'


podLabels:
l1: 'l1-test'
l2: 'l2-test'

0 comments on commit c1c28cb

Please sign in to comment.