Upgrade nginx-ingress from v0.24.1 to v0.25.0

* Support networking.k8s.io/v1beta1 apiVersion
* Update RBAC cluster-role for networking.k8s.io/v1beta1
* https://github.com/kubernetes/ingress-nginx/releases/tag/nginx-0.25.0
This commit is contained in:
Dalton Hubble 2019-07-08 22:04:50 -07:00
parent 28ab746068
commit 40640f3697
11 changed files with 112 additions and 40 deletions

View File

@ -17,6 +17,8 @@ Notable changes between versions.
* Update Prometheus from v2.10.0 to v2.11.0-rc.0 * Update Prometheus from v2.10.0 to v2.11.0-rc.0
* Update Grafana from v6.2.4 to v6.2.5 * Update Grafana from v6.2.4 to v6.2.5
* Update nginx-ingress from v0.24.1 to v0.25.0
* Support `networking.k8s.io/v1beta1` apiVersion
## v1.15.0 ## v1.15.0

View File

@ -24,7 +24,7 @@ spec:
node-role.kubernetes.io/node: "" node-role.kubernetes.io/node: ""
containers: containers:
- name: nginx-ingress-controller - name: nginx-ingress-controller
image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.24.1 image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.25.0
args: args:
- /nginx-ingress-controller - /nginx-ingress-controller
- --ingress-class=public - --ingress-class=public

View File

@ -28,6 +28,13 @@ rules:
- get - get
- list - list
- watch - watch
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- apiGroups: - apiGroups:
- "extensions" - "extensions"
resources: resources:
@ -36,16 +43,23 @@ rules:
- get - get
- list - list
- watch - watch
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- apiGroups: - apiGroups:
- "extensions" - "extensions"
resources: resources:
- ingresses/status - ingresses/status
verbs: verbs:
- update - update
- apiGroups:
- "networking.k8s.io"
resources:
- ingresses
verbs:
- get
- list
- watch
- apiGroups:
- "networking.k8s.io"
resources:
- ingresses/status
verbs:
- update

View File

@ -24,7 +24,7 @@ spec:
node-role.kubernetes.io/node: "" node-role.kubernetes.io/node: ""
containers: containers:
- name: nginx-ingress-controller - name: nginx-ingress-controller
image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.24.1 image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.25.0
args: args:
- /nginx-ingress-controller - /nginx-ingress-controller
- --ingress-class=public - --ingress-class=public

View File

@ -28,6 +28,13 @@ rules:
- get - get
- list - list
- watch - watch
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- apiGroups: - apiGroups:
- "extensions" - "extensions"
resources: resources:
@ -36,16 +43,23 @@ rules:
- get - get
- list - list
- watch - watch
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- apiGroups: - apiGroups:
- "extensions" - "extensions"
resources: resources:
- ingresses/status - ingresses/status
verbs: verbs:
- update - update
- apiGroups:
- "networking.k8s.io"
resources:
- ingresses
verbs:
- get
- list
- watch
- apiGroups:
- "networking.k8s.io"
resources:
- ingresses/status
verbs:
- update

View File

@ -22,7 +22,7 @@ spec:
spec: spec:
containers: containers:
- name: nginx-ingress-controller - name: nginx-ingress-controller
image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.24.1 image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.25.0
args: args:
- /nginx-ingress-controller - /nginx-ingress-controller
- --ingress-class=public - --ingress-class=public

View File

@ -28,6 +28,13 @@ rules:
- get - get
- list - list
- watch - watch
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- apiGroups: - apiGroups:
- "extensions" - "extensions"
resources: resources:
@ -36,16 +43,23 @@ rules:
- get - get
- list - list
- watch - watch
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- apiGroups: - apiGroups:
- "extensions" - "extensions"
resources: resources:
- ingresses/status - ingresses/status
verbs: verbs:
- update - update
- apiGroups:
- "networking.k8s.io"
resources:
- ingresses
verbs:
- get
- list
- watch
- apiGroups:
- "networking.k8s.io"
resources:
- ingresses/status
verbs:
- update

View File

@ -24,7 +24,7 @@ spec:
node-role.kubernetes.io/node: "" node-role.kubernetes.io/node: ""
containers: containers:
- name: nginx-ingress-controller - name: nginx-ingress-controller
image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.24.1 image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.25.0
args: args:
- /nginx-ingress-controller - /nginx-ingress-controller
- --ingress-class=public - --ingress-class=public

View File

@ -28,6 +28,13 @@ rules:
- get - get
- list - list
- watch - watch
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- apiGroups: - apiGroups:
- "extensions" - "extensions"
resources: resources:
@ -36,16 +43,23 @@ rules:
- get - get
- list - list
- watch - watch
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- apiGroups: - apiGroups:
- "extensions" - "extensions"
resources: resources:
- ingresses/status - ingresses/status
verbs: verbs:
- update - update
- apiGroups:
- "networking.k8s.io"
resources:
- ingresses
verbs:
- get
- list
- watch
- apiGroups:
- "networking.k8s.io"
resources:
- ingresses/status
verbs:
- update

View File

@ -24,7 +24,7 @@ spec:
node-role.kubernetes.io/node: "" node-role.kubernetes.io/node: ""
containers: containers:
- name: nginx-ingress-controller - name: nginx-ingress-controller
image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.24.1 image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.25.0
args: args:
- /nginx-ingress-controller - /nginx-ingress-controller
- --ingress-class=public - --ingress-class=public

View File

@ -28,6 +28,13 @@ rules:
- get - get
- list - list
- watch - watch
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- apiGroups: - apiGroups:
- "extensions" - "extensions"
resources: resources:
@ -36,16 +43,23 @@ rules:
- get - get
- list - list
- watch - watch
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- apiGroups: - apiGroups:
- "extensions" - "extensions"
resources: resources:
- ingresses/status - ingresses/status
verbs: verbs:
- update - update
- apiGroups:
- "networking.k8s.io"
resources:
- ingresses
verbs:
- get
- list
- watch
- apiGroups:
- "networking.k8s.io"
resources:
- ingresses/status
verbs:
- update