File tree Expand file tree Collapse file tree
k8s-deployments-canary/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : Service
3+ metadata :
4+ name : {{ include "deployment.fullname" . }}-v1
5+ labels :
6+ {{- include "deployment.labels" . | nindent 4 }}
7+ {{- with .Values.commonLabels }}
8+ {{- toYaml . | nindent 4 }}
9+ {{- end }}
10+ spec :
11+ type : ClusterIP
12+ ports : {{- .Values.servicePorts | toYaml | nindent 4 }}
13+ selector :
14+ {{- include "deployment.selectorLabels" . | nindent 4 }}
15+ version : v1
Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : Service
3+ metadata :
4+ name : {{ include "deployment.fullname" . }}-v2
5+ labels :
6+ {{- include "deployment.labels" . | nindent 4 }}
7+ {{- with .Values.commonLabels }}
8+ {{- toYaml . | nindent 4 }}
9+ {{- end }}
10+ spec :
11+ type : ClusterIP
12+ ports : {{- .Values.servicePorts | toYaml | nindent 4 }}
13+ selector :
14+ {{- include "deployment.selectorLabels" . | nindent 4 }}
15+ version : v2
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments