Skip to content

Commit 888440e

Browse files
authored
Merge pull request #39 from StackStorm/fix/notes-service-templating
Fix LoadBalancer templating to utilize correct service endpoints in NOTES
2 parents 195fef6 + 4942c12 commit 888440e

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## In Development
44

5+
## v0.8.2
6+
* Fix LoadBalancer templating to utilize correct service endpoints in NOTES (#39)
7+
58
## v0.8.1
69
* Ensure st2sensorcontainer is re-deployed on `st2.packs.configs` change (#37)
710

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)