Skip to content

Commit 22129c6

Browse files
authored
chore(rel): update postgres images to 16 versions (#584)
Update Postgres 12 images to Postgres 16. ### Checklist - [x] Follow the [manual testing process](https://github.com/sourcegraph/deploy-sourcegraph-helm/blob/main/TEST.md) - [x] Update [changelog](https://github.com/sourcegraph/deploy-sourcegraph-helm/blob/main/charts/sourcegraph/CHANGELOG.md) - [ ] Update [Kubernetes update doc](https://docs.sourcegraph.com/admin/updates/kubernetes) ### Test plan CI tests
1 parent d3fa6d8 commit 22129c6

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

charts/sourcegraph/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ Use `**BREAKING**:` to denote a breaking change
88

99
## Unreleased
1010

11+
## 5.10.0
12+
1113
- Updated OpenTelemetry collector and agent images to run as non-root users [#543](https://github.com/sourcegraph/deploy-sourcegraph-helm/pull/543)
1214
- redis cache and redis store deployments support priority class
15+
- Update Postgres images to Postgres 16. These images will update existing Postgres 12 databases to Postgres 16. Please see our [technical changelog](https://sourcegraph.com/docs/technical-changelog) for more details.
1316

1417
## 5.6.185
1518

charts/sourcegraph/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ In addition to the documented values, all services also support the following va
6161
| codeInsightsDB.enabled | bool | `true` | Enable `codeinsights-db` PostgreSQL server |
6262
| codeInsightsDB.env | object | `{}` | Environment variables for the `codeinsights-db` container |
6363
| codeInsightsDB.existingConfig | string | `""` | Name of existing ConfigMap for `codeinsights-db`. It must contain a `postgresql.conf` key. |
64-
| codeInsightsDB.image.defaultTag | string | `"5.9.1590@sha256:4e75b2c463ce1ef3bfeec4bb71a16693df02005e66b9e697859ce61064e08f42"` | Docker image tag for the `codeinsights-db` image |
65-
| codeInsightsDB.image.name | string | `"codeinsights-db"` | Docker image name for the `codeinsights-db` image |
64+
| codeInsightsDB.image.defaultTag | string | `"insiders"` | Docker image tag for the `codeinsights-db` image |
65+
| codeInsightsDB.image.name | string | `"postgresql-16-codeinsights"` | Docker image name for the `codeinsights-db` image |
6666
| codeInsightsDB.init.containerSecurityContext | object | `{"allowPrivilegeEscalation":false,"readOnlyRootFilesystem":true,"runAsGroup":70,"runAsUser":70}` | Security context for the `alpine` initContainer, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container) |
6767
| codeInsightsDB.name | string | `"codeinsights-db"` | Name used by resources. Does not affect service names or PVCs. |
6868
| codeInsightsDB.podSecurityContext | object | `{"fsGroup":70,"fsGroupChangePolicy":"OnRootMismatch","runAsUser":70}` | Security context for the `codeinsights-db` pod, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) |
@@ -81,8 +81,8 @@ In addition to the documented values, all services also support the following va
8181
| codeIntelDB.containerSecurityContext | object | `{"allowPrivilegeEscalation":false,"readOnlyRootFilesystem":true,"runAsGroup":999,"runAsUser":999}` | Security context for the `codeintel-db` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container) |
8282
| codeIntelDB.enabled | bool | `true` | Enable `codeintel-db` PostgreSQL server |
8383
| codeIntelDB.existingConfig | string | `""` | Name of existing ConfigMap for `codeintel-db`. It must contain a `postgresql.conf` key |
84-
| codeIntelDB.image.defaultTag | string | `"5.9.1590@sha256:3d5dd36e3af6b643903f507422be19ed1cb1f5f71c4541572d4a8a252e81aeb8"` | Docker image tag for the `codeintel-db` image |
85-
| codeIntelDB.image.name | string | `"codeintel-db"` | Docker image name for the `codeintel-db` image |
84+
| codeIntelDB.image.defaultTag | string | `"insiders"` | Docker image tag for the `codeintel-db` image |
85+
| codeIntelDB.image.name | string | `"postgresql-16"` | Docker image name for the `codeintel-db` image |
8686
| codeIntelDB.name | string | `"codeintel-db"` | Name used by resources. Does not affect service names or PVCs. |
8787
| codeIntelDB.podSecurityContext | object | `{"fsGroup":999,"fsGroupChangePolicy":"OnRootMismatch","runAsUser":999}` | Security context for the `codeintel-db` pod, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) |
8888
| codeIntelDB.postgresExporter | object | `{}` | Configuration for the `pgsql-exporter` sidecar container |
@@ -223,8 +223,8 @@ In addition to the documented values, all services also support the following va
223223
| pgsql.containerSecurityContext | object | `{"allowPrivilegeEscalation":false,"readOnlyRootFilesystem":true,"runAsGroup":999,"runAsUser":999}` | Security context for the `pgsql` container, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container) |
224224
| pgsql.enabled | bool | `true` | Enable `pgsql` PostgreSQL server |
225225
| pgsql.existingConfig | string | `""` | Name of existing ConfigMap for `pgsql`. It must contain a `postgresql.conf` key |
226-
| pgsql.image.defaultTag | string | `"5.9.1590@sha256:3d5dd36e3af6b643903f507422be19ed1cb1f5f71c4541572d4a8a252e81aeb8"` | Docker image tag for the `pgsql` image |
227-
| pgsql.image.name | string | `"postgres-12-alpine"` | Docker image name for the `pgsql` image |
226+
| pgsql.image.defaultTag | string | `"insiders"` | Docker image tag for the `pgsql` image |
227+
| pgsql.image.name | string | `"postgresql-16"` | Docker image name for the `pgsql` image |
228228
| pgsql.name | string | `"pgsql"` | Name used by resources. Does not affect service names or PVCs. |
229229
| pgsql.podSecurityContext | object | `{"fsGroup":999,"fsGroupChangePolicy":"OnRootMismatch","runAsGroup":999,"runAsUser":999}` | Security context for the `pgsql` pod, learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) |
230230
| pgsql.postgresExporter | object | `{}` | Configuration for the `pgsql-exporter` sidecar container |

charts/sourcegraph/values.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ codeInsightsDB:
174174
additionalConfig: ""
175175
image:
176176
# -- Docker image tag for the `codeinsights-db` image
177-
defaultTag: 5.9.1590@sha256:4e75b2c463ce1ef3bfeec4bb71a16693df02005e66b9e697859ce61064e08f42
177+
defaultTag: insiders
178178
# -- Docker image name for the `codeinsights-db` image
179-
name: "codeinsights-db"
179+
name: "postgresql-16-codeinsights"
180180
# -- Security context for the `codeinsights-db` container,
181181
# learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container)
182182
containerSecurityContext:
@@ -245,9 +245,9 @@ codeIntelDB:
245245
additionalConfig: ""
246246
image:
247247
# -- Docker image tag for the `codeintel-db` image
248-
defaultTag: 5.9.1590@sha256:3d5dd36e3af6b643903f507422be19ed1cb1f5f71c4541572d4a8a252e81aeb8
248+
defaultTag: insiders
249249
# -- Docker image name for the `codeintel-db` image
250-
name: "codeintel-db"
250+
name: "postgresql-16"
251251
# -- Security context for the `codeintel-db` container,
252252
# learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container)
253253
containerSecurityContext:
@@ -729,9 +729,9 @@ pgsql:
729729
additionalConfig: ""
730730
image:
731731
# -- Docker image tag for the `pgsql` image
732-
defaultTag: 5.9.1590@sha256:3d5dd36e3af6b643903f507422be19ed1cb1f5f71c4541572d4a8a252e81aeb8
732+
defaultTag: insiders
733733
# -- Docker image name for the `pgsql` image
734-
name: "postgres-12-alpine"
734+
name: "postgresql-16"
735735
# -- Security context for the `pgsql` container,
736736
# learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container)
737737
containerSecurityContext:

0 commit comments

Comments
 (0)