From 15163ef5858cbdfb883a67ae95a1cd1e7d2fb393 Mon Sep 17 00:00:00 2001 From: Stefan Henseler Date: Fri, 3 Aug 2018 10:19:12 +0200 Subject: [PATCH] fixes capitalization error for release name reference (#10) --- charts/argo/templates/ui-cluster-role.yaml | 2 +- charts/argo/templates/ui-crb.yaml | 4 ++-- charts/argo/templates/workflow-controller-clusterrole.yaml | 2 +- charts/argo/templates/workflow-controller-crb.yaml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/argo/templates/ui-cluster-role.yaml b/charts/argo/templates/ui-cluster-role.yaml index b66f29b8..f95d945d 100644 --- a/charts/argo/templates/ui-cluster-role.yaml +++ b/charts/argo/templates/ui-cluster-role.yaml @@ -1,7 +1,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - name: {{ .Release.name }}-{{ .Values.ui.name}}-cluster-role + name: {{ .Release.Name }}-{{ .Values.ui.name}}-cluster-role rules: - apiGroups: - "" diff --git a/charts/argo/templates/ui-crb.yaml b/charts/argo/templates/ui-crb.yaml index bb7ccd62..daa1f302 100644 --- a/charts/argo/templates/ui-crb.yaml +++ b/charts/argo/templates/ui-crb.yaml @@ -1,11 +1,11 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: - name: {{ .Release.name }}-{{ .Values.ui.name}}-crb + name: {{ .Release.Name }}-{{ .Values.ui.name}}-crb roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole - name: {{ .Release.name }}-{{ .Values.ui.name}}-cluster-role + name: {{ .Release.Name }}-{{ .Values.ui.name}}-cluster-role subjects: - kind: ServiceAccount name: {{ .Values.ui.serviceAccount }} diff --git a/charts/argo/templates/workflow-controller-clusterrole.yaml b/charts/argo/templates/workflow-controller-clusterrole.yaml index 7e6368ff..35451f3e 100644 --- a/charts/argo/templates/workflow-controller-clusterrole.yaml +++ b/charts/argo/templates/workflow-controller-clusterrole.yaml @@ -1,7 +1,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - name: {{ .Release.name }}-{{ .Values.controller.name}}-cluster-role + name: {{ .Release.Name }}-{{ .Values.controller.name}}-cluster-role rules: - apiGroups: - "" diff --git a/charts/argo/templates/workflow-controller-crb.yaml b/charts/argo/templates/workflow-controller-crb.yaml index 2af560f0..5dc55111 100644 --- a/charts/argo/templates/workflow-controller-crb.yaml +++ b/charts/argo/templates/workflow-controller-crb.yaml @@ -1,11 +1,11 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: - name: {{ .Release.name }}-{{ .Values.controller.name}}-binding + name: {{ .Release.Name }}-{{ .Values.controller.name}}-binding roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole - name: {{ .Release.name }}-{{ .Values.controller.name}}-cluster-role + name: {{ .Release.Name }}-{{ .Values.controller.name}}-cluster-role subjects: - kind: ServiceAccount name: {{ .Values.controller.serviceAccount }}