Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
Merge pull request #410 from dweomer/bump-the-suc
Browse files Browse the repository at this point in the history
bump system-upgrade-controller to v0.4.0
  • Loading branch information
dweomer authored Apr 1, 2020
2 parents 4e5f663 + 4962c63 commit fbe0b4e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion images/07-iso/wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
A="$(echo "$@" | sed 's!-hfsplus -apm-block-size 2048 -hfsplus-file-creator-type chrp tbxj /System/Library/CoreServices/.disk_label -hfs-bless-by i /System/Library/CoreServices/boot.efi!!')"
echo $A >> /tmp/args
set -x
exec xorriso -joliet on -rockridge on "$@"
exec xorriso -joliet on -rockridge on $A
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
apiVersion: v1
kind: Namespace
metadata:
Expand All @@ -13,7 +12,7 @@ metadata:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: system-upgrade
name: system-upgrade
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
Expand All @@ -29,13 +28,14 @@ metadata:
name: default-controller-env
namespace: k3os-system
data:
SYSTEM_UPGRADE_CONTROLLER_DEBUG: "true"
SYSTEM_UPGRADE_CONTROLLER_DEBUG: "false"
SYSTEM_UPGRADE_CONTROLLER_THREADS: "2"
SYSTEM_UPGRADE_JOB_ACTIVE_DEADLINE_SECONDS: "900"
SYSTEM_UPGRADE_JOB_BACKOFF_LIMIT: "2"
SYSTEM_UPGRADE_JOB_IMAGE_PULL_POLICY: "IfNotPresent"
SYSTEM_UPGRADE_JOB_KUBECTL_IMAGE: "rancher/kubectl:v1.17.0"
SYSTEM_UPGRADE_JOB_PRIVILEGED: "true"
SYSTEM_UPGRADE_JOB_TTL_SECONDS_AFTER_FINISH: "900"
SYSTEM_UPGRADE_PLAN_POLLING_INTERVAL: "15m"
---
apiVersion: apps/v1
Expand All @@ -59,13 +59,9 @@ spec:
- matchExpressions:
- {key: "node-role.kubernetes.io/master", operator: In, values: ["true"]}
serviceAccountName: k3os-upgrade
tolerations:
- key: "node.kubernetes.io/unschedulable" # necessary to avoid cordon/drain
operator: "Exists"
effect: "NoSchedule"
containers:
- name: system-upgrade-controller
image: rancher/system-upgrade-controller:v0.3.1
image: rancher/system-upgrade-controller:v0.4.0
imagePullPolicy: IfNotPresent
envFrom:
- configMapRef:
Expand All @@ -79,10 +75,6 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: SYSTEM_UPGRADE_CONTROLLER_SERVICE_ACCOUNT
valueFrom:
fieldRef:
fieldPath: spec.serviceAccountName
volumeMounts:
- name: etc-ssl
mountPath: /etc/ssl
Expand Down

0 comments on commit fbe0b4e

Please sign in to comment.