[ingress-controller] Fixed controller parameters
This PS fixes some ingress controller parameters. Change-Id: Ifb96703a8322bbe75834f4b117a4230e236ee6d0
This commit is contained in:
parent
ae91cf3fc3
commit
56dd4fdb84
@ -12,10 +12,10 @@
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
appVersion: v0.42.0
|
||||
appVersion: v1.5.1
|
||||
description: OpenStack-Helm Ingress Controller
|
||||
name: ingress
|
||||
version: 0.2.16
|
||||
version: 0.2.17
|
||||
home: https://github.com/kubernetes/ingress
|
||||
sources:
|
||||
- https://github.com/kubernetes/ingress
|
||||
|
@ -46,6 +46,7 @@ function start () {
|
||||
--election-id=${RELEASE_NAME} \
|
||||
--controller-class=${CONTROLLER_CLASS} \
|
||||
--ingress-class=${INGRESS_CLASS} \
|
||||
--ingress-class-by-name=${INGRESS_CLASS_BY_NAME} \
|
||||
--default-backend-service=${POD_NAMESPACE}/${ERROR_PAGE_SERVICE} \
|
||||
{{- if .Values.conf.default_ssl_certificate.enabled }}
|
||||
{{- $ns := .Values.conf.default_ssl_certificate.namespace | default .Release.Namespace }}
|
||||
|
@ -309,13 +309,21 @@ secrets:
|
||||
secret_dhparam: |
|
||||
conf:
|
||||
controller:
|
||||
# NOTE(portdirect): if left blank this is populated from
|
||||
# NOTE: if left blank this is populated from
|
||||
# .deployment.cluster.class in cluster mode, or set to
|
||||
# "nginx" in namespace mode
|
||||
# [IN DEPRECATION] Name of the ingress class this controller satisfies.
|
||||
# The class of an Ingress object is set using the annotation "kubernetes.io/ingress.class" (deprecated).
|
||||
# The parameter --controller-class has precedence over this. (default "nginx")
|
||||
INGRESS_CLASS: null
|
||||
# NOTE(portdirect): if left blank this is populated from
|
||||
# Define if Ingress Controller should watch for Ingress Class by Name together with Controller Class
|
||||
INGRESS_CLASS_BY_NAME: true
|
||||
# NOTE: if left blank this is populated from
|
||||
# .deployment.cluster.controllerClass in cluster mode, or set to
|
||||
# "k8s.io/nginx-ingress" in namespace mode
|
||||
# Ingress Class Controller value this Ingress satisfies.
|
||||
# The class of an Ingress object is set using the field IngressClassName in Kubernetes clusters version v1.19.0 or higher. The .spec.controller value of the IngressClass
|
||||
# referenced in an Ingress Object should be the same value specified here to make this object be watched. (default "k8s.io/ingress-nginx")
|
||||
CONTROLLER_CLASS: null
|
||||
ingress:
|
||||
enable-underscores-in-headers: "true"
|
||||
|
9
ingress/values_overrides/ingress-class-namespaced.yaml
Normal file
9
ingress/values_overrides/ingress-class-namespaced.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
conf:
|
||||
ingress:
|
||||
proxy-body-size: 20m
|
||||
controller:
|
||||
INGRESS_CLASS: ucp-ingress
|
||||
INGRESS_CLASS_BY_NAME: true
|
||||
CONTROLLER_CLASS: k8s.io/ucp-ingress
|
||||
...
|
@ -20,4 +20,5 @@ ingress:
|
||||
- 0.2.14 Replace node-role.kubernetes.io/master with control-plane
|
||||
- 0.2.15 Update kubernetes registry to registry.k8s.io
|
||||
- 0.2.16 Updated deprecated IngressClass annotation
|
||||
- 0.2.17 Fixed controller parameters
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user