Skip to content

Commit

Permalink
Changes for recreate POD in openshift
Browse files Browse the repository at this point in the history
  • Loading branch information
saranyaviswam committed Oct 9, 2024
1 parent 9b08122 commit b60b402
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 b60b402

Please sign in to comment.