Skip to content

Commit 7747c2e

Browse files
authored
Fixed NOTES.txt file (#1756)
1 parent ed773f1 commit 7747c2e

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

charts/devtron/templates/NOTES.txt

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,48 @@
11

2-
1. Run the following command to get the password for the default `admin` user:
2+
1. Run the following command to get the password for the default admin user:
33

44
kubectl -n devtroncd get secret devtron-secret -o jsonpath='{.data.ACD_PASSWORD}' | base64 -d
55

6+
{{- if $.Values.components }}
7+
{{- if $.Values.components.devtron }}
8+
{{- if $.Values.components.devtron.ingress }}
69
{{- if $.Values.components.devtron.ingress.enabled }}
710
2. The Devtron dashboard URL for
811

912
- http is: http://{{ .Values.components.devtron.ingress.host }}/dashboard
1013
- https is https://{{ .Values.components.devtron.ingress.host }}/dashboard
1114

12-
3. Run the following command to get the dashboard URL for the service type:
15+
{{- end }}
16+
{{- end }}
17+
{{- end }}
1318

1419
{{- else if eq $.Values.components.devtron.service.type "LoadBalancer" }}
15-
3.1 LoadBalancer
20+
2. Run the following command to get the dashboard URL for the service type:
21+
LoadBalancer
1622

1723
kubectl get svc -n devtroncd devtron-service -o jsonpath='{.status.loadBalancer.ingress}'
1824

1925
{{- else if eq $.Values.components.devtron.service.type "NodePort" }}
20-
3.2 NodePort
26+
2. Run the following commands to get the dashboard URL for the service type:
27+
NodePort
2128

2229
a. export nodeport=$(kubectl get svc -n devtroncd devtron-service -o jsonpath="{.spec.ports[0].nodePort}")
2330

24-
b. Run the following command to get Devtron dashboard URL: `echo http://HOST_IP:$nodeport/dashboard`
25-
{{- else if eq $.Values.components.devtron.service.type "ClusterIP" }}
26-
3.3 ClusterIP
27-
28-
Make sure that your security settings allow incoming connection to your Host machine on the nodeport mentioned.
31+
b. Run the following command to get Devtron dashboard URL: echo http://HOST_IP:$nodeport/dashboard
32+
33+
Make sure that your security settings allow incoming connection to your Host machine on the nodeport mentioned.
2934

3035
{{- else if eq $.Values.components.devtron.service.type "ClusterIP" }}
36+
2. Run the following commands to get the dashboard URL for the service type:
37+
ClusterIP
3138

3239
kubectl get svc -n devtroncd devtron-service
3340

3441
You can port-forward devtron-service in namespace devtroncd to access devtron dashboard. You can use the following command to port forward.
3542

3643
kubectl -n devtroncd port-forward svc/devtron-service 8000:80
3744

38-
The dashboard should be accesible on `http://localhost:8000/`
45+
The dashboard should be accesible on http://localhost:8000/
3946
{{- end }}
4047

4148
{{- if $.Values.installer.modules }}

0 commit comments

Comments
 (0)