Chart: Improve IngressClass documentation. (#11111)
Co-authored-by: Marco Ebert <marco_ebert@icloud.com>
This commit is contained in:
parent
2e08614265
commit
7f8bebeb88
3 changed files with 25 additions and 17 deletions
|
@ -329,11 +329,12 @@ As of version `1.26.0` of this chart, by simply not providing any clusterIP valu
|
||||||
| controller.image.tag | string | `"v1.10.0"` | |
|
| controller.image.tag | string | `"v1.10.0"` | |
|
||||||
| controller.ingressClass | string | `"nginx"` | For backwards compatibility with ingress.class annotation, use ingressClass. Algorithm is as follows, first ingressClassName is considered, if not present, controller looks for ingress.class annotation |
|
| controller.ingressClass | string | `"nginx"` | For backwards compatibility with ingress.class annotation, use ingressClass. Algorithm is as follows, first ingressClassName is considered, if not present, controller looks for ingress.class annotation |
|
||||||
| controller.ingressClassByName | bool | `false` | Process IngressClass per name (additionally as per spec.controller). |
|
| controller.ingressClassByName | bool | `false` | Process IngressClass per name (additionally as per spec.controller). |
|
||||||
| controller.ingressClassResource.controllerValue | string | `"k8s.io/ingress-nginx"` | Controller-value of the controller that is processing this ingressClass |
|
| controller.ingressClassResource | object | `{"controllerValue":"k8s.io/ingress-nginx","default":false,"enabled":true,"name":"nginx","parameters":{}}` | This section refers to the creation of the IngressClass resource. IngressClasses are immutable and cannot be changed after creation. We do not support namespaced IngressClasses, yet, so a ClusterRole and a ClusterRoleBinding is required. |
|
||||||
| controller.ingressClassResource.default | bool | `false` | Is this the default ingressClass for the cluster |
|
| controller.ingressClassResource.controllerValue | string | `"k8s.io/ingress-nginx"` | Controller of the IngressClass. An Ingress Controller looks for IngressClasses it should reconcile by this value. This value is also being set as the `--controller-class` argument of this Ingress Controller. Ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-class |
|
||||||
| controller.ingressClassResource.enabled | bool | `true` | Is this ingressClass enabled or not |
|
| controller.ingressClassResource.default | bool | `false` | If true, Ingresses without `ingressClassName` get assigned to this IngressClass on creation. Ingress creation gets rejected if there are multiple default IngressClasses. Ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#default-ingress-class |
|
||||||
| controller.ingressClassResource.name | string | `"nginx"` | Name of the ingressClass |
|
| controller.ingressClassResource.enabled | bool | `true` | Create the IngressClass or not |
|
||||||
| controller.ingressClassResource.parameters | object | `{}` | Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters. |
|
| controller.ingressClassResource.name | string | `"nginx"` | Name of the IngressClass |
|
||||||
|
| controller.ingressClassResource.parameters | object | `{}` | A link to a custom resource containing additional configuration for the controller. This is optional if the controller consuming this IngressClass does not require additional parameters. Ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-class |
|
||||||
| controller.keda.apiVersion | string | `"keda.sh/v1alpha1"` | |
|
| controller.keda.apiVersion | string | `"keda.sh/v1alpha1"` | |
|
||||||
| controller.keda.behavior | object | `{}` | |
|
| controller.keda.behavior | object | `{}` | |
|
||||||
| controller.keda.cooldownPeriod | int | `300` | |
|
| controller.keda.cooldownPeriod | int | `300` | |
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
{{- if .Values.controller.ingressClassResource.enabled -}}
|
{{- if .Values.controller.ingressClassResource.enabled -}}
|
||||||
# We don't support namespaced ingressClass yet
|
|
||||||
# So a ClusterRole and a ClusterRoleBinding is required
|
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: IngressClass
|
kind: IngressClass
|
||||||
metadata:
|
metadata:
|
||||||
|
|
|
@ -108,21 +108,30 @@ controller:
|
||||||
enabled: false
|
enabled: false
|
||||||
# -- Election ID to use for status update, by default it uses the controller name combined with a suffix of 'leader'
|
# -- Election ID to use for status update, by default it uses the controller name combined with a suffix of 'leader'
|
||||||
electionID: ""
|
electionID: ""
|
||||||
## This section refers to the creation of the IngressClass resource
|
# -- This section refers to the creation of the IngressClass resource.
|
||||||
## IngressClass resources are supported since k8s >= 1.18 and required since k8s >= 1.19
|
# IngressClasses are immutable and cannot be changed after creation.
|
||||||
|
# We do not support namespaced IngressClasses, yet, so a ClusterRole and a ClusterRoleBinding is required.
|
||||||
ingressClassResource:
|
ingressClassResource:
|
||||||
# -- Name of the ingressClass
|
# -- Name of the IngressClass
|
||||||
name: nginx
|
name: nginx
|
||||||
# -- Is this ingressClass enabled or not
|
# -- Create the IngressClass or not
|
||||||
enabled: true
|
enabled: true
|
||||||
# -- Is this the default ingressClass for the cluster
|
# -- If true, Ingresses without `ingressClassName` get assigned to this IngressClass on creation.
|
||||||
|
# Ingress creation gets rejected if there are multiple default IngressClasses.
|
||||||
|
# Ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#default-ingress-class
|
||||||
default: false
|
default: false
|
||||||
# -- Controller-value of the controller that is processing this ingressClass
|
# -- Controller of the IngressClass. An Ingress Controller looks for IngressClasses it should reconcile by this value.
|
||||||
controllerValue: "k8s.io/ingress-nginx"
|
# This value is also being set as the `--controller-class` argument of this Ingress Controller.
|
||||||
# -- Parameters is a link to a custom resource containing additional
|
# Ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-class
|
||||||
# configuration for the controller. This is optional if the controller
|
controllerValue: k8s.io/ingress-nginx
|
||||||
# does not require extra parameters.
|
# -- A link to a custom resource containing additional configuration for the controller.
|
||||||
|
# This is optional if the controller consuming this IngressClass does not require additional parameters.
|
||||||
|
# Ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-class
|
||||||
parameters: {}
|
parameters: {}
|
||||||
|
# parameters:
|
||||||
|
# apiGroup: k8s.example.com
|
||||||
|
# kind: IngressParameters
|
||||||
|
# name: external-lb
|
||||||
# -- For backwards compatibility with ingress.class annotation, use ingressClass.
|
# -- For backwards compatibility with ingress.class annotation, use ingressClass.
|
||||||
# Algorithm is as follows, first ingressClassName is considered, if not present, controller looks for ingress.class annotation
|
# Algorithm is as follows, first ingressClassName is considered, if not present, controller looks for ingress.class annotation
|
||||||
ingressClass: nginx
|
ingressClass: nginx
|
||||||
|
|
Loading…
Reference in a new issue