Skip to content

Commit

Permalink
Update nginx-ingress-controller image and rbac
Browse files Browse the repository at this point in the history
  • Loading branch information
dividehex committed Dec 19, 2023
1 parent bb77812 commit 7f0b0a0
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions k8s/templates/ingress-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,20 @@ rules:
verbs:
- create
- apiGroups:
- "extensions"
- extensions
- networking.k8s.io
resources:
- ingresses
verbs:
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- list
- watch

---

Expand Down Expand Up @@ -105,7 +113,7 @@ spec:
serviceAccountName: nginx-ingress-serviceaccount
containers:
- name: nginx-ingress-controller
image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.24.1
image: registry.k8s.io/ingress-nginx/controller:v1.9.4
args:
- /nginx-ingress-controller
- --ingress-class=nginx-{{ .Values.namespace }}
Expand All @@ -120,7 +128,7 @@ spec:
add:
- NET_BIND_SERVICE
# www-data -> 33
runAsUser: 33
runAsUser: 101
env:
- name: POD_NAME
valueFrom:
Expand Down

0 comments on commit 7f0b0a0

Please sign in to comment.