summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
b7c723a)
Issue-ID: RIC-215
Signed-off-by: Zhe <zhehuang@research.att.com>
Change-Id: I274b62559d67bc01baf909260bba31ee57e55900
{{- if .ports }}
ports:
{{- if .ports.http }}
{{- if .ports }}
ports:
{{- if .ports.http }}
- - name: http_{{ .name }}
+ - name: http-{{ .name }}
containerPort: {{ .ports.http }}
protocol: TCP
{{- end }}
{{- if .ports.rmr_data }}
containerPort: {{ .ports.http }}
protocol: TCP
{{- end }}
{{- if .ports.rmr_data }}
- - name: rmrdata_{{ .name }}
+ - name: rmrdata-{{ .name }}
containerPort: {{ .ports.rmr_data }}
protocol: TCP
{{- end }}
{{- if .ports.rmr_route }}
containerPort: {{ .ports.rmr_data }}
protocol: TCP
{{- end }}
{{- if .ports.rmr_route }}
- - name: rmrroute_{{ .name }}
+ - name: rmrroute-{{ .name }}
containerPort: {{ .ports.rmr_route }}
protocol: TCP
{{- end }}
containerPort: {{ .ports.rmr_route }}
protocol: TCP
{{- end }}
{{- if .ports }}
{{- if .ports.http }}
- port: {{ .ports.http }}
{{- if .ports }}
{{- if .ports.http }}
- port: {{ .ports.http }}
- targetPort: http_{{ .name }}
+ targetPort: http-{{ .name }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- if .ports }}
{{- if .ports.rmr_data }}
- port: {{ .ports.rmr_data }}
{{- if .ports }}
{{- if .ports.rmr_data }}
- port: {{ .ports.rmr_data }}
- targetPort: rmrdata_{{ .name }}
+ targetPort: rmrdata-{{ .name }}
- name: rmrdata_{{ .name }}
+ name: rmrdata-{{ .name }}
{{- end }}
{{- if .ports.rmr_route }}
- port: {{ .ports.rmr_route }}
{{- end }}
{{- if .ports.rmr_route }}
- port: {{ .ports.rmr_route }}
- targetPort: rmrroute_{{ .name }}
+ targetPort: rmrroute-{{ .name }}
- name: rmrroute_{{ .name }}
+ name: rmrroute-{{ .name }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}