diff --git a/charts/element-web/templates/NOTES.txt b/charts/element-web/templates/NOTES.txt index 7035746..33ccaf6 100644 --- a/charts/element-web/templates/NOTES.txt +++ b/charts/element-web/templates/NOTES.txt @@ -15,5 +15,5 @@ {{- else if contains "ClusterIP" .Values.service.type }} export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "element-web.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") echo "Visit http://127.0.0.1:8080 to use your application" - kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:80 + kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:8080 {{- end }} diff --git a/charts/element-web/templates/configuration-nginx.yaml b/charts/element-web/templates/configuration-nginx.yaml index 098277b..e6f055d 100644 --- a/charts/element-web/templates/configuration-nginx.yaml +++ b/charts/element-web/templates/configuration-nginx.yaml @@ -8,8 +8,8 @@ metadata: data: default.conf: | server { - listen 80; - listen [::]:80; + listen 8080; + listen [::]:8080; server_name localhost; root /usr/share/nginx/html; diff --git a/charts/element-web/templates/deployment.yaml b/charts/element-web/templates/deployment.yaml index f13ea2b..928d4d4 100644 --- a/charts/element-web/templates/deployment.yaml +++ b/charts/element-web/templates/deployment.yaml @@ -38,7 +38,7 @@ spec: imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - name: http - containerPort: 80 + containerPort: 8080 protocol: TCP livenessProbe: httpGet: