diff --git a/README.md b/README.md index 9fef8c887..4ff5a9dba 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,7 @@ Note: Upstart/SysV init based OS types are not supported. - Application - [cert-manager](https://github.com/jetstack/cert-manager) v1.9.1 - [coredns](https://github.com/coredns/coredns) v1.8.6 - - [ingress-nginx](https://github.com/kubernetes/ingress-nginx) v1.3.1 + - [ingress-nginx](https://github.com/kubernetes/ingress-nginx) v1.4.0 - [krew](https://github.com/kubernetes-sigs/krew) v0.4.3 - [argocd](https://argoproj.github.io/) v2.4.12 - [helm](https://helm.sh/) v3.9.4 diff --git a/roles/download/defaults/main.yml b/roles/download/defaults/main.yml index 786758a8b..ed3b03dd6 100644 --- a/roles/download/defaults/main.yml +++ b/roles/download/defaults/main.yml @@ -937,7 +937,7 @@ local_path_provisioner_version: "v0.0.22" local_path_provisioner_image_repo: "{{ docker_image_repo }}/rancher/local-path-provisioner" local_path_provisioner_image_tag: "{{ local_path_provisioner_version }}" ingress_nginx_controller_image_repo: "{{ kube_image_repo }}/ingress-nginx/controller" -ingress_nginx_controller_image_tag: "v1.3.1" +ingress_nginx_controller_image_tag: "v1.4.0" ingress_nginx_kube_webhook_certgen_imae_repo: "{{ kube_image_repo }}/ingress-nginx/kube-webhook-certgen" ingress_nginx_kube_webhook_certgen_imae_tag: "v1.3.0" alb_ingress_image_repo: "{{ docker_image_repo }}/amazon/aws-alb-ingress-controller" diff --git a/roles/kubernetes-apps/ingress_controller/ingress_nginx/templates/clusterrole-ingress-nginx.yml.j2 b/roles/kubernetes-apps/ingress_controller/ingress_nginx/templates/clusterrole-ingress-nginx.yml.j2 index 80d25df5a..767502eae 100644 --- a/roles/kubernetes-apps/ingress_controller/ingress_nginx/templates/clusterrole-ingress-nginx.yml.j2 +++ b/roles/kubernetes-apps/ingress_controller/ingress_nginx/templates/clusterrole-ingress-nginx.yml.j2 @@ -31,3 +31,6 @@ rules: - apiGroups: ["coordination.k8s.io"] resources: ["leases"] verbs: ["list", "watch"] + - apiGroups: ["discovery.k8s.io"] + resources: ["endpointslices"] + verbs: ["get", "list", "watch"] diff --git a/roles/kubernetes-apps/ingress_controller/ingress_nginx/templates/role-ingress-nginx.yml.j2 b/roles/kubernetes-apps/ingress_controller/ingress_nginx/templates/role-ingress-nginx.yml.j2 index ee81b3338..58c0488f8 100644 --- a/roles/kubernetes-apps/ingress_controller/ingress_nginx/templates/role-ingress-nginx.yml.j2 +++ b/roles/kubernetes-apps/ingress_controller/ingress_nginx/templates/role-ingress-nginx.yml.j2 @@ -63,3 +63,6 @@ rules: - apiGroups: ["coordination.k8s.io"] resources: ["leases"] verbs: ["create"] + - apiGroups: ["discovery.k8s.io"] + resources: ["endpointslices"] + verbs: ["get", "list", "watch"]