mirror of
https://github.com/jumpserver/helm-charts.git
synced 2025-08-26 10:39:46 +00:00
perf: 优化 Ingress
This commit is contained in:
parent
990afa2c18
commit
94881ad0df
@ -1,8 +1,9 @@
|
|||||||
{{- if .Values.ingress.enabled }}
|
{{- if .Values.ingress.enabled }}
|
||||||
|
{{- $fullName := printf "%s-%s" (include "jumpserver.fullname" $) "ingress" }}
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "jumpserver.fullname" . }}
|
name: {{ $fullName }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "jumpserver.labels" $ | nindent 4 }}
|
{{- include "jumpserver.labels" $ | nindent 4 }}
|
||||||
{{- with .Values.ingress.annotations }}
|
{{- with .Values.ingress.annotations }}
|
||||||
|
Loading…
Reference in New Issue
Block a user