Skip to content

Commit 4300532

Browse files
author
armab
committed
Fix LoadBalancer templating to utilize correct service endpoints in NOTES
1 parent 195fef6 commit 4300532

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
# Update StackStorm version here to rely on other Docker images tags
33
appVersion: 3.0dev
44
name: stackstorm-ha
5-
version: 0.8.1
5+
version: 0.8.2
66
description: StackStorm K8s Helm Chart, optimized for running StackStorm in HA environment.
77
home: https://stackstorm.com/#product
88
icon: https://avatars1.githubusercontent.com/u/4969009

templates/NOTES.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ Congratulations! You have just deployed StackStorm {{ if .Values.enterprise.enab
1111
{{- if contains "LoadBalancer" .Values.st2web.service.type }}
1212

1313
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
14-
Watch the status with "kubectl get service st2cicd-st2web-enterprise -o jsonpath='{.status.loadBalancer.ingress[0].hostname}'"
14+
Watch the status with "kubectl get service {{ .Release.Name }}-st2web{{ template "enterpriseSuffix" . }} -o jsonpath='{.status.loadBalancer.ingress[0].hostname}'"
1515

16-
export ST2WEB_IP=$(kubectl get service st2cicd-st2web-enterprise -o jsonpath='{.status.loadBalancer.ingress[0].hostname}')
16+
export ST2WEB_IP=$(kubectl get service {{ .Release.Name }}-st2web{{ template "enterpriseSuffix" . }} -o jsonpath='{.status.loadBalancer.ingress[0].hostname}')
1717
echo https://${ST2WEB_IP}/
1818

1919
{{- else if contains "ClusterIP" .Values.st2web.service.type }}
2020

2121
echo https://127.0.0.1:8443
22-
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ .Release.Name }}-st2web-{{ if .Values.enterprise.enabled }}-enterprise {{ end }} 8443:443
22+
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ .Release.Name }}-st2web{{ template "enterpriseSuffix" . }} 8443:443
2323

2424
{{- end }}
2525
{{- if contains "NodePort" .Values.st2web.service.type }}

0 commit comments

Comments
 (0)