Skip to content

Commit

Permalink
chore: fix postgresql data directory has invalid permissions (#420)
Browse files Browse the repository at this point in the history
(cherry picked from commit 6178d99)
  • Loading branch information
ldming committed Apr 3, 2024
1 parent e1e0a33 commit ce48058
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions addons/postgresql/templates/clusterdefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ spec:
runAsUser: 0
fsGroup: 103
runAsGroup: 103
fsGroupChangePolicy: OnRootMismatch
initContainers:
- name: pg-init-container
imagePullPolicy: {{ default .Values.image.pullPolicy "IfNotPresent" }}
Expand Down
1 change: 1 addition & 0 deletions addons/postgresql/templates/componentdefinition-12.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ spec:
runAsUser: 0
fsGroup: 103
runAsGroup: 103
fsGroupChangePolicy: OnRootMismatch
initContainers:
- name: pg-init-container
image: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:12.15.0-pgvector-v0.5.0
Expand Down
1 change: 1 addition & 0 deletions addons/postgresql/templates/componentdefinition-14.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ spec:
runAsUser: 0
fsGroup: 103
runAsGroup: 103
fsGroupChangePolicy: OnRootMismatch
initContainers:
- name: pg-init-container
image: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:14.8.0-pgvector-v0.5.0
Expand Down

0 comments on commit ce48058

Please sign in to comment.