Skip to content
Snippets Groups Projects
Verified Commit 6d0e047c authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(system-upgrade-controller): Upgrade to version 0.15.2

parent 85094ee4
No related branches found
No related tags found
No related merge requests found
Pipeline #25559 passed
...@@ -39,6 +39,30 @@ rules: ...@@ -39,6 +39,30 @@ rules:
- patch - patch
- update - update
- delete - delete
- apiGroups:
- coordination.k8s.io
resourceNames:
- system-upgrade-controller
resources:
- leases
verbs:
- get
- update
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- create
- apiGroups:
- ""
resources:
- events
verbs:
- get
- create
- patch
- update
--- ---
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: Role kind: Role
...@@ -88,6 +112,7 @@ rules: ...@@ -88,6 +112,7 @@ rules:
verbs: verbs:
- "get" - "get"
- "list" - "list"
- "delete"
# Needed to cordon Nodes # Needed to cordon Nodes
- apiGroups: - apiGroups:
- "" - ""
...@@ -95,8 +120,6 @@ rules: ...@@ -95,8 +120,6 @@ rules:
- "nodes" - "nodes"
verbs: verbs:
- "get" - "get"
- "list"
- "watch"
- "patch" - "patch"
# Needed to determine Pod owners # Needed to determine Pod owners
- apiGroups: - apiGroups:
......
...@@ -130,6 +130,9 @@ spec: ...@@ -130,6 +130,9 @@ spec:
nullable: true nullable: true
type: object type: object
type: object type: object
postCompleteDelay:
nullable: true
type: string
prepare: prepare:
nullable: true nullable: true
properties: properties:
...@@ -248,6 +251,16 @@ spec: ...@@ -248,6 +251,16 @@ spec:
allowPrivilegeEscalation: allowPrivilegeEscalation:
nullable: true nullable: true
type: boolean type: boolean
appArmorProfile:
nullable: true
properties:
localhostProfile:
nullable: true
type: string
type:
nullable: true
type: string
type: object
capabilities: capabilities:
nullable: true nullable: true
properties: properties:
...@@ -497,6 +510,16 @@ spec: ...@@ -497,6 +510,16 @@ spec:
allowPrivilegeEscalation: allowPrivilegeEscalation:
nullable: true nullable: true
type: boolean type: boolean
appArmorProfile:
nullable: true
properties:
localhostProfile:
nullable: true
type: string
type:
nullable: true
type: string
type: object
capabilities: capabilities:
nullable: true nullable: true
properties: properties:
...@@ -593,6 +616,25 @@ spec: ...@@ -593,6 +616,25 @@ spec:
version: version:
nullable: true nullable: true
type: string type: string
window:
nullable: true
properties:
days:
items:
nullable: true
type: string
nullable: true
type: array
endTime:
nullable: true
type: string
startTime:
nullable: true
type: string
timeZone:
nullable: true
type: string
type: object
required: required:
- upgrade - upgrade
type: object type: object
......
...@@ -29,10 +29,14 @@ spec: ...@@ -29,10 +29,14 @@ spec:
valueFrom: valueFrom:
fieldRef: fieldRef:
fieldPath: metadata.namespace fieldPath: metadata.namespace
- name: SYSTEM_UPGRADE_CONTROLLER_NODE_NAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
envFrom: envFrom:
- configMapRef: - configMapRef:
name: default-controller-env name: default-controller-env
image: docker.io/rancher/system-upgrade-controller:v0.13.4@sha256:3df6d01b9eb583a78c309ce0b2cfeed98a9af97983e4ea96bf53410dd56c6f45 image: docker.io/rancher/system-upgrade-controller:v0.15.2
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: system-upgrade-controller name: system-upgrade-controller
securityContext: securityContext:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment