From eba2e52bfd25a15ae5e97144e27a367179b2b16f Mon Sep 17 00:00:00 2001 From: yu-croco Date: Mon, 12 Aug 2024 17:11:34 +0900 Subject: [PATCH] fix(argo-rollouts): correct typo Signed-off-by: yu-croco --- charts/argo-rollouts/templates/_helpers.tpl | 2 +- charts/argo-rollouts/templates/controller/clusterrole.yaml | 2 +- charts/argo-rollouts/templates/controller/role.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/argo-rollouts/templates/_helpers.tpl b/charts/argo-rollouts/templates/_helpers.tpl index f87f8536..4c23c54e 100644 --- a/charts/argo-rollouts/templates/_helpers.tpl +++ b/charts/argo-rollouts/templates/_helpers.tpl @@ -113,7 +113,7 @@ Return the appropriate apiVersion for pod disruption budget {{/* Return the rules for controller's Role and ClusterRole */}} -{{- define "argo-rollouts.controller.roleRuls" -}} +{{- define "argo-rollouts.controller.roleRules" -}} - apiGroups: - argoproj.io resources: diff --git a/charts/argo-rollouts/templates/controller/clusterrole.yaml b/charts/argo-rollouts/templates/controller/clusterrole.yaml index e5e1805a..026f23d7 100644 --- a/charts/argo-rollouts/templates/controller/clusterrole.yaml +++ b/charts/argo-rollouts/templates/controller/clusterrole.yaml @@ -7,5 +7,5 @@ metadata: app.kubernetes.io/component: {{ .Values.controller.component }} {{- include "argo-rollouts.labels" . | nindent 4 }} rules: - {{- include "argo-rollouts.controller.roleRuls" . | nindent 2 }} + {{- include "argo-rollouts.controller.roleRules" . | nindent 2 }} {{- end }} diff --git a/charts/argo-rollouts/templates/controller/role.yaml b/charts/argo-rollouts/templates/controller/role.yaml index c1ef6fa1..6ba0805a 100644 --- a/charts/argo-rollouts/templates/controller/role.yaml +++ b/charts/argo-rollouts/templates/controller/role.yaml @@ -8,5 +8,5 @@ metadata: app.kubernetes.io/component: {{ .Values.controller.component }} {{- include "argo-rollouts.labels" . | nindent 4 }} rules: - {{- include "argo-rollouts.controller.roleRuls" . | nindent 2 }} + {{- include "argo-rollouts.controller.roleRules" . | nindent 2 }} {{- end }}