@@ -5,7 +5,7 @@ For more informations about this template you can take a look in this github htt
55ODM Informations
66-----------------
77
8- Username/Password :
8+ Username/Password :
99 - For Business Console : rtsAdmin/rtsAdmin
1010 - For RES : resAdmin/resAdmin
1111 - For Decision Runner: resDeployer/resDeployer
@@ -15,63 +15,60 @@ Username/Password :
1515{{- if contains "NodePort" .Values.service.type }}
1616
1717-- Decision Center / Business Console
18- export NODE_PORT_DC=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services odm-decisioncenter)
18+ * Decision Center / Business Console
19+ export NODE_PORT_DC=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "odm.decisioncenter.fullname" . }})
1920 export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
20- * Decision Center / Business Console
2121 echo http://$NODE_IP:$NODE_PORT_DC/decisioncenter
2222
23- * Team Server
23+ * Team Server
2424 echo http://$NODE_IP:$NODE_PORT_DC/teamserver
2525
26- -- Testing and Simulation
27- export NODE_PORT_DR=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services odm- decisionrunner)
26+ -- Testing and Simulation
27+ export NODE_PORT_DR=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template " odm. decisionrunner.fullname" . }} )
2828 export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
2929 * Decision Runner
3030 echo http://$NODE_IP:$NODE_PORT_DR/DecisionRunner
3131
3232
3333-- Decision Service Console (RES Console)
34- export NODE_PORT_DSC=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services odm- decisionserverconsole)
34+ export NODE_PORT_DSC=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template " odm. decisionserverconsole.fullname" . }} )
3535 export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
3636 * Decision Service Console (RES Console)
3737 echo http://$NODE_IP:$NODE_PORT_DSC/res
3838
3939
4040-- Decision Service Runtime (Htds)
41- export NODE_PORT_DSC=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services odm- decisionserverruntime)
41+ export NODE_PORT_DSC=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template " odm. decisionserverruntime.fullname" . }} )
4242 export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
4343 * Decision Service Runtime
4444 echo http://$NODE_IP:$NODE_PORT_DSC/DecisionService
4545
4646
4747{{- else if contains "LoadBalancer" .Values.service.type }}
4848 NOTE: It may take a few minutes for the LoadBalancer IP to be available.
49-
49+
5050 -- Decision Center / Business Console
51- export SERVICE_IP_DC=$(kubectl get svc --namespace {{ .Release.Namespace }} odm- decisioncenter -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
51+ export SERVICE_IP_DC=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template " odm. decisioncenter.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
5252 * Decision Center / Business Console
5353 echo http://$SERVICE_IP_DC:{{ .Values.service.externalPort }}/decisioncenter
5454
55- * Team Server
55+ * Team Server
5656 echo http://$SERVICE_IP_DC:{{ .Values.service.externalPort }}/teamserver
5757
58- -- Testing and Simulation
59- export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} odm- decisionrunner -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
58+ -- Testing and Simulation
59+ export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template " odm. decisionrunner.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
6060 echo http://$SERVICE_IP:{{ .Values.service.externalPort }}/DecisionRunner
6161
6262-- Decision Service Console (RES Console)
63- export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} odm- decisionserverconsole -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
63+ export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template " odm. decisionserverconsole.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
6464 echo http://$SERVICE_IP:{{ .Values.service.externalPort }}/res
6565
6666-- Decision Service Runtime (Htds)
67- export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} odm- decisionserverruntime -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
67+ export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template " odm. decisionserverruntime.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
6868 echo http://$SERVICE_IP:{{ .Values.service.externalPort }}/DecisionServicde
6969
7070{{- else if contains "ClusterIP" .Values.service.type }}
71-
72- -- Testing and Simulation
73- TODO.
74-
71+ dddd
7572{{- end }}
7673
7774
@@ -81,4 +78,4 @@ Your release is named {{ .Release.Name }}.
8178To learn more about the release, try:
8279
8380 $ helm status {{ .Release.Name }}
84- $ helm get {{ .Release.Name }}
81+ $ helm get {{ .Release.Name }}
0 commit comments