Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
spec:
initContainers:
- name: correct-data-dir-permissions
image: index.docker.io/sourcegraph/alpine-3.14:8.1.2687@sha256:1e113d9625cee4d32b995bb199ca7d6b6f5db1907404acc8ce9b272d39714963
image: index.docker.io/sourcegraph/postgresql-16-codeinsights:8.1.2687@sha256:b7e2df5a6a63e323987eeaca23fe9f05278d4c97f96f1994b89dac3c60dedcd3
command: ["sh", "-c", "if [ -d /var/lib/postgresql/data/pgdata ]; then chmod 750 /var/lib/postgresql/data/pgdata; fi"]
volumeMounts:
- mountPath: /var/lib/postgresql/data/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
spec:
initContainers:
- name: correct-data-dir-permissions
image: index.docker.io/sourcegraph/alpine-3.14:8.1.2687@sha256:1e113d9625cee4d32b995bb199ca7d6b6f5db1907404acc8ce9b272d39714963
image: index.docker.io/sourcegraph/postgresql-16:8.1.2687@sha256:cc810cd21f1df7776aa270f49bdd50a4ec3375623ffae1f0238c20dec054bf03
command: ["sh", "-c", "if [ -d /data/pgdata-12 ]; then chmod 750 /data/pgdata-12; fi"]
volumeMounts:
- mountPath: /data
Expand Down
2 changes: 1 addition & 1 deletion base/sourcegraph/pgsql/pgsql.StatefulSet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
spec:
initContainers:
- name: correct-data-dir-permissions
image: index.docker.io/sourcegraph/alpine-3.14:8.1.2687@sha256:1e113d9625cee4d32b995bb199ca7d6b6f5db1907404acc8ce9b272d39714963
image: index.docker.io/sourcegraph/postgresql-16:8.1.2687@sha256:cc810cd21f1df7776aa270f49bdd50a4ec3375623ffae1f0238c20dec054bf03
command: ["sh", "-c", "if [ -d /data/pgdata-12 ]; then chmod 750 /data/pgdata-12; fi"]
volumeMounts:
- mountPath: /data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
spec:
initContainers:
- name: transfer-file-ownership
image: index.docker.io/sourcegraph/alpine-3.14
image: index.docker.io/sourcegraph/postgresql-16
command: ["sh", "-c", "chown -R 100:101 /data"]
volumeMounts:
- mountPath: /data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
spec:
initContainers:
- name: transfer-file-ownership
image: index.docker.io/sourcegraph/alpine-3.14:insiders
image: index.docker.io/sourcegraph/postgresql-16
command:
[
"sh",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
spec:
initContainers:
- name: transfer-file-ownership
image: index.docker.io/sourcegraph/alpine-3.14
image: index.docker.io/sourcegraph/postgresql-16
command: ["sh", "-c", "chown -R 472:472 /var/lib/grafana"]
volumeMounts:
- mountPath: /var/lib/grafana
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
spec:
initContainers:
- name: transfer-file-ownership
image: index.docker.io/sourcegraph/alpine-3.14
image: index.docker.io/sourcegraph/postgresql-16
command: ["sh", "-c", "chown -R 100:101 /data"]
volumeMounts:
- mountPath: /data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
spec:
initContainers:
- name: transfer-file-ownership
image: index.docker.io/sourcegraph/alpine-3.14:insiders
image: index.docker.io/sourcegraph/postgresql-16
command: ["sh", "-c", "chown -R 100:100 /prometheus"]
volumeMounts:
- mountPath: /prometheus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
spec:
initContainers:
- name: transfer-file-ownership
image: index.docker.io/sourcegraph/alpine-3.14:insiders
image: index.docker.io/sourcegraph/postgresql-16
command: ["sh", "-c", "chown -R 999:1000 /redis-data"]
volumeMounts:
- mountPath: /redis-data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
spec:
initContainers:
- name: transfer-file-ownership
image: index.docker.io/sourcegraph/alpine-3.14:insiders
image: index.docker.io/sourcegraph/postgresql-16
command: ["sh", "-c", "chown -R 999:1000 /redis-data"]
volumeMounts:
- mountPath: /redis-data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
path: /spec/template/spec/initContainers
value:
- name: transfer-cache
image: index.docker.io/sourcegraph/alpine-3.14:insiders
image: index.docker.io/sourcegraph/postgresql-16
command:
[
"sh",
Expand Down
Loading