Skip to content

Commit

Permalink
fixing store-consumer deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
cnorburn committed Feb 24, 2024
1 parent 5064503 commit 0ee6886
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-store-consumer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
GKE_CLUSTER: cspr-events-store-cluster
GKE_ZONE: europe-west2
DEPLOYMENT_NAME: store-consumer
IMAGE: store-consumer-image
IMAGE: store-consumer
NAMESPACE: events
KUSTOMIZE_DIR: deploy

Expand Down
14 changes: 7 additions & 7 deletions store-consumer/deploy/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ spec:
spec:
serviceAccount: kafka-account
containers:
- env:
- image: LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY/IMAGE:TAG
name: store-consumer
ports:
- containerPort: 8080
env:
- name: POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
key: superUserPassword
name: postgres-secret
name: store-consumer
- image: LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY/IMAGE:TAG
imagePullPolicy: Always
resources:
requests:
memory: "1.5Gi"
cpu: "0.1"
imagePullPolicy: Always
name: store-consumer-image
ports:
- containerPort: 8080

livenessProbe:
httpGet:
path: /actuator/health
Expand Down

0 comments on commit 0ee6886

Please sign in to comment.