Uplift nginx ingress controller to v1.5.1
Signed-off-by: Anselme, Schubert (sa246v) <sa246v@att.com> Change-Id: I8e3eb2ebd52c0dae1d0cc0ebaa23885b8c0cf83f
This commit is contained in:
parent
f28a6ce288
commit
d30bbfbfe7
@ -15,7 +15,7 @@ apiVersion: v1
|
|||||||
appVersion: v0.42.0
|
appVersion: v0.42.0
|
||||||
description: OpenStack-Helm Ingress Controller
|
description: OpenStack-Helm Ingress Controller
|
||||||
name: ingress
|
name: ingress
|
||||||
version: 0.2.11
|
version: 0.2.12
|
||||||
home: https://github.com/kubernetes/ingress
|
home: https://github.com/kubernetes/ingress
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/kubernetes/ingress
|
- https://github.com/kubernetes/ingress
|
||||||
|
@ -79,6 +79,14 @@ rules:
|
|||||||
- ingresses/status
|
- ingresses/status
|
||||||
verbs:
|
verbs:
|
||||||
- update
|
- update
|
||||||
|
- apiGroups:
|
||||||
|
- discovery.k8s.io
|
||||||
|
resources:
|
||||||
|
- endpointslices
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
@ -131,6 +139,14 @@ rules:
|
|||||||
- get
|
- get
|
||||||
- create
|
- create
|
||||||
- update
|
- update
|
||||||
|
- apiGroups:
|
||||||
|
- coordination.k8s.io
|
||||||
|
resources:
|
||||||
|
- leases
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- create
|
||||||
|
- update
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: RoleBinding
|
kind: RoleBinding
|
||||||
@ -223,13 +239,13 @@ spec:
|
|||||||
{{ tuple $envAll "ingress_module_init" | include "helm-toolkit.snippets.image" | indent 10 }}
|
{{ tuple $envAll "ingress_module_init" | include "helm-toolkit.snippets.image" | indent 10 }}
|
||||||
{{ dict "envAll" $envAll "application" "server" "container" "ingress_vip_kernel_modules" | include "helm-toolkit.snippets.kubernetes_container_security_context" | indent 10 }}
|
{{ dict "envAll" $envAll "application" "server" "container" "ingress_vip_kernel_modules" | include "helm-toolkit.snippets.kubernetes_container_security_context" | indent 10 }}
|
||||||
command:
|
command:
|
||||||
- /tmp/ingress-vip.sh
|
- /tmp/nginx/ingress-vip.sh
|
||||||
- kernel_modules
|
- kernel_modules
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: pod-tmp
|
- name: pod-tmp
|
||||||
mountPath: /tmp
|
mountPath: /tmp/nginx
|
||||||
- name: ingress-bin
|
- name: ingress-bin
|
||||||
mountPath: /tmp/ingress-vip.sh
|
mountPath: /tmp/nginx/ingress-vip.sh
|
||||||
subPath: ingress-vip.sh
|
subPath: ingress-vip.sh
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: host-rootfs
|
- name: host-rootfs
|
||||||
@ -242,13 +258,13 @@ spec:
|
|||||||
env:
|
env:
|
||||||
{{ include "helm-toolkit.utils.to_k8s_env_vars" .Values.network.vip | indent 12 }}
|
{{ include "helm-toolkit.utils.to_k8s_env_vars" .Values.network.vip | indent 12 }}
|
||||||
command:
|
command:
|
||||||
- /tmp/ingress-vip.sh
|
- /tmp/nginx/ingress-vip.sh
|
||||||
- start
|
- start
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: pod-tmp
|
- name: pod-tmp
|
||||||
mountPath: /tmp
|
mountPath: /tmp/nginx
|
||||||
- name: ingress-bin
|
- name: ingress-bin
|
||||||
mountPath: /tmp/ingress-vip.sh
|
mountPath: /tmp/nginx/ingress-vip.sh
|
||||||
subPath: ingress-vip.sh
|
subPath: ingress-vip.sh
|
||||||
readOnly: true
|
readOnly: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
@ -319,19 +335,19 @@ spec:
|
|||||||
hostPort: {{ tuple "ingress" "internal" "server" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
hostPort: {{ tuple "ingress" "internal" "server" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
command:
|
command:
|
||||||
- /tmp/ingress-controller.sh
|
- /tmp/nginx/ingress-controller.sh
|
||||||
- start
|
- start
|
||||||
lifecycle:
|
lifecycle:
|
||||||
preStop:
|
preStop:
|
||||||
exec:
|
exec:
|
||||||
command:
|
command:
|
||||||
- /tmp/ingress-controller.sh
|
- /tmp/nginx/ingress-controller.sh
|
||||||
- stop
|
- stop
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: pod-tmp
|
- name: pod-tmp
|
||||||
mountPath: /tmp
|
mountPath: /tmp/nginx
|
||||||
- name: ingress-bin
|
- name: ingress-bin
|
||||||
mountPath: /tmp/ingress-controller.sh
|
mountPath: /tmp/nginx/ingress-controller.sh
|
||||||
subPath: ingress-controller.sh
|
subPath: ingress-controller.sh
|
||||||
readOnly: true
|
readOnly: true
|
||||||
{{- if and .Values.network.host_namespace .Values.network.vip.manage }}
|
{{- if and .Values.network.host_namespace .Values.network.vip.manage }}
|
||||||
@ -342,19 +358,19 @@ spec:
|
|||||||
env:
|
env:
|
||||||
{{ include "helm-toolkit.utils.to_k8s_env_vars" .Values.network.vip | indent 12 }}
|
{{ include "helm-toolkit.utils.to_k8s_env_vars" .Values.network.vip | indent 12 }}
|
||||||
command:
|
command:
|
||||||
- /tmp/ingress-vip.sh
|
- /tmp/nginx/ingress-vip.sh
|
||||||
- sleep
|
- sleep
|
||||||
lifecycle:
|
lifecycle:
|
||||||
preStop:
|
preStop:
|
||||||
exec:
|
exec:
|
||||||
command:
|
command:
|
||||||
- /tmp/ingress-vip.sh
|
- /tmp/nginx/ingress-vip.sh
|
||||||
- stop
|
- stop
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: pod-tmp
|
- name: pod-tmp
|
||||||
mountPath: /tmp
|
mountPath: /tmp/nginx
|
||||||
- name: ingress-bin
|
- name: ingress-bin
|
||||||
mountPath: /tmp/ingress-vip.sh
|
mountPath: /tmp/nginx/ingress-vip.sh
|
||||||
subPath: ingress-vip.sh
|
subPath: ingress-vip.sh
|
||||||
readOnly: true
|
readOnly: true
|
||||||
{{- else if eq .Values.network.vip.mode "keepalived" }}
|
{{- else if eq .Values.network.vip.mode "keepalived" }}
|
||||||
|
@ -25,7 +25,7 @@ deployment:
|
|||||||
images:
|
images:
|
||||||
tags:
|
tags:
|
||||||
entrypoint: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
|
entrypoint: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
|
||||||
ingress: k8s.gcr.io/ingress-nginx/controller:v1.1.3
|
ingress: k8s.gcr.io/ingress-nginx/controller:v1.5.1
|
||||||
ingress_module_init: docker.io/openstackhelm/neutron:xena-ubuntu_focal
|
ingress_module_init: docker.io/openstackhelm/neutron:xena-ubuntu_focal
|
||||||
ingress_routed_vip: docker.io/openstackhelm/neutron:xena-ubuntu_focal
|
ingress_routed_vip: docker.io/openstackhelm/neutron:xena-ubuntu_focal
|
||||||
error_pages: k8s.gcr.io/defaultbackend:1.4
|
error_pages: k8s.gcr.io/defaultbackend:1.4
|
||||||
|
@ -15,7 +15,7 @@ apiVersion: v1
|
|||||||
appVersion: v10.6.7
|
appVersion: v10.6.7
|
||||||
description: OpenStack-Helm MariaDB
|
description: OpenStack-Helm MariaDB
|
||||||
name: mariadb
|
name: mariadb
|
||||||
version: 0.2.28
|
version: 0.2.29
|
||||||
home: https://mariadb.com/kb/en/
|
home: https://mariadb.com/kb/en/
|
||||||
icon: http://badges.mariadb.org/mariadb-badge-180x60.png
|
icon: http://badges.mariadb.org/mariadb-badge-180x60.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -623,7 +623,7 @@ http {
|
|||||||
{{ $cfg.ServerSnippet }}
|
{{ $cfg.ServerSnippet }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ template "CUSTOM_ERRORS" (buildCustomErrorDeps "upstream-default-backend" $cfg.CustomHTTPErrors $all.EnableMetrics) }}
|
{{ template "CUSTOM_ERRORS" (buildCustomErrorDeps "upstream-default-backend" $cfg.CustomHTTPErrors $all.EnableMetrics $all.Cfg.EnableModsecurity) }}
|
||||||
}
|
}
|
||||||
## end server {{ $server.Hostname }}
|
## end server {{ $server.Hostname }}
|
||||||
|
|
||||||
@ -971,7 +971,7 @@ stream {
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ range $errorLocation := (buildCustomErrorLocationsPerServer $server) }}
|
{{ range $errorLocation := (buildCustomErrorLocationsPerServer $server) }}
|
||||||
{{ template "CUSTOM_ERRORS" (buildCustomErrorDeps $errorLocation.UpstreamName $errorLocation.Codes $all.EnableMetrics) }}
|
{{ template "CUSTOM_ERRORS" (buildCustomErrorDeps $errorLocation.UpstreamName $errorLocation.Codes $all.EnableMetrics $all.Cfg.EnableModsecurity) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ buildMirrorLocations $server.Locations }}
|
{{ buildMirrorLocations $server.Locations }}
|
||||||
|
@ -89,6 +89,14 @@ rules:
|
|||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
- watch
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- discovery.k8s.io
|
||||||
|
resources:
|
||||||
|
- endpointslices
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
@ -183,6 +191,14 @@ rules:
|
|||||||
- get
|
- get
|
||||||
- create
|
- create
|
||||||
- update
|
- update
|
||||||
|
- apiGroups:
|
||||||
|
- coordination.k8s.io
|
||||||
|
resources:
|
||||||
|
- leases
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- create
|
||||||
|
- update
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: RoleBinding
|
kind: RoleBinding
|
||||||
|
@ -21,7 +21,7 @@ release_group: null
|
|||||||
images:
|
images:
|
||||||
tags:
|
tags:
|
||||||
mariadb: docker.io/openstackhelm/mariadb:latest-ubuntu_focal
|
mariadb: docker.io/openstackhelm/mariadb:latest-ubuntu_focal
|
||||||
ingress: k8s.gcr.io/ingress-nginx/controller:v1.1.3
|
ingress: k8s.gcr.io/ingress-nginx/controller:v1.5.1
|
||||||
error_pages: k8s.gcr.io/defaultbackend:1.4
|
error_pages: k8s.gcr.io/defaultbackend:1.4
|
||||||
prometheus_create_mysql_user: docker.io/library/mariadb:10.5.9-focal
|
prometheus_create_mysql_user: docker.io/library/mariadb:10.5.9-focal
|
||||||
prometheus_mysql_exporter: docker.io/prom/mysqld-exporter:v0.12.1
|
prometheus_mysql_exporter: docker.io/prom/mysqld-exporter:v0.12.1
|
||||||
|
@ -15,4 +15,5 @@ ingress:
|
|||||||
- 0.2.9 Added OCI registry authentication
|
- 0.2.9 Added OCI registry authentication
|
||||||
- 0.2.10 Update neutron images to xena release
|
- 0.2.10 Update neutron images to xena release
|
||||||
- 0.2.11 Fix resource name in the role
|
- 0.2.11 Fix resource name in the role
|
||||||
|
- 0.2.12 Uplift ingress to 1.5.1
|
||||||
...
|
...
|
||||||
|
@ -44,4 +44,5 @@ mariadb:
|
|||||||
- 0.2.26 Added OCI registry authentication
|
- 0.2.26 Added OCI registry authentication
|
||||||
- 0.2.27 Fix broken helmrelease for helmv3
|
- 0.2.27 Fix broken helmrelease for helmv3
|
||||||
- 0.2.28 Added verify_databases_backup_in_directory function implementation
|
- 0.2.28 Added verify_databases_backup_in_directory function implementation
|
||||||
|
- 0.2.29 Uplift Mariadb-ingress to 1.5.1
|
||||||
...
|
...
|
||||||
|
6
tox.ini
6
tox.ini
@ -8,7 +8,7 @@ ignore_basepython_conflict = True
|
|||||||
basepython = python3
|
basepython = python3
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
passenv = *_proxy *_PROXY
|
passenv = *_proxy,*_PROXY
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
@ -18,7 +18,7 @@ deps = -r{toxinidir}/doc/requirements.txt
|
|||||||
commands =
|
commands =
|
||||||
rm -rf doc/build
|
rm -rf doc/build
|
||||||
sphinx-build -W -b html doc/source doc/build/html
|
sphinx-build -W -b html doc/source doc/build/html
|
||||||
whitelist_externals =
|
allowlist_externals =
|
||||||
rm
|
rm
|
||||||
|
|
||||||
[testenv:lint]
|
[testenv:lint]
|
||||||
@ -28,7 +28,7 @@ deps =
|
|||||||
commands =
|
commands =
|
||||||
rm -rf .yamllint
|
rm -rf .yamllint
|
||||||
bash ../openstack-helm-infra/tools/gate/lint.sh
|
bash ../openstack-helm-infra/tools/gate/lint.sh
|
||||||
whitelist_externals =
|
allowlist_externals =
|
||||||
rm
|
rm
|
||||||
bash
|
bash
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user