Merge pull request #131 from yzxiu/patch-1

fix ingress port
This commit is contained in:
吴小白 2023-03-29 11:51:17 +08:00 committed by GitHub
commit 041f9994a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
{{- if .Values.ingress.enabled }}
{{- $fullName := printf "%s-%s" (include "jumpserver.fullname" $) "ingress" }}
{{- $webPort := .Values.web.service.web.port }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
@ -32,6 +33,6 @@ spec:
service:
name: '{{ include "jumpserver.fullname" $ }}-jms-web'
port:
number: 80
number: {{ $webPort }}
{{- end }}
{{- end }}