Skip to content

Commit 9ba68fb

Browse files
eleo007hors
andauthored
K8SPG-604: fix custom-extensions for non 16 PG version (#912)
Co-authored-by: Viacheslav Sarzhan <[email protected]>
1 parent e10b1ad commit 9ba68fb

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

e2e-tests/tests/custom-extensions/02-assert.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ spec:
2222
- name: postgres-startup
2323
- command:
2424
- /usr/local/bin/relocate-extensions.sh
25-
name: extension-relocator-16
2625
resources: {}
2726
volumeMounts:
2827
- mountPath: /pgdata
@@ -45,7 +44,6 @@ spec:
4544
envFrom:
4645
- secretRef:
4746
name: aws-s3-secret
48-
name: extension-installer-16
4947
resources: {}
5048
volumeMounts:
5149
- mountPath: /pgdata

e2e-tests/tests/custom-extensions/05-assert.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ spec:
2222
- name: postgres-startup
2323
- command:
2424
- /usr/local/bin/relocate-extensions.sh
25-
name: extension-relocator-16
2625
resources: {}
2726
volumeMounts:
2827
- mountPath: /pgdata
@@ -45,7 +44,6 @@ spec:
4544
envFrom:
4645
- secretRef:
4746
name: aws-s3-secret
48-
name: extension-installer-16
4947
resources: {}
5048
volumeMounts:
5149
- mountPath: /pgdata

e2e-tests/tests/custom-extensions/06-assert.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ spec:
2424
- /usr/local/bin/relocate-extensions.sh
2525
env:
2626
- name: PG_VERSION
27-
name: extension-relocator-16
2827
resources: {}
2928
volumeMounts:
3029
- mountPath: /pgdata
@@ -47,7 +46,6 @@ spec:
4746
envFrom:
4847
- secretRef:
4948
name: aws-s3-secret
50-
name: extension-installer-16
5149
resources: {}
5250
volumeMounts:
5351
- mountPath: /pgdata

e2e-tests/tests/custom-extensions/07-assert.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ spec:
2020
spec:
2121
initContainers:
2222
- name: postgres-startup
23-
- name: extension-relocator-16
24-
- name: extension-installer-16
23+
- command:
24+
- /usr/local/bin/relocate-extensions.sh
25+
- command:
26+
- /usr/local/bin/install-extensions.sh
2527
- name: nss-wrapper-init
2628
status:
2729
observedGeneration: 3

0 commit comments

Comments
 (0)