Skip to content

Commit 7dfff8c

Browse files
authored
Merge pull request #15339 from spowelljr/updateIngress
Update ingress addon images
2 parents 1392a8b + c24a66f commit 7dfff8c

File tree

2 files changed

+49
-11
lines changed

2 files changed

+49
-11
lines changed

Diff for: deploy/addons/ingress/ingress-deploy.yaml.tmpl

+40-2
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ rules:
109109
- apiGroups:
110110
- ""
111111
resourceNames:
112-
- ingress-controller-leader
112+
- ingress-nginx-leader
113113
resources:
114114
- configmaps
115115
verbs:
@@ -121,13 +121,36 @@ rules:
121121
- configmaps
122122
verbs:
123123
- create
124+
- apiGroups:
125+
- coordination.k8s.io
126+
resourceNames:
127+
- ingress-nginx-leader
128+
resources:
129+
- leases
130+
verbs:
131+
- get
132+
- update
133+
- apiGroups:
134+
- coordination.k8s.io
135+
resources:
136+
- leases
137+
verbs:
138+
- create
124139
- apiGroups:
125140
- ""
126141
resources:
127142
- events
128143
verbs:
129144
- create
130145
- patch
146+
- apiGroups:
147+
- discovery.k8s.io
148+
resources:
149+
- endpointslices
150+
verbs:
151+
- list
152+
- watch
153+
- get
131154
---
132155
apiVersion: rbac.authorization.k8s.io/v1
133156
kind: Role
@@ -167,6 +190,13 @@ rules:
167190
verbs:
168191
- list
169192
- watch
193+
- apiGroups:
194+
- coordination.k8s.io
195+
resources:
196+
- leases
197+
verbs:
198+
- list
199+
- watch
170200
- apiGroups:
171201
- ""
172202
resources:
@@ -216,6 +246,14 @@ rules:
216246
- get
217247
- list
218248
- watch
249+
- apiGroups:
250+
- discovery.k8s.io
251+
resources:
252+
- endpointslices
253+
verbs:
254+
- list
255+
- watch
256+
- get
219257
---
220258
apiVersion: rbac.authorization.k8s.io/v1
221259
kind: ClusterRole
@@ -429,7 +467,7 @@ spec:
429467
containers:
430468
- args:
431469
- /nginx-ingress-controller
432-
- --election-id=ingress-controller-leader
470+
- --election-id=ingress-nginx-leader
433471
{{- if eq .IngressAPIVersion "v1"}}
434472
- --controller-class=k8s.io/ingress-nginx
435473
- --watch-ingress-without-class=true

Diff for: pkg/minikube/assets/addons.go

+9-9
Original file line numberDiff line numberDiff line change
@@ -247,16 +247,16 @@ var Addons = map[string]*Addon{
247247
"ingress-deploy.yaml",
248248
"0640"),
249249
}, false, "ingress", "Kubernetes", "", "https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/", map[string]string{
250-
// https://github.com/kubernetes/ingress-nginx/blob/c32f9a43279425920c41ba2e54dfcb1a54c0daf7/deploy/static/provider/kind/deploy.yaml#L834
251-
"IngressController": "ingress-nginx/controller:v1.2.1@sha256:5516d103a9c2ecc4f026efbd4b40662ce22dc1f824fb129ed121460aaa5c47f8",
252-
// https://github.com/kubernetes/ingress-nginx/blob/fc38b9f2aa2d68ee00c417cf97e727b77a00c175/deploy/static/provider/kind/deploy.yaml#L621
253-
"KubeWebhookCertgenCreate": "ingress-nginx/kube-webhook-certgen:v1.1.1@sha256:64d8c73dca984af206adf9d6d7e46aa550362b1d7a01f3a0a91b20cc67868660",
254-
// https://github.com/kubernetes/ingress-nginx/blob/fc38b9f2aa2d68ee00c417cf97e727b77a00c175/deploy/static/provider/kind/deploy.yaml#L673
255-
"KubeWebhookCertgenPatch": "ingress-nginx/kube-webhook-certgen:v1.1.1@sha256:64d8c73dca984af206adf9d6d7e46aa550362b1d7a01f3a0a91b20cc67868660",
250+
// https://github.com/kubernetes/ingress-nginx/blob/63dbbdbb3a099417f411fbd1d684fa2a287c96cd/deploy/static/provider/kind/deploy.yaml#L458
251+
"IngressController": "ingress-nginx/controller:v1.5.1@sha256:4ba73c697770664c1e00e9f968de14e08f606ff961c76e5d7033a4a9c593c629",
252+
// https://github.com/kubernetes/ingress-nginx/blob/63dbbdbb3a099417f411fbd1d684fa2a287c96cd/deploy/static/provider/kind/deploy.yaml#L565
253+
"KubeWebhookCertgenCreate": "ingress-nginx/kube-webhook-certgen:v20220916-gd32f8c343@sha256:39c5b2e3310dc4264d638ad28d9d1d96c4cbb2b2dcfb52368fe4e3c63f61e10f",
254+
// https://github.com/kubernetes/ingress-nginx/blob/63dbbdbb3a099417f411fbd1d684fa2a287c96cd/deploy/static/provider/kind/deploy.yaml#L614
255+
"KubeWebhookCertgenPatch": "ingress-nginx/kube-webhook-certgen:v20220916-gd32f8c343@sha256:39c5b2e3310dc4264d638ad28d9d1d96c4cbb2b2dcfb52368fe4e3c63f61e10f",
256256
}, map[string]string{
257-
"IngressController": "k8s.gcr.io",
258-
"KubeWebhookCertgenCreate": "k8s.gcr.io",
259-
"KubeWebhookCertgenPatch": "k8s.gcr.io",
257+
"IngressController": "registry.k8s.io",
258+
"KubeWebhookCertgenCreate": "registry.k8s.io",
259+
"KubeWebhookCertgenPatch": "registry.k8s.io",
260260
}),
261261
"istio-provisioner": NewAddon([]*BinAsset{
262262
MustBinAsset(addons.IstioProvisionerAssets,

0 commit comments

Comments
 (0)