Skip to content

Commit

Permalink
fix: rbac default disabled (#72)
Browse files Browse the repository at this point in the history
(cherry picked from commit 8f85cd8)
  • Loading branch information
lynnleelhl authored and JashBook committed Dec 11, 2023
1 parent 636bcd7 commit cc2ca68
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion addons/clickhouse-cluster/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

{{- define "clustername" -}}
{{ include "clickhouse-cluster.fullname" .}}
{{ .Release.Name }}
{{- end}}

{{/*
Expand Down
2 changes: 1 addition & 1 deletion addons/clickhouse-cluster/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
clusterDefinitionRef: clickhouse # ref clusterdefinition.name
clusterVersionRef: clickhouse-{{ default .Chart.AppVersion .Values.clusterVersionOverride }} # ref clusterversion.name
terminationPolicy: {{ $.Values.terminationPolicy }}
terminationPolicy: {{ $.Values.extra.terminationPolicy }}
affinity:
{{- with $.Values.topologyKeys }}
topologyKeys: {{ . | toYaml | nindent 6 }}
Expand Down
2 changes: 1 addition & 1 deletion addons/kblib/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ publiclyAccessible: false

## @param rbacEnabled if true, rbac resources will be created
##
rbacEnabled: true
rbacEnabled: false

0 comments on commit cc2ca68

Please sign in to comment.