Skip to content

Commit

Permalink
Merge pull request #30 from Enterprise-connect/v1.1beta_helm_pkg_update
Browse files Browse the repository at this point in the history
V1.1beta helm pkg update
  • Loading branch information
sheshankgujjari authored Jun 24, 2020
2 parents bce1a96 + 8ea05f3 commit d1227d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions k8s/agent/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ Generate container port spec for client agent. Need review for gateway usage
*/}}
{{- define "agent.portSpec" -}}
{{- range (split "\n" .Values.global.agtConfig) }}
{{- if contains "lpt" . -}}
{{- if contains "lpt=:" . -}}
- name: {{ $.Values.agtK8Config.portName }}
containerPort: {{ (split "=" . )._1|quote }}
containerPort: {{ (split "=:" . )._1 }}
protocol: TCP
{{- end -}}
{{- end -}}
Expand All @@ -90,9 +90,9 @@ Generate container HEALTH port spec for client agent. Need review for gateway us
*/}}
{{- define "agent.healthPortSpec" -}}
{{- range (split "\n" .Values.global.agtConfig) }}
{{- if contains "hca" . -}}
{{- if contains "hca=:" . -}}
- name: {{ $.Values.agtK8Config.healthPortName }}
containerPort: {{ (split "=" . )._1|quote }}
containerPort: {{ (split "=:" . )._1 }}
protocol: TCP
{{- end -}}
{{- end -}}
Expand Down
4 changes: 2 additions & 2 deletions k8s/example/ec.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mod=client
lpt=7990
lpt=:7990
cid=hello
csc=DWDdfddfs@
aid=31fwe
tid=f3f3rv
hca=7991
hca=:7991

0 comments on commit d1227d9

Please sign in to comment.