diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index c9c3c3b..2da3f33 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -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 diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index a9764d3..4e95e28 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -20,4 +20,6 @@ spec: ports: - containerPort: 8080 resources: {{- toYaml .Values.resources | nindent 12 }} - restartPolicy: Always \ No newline at end of file + restartPolicy: Always + strategy: + type: Recreate \ No newline at end of file