From 02eceb84bce8fdcbc572cf880ae4a53f58d02cc0 Mon Sep 17 00:00:00 2001 From: Chad Roberts Date: Fri, 27 Jan 2023 12:02:25 -0500 Subject: [PATCH] make remove --- .../rancher-webhook-2.0.2+up0.3.2-rc11.tgz | Bin 2464 -> 0 bytes .../2.0.2+up0.3.2-rc11/Chart.yaml | 18 ------ .../2.0.2+up0.3.2-rc11/charts/capi/Chart.yaml | 4 -- .../charts/capi/templates/service.yaml | 13 ---- .../2.0.2+up0.3.2-rc11/templates/_helpers.tpl | 22 ------- .../templates/deployment.yaml | 59 ------------------ .../pre-delete-hook-cluster-role-binding.yaml | 19 ------ .../pre-delete-hook-cluster-role.yaml | 19 ------ .../templates/pre-delete-hook-job.yaml | 39 ------------ .../pre-delete-hook-service-account.yaml | 12 ---- .../2.0.2+up0.3.2-rc11/templates/rbac.yaml | 12 ---- .../2.0.2+up0.3.2-rc11/templates/service.yaml | 13 ---- .../templates/serviceaccount.yaml | 4 -- .../2.0.2+up0.3.2-rc11/templates/webhook.yaml | 19 ------ .../2.0.2+up0.3.2-rc11/values.yaml | 28 --------- 15 files changed, 281 deletions(-) delete mode 100644 assets/rancher-webhook/rancher-webhook-2.0.2+up0.3.2-rc11.tgz delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc11/Chart.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc11/charts/capi/Chart.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc11/charts/capi/templates/service.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/_helpers.tpl delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/deployment.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/pre-delete-hook-cluster-role-binding.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/pre-delete-hook-cluster-role.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/pre-delete-hook-job.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/pre-delete-hook-service-account.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/rbac.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/service.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/serviceaccount.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/webhook.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc11/values.yaml diff --git a/assets/rancher-webhook/rancher-webhook-2.0.2+up0.3.2-rc11.tgz b/assets/rancher-webhook/rancher-webhook-2.0.2+up0.3.2-rc11.tgz deleted file mode 100644 index 67298924535774306b76f25c225e826b4801e438..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2464 zcmV;R319XfiwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PI|CZ`(NX?`wUEffj%C#XpiI*>QTp?E%>|d)Pyp3zEGa4#lFN zrLoNoMQTaP*<3c?{h&uvvK%{Y>b7^9H@5jO98sL#Jdm^`JX)f3ZgI90;%0QVBvQL~ zBw;U}jXclurjtqW>3LrF)As}ag+CcjgRwUbJpYB~PlEB}1$fUV!gk7(Ch~>%$zydN z?i(S(xzI#Y!BuDhL_`xN7H&keX6RBeico4grx=G&t(D$pOB%<>L$I~X(C%$=lg-ds zp;T1x5MKV}d+=R<>Uxd`e+J(TimxwwyK<7CN=bwvl!cDEQyP=r#zKX_D9?WHtxZuT zR4b=xb#zO4EN)eA>smcpVh8R?C3WDw+Ag$2hD4#03*Ss$t!NfW>ARZgDzHeJHa|Ug z>;{gEeBX*OMIIxMD5}tMAQC*Lx@Z-Vl)A{tjA3j6l%wQ@7J$T5D5{0L3&FOn7*!-` zTK0QK7>$Xhd~q5lROLhdvy=(uLc&!kC+NErmDMkMGaG^Hxxx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-DWI1j8T7WwP6Wbk?iQ zYW%&HpRg^IGyQ}~i5HzcEdYCoEOFIxl=rklXbsk>c5aa_mf8-%4(y)lN+r_59@rtw za4ux6A`**Xk4n(Yq6jg@xcoUMlwoY;>Qh-zlG49Qk)@B!ss*qysr$^K%4WY}RD!-! zvAAx*vbEJdI-Th;Hs5mlcvWs|xfgXY7!mk@vfmhe9R5EoBd`=g@{0>zvL@dUx$^2defM|%BcUvlI3&jp zmKKpiAB0-xzaQC%T!#Sb`@_|>;WIN!wH++hIV-DLT7}=<40?qtino<8 zmBX;|tB)CKl7EjFMXt*ctDA%+Ry~?8H|nd)suS?H=%jk+Q+>Awx=>SkP#`EHKhzj9C@SKmP35rZ#V= 1.16.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: rancher-webhook -apiVersion: v2 -appVersion: 0.3.2-rc11 -dependencies: -- condition: capi.enabled - name: capi - repository: "" -description: ValidatingAdmissionWebhook for Rancher types -name: rancher-webhook -version: 2.0.2+up0.3.2-rc11 diff --git a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/charts/capi/Chart.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc11/charts/capi/Chart.yaml deleted file mode 100644 index 388210bef..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/charts/capi/Chart.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v2 -appVersion: 0.0.0 -name: capi -version: 0.0.0 diff --git a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/charts/capi/templates/service.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc11/charts/capi/templates/service.yaml deleted file mode 100644 index 08df65d62..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/charts/capi/templates/service.yaml +++ /dev/null @@ -1,13 +0,0 @@ -kind: Service -apiVersion: v1 -metadata: - name: webhook-service - annotations: - need-a-cert.cattle.io/secret-name: rancher-webhook-tls -spec: - ports: - - name: https - port: 443 - targetPort: 8777 - selector: - app: rancher-webhook diff --git a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/_helpers.tpl b/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/_helpers.tpl deleted file mode 100644 index c37a65c6f..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/_helpers.tpl +++ /dev/null @@ -1,22 +0,0 @@ -{{- define "system_default_registry" -}} -{{- if .Values.global.cattle.systemDefaultRegistry -}} -{{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}} -{{- else -}} -{{- "" -}} -{{- end -}} -{{- end -}} - -{{- define "rancher-webhook.labels" -}} -app: rancher-webhook -{{- end }} - -{{- define "linux-node-tolerations" -}} -- key: "cattle.io/os" - value: "linux" - effect: "NoSchedule" - operator: "Equal" -{{- end -}} - -{{- define "linux-node-selector" -}} -kubernetes.io/os: linux -{{- end -}} \ No newline at end of file diff --git a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/deployment.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/deployment.yaml deleted file mode 100644 index e4270c1ec..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/deployment.yaml +++ /dev/null @@ -1,59 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: rancher-webhook -spec: - selector: - matchLabels: - app: rancher-webhook - template: - metadata: - labels: - app: rancher-webhook - spec: - {{- if .Values.capi.enabled }} - volumes: - - name: tls - secret: - secretName: rancher-webhook-tls - {{- end }} - {{- if .Values.global.hostNetwork }} - hostNetwork: true - {{- end }} - nodeSelector: {{ include "linux-node-selector" . | nindent 8 }} - {{- if .Values.nodeSelector }} -{{ toYaml .Values.nodeSelector | indent 8 }} - {{- end }} - tolerations: {{ include "linux-node-tolerations" . | nindent 6 }} - {{- if .Values.tolerations }} -{{ toYaml .Values.tolerations | indent 6 }} - {{- end }} - containers: - - env: - - name: STAMP - value: "{{.Values.stamp}}" - - name: ENABLE_CAPI - value: "{{.Values.capi.enabled}}" - - name: ENABLE_MCM - value: "{{.Values.mcm.enabled}}" - - name: NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - image: '{{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}' - name: rancher-webhook - imagePullPolicy: "{{ .Values.image.imagePullPolicy }}" - ports: - - name: https - containerPort: 9443 - - name: capi-https - containerPort: 8777 - {{- if .Values.capi.enabled }} - volumeMounts: - - name: tls - mountPath: /tmp/k8s-webhook-server/serving-certs - {{- end }} - serviceAccountName: rancher-webhook - {{- if .Values.priorityClassName }} - priorityClassName: "{{.Values.priorityClassName}}" - {{- end }} diff --git a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/pre-delete-hook-cluster-role-binding.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/pre-delete-hook-cluster-role-binding.yaml deleted file mode 100644 index ca439ff48..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/pre-delete-hook-cluster-role-binding.yaml +++ /dev/null @@ -1,19 +0,0 @@ -{{- if .Values.preDelete.enabled }} -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: rancher-webhook-pre-delete - labels: {{ include "rancher-webhook.labels" . | nindent 4 }} - annotations: - "helm.sh/hook": pre-delete - "helm.sh/hook-weight": "2" - "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded,hook-failed -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: rancher-webhook-pre-delete -subjects: - - kind: ServiceAccount - name: rancher-webhook-pre-delete - namespace: {{ .Release.Namespace }} -{{- end }} diff --git a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/pre-delete-hook-cluster-role.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/pre-delete-hook-cluster-role.yaml deleted file mode 100644 index f3cc9c003..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/pre-delete-hook-cluster-role.yaml +++ /dev/null @@ -1,19 +0,0 @@ -{{- if .Values.preDelete.enabled }} -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: rancher-webhook-pre-delete - labels: {{ include "rancher-webhook.labels" . | nindent 4 }} - annotations: - "helm.sh/hook": pre-delete - "helm.sh/hook-weight": "1" - "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded,hook-failed -rules: - - apiGroups: [ "admissionregistration.k8s.io" ] - resources: [ "mutatingwebhookconfigurations" ] - verbs: [ "delete" ] - resourceNames: [ "rancher.cattle.io" ] - - apiGroups: [ "" ] - resources: [ "serviceaccounts" ] - verbs: [ "get" ] -{{- end }} diff --git a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/pre-delete-hook-job.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/pre-delete-hook-job.yaml deleted file mode 100644 index d3608f366..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/pre-delete-hook-job.yaml +++ /dev/null @@ -1,39 +0,0 @@ -{{- if .Values.preDelete.enabled }} -apiVersion: batch/v1 -kind: Job -metadata: - name: rancher-webhook-pre-delete - namespace: {{ .Release.Namespace }} - labels: {{ include "rancher-webhook.labels" . | nindent 4 }} - annotations: - "helm.sh/hook": pre-delete - "helm.sh/hook-weight": "3" - "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded -spec: - backoffLimit: 3 - template: - metadata: - name: rancher-webhook-pre-delete - labels: {{ include "rancher-webhook.labels" . | nindent 8 }} - spec: - serviceAccountName: rancher-webhook-pre-delete - {{- if .Values.priorityClassName }} - priorityClassName: "{{.Values.priorityClassName}}" - {{- end }} - restartPolicy: OnFailure - nodeSelector: {{ include "linux-node-selector" . | nindent 8 }} - {{- if .Values.nodeSelector }} -{{ toYaml .Values.nodeSelector | indent 8 }} - {{- end }} - tolerations: {{ include "linux-node-tolerations" . | nindent 6 }} - {{- if .Values.tolerations }} -{{ toYaml .Values.tolerations | indent 6 }} - {{- end }} - containers: - - name: rancher-webhook-pre-delete - image: "{{ include "system_default_registry" . }}{{ .Values.preDelete.image.repository }}:{{ .Values.preDelete.image.tag }}" - imagePullPolicy: IfNotPresent - securityContext: - runAsUser: 0 - command: [ "kubectl", "delete", "--ignore-not-found=true", "mutatingwebhookconfigurations", "rancher.cattle.io" ] -{{- end }} diff --git a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/pre-delete-hook-service-account.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/pre-delete-hook-service-account.yaml deleted file mode 100644 index 93e215394..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/pre-delete-hook-service-account.yaml +++ /dev/null @@ -1,12 +0,0 @@ -{{- if .Values.preDelete.enabled }} -apiVersion: v1 -kind: ServiceAccount -metadata: - name: rancher-webhook-pre-delete - namespace: {{ .Release.Namespace }} - labels: {{ include "rancher-webhook.labels" . | nindent 4 }} - annotations: - "helm.sh/hook": pre-delete - "helm.sh/hook-weight": "1" - "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded,hook-failed -{{- end }} diff --git a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/rbac.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/rbac.yaml deleted file mode 100644 index 9afaae6c6..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/rbac.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: rancher-webhook -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: cluster-admin -subjects: -- kind: ServiceAccount - name: rancher-webhook - namespace: {{.Release.Namespace}} diff --git a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/service.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/service.yaml deleted file mode 100644 index 74a8a9e5a..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/service.yaml +++ /dev/null @@ -1,13 +0,0 @@ -kind: Service -apiVersion: v1 -metadata: - name: rancher-webhook - namespace: cattle-system -spec: - ports: - - port: 443 - targetPort: 9443 - protocol: TCP - name: https - selector: - app: rancher-webhook diff --git a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/serviceaccount.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/serviceaccount.yaml deleted file mode 100644 index f9251b418..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/serviceaccount.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: rancher-webhook diff --git a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/webhook.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/webhook.yaml deleted file mode 100644 index 4f95ae896..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/templates/webhook.yaml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: admissionregistration.k8s.io/v1 -kind: ValidatingWebhookConfiguration -metadata: - name: rancher.cattle.io -webhooks: -- admissionReviewVersions: - - v1 - - v1beta1 - clientConfig: - service: - name: rancher-webhook - namespace: cattle-system - path: /v1/webhook/validation - port: 443 - failurePolicy: Ignore - matchPolicy: Equivalent - name: rancher.cattle.io - sideEffects: None - timeoutSeconds: 10 diff --git a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/values.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc11/values.yaml deleted file mode 100644 index d90943eb2..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc11/values.yaml +++ /dev/null @@ -1,28 +0,0 @@ -image: - repository: rancher/rancher-webhook - tag: v0.3.2-rc11 - imagePullPolicy: IfNotPresent - -global: - cattle: - systemDefaultRegistry: "" - hostNetwork: false - -capi: - enabled: false - -mcm: - enabled: true - -preDelete: - enabled: true - image: - repository: rancher/kubectl - tag: v1.23.3 - -# tolerations for the webhook deployment. See https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ for more info -tolerations: [] -nodeSelector: {} - -## PriorityClassName assigned to deployment. -priorityClassName: ""