Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.1beta helm pkg update #30

Merged
merged 2 commits into from
Jun 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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