try kustomize overlays
This commit is contained in:
14
clickhouse/kustomize/patch-volumeMount.yaml
Normal file
14
clickhouse/kustomize/patch-volumeMount.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
name: clickhouse
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: clickhouse
|
||||
volumeMounts:
|
||||
- name: config-volume
|
||||
mountPath: /etc/clickhouse-server/users.d/custom-users.xml
|
||||
subPath: custom-users.xml
|
||||
readOnly: true
|
||||
Reference in New Issue
Block a user