Skip to content

Commit

Permalink
Make annotation val explicit string.......
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Wessendorf <[email protected]>
  • Loading branch information
matzew committed Nov 12, 2024
1 parent 23cd4c2 commit 1389906
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/rekt/resources/broker/broker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ metadata:
{{ end }}
{{ if .annotations }}
{{ range $key, $value := .annotations }}
{{ $key }}: {{ $value }}
{{ $key }}: "{{ $value }}"
{{ end }}
{{ end }}
{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion test/rekt/resources/broker/broker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func ExampleWithAnnotations() {
// name: foo
// namespace: bar
// annotations:
// eventing.knative.dev/foo: bar
// eventing.knative.dev/foo: "bar"
// spec:
}

Expand Down

0 comments on commit 1389906

Please sign in to comment.