From 04639d9438e650b5481164bc7b3f660ebdfc89c9 Mon Sep 17 00:00:00 2001 From: mklee Date: Tue, 16 Dec 2025 06:27:09 +0000 Subject: [PATCH] update gke deployments --- .github/workflows/ci-petclinic-gke.yaml | 2 +- k8s/gcp/20-petclinic-Deployments-postgre.yaml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-petclinic-gke.yaml b/.github/workflows/ci-petclinic-gke.yaml index 00c01773c..66313c7dd 100644 --- a/.github/workflows/ci-petclinic-gke.yaml +++ b/.github/workflows/ci-petclinic-gke.yaml @@ -132,7 +132,7 @@ jobs: NEW_IMAGE="${GAR_LOCATION}-docker.pkg.dev/${GCP_PROJECT_ID}/${GAR_REPOSITORY}/${IMAGE_NAME}:${IMAGE_TAG}" grep -n "image:" "$YAML_PATH" sed -i "s#^\(\s*image:\s*\).*#\1${NEW_IMAGE}#" "$YAML_PATH" - + - name: Commit and push changes if: github.ref == 'refs/heads/main' run: | diff --git a/k8s/gcp/20-petclinic-Deployments-postgre.yaml b/k8s/gcp/20-petclinic-Deployments-postgre.yaml index 1d142dc1e..0caeb675a 100644 --- a/k8s/gcp/20-petclinic-Deployments-postgre.yaml +++ b/k8s/gcp/20-petclinic-Deployments-postgre.yaml @@ -42,7 +42,11 @@ spec: value: "postgres" - name: SPRING_DATASOURCE_DRIVER_CLASS_NAME value: "org.postgresql.Driver" - + - name: SPRING_SQL_INIT_MODE + value: "never" + - name: SPRING_JPA_HIBERNATE_DDL_AUTO + value: "none" + ports: - name: http containerPort: 8080