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

Loading…
Cancel
Save