- Introduced new IngressClass resource in Helm templates to define `easyhaproxy` as the default ingress class. - Updated Kubernetes examples to replace `easyhaproxy-ingress` with `easyhaproxy` as the ingress class name. - Enhanced processor logic to support both the new `spec.ingressClassName` field and the deprecated `kubernetes.io/ingress.class` annotation. - Revised documentation to reflect the changes and ensure alignment with Kubernetes recommendations.
14 lines
344 B
YAML
14 lines
344 B
YAML
{{- if .Values.ingressClass.create -}}
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: IngressClass
|
|
metadata:
|
|
name: easyhaproxy
|
|
labels:
|
|
{{- include "easyhaproxy.labels" . | nindent 4 }}
|
|
{{- with .Values.ingressClass.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
controller: byjg.com/easyhaproxy
|
|
{{- end }}
|