RSS Git Download  Clone
Raw View History
Blames found: 14 Mode: yaml Binary: false


Hang on, we reloading big blames...
{{- if .Values.ingress.enabled -}}
apiVersion: networking.k8s.io/v1
kind: Ingress metadata: name: p3x-redis-ui-ingress labels:
app: p3x-redis-ui chart: p3x-redis-ui release: {{ .Release.Name }} heritage: {{ .Release.Service }}
{{- if .Values.ingress.labels }}
{{ toYaml .Values.ingress.labels | indent 4 }} {{- end }} {{- with .Values.ingress.annotations }} annotations: {{ toYaml . | indent 4 }}
{{- end }} spec:
{{- if .Values.ingress.tls }} tls: {{- range .Values.ingress.tls }} - hosts: {{- range .hosts }} - {{ . | quote }} {{- end }} secretName: {{ .secretName }} {{- end }} {{- end }} {{- if .Values.ingress.className }} ingressClassName: {{ .Values.ingress.className | quote }} {{- end }}
rules:
{{- if .Values.ingress.enabled }} {{- $uiPath := .Values.ingress.path -}} {{- $uiPort := .Values.ingress.service.port -}} {{- range .Values.ingress.hosts }} - host: {{ . }}
http: paths:
- path: {{ $uiPath }} pathType: Prefix
backend:
service: name: p3x-redis-ui-service port: number: {{ $uiPort }} {{- end }} {{- end }} {{- end }}