From c45e2c994ee281e09d5727d443b5e20f24106a83 Mon Sep 17 00:00:00 2001 From: Nathan Coleman Date: Tue, 30 May 2023 14:27:41 -0400 Subject: [PATCH] Use consul.fullname instead of release.name --- charts/consul/templates/connect-inject-clusterrole.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/consul/templates/connect-inject-clusterrole.yaml b/charts/consul/templates/connect-inject-clusterrole.yaml index ee24aa2dcb..213a536ecd 100644 --- a/charts/consul/templates/connect-inject-clusterrole.yaml +++ b/charts/consul/templates/connect-inject-clusterrole.yaml @@ -163,7 +163,7 @@ rules: resources: - securitycontextconstraints resourceNames: - - {{ .Release.Name }}-api-gateway + - {{ template "consul.fullname" . }}-api-gateway verbs: - use {{- end }}