Skip to content

Commit

Permalink
chore: removed pvc
Browse files Browse the repository at this point in the history
  • Loading branch information
paulushcgcj committed Aug 27, 2024
1 parent fc8c8b1 commit 59e5c0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
3 changes: 1 addition & 2 deletions legacydb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ FROM gvenzl/oracle-free:23.3-slim-faststart

USER root
RUN usermod -u 1011270000 oracle
#RUN chmod -R 777 "${ORACLE_BASE}"
USER oracle

HEALTHCHECK CMD "${ORACLE_BASE}"/healthcheck.sh >/dev/null || exit 1
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 CMD ["sh", "-c", "${ORACLE_BASE}/healthcheck.sh >/dev/null || exit 1"]

ENTRYPOINT ["container-entrypoint.sh"]
11 changes: 2 additions & 9 deletions legacydb/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,7 @@ objects:
labels:
app: ${NAME}-${ZONE}
deploymentconfig: ${NAME}-${ZONE}-${COMPONENT}
spec:
volumes:
- name: ${NAME}-${ZONE}-${COMPONENT}
persistentVolumeClaim:
claimName: ${NAME}-${ZONE}-${COMPONENT}
spec:
containers:
- name: ${NAME}
image: ${NAME}-${ZONE}-${COMPONENT}:${IMAGE_TAG}
Expand Down Expand Up @@ -163,10 +159,7 @@ objects:
valueFrom:
secretKeyRef:
name: ${NAME}-${ZONE}
key: oracle-user-write
volumeMounts:
- name: ${NAME}-${ZONE}-${COMPONENT}
mountPath: ${PVC_MOUNT_PATH}
key: oracle-user-write
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: Always
Expand Down

0 comments on commit 59e5c0c

Please sign in to comment.