Skip to content

Commit 08af129

Browse files
jshum2479rjeberhard
authored andcommitted
fix pvhelper script error and image default
1 parent 0569830 commit 08af129

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

kubernetes/samples/scripts/domain-lifecycle/pv-pvc-helper.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ createPod() {
173173
template=$(echo "$template" | sed -e "s:%NAMESPACE%:${namespace}:g;\
174174
s:%WEBLOGIC_IMAGE_PULL_POLICY%:${imagePullPolicy}:g;\
175175
s:%WEBLOGIC_IMAGE_PULL_SECRET_NAME%:${pullsecret}:g;\
176-
s:%WEBLOGIC_IMAGE_PULL_SECRET_PREFIX%:${pullsecretPrefix}:g;\
177176
s:%CLAIM_NAME%:${claimName}:g;s:%VOLUME_MOUNT_PATH%:${mountPath}:g;\
178177
s:%RUN_AS_ROOT_PREFIX%:${runAsRoot}:g;\
179178
s?image:.*?image: ${image}?g")

kubernetes/samples/scripts/domain-lifecycle/template/pvhelper.yaml.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
- args:
1414
- sleep
1515
- infinity
16-
image: ghcr.io/oracle/oraclelinux:8-slim
16+
image: ghcr.io/oracle/oraclelinux:8
1717
imagePullPolicy: %WEBLOGIC_IMAGE_PULL_POLICY%
1818
name: pvhelper
1919
volumeMounts:
@@ -31,5 +31,5 @@ spec:
3131
- name: pv-volume
3232
persistentVolumeClaim:
3333
claimName: %CLAIM_NAME%
34-
%WEBLOGIC_IMAGE_PULL_SECRET_PREFIX%imagePullSecrets:
35-
%WEBLOGIC_IMAGE_PULL_SECRET_PREFIX%- name: %WEBLOGIC_IMAGE_PULL_SECRET_NAME%
34+
imagePullSecrets:
35+
- name: %WEBLOGIC_IMAGE_PULL_SECRET_NAME%

0 commit comments

Comments
 (0)