Skip to content

Commit faa8ac8

Browse files
authored
feat: cnpg upgrade fix (#1871)
1 parent 2e355c5 commit faa8ac8

File tree

5 files changed

+19
-0
lines changed

5 files changed

+19
-0
lines changed

helmfile.d/snippets/defaults.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -1260,6 +1260,7 @@ environments:
12601260
_rawValues: {}
12611261
databases:
12621262
keycloak:
1263+
imageName: null
12631264
imported: false
12641265
size: 5Gi
12651266
replicas: 2
@@ -1271,6 +1272,7 @@ environments:
12711272
cpu: "1"
12721273
memory: 192Mi
12731274
harbor:
1275+
imageName: null
12741276
size: 5Gi
12751277
replicas: 2
12761278
coreDatabase: registry
@@ -1282,6 +1284,7 @@ environments:
12821284
cpu: "1"
12831285
memory: 192Mi
12841286
gitea:
1287+
imageName: null
12851288
useOtomiDB: true
12861289
imported: false
12871290
size: 5Gi

values-changes.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,10 @@ changes:
319319
- version: 32
320320
deletions:
321321
- 'teamConfig.{team}.managedMonitoring.prometheus'
322+
additions:
323+
- databases.keycloak.imageName: ghcr.io/cloudnative-pg/postgresql:15.3
324+
- databases.gitea.imageName: ghcr.io/cloudnative-pg/postgresql:15.3
325+
- databases.harbor.imageName: ghcr.io/cloudnative-pg/postgresql:15.3
322326
mutations:
323327
- databases.keycloak.resources.limits.memory: '192Mi'
324328
- databases.keycloak.resources.limits.cpu: '1'

values/gitea/gitea-otomi-db.gotmpl

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ storage:
1010
size: {{ $gdb.size }}
1111
instances: {{ $gdb.replicas }}
1212

13+
{{- with $gdb.imageName }}
14+
imageName: {{ . }}
15+
{{- end }}
16+
1317
postgresql:
1418
parameters:
1519
max_connections: "32"

values/harbor/harbor-otomi-db.gotmpl

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ storage:
99
size: {{ $hdb.size }}
1010
instances: {{ $hdb.replicas }}
1111

12+
{{- with $hdb.imageName }}
13+
imageName: {{ . }}
14+
{{- end }}
15+
1216
postgresql:
1317
parameters:
1418
max_connections: "32"

values/keycloak/keycloak-otomi-db.gotmpl

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ storage:
1010
size: {{ $kdb.size }}
1111
instances: {{ $kdb.replicas }}
1212

13+
{{- with $kdb.imageName }}
14+
imageName: {{ . }}
15+
{{- end }}
16+
1317
postgresql:
1418
parameters:
1519
max_connections: "32"

0 commit comments

Comments
 (0)