diff options
author | Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com> | 2019-04-29 14:52:41 +0200 |
---|---|---|
committer | Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com> | 2019-04-29 14:52:41 +0200 |
commit | 346ac698b81496e6d48b9d2feec13d1df244d6f5 (patch) | |
tree | 0f277c871dc87e1fd8e0082650e32a86abd74d8e /kubernetes/clamp/templates | |
parent | 67d3815417cd56d6d67760f7c65a85c516bb4467 (diff) |
Remove http port
Remove http by default for clamp and let the Https defined in OOM
Issue-ID: CLAMP-363
Change-Id: Ib97248d775edd6b67a0158abc9dac8696cd42125
Signed-off-by: Determe, Sebastien (sd378r) <sebastien.determe@intl.att.com>
Diffstat (limited to 'kubernetes/clamp/templates')
-rw-r--r-- | kubernetes/clamp/templates/NOTES.txt | 4 | ||||
-rw-r--r-- | kubernetes/clamp/templates/service.yaml | 6 |
2 files changed, 2 insertions, 8 deletions
diff --git a/kubernetes/clamp/templates/NOTES.txt b/kubernetes/clamp/templates/NOTES.txt index 1103affff1..e36d6a5bfb 100644 --- a/kubernetes/clamp/templates/NOTES.txt +++ b/kubernetes/clamp/templates/NOTES.txt @@ -27,6 +27,6 @@ echo http://$SERVICE_IP:{{ .Values.service.externalPort }} {{- else if contains "ClusterIP" .Values.service.type }} export POD_NAME=$(kubectl get pods --namespace {{ include "common.namespace" . }} -l "app={{ template "common.name" . }},release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") - echo "Visit http://127.0.0.1:8080 to use your application" - kubectl port-forward $POD_NAME 8080:{{ .Values.service.internalPort }} + echo "Visit https://127.0.0.1:8443 to use your application" + kubectl port-forward $POD_NAME 8443:{{ .Values.service.internalPort }} {{- end }} diff --git a/kubernetes/clamp/templates/service.yaml b/kubernetes/clamp/templates/service.yaml index 8527ebb052..f1438a46c9 100644 --- a/kubernetes/clamp/templates/service.yaml +++ b/kubernetes/clamp/templates/service.yaml @@ -30,16 +30,10 @@ spec: - port: {{ .Values.service.internalPort }} nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }} name: {{ .Values.service.portName }} - - port: {{ .Values.service.internalPort2 }} - nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort2 }} - name: {{ .Values.service.portName }}2 {{- else -}} - port: {{ .Values.service.externalPort }} targetPort: {{ .Values.service.internalPort }} name: {{ .Values.service.portName }} - - port: {{ .Values.service.externalPort2 }} - targetPort: {{ .Values.service.internalPort2 }} - name: {{ .Values.service.portName }}2 {{- end}} selector: app: {{ include "common.name" . }} |