From ba3e5ec88ef0c174e5e6371d1c1201c073f077f6 Mon Sep 17 00:00:00 2001 From: Harrison Affel Date: Thu, 9 Feb 2023 11:01:04 -0500 Subject: [PATCH] make remove --- ...tem-upgrade-controller-101.1.0+up0.4.0.tgz | Bin 2320 -> 0 bytes .../101.1.0+up0.4.0/Chart.yaml | 18 ----- .../101.1.0+up0.4.0/templates/_helpers.tpl | 9 --- .../templates/clusterrolebinding.yaml | 12 --- .../101.1.0+up0.4.0/templates/configmap.yaml | 16 ---- .../101.1.0+up0.4.0/templates/deployment.yaml | 69 ------------------ .../101.1.0+up0.4.0/templates/psp.yaml | 51 ------------- .../templates/serviceaccount.yaml | 5 -- .../templates/validate-psp-install.yaml | 7 -- .../101.1.0+up0.4.0/values.yaml | 15 ---- index.yaml | 22 ------ 11 files changed, 224 deletions(-) delete mode 100644 assets/system-upgrade-controller/system-upgrade-controller-101.1.0+up0.4.0.tgz delete mode 100644 charts/system-upgrade-controller/101.1.0+up0.4.0/Chart.yaml delete mode 100644 charts/system-upgrade-controller/101.1.0+up0.4.0/templates/_helpers.tpl delete mode 100644 charts/system-upgrade-controller/101.1.0+up0.4.0/templates/clusterrolebinding.yaml delete mode 100644 charts/system-upgrade-controller/101.1.0+up0.4.0/templates/configmap.yaml delete mode 100644 charts/system-upgrade-controller/101.1.0+up0.4.0/templates/deployment.yaml delete mode 100644 charts/system-upgrade-controller/101.1.0+up0.4.0/templates/psp.yaml delete mode 100644 charts/system-upgrade-controller/101.1.0+up0.4.0/templates/serviceaccount.yaml delete mode 100644 charts/system-upgrade-controller/101.1.0+up0.4.0/templates/validate-psp-install.yaml delete mode 100644 charts/system-upgrade-controller/101.1.0+up0.4.0/values.yaml diff --git a/assets/system-upgrade-controller/system-upgrade-controller-101.1.0+up0.4.0.tgz b/assets/system-upgrade-controller/system-upgrade-controller-101.1.0+up0.4.0.tgz deleted file mode 100644 index 24ec88305cb31e90aa73672c026da0bd06119e97..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc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)rdsQ(kZ!*zC}xl|pXF-gF2$~e zFqc)+C4B)hnQ9j~w*6dF3~-cCzsTG)rxC=u*yajw^D9w0J11%_vF{v^)1$abiU|X` z25`uIKtf5O;kbx%OJ=bz0^Qwh5s|J*xD2vgv>IBk@By1$NFJ>3mx;VA=}Yft*6HBn zZv|x&AsJ(PQr4+mH48aM>#?*EjR{acSJt$xi}lo9_y8+0{{MWl%jm!P*AXK3yS4fc zlzZV$SNLa~h5=kfr(fl-GHB0Kif)>Ss7Eq>5wus_7x77<^B`skoaGyV{iTv+IRnFS2pkeZM%AQ zivOR3cGl~njZZ85k*itF6-4Y~iZf>f8fPg(m-~J2LP_*I@j*|@9I~((Q_8cZ=S!A!;?&zPGyd z#doo|rdd3aA*-ny1!=}2LkceHMGtFi9w#(y!osiHT0zz;5_MaS13`4L`n-RS@C9J`pxu2q;Fy*uX9C_*$T(*Fe~e{Hl(l8 z^AwLxAc+8HAV(`~p@MH*ieqY7$&!4(de&~By!uuQ7q7x$*y~7c8b#wIidOD=vYr*o zPqp$tH67yr*AL3mLxFwuf9I^c;r~lz`*i>JERHpd0?>|cAa^>{?-?Px`Gy#}s^p*lcZz<<@p+Ls20LnndN(5sd zBl>&y4%zXmb+4b2Q)JAHYxLGy4e6~~x0RYEWqra58S6Pm@lm#6yjzSo#)KkcFa@Ns zoPf^W7D7G;6@yLj43M6}=Ex~)YtYN2lYD-Prn6$y>H{jNfUAw4Au#lJZ~BN%fD qNJ#Dh#IMI0%Y{f|s4bsgdizgwq7(fe(|-d10RR7Ng{q1GIsgDuhGkL! diff --git a/charts/system-upgrade-controller/101.1.0+up0.4.0/Chart.yaml b/charts/system-upgrade-controller/101.1.0+up0.4.0/Chart.yaml deleted file mode 100644 index c75fef539..000000000 --- a/charts/system-upgrade-controller/101.1.0+up0.4.0/Chart.yaml +++ /dev/null @@ -1,18 +0,0 @@ -annotations: - catalog.cattle.io/certified: rancher - catalog.cattle.io/hidden: "true" - catalog.cattle.io/kube-version: '>= 1.18.0-0 < 1.26.0-0' - catalog.cattle.io/namespace: cattle-system - catalog.cattle.io/os: linux - catalog.cattle.io/permits-os: linux,windows - catalog.cattle.io/rancher-version: '>= 2.7.0-0 < 2.8.0-0' - catalog.cattle.io/release-name: system-upgrade-controller -apiVersion: v1 -appVersion: v0.10.0 -description: General purpose controller to make system level updates to nodes -home: https://github.com/rancher/system-charts/blob/dev-v2.7/charts/rancher-k3s-upgrader -kubeVersion: '>= 1.16.0-0' -name: system-upgrade-controller -sources: -- https://github.com/rancher/system-charts/blob/dev-v2.7/charts/rancher-k3s-upgrader -version: 101.1.0+up0.4.0 diff --git a/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/_helpers.tpl b/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/_helpers.tpl deleted file mode 100644 index 67a534eb7..000000000 --- a/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/_helpers.tpl +++ /dev/null @@ -1,9 +0,0 @@ -{{/* vim: set filetype=mustache: */}} - -{{- define "system_default_registry" -}} -{{- if .Values.global.cattle.systemDefaultRegistry -}} -{{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}} -{{- else -}} -{{- "" -}} -{{- end -}} -{{- end -}} diff --git a/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/clusterrolebinding.yaml b/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/clusterrolebinding.yaml deleted file mode 100644 index f2a09949d..000000000 --- a/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/clusterrolebinding.yaml +++ /dev/null @@ -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 diff --git a/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/configmap.yaml b/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/configmap.yaml deleted file mode 100644 index 7619c3974..000000000 --- a/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/configmap.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: system-upgrade-controller-config - namespace: cattle-system -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 "IfNotPresent" | 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 }} - diff --git a/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/deployment.yaml b/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/deployment.yaml deleted file mode 100644 index cfc27992e..000000000 --- a/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/deployment.yaml +++ /dev/null @@ -1,69 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: system-upgrade-controller - namespace: cattle-system -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: "kubernetes.io/os" - operator: NotIn - values: - - windows - preferredDuringSchedulingIgnoredDuringExecution: - - preference: - matchExpressions: - - key: node-role.kubernetes.io/control-plane - operator: In - values: - - "true" - weight: 100 - - preference: - matchExpressions: - - key: node-role.kubernetes.io/master - operator: In - values: - - "true" - weight: 100 - tolerations: - - operator: Exists - 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: {} diff --git a/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/psp.yaml b/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/psp.yaml deleted file mode 100644 index ca87b996c..000000000 --- a/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/psp.yaml +++ /dev/null @@ -1,51 +0,0 @@ -{{- if .Values.global.cattle.psp.enabled }} -apiVersion: policy/v1beta1 -kind: PodSecurityPolicy -metadata: - name: system-upgrade-controller -spec: - allowPrivilegeEscalation: true - allowedCapabilities: - - CAP_SYS_BOOT - hostNetwork: true - hostPID: true - hostIPC: true - privileged: true - runAsUser: - rule: RunAsAny - seLinux: - rule: RunAsAny - supplementalGroups: - rule: RunAsAny - fsGroup: - rule: RunAsAny - volumes: - - "*" ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: system-upgrade-controller-psp -rules: - - apiGroups: - - policy - resourceNames: - - system-upgrade-controller - resources: - - podsecuritypolicies - verbs: - - use ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: system-upgrade-controller-psp -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: system-upgrade-controller-psp -subjects: - - kind: Group - apiGroup: rbac.authorization.k8s.io - name: system:serviceaccounts:cattle-system -{{- end }} diff --git a/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/serviceaccount.yaml b/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/serviceaccount.yaml deleted file mode 100644 index b6cdcf48b..000000000 --- a/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/serviceaccount.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: system-upgrade-controller - namespace: cattle-system diff --git a/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/validate-psp-install.yaml b/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/validate-psp-install.yaml deleted file mode 100644 index 4b0e5cfb6..000000000 --- a/charts/system-upgrade-controller/101.1.0+up0.4.0/templates/validate-psp-install.yaml +++ /dev/null @@ -1,7 +0,0 @@ -#{{- if gt (len (lookup "rbac.authorization.k8s.io/v1" "ClusterRole" "" "")) 0 -}} -#{{- if .Values.global.cattle.psp.enabled }} -#{{- if not (.Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy") }} -#{{- fail "The target cluster does not have the PodSecurityPolicy API resource. Please disable PSPs in this chart before proceeding." -}} -#{{- end }} -#{{- end }} -#{{- end }} \ No newline at end of file diff --git a/charts/system-upgrade-controller/101.1.0+up0.4.0/values.yaml b/charts/system-upgrade-controller/101.1.0+up0.4.0/values.yaml deleted file mode 100644 index ee3d45346..000000000 --- a/charts/system-upgrade-controller/101.1.0+up0.4.0/values.yaml +++ /dev/null @@ -1,15 +0,0 @@ -global: - cattle: - systemDefaultRegistry: "" - psp: - enabled: false - -systemUpgradeController: - image: - repository: rancher/system-upgrade-controller - tag: v0.10.0 - -kubectl: - image: - repository: rancher/kubectl - tag: v1.23.3 diff --git a/index.yaml b/index.yaml index b62196c6b..917d235fc 100755 --- a/index.yaml +++ b/index.yaml @@ -12690,28 +12690,6 @@ entries: - assets/sriov-crd/sriov-crd-100.0.0+up0.1.0.tgz version: 100.0.0+up0.1.0 system-upgrade-controller: - - annotations: - catalog.cattle.io/certified: rancher - catalog.cattle.io/hidden: "true" - catalog.cattle.io/kube-version: '>= 1.18.0-0 < 1.26.0-0' - catalog.cattle.io/namespace: cattle-system - catalog.cattle.io/os: linux - catalog.cattle.io/permits-os: linux,windows - catalog.cattle.io/rancher-version: '>= 2.7.0-0 < 2.8.0-0' - catalog.cattle.io/release-name: system-upgrade-controller - apiVersion: v1 - appVersion: v0.10.0 - created: "2023-02-08T12:39:27.27961-05:00" - description: General purpose controller to make system level updates to nodes - digest: c06716503586e5566e2ef77d584111fe09e0fe06482f84328e9fad15c3f34286 - home: https://github.com/rancher/system-charts/blob/dev-v2.7/charts/rancher-k3s-upgrader - kubeVersion: '>= 1.16.0-0' - name: system-upgrade-controller - sources: - - https://github.com/rancher/system-charts/blob/dev-v2.7/charts/rancher-k3s-upgrader - urls: - - assets/system-upgrade-controller/system-upgrade-controller-101.1.0+up0.4.0.tgz - version: 101.1.0+up0.4.0 - annotations: catalog.cattle.io/certified: rancher catalog.cattle.io/hidden: "true"