diff --git a/charts/kubezero-kiam/Chart.yaml b/charts/kubezero-kiam/Chart.yaml index 812628f2..ba2ddfcb 100644 --- a/charts/kubezero-kiam/Chart.yaml +++ b/charts/kubezero-kiam/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: kubezero-kiam description: KubeZero Umbrella Chart for Kiam type: application -version: 0.2.10 +version: 0.2.11 appVersion: 3.6 home: https://kubezero.com icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png diff --git a/charts/kubezero-kiam/templates/sync-ns.yaml b/charts/kubezero-kiam/templates/sync-ns.yaml index cc270a0e..b14d982d 100644 --- a/charts/kubezero-kiam/templates/sync-ns.yaml +++ b/charts/kubezero-kiam/templates/sync-ns.yaml @@ -1,3 +1,4 @@ +{{- if .Values.annotateKubeSystemNameSpace }} apiVersion: v1 kind: ServiceAccount metadata: @@ -63,3 +64,4 @@ spec: tolerations: - effect: NoSchedule key: node-role.kubernetes.io/master +{{- end }} diff --git a/charts/kubezero-kiam/values.yaml b/charts/kubezero-kiam/values.yaml index b96d4f5d..d09c24bc 100644 --- a/charts/kubezero-kiam/values.yaml +++ b/charts/kubezero-kiam/values.yaml @@ -1,3 +1,5 @@ +annotateKubeSystemNameSpace: false + kiam: enabled: true server: