Browse Source

fix template

pull/133/head
Teddy Kim 3 years ago
parent
commit
4bc1804f1d
  1. 14
      blue-green/templates/rollout.yaml

14
blue-green/templates/rollout.yaml

@ -1,10 +1,10 @@
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
name: {{ template "helm-guestbook.fullname" . }}
name: {{ template "argotest.fullname" . }}
labels:
app: {{ template "helm-guestbook.name" . }}
chart: {{ template "helm-guestbook.chart" . }}
app: {{ template "argotest.name" . }}
chart: {{ template "argotest.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
@ -12,16 +12,16 @@ spec:
revisionHistoryLimit: 3
selector:
matchLabels:
app: {{ template "helm-guestbook.name" . }}
app: {{ template "argotest.name" . }}
release: {{ .Release.Name }}
strategy:
blueGreen:
activeService: {{ template "helm-guestbook.fullname" . }}
previewService: {{ template "helm-guestbook.fullname" . }}-preview
activeService: {{ template "argotest.fullname" . }}
previewService: {{ template "argotest.fullname" . }}-preview
template:
metadata:
labels:
app: {{ template "helm-guestbook.name" . }}
app: {{ template "argotest.name" . }}
release: {{ .Release.Name }}
spec:
containers:

Loading…
Cancel
Save