Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ roleRef:
name: {{.ServicePackageName}}-leader-election-role
subjects:
- kind: ServiceAccount
name: {{.ServiceAccountName}}
name: {{ "{{ include "service-account.name" . }}" }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we need to prepend an \ for the helm brackets. I still get confused with this templinception..

Suggested change
name: {{ "{{ include "service-account.name" . }}" }}
name: {{ "{{ include \"service-account.name\" . }}" }}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/cc @grandwizard28

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hahaha, what a coincidence, I just pushed the same patch!

namespace: {{ "{{ .Release.Namespace }}" }}
{{- "{{- end }}" }}