Skip to content

Commit

Permalink
Merge pull request #4 from bcgov/ADO1707-PopulateData
Browse files Browse the repository at this point in the history
Changes for recreate POD in openshift
  • Loading branch information
saranyaviswam authored Oct 9, 2024
2 parents 9b08122 + b60b402 commit 9616855
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,7 @@ jobs:
- name: Deploy with Helm
run: |
helm upgrade --install kiln ./helm --set image.tag=${{ needs.build_and_push.outputs.image_tag }}
- name: Trigger OpenShift Rollout
run: |
oc rollout restart deployment/kiln
4 changes: 3 additions & 1 deletion helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ spec:
ports:
- containerPort: 8080
resources: {{- toYaml .Values.resources | nindent 12 }}
restartPolicy: Always
restartPolicy: Always
strategy:
type: Recreate

0 comments on commit 9616855

Please sign in to comment.