From c554d521c72355e13407c109f1029588d66df0b9 Mon Sep 17 00:00:00 2001 From: Cem Deniz Kabakci Date: Thu, 14 Mar 2024 15:15:25 +0100 Subject: [PATCH] Fix flag names for roles and cluster roles, update version Co-authored-by: Jose Riguera --- charts/mimirrules-controller/Chart.yaml | 4 ++-- charts/mimirrules-controller/templates/authproxy_roles.yaml | 2 +- charts/mimirrules-controller/templates/role.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/mimirrules-controller/Chart.yaml b/charts/mimirrules-controller/Chart.yaml index 41c72cd..8414607 100644 --- a/charts/mimirrules-controller/Chart.yaml +++ b/charts/mimirrules-controller/Chart.yaml @@ -21,10 +21,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.0.5 +version: 1.0.6 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "1.0.5" +appVersion: "1.0.6" diff --git a/charts/mimirrules-controller/templates/authproxy_roles.yaml b/charts/mimirrules-controller/templates/authproxy_roles.yaml index 5b3b5c0..1dd526d 100644 --- a/charts/mimirrules-controller/templates/authproxy_roles.yaml +++ b/charts/mimirrules-controller/templates/authproxy_roles.yaml @@ -1,4 +1,4 @@ -{{- if and .Values.authProxyClusterRole.enabled .Values.authProxy.enabled }} +{{- if and .Values.authProxyClusterRole.create .Values.authProxy.enabled }} apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: diff --git a/charts/mimirrules-controller/templates/role.yaml b/charts/mimirrules-controller/templates/role.yaml index 8280805..d15db02 100644 --- a/charts/mimirrules-controller/templates/role.yaml +++ b/charts/mimirrules-controller/templates/role.yaml @@ -1,4 +1,4 @@ -{{- if .Values.controllerClusterRole.enabled }} +{{- if .Values.controllerClusterRole.create }} apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: