Commit 75913edf authored by joesteffee's avatar joesteffee Committed by David McKay

make _v2 its own config

avoid potential regression
parent 36f15e7a
...@@ -28,6 +28,11 @@ spec: ...@@ -28,6 +28,11 @@ spec:
{{- range $objectKey, $objectValue := .Values.config.inputs }} {{- range $objectKey, $objectValue := .Values.config.inputs }}
{{- range $key, $value := . -}} {{- range $key, $value := . -}}
{{- $tp := typeOf $value -}} {{- $tp := typeOf $value -}}
{{- if eq $key "http_listener" }}
- port: {{ trimPrefix ":" $value.service_address | int64 }}
targetPort: {{ trimPrefix ":" $value.service_address | int64 }}
name: "http-listener"
{{- end }}
{{- if eq $key "http_listener_v2" }} {{- if eq $key "http_listener_v2" }}
- port: {{ trimPrefix ":" $value.service_address | int64 }} - port: {{ trimPrefix ":" $value.service_address | int64 }}
targetPort: {{ trimPrefix ":" $value.service_address | int64 }} targetPort: {{ trimPrefix ":" $value.service_address | int64 }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment