++recreate strategy on chartmuseum

This commit is contained in:
Nico Schottelius 2021-07-25 11:05:04 +02:00
parent 323b34fefa
commit eb0bad9411
1 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,8 @@ kind: Deployment
metadata: metadata:
name: {{ .Release.Name }}-chartmuseum name: {{ .Release.Name }}-chartmuseum
spec: spec:
strategy:
type: Recreate
selector: selector:
matchLabels: matchLabels:
app: {{ .Release.Name }}-chartmuseum app: {{ .Release.Name }}-chartmuseum
@ -15,7 +17,7 @@ spec:
use-as-service: {{ .Release.Name }} use-as-service: {{ .Release.Name }}
spec: spec:
# Wait before trying to start any container # Wait before trying to start any container
initcontainers: initContainers:
- name: wait-for-cert - name: wait-for-cert
image: busybox image: busybox
command: command: