Skip to content

Commit

Permalink
Deploy with Recreate
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiyerra committed Dec 22, 2022
1 parent 9d62ce0 commit 6757f10
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ apps:
service:
enabled: true
type: ClusterIP
strategy: # Deployment Strategy
type: Recreate
ports:
- name: http
port: 3000
Expand Down
2 changes: 1 addition & 1 deletion charts/tiphys/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: tiphys
description: A High Level Helm Chart
type: application
version: 0.9.3
version: 0.9.4
appVersion: 1.16.0

dependencies:
Expand Down
4 changes: 4 additions & 0 deletions charts/tiphys/templates/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ spec:
selector:
matchLabels:
{{- include "opszero.selectorLabels" $ | nindent 6 }}-{{ $app.name }}
{{- with $app.service.strategy }}
strategy:
{{- toYaml . | nindent 4 }}
{{- end }}
template:
metadata:
annotations:
Expand Down

0 comments on commit 6757f10

Please sign in to comment.