16 lines
451 B
YAML
16 lines
451 B
YAML
{{- if .Values.ingressClass.create -}}
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: IngressClass
|
|
metadata:
|
|
labels:
|
|
{{- include "kubernetes-ingress-controller.labels" . | nindent 4 }}
|
|
app.kubernetes.io/component: controller
|
|
name: {{ .Values.ingressClass.name }}
|
|
{{- if .Values.ingressClass.default }}
|
|
annotations:
|
|
ingressclass.kubernetes.io/is-default-class: "true"
|
|
{{- end }}
|
|
spec:
|
|
controller: {{ .Values.controllerName }}
|
|
{{- end}}
|