diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..485dee6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea diff --git a/oracle-persistent.yaml b/oracle-persistent.yaml index 4201e94..c7a1707 100644 --- a/oracle-persistent.yaml +++ b/oracle-persistent.yaml @@ -37,6 +37,22 @@ objects: app: oracle12c deploymentconfig: oracle12c spec: + initContainers: + - command: + - sh + - '-c' + - (chgrp -R 54321 /ORCL) + image: alpine + imagePullPolicy: Always + name: volume-permission-fixer + resources: {} + securityContext: + runAsUser: 0 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /ORCL + name: orcl containers: - name: oracle12c imagePullPolicy: Always