mirror of
https://github.com/cert-manager/webhook-example.git
synced 2025-08-22 20:22:51 +02:00
Fix Helm chart indentation
The flowcontrol-solver ClusterRole and ClusterRoleBinding had an extra level of indentation for labels which resulted in invalid YAML after templating. This patch removes the extra indentation so Helm install works again.
This commit is contained in:
parent
de4dbbf96a
commit
e488b5fc16
1 changed files with 3 additions and 3 deletions
|
@ -112,7 +112,7 @@ kind: ClusterRole
|
|||
metadata:
|
||||
name: {{ include "gcore-webhook.fullname" . }}:flowcontrol-solver
|
||||
labels:
|
||||
{{ include "gcore-webhook.labels" . | indent 4 }}
|
||||
{{ include "gcore-webhook.labels" . | indent 4 }}
|
||||
rules:
|
||||
- apiGroups:
|
||||
- "flowcontrol.apiserver.k8s.io"
|
||||
|
@ -128,7 +128,7 @@ kind: ClusterRoleBinding
|
|||
metadata:
|
||||
name: {{ include "gcore-webhook.fullname" . }}:flowcontrol-solver
|
||||
labels:
|
||||
{{ include "gcore-webhook.labels" . | indent 4 }}
|
||||
{{ include "gcore-webhook.labels" . | indent 4 }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
|
@ -137,4 +137,4 @@ subjects:
|
|||
- apiGroup: ""
|
||||
kind: ServiceAccount
|
||||
name: {{ include "gcore-webhook.fullname" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
|
|
Loading…
Reference in a new issue