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