File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1212 * Add the ability to set the ` imagePullSecrets ` for the operator statefulset.
1313 * Add Google Drive via service account as backup option.
1414 * Add ` initBucketURL ` and ` initBucketSecretName ` options to MysqlCluster chart. This bumps the chart version to ` 0.3.0 `
15+ * Add an example of how initContainers can be used to fix hostPath permissions.
1516### Changed
1617 * Only add ` binlog-space-limit ` for ` percona ` image
1718 * Make user-defined InitContainer take the precedence
Original file line number Diff line number Diff line change 5757 # tolerations: []
5858 # priorityClassName:
5959 # serviceAccountName: default
60+ # # Use a initContainer to fix the permissons of a hostPath volume.
61+ # initContainers:
62+ # - name: volume-permissions
63+ # image: busybox
64+ # securityContext:
65+ # runAsUser: 0
66+ # command:
67+ # - sh
68+ # - -c
69+ # - chmod 750 /data/mysql; chown 999:999 /data/mysql
70+ # volumeMounts:
71+ # - name: data
72+ # mountPath: /data/mysql
6073
6174 # # Specify additional volume specification
6275 # volumeSpec:
You can’t perform that action at this time.
0 commit comments