github.com/argoproj/argo-cd@v1.8.7/util/helm/testdata/helm2-dependency/templates/NOTES.txt (about)

     1  1. Get the WordPress URL:
     2  
     3  {{- if .Values.ingress.enabled }}
     4  
     5    You should be able to access your new WordPress installation through
     6  
     7    {{- range .Values.ingress.hosts }}
     8    {{ if .tls }}https{{ else }}http{{ end }}://{{ .name }}/admin
     9    {{- end }}
    10    
    11  {{- else if contains "LoadBalancer" .Values.serviceType }}
    12  
    13    NOTE: It may take a few minutes for the LoadBalancer IP to be available.
    14          Watch the status with: 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "fullname" . }}'
    15  
    16    export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
    17    echo "WordPress URL: http://$SERVICE_IP/"
    18    echo "WordPress Admin URL: http://$SERVICE_IP/admin"
    19  
    20  {{- else if contains "ClusterIP"  .Values.serviceType }}
    21  
    22    echo "WordPress URL: http://127.0.0.1:8080/"
    23    echo "WordPress Admin URL: http://127.0.0.1:8080/admin"
    24    kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "fullname" . }} 8080:80
    25  
    26  {{- else if contains "NodePort" .Values.serviceType }}
    27  
    28    export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "fullname" . }})
    29    export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
    30    echo "WordPress URL: http://$NODE_IP:$NODE_PORT/"
    31    echo "WordPress Admin URL: http://$NODE_IP:$NODE_PORT/admin"
    32  
    33  {{- end }}
    34  
    35  2. Login with the following credentials to see your blog
    36  
    37    echo Username: {{ .Values.wordpressUsername }}
    38    echo Password: $(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "fullname" . }} -o jsonpath="{.data.wordpress-password}" | base64 --decode)