diff --git a/charts/lemmy/Chart.yaml b/charts/lemmy/Chart.yaml index 721fe19..bcc5d81 100644 --- a/charts/lemmy/Chart.yaml +++ b/charts/lemmy/Chart.yaml @@ -6,7 +6,7 @@ icon: https://join-lemmy.org/static/assets/images/lemmy.svg appVersion: 0.17.4 type: application -version: 0.2.1 +version: 0.2.2 maintainers: - name: Alexander Olofsson diff --git a/charts/lemmy/templates/NOTES.txt b/charts/lemmy/templates/NOTES.txt index 9defee6..dfda728 100644 --- a/charts/lemmy/templates/NOTES.txt +++ b/charts/lemmy/templates/NOTES.txt @@ -20,16 +20,16 @@ You can visit the service at the following URL; {{- end }} {{- else }} 1. Get the application URL by running these commands: - {{- if contains "NodePort" .Values.ui.service.type }} + {{- if contains "NodePort" .Values.frontend.service.type }} export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "lemmy.uiname" . }}) export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") echo http://$NODE_IP:$NODE_PORT - {{- else if contains "LoadBalancer" .Values.ui.service.type }} + {{- else if contains "LoadBalancer" .Values.frontend.service.type }} NOTE: It may take a few minutes for the LoadBalancer IP to be available. You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "lemmy.uiname" . }}' export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "lemmy.uiname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}") - echo http://$SERVICE_IP:{{ .Values.ui.service.port }} - {{- else if contains "ClusterIP" .Values.ui.service.type }} + echo http://$SERVICE_IP:{{ .Values.frontend.service.port }} + {{- else if contains "ClusterIP" .Values.frontend.service.type }} export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "lemmy.name" . }},app.kubernetes.io/instance={{ .Release.Name }},app.kubernetes.io/component=frontend" -o jsonpath="{.items[0].metadata.name}") export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}") echo "Visit http://127.0.0.1:8080 to use your application"