clickhouse: donne droit de lecture sur bd system
This commit is contained in:
@@ -5,6 +5,8 @@ metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: clickhouse-db-init
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
annotations:
|
||||
checksum/config: {{ include (print $.Template.BasePath "/init-sql-configmap.yaml") . | sha256sum }}
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
|
||||
@@ -20,5 +20,7 @@ data:
|
||||
GRANT CREATE, SELECT, INSERT, ALTER, DROP
|
||||
ON {{ $db }}.*
|
||||
TO {{ $db }};
|
||||
|
||||
GRANT SELECT ON system.* TO {{ $db }};
|
||||
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user