mirror of https://git.rancher.io/charts
make patch && make prepare && make clean
parent
3b7b8ef2ba
commit
5c17cdca57
Binary file not shown.
|
@ -1,14 +0,0 @@
|
|||
annotations:
|
||||
catalog.cattle.io/certified: rancher
|
||||
catalog.cattle.io/hidden: "true"
|
||||
catalog.cattle.io/namespace: cattle-system
|
||||
catalog.cattle.io/os: linux
|
||||
catalog.cattle.io/release-name: system-upgrade-controller
|
||||
apiVersion: v1
|
||||
appVersion: v0.7.3
|
||||
description: General purpose controller to make system level updates to nodes
|
||||
home: https://github.com/rancher/system-charts/charts/system-upgrade-controller
|
||||
name: system-upgrade-controller
|
||||
sources:
|
||||
- https://github.com/rancher/system-charts/charts/system-upgrade-controller
|
||||
version: 100.0.0
|
|
@ -1,9 +0,0 @@
|
|||
{{/* vim: set filetype=mustache: */}}
|
||||
|
||||
{{- define "system_default_registry" -}}
|
||||
{{- if .Values.global.systemDefaultRegistry -}}
|
||||
{{- printf "%s/" .Values.global.systemDefaultRegistry -}}
|
||||
{{- else -}}
|
||||
{{- "" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
|
@ -1,12 +0,0 @@
|
|||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: system-upgrade-controller
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: cluster-admin
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: system-upgrade-controller
|
||||
namespace: cattle-system
|
|
@ -1,15 +0,0 @@
|
|||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: system-upgrade-controller-config
|
||||
data:
|
||||
SYSTEM_UPGRADE_CONTROLLER_DEBUG: {{ .Values.systemUpgradeControllerDebug | default "false" | quote }}
|
||||
SYSTEM_UPGRADE_CONTROLLER_THREADS: {{ .Values.systemUpgradeControllerThreads | default "2" | quote }}
|
||||
SYSTEM_UPGRADE_JOB_ACTIVE_DEADLINE_SECONDS: {{ .Values.systemUpgradeJobActiveDeadlineSeconds | default "900" | quote }}
|
||||
SYSTEM_UPGRADE_JOB_BACKOFF_LIMIT: {{ .Values.systemUpgradeJobBackoffLimit | default "99" | quote }}
|
||||
SYSTEM_UPGRADE_JOB_IMAGE_PULL_POLICY: {{ .Values.systemUpgradeJobImagePullPolicy | default "Always" | quote }}
|
||||
SYSTEM_UPGRADE_JOB_KUBECTL_IMAGE: {{ template "system_default_registry" . }}{{ .Values.kubectl.image.repository }}:{{ .Values.kubectl.image.tag }}
|
||||
SYSTEM_UPGRADE_JOB_PRIVILEGED: {{ .Values.systemUpgradeJobPrivileged | default "true" | quote }}
|
||||
SYSTEM_UPGRADE_JOB_TTL_SECONDS_AFTER_FINISH: {{ .Values.systemUpgradeJobTTLSecondsAfterFinish | default "900" | quote }}
|
||||
SYSTEM_UPGRADE_PLAN_POLLING_INTERVAL: {{ .Values.systemUpgradePlanRollingInterval | default "15m" | quote }}
|
||||
|
|
@ -1,48 +0,0 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: system-upgrade-controller
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
upgrade.cattle.io/controller: system-upgrade-controller
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
upgrade.cattle.io/controller: system-upgrade-controller # necessary to avoid drain
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- {key: "node-role.kubernetes.io/master", operator: In, values: ["true"]}
|
||||
serviceAccountName: system-upgrade-controller
|
||||
containers:
|
||||
- name: system-upgrade-controller
|
||||
image: {{ template "system_default_registry" . }}{{ .Values.systemUpgradeController.image.repository }}:{{ .Values.systemUpgradeController.image.tag }}
|
||||
imagePullPolicy: IfNotPresent
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: system-upgrade-controller-config
|
||||
env:
|
||||
- name: SYSTEM_UPGRADE_CONTROLLER_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.labels['upgrade.cattle.io/controller']
|
||||
- name: SYSTEM_UPGRADE_CONTROLLER_NAMESPACE
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
volumeMounts:
|
||||
- name: etc-ssl
|
||||
mountPath: /etc/ssl
|
||||
- name: tmp
|
||||
mountPath: /tmp
|
||||
volumes:
|
||||
- name: etc-ssl
|
||||
hostPath:
|
||||
path: /etc/ssl
|
||||
type: Directory
|
||||
- name: tmp
|
||||
emptyDir: {}
|
|
@ -1,4 +0,0 @@
|
|||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: system-upgrade-controller
|
|
@ -1,12 +0,0 @@
|
|||
global:
|
||||
systemDefaultRegistry: ""
|
||||
|
||||
systemUpgradeController:
|
||||
image:
|
||||
repository: rancher/system-upgrade-controller
|
||||
tag: v0.7.3
|
||||
|
||||
kubectl:
|
||||
image:
|
||||
repository: rancher/kubectl
|
||||
tag: v1.18.0
|
20
index.yaml
20
index.yaml
|
@ -4179,23 +4179,3 @@ entries:
|
|||
urls:
|
||||
- assets/rancher-sriov/sriov-crd-0.1.1+up0.1.0.tgz
|
||||
version: 0.1.1+up0.1.0
|
||||
system-upgrade-controller:
|
||||
- annotations:
|
||||
catalog.cattle.io/certified: rancher
|
||||
catalog.cattle.io/hidden: "true"
|
||||
catalog.cattle.io/namespace: cattle-system
|
||||
catalog.cattle.io/os: linux
|
||||
catalog.cattle.io/release-name: system-upgrade-controller
|
||||
apiVersion: v1
|
||||
appVersion: v0.7.3
|
||||
created: "2021-08-06T16:57:34.437773827-07:00"
|
||||
description: General purpose controller to make system level updates to nodes
|
||||
digest: eab5634baf554810c27f81a61f7267d10d1723cd456b15eb335d0a6e01104280
|
||||
home: https://github.com/rancher/system-charts/charts/system-upgrade-controller
|
||||
name: system-upgrade-controller
|
||||
sources:
|
||||
- https://github.com/rancher/system-charts/charts/system-upgrade-controller
|
||||
urls:
|
||||
- assets/system-upgrade-controller/system-upgrade-controller-100.0.0.tgz
|
||||
version: 100.0.0
|
||||
generated: "2021-08-06T16:57:33.967930468-07:00"
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
apiVersion: v1
|
||||
name: system-upgrade-controller
|
||||
description: General purpose controller to make system level updates to nodes
|
||||
home: https://github.com/rancher/system-charts/charts/system-upgrade-controller
|
||||
sources:
|
||||
- "https://github.com/rancher/system-charts/charts/system-upgrade-controller"
|
||||
version: 0.7.3
|
||||
appVersion: v0.7.3
|
||||
annotations:
|
||||
catalog.cattle.io/certified: rancher
|
||||
catalog.cattle.io/hidden: "true"
|
||||
catalog.cattle.io/namespace: cattle-system
|
||||
catalog.cattle.io/os: linux
|
||||
catalog.cattle.io/release-name: system-upgrade-controller
|
|
@ -1,9 +0,0 @@
|
|||
{{/* vim: set filetype=mustache: */}}
|
||||
|
||||
{{- define "system_default_registry" -}}
|
||||
{{- if .Values.global.systemDefaultRegistry -}}
|
||||
{{- printf "%s/" .Values.global.systemDefaultRegistry -}}
|
||||
{{- else -}}
|
||||
{{- "" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
|
@ -1,12 +0,0 @@
|
|||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: system-upgrade-controller
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: cluster-admin
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: system-upgrade-controller
|
||||
namespace: cattle-system
|
|
@ -1,15 +0,0 @@
|
|||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: system-upgrade-controller-config
|
||||
data:
|
||||
SYSTEM_UPGRADE_CONTROLLER_DEBUG: {{ .Values.systemUpgradeControllerDebug | default "false" | quote }}
|
||||
SYSTEM_UPGRADE_CONTROLLER_THREADS: {{ .Values.systemUpgradeControllerThreads | default "2" | quote }}
|
||||
SYSTEM_UPGRADE_JOB_ACTIVE_DEADLINE_SECONDS: {{ .Values.systemUpgradeJobActiveDeadlineSeconds | default "900" | quote }}
|
||||
SYSTEM_UPGRADE_JOB_BACKOFF_LIMIT: {{ .Values.systemUpgradeJobBackoffLimit | default "99" | quote }}
|
||||
SYSTEM_UPGRADE_JOB_IMAGE_PULL_POLICY: {{ .Values.systemUpgradeJobImagePullPolicy | default "Always" | quote }}
|
||||
SYSTEM_UPGRADE_JOB_KUBECTL_IMAGE: {{ template "system_default_registry" . }}{{ .Values.kubectl.image.repository }}:{{ .Values.kubectl.image.tag }}
|
||||
SYSTEM_UPGRADE_JOB_PRIVILEGED: {{ .Values.systemUpgradeJobPrivileged | default "true" | quote }}
|
||||
SYSTEM_UPGRADE_JOB_TTL_SECONDS_AFTER_FINISH: {{ .Values.systemUpgradeJobTTLSecondsAfterFinish | default "900" | quote }}
|
||||
SYSTEM_UPGRADE_PLAN_POLLING_INTERVAL: {{ .Values.systemUpgradePlanRollingInterval | default "15m" | quote }}
|
||||
|
|
@ -1,48 +0,0 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: system-upgrade-controller
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
upgrade.cattle.io/controller: system-upgrade-controller
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
upgrade.cattle.io/controller: system-upgrade-controller # necessary to avoid drain
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- {key: "node-role.kubernetes.io/master", operator: In, values: ["true"]}
|
||||
serviceAccountName: system-upgrade-controller
|
||||
containers:
|
||||
- name: system-upgrade-controller
|
||||
image: {{ template "system_default_registry" . }}{{ .Values.systemUpgradeController.image.repository }}:{{ .Values.systemUpgradeController.image.tag }}
|
||||
imagePullPolicy: IfNotPresent
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: system-upgrade-controller-config
|
||||
env:
|
||||
- name: SYSTEM_UPGRADE_CONTROLLER_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.labels['upgrade.cattle.io/controller']
|
||||
- name: SYSTEM_UPGRADE_CONTROLLER_NAMESPACE
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
volumeMounts:
|
||||
- name: etc-ssl
|
||||
mountPath: /etc/ssl
|
||||
- name: tmp
|
||||
mountPath: /tmp
|
||||
volumes:
|
||||
- name: etc-ssl
|
||||
hostPath:
|
||||
path: /etc/ssl
|
||||
type: Directory
|
||||
- name: tmp
|
||||
emptyDir: {}
|
|
@ -1,4 +0,0 @@
|
|||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: system-upgrade-controller
|
|
@ -1,12 +0,0 @@
|
|||
global:
|
||||
systemDefaultRegistry: ""
|
||||
|
||||
systemUpgradeController:
|
||||
image:
|
||||
repository: rancher/system-upgrade-controller
|
||||
tag: v0.7.3
|
||||
|
||||
kubectl:
|
||||
image:
|
||||
repository: rancher/kubectl
|
||||
tag: v1.18.0
|
|
@ -0,0 +1 @@
|
|||
rancher_min_version: 2.4.0-rc1
|
|
@ -0,0 +1,4 @@
|
|||
You have deployed the Rancher K3s Upgrader
|
||||
Version: {{ .Chart.AppVersion }}
|
||||
Description: This controller enables a k3s or rke2 cluster to update itself by reacting to Plan CRs.
|
||||
Users do not need to manually upgrade this app. It will be automatically upgraded to the latest version when upgrading a cluster.
|
|
@ -0,0 +1,6 @@
|
|||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: cattle-system
|
||||
annotations:
|
||||
"helm.sh/resource-policy": keep
|
|
@ -0,0 +1,22 @@
|
|||
--- charts-original/Chart.yaml
|
||||
+++ charts/Chart.yaml
|
||||
@@ -1,9 +1,14 @@
|
||||
apiVersion: v1
|
||||
-name: rancher-k3s-upgrader
|
||||
-description: Enables a k3s or rke2 cluster to update itself by reacting to Plan CRs.
|
||||
- Users do not need to manually upgrade this app. It will be automatically upgraded to the latest version when upgrading a cluster.
|
||||
-home: https://github.com/rancher/system-charts/blob/dev-v2.6/charts/rancher-k3s-upgrader
|
||||
+name: system-upgrade-controller
|
||||
+description: General purpose controller to make system level updates to nodes
|
||||
+home: https://github.com/rancher/system-charts/charts/system-upgrade-controller
|
||||
sources:
|
||||
- - "https://github.com/rancher/system-charts/blob/dev-v2.6/charts/rancher-k3s-upgrader"
|
||||
+ - "https://github.com/rancher/system-charts/charts/system-upgrade-controller"
|
||||
version: 0.3.0
|
||||
appVersion: v0.7.4
|
||||
+annotations:
|
||||
+ catalog.cattle.io/certified: rancher
|
||||
+ catalog.cattle.io/hidden: "true"
|
||||
+ catalog.cattle.io/namespace: cattle-system
|
||||
+ catalog.cattle.io/os: linux
|
||||
+ catalog.cattle.io/release-name: system-upgrade-controller
|
Loading…
Reference in New Issue