From 44844aa0fca9fc7f61323e683fe4a6f7f0d01db4 Mon Sep 17 00:00:00 2001 From: Kevin Joiner Date: Thu, 11 Aug 2022 09:46:07 -0400 Subject: [PATCH] Remove charts/assets for rancher-webhook 0.2.6-rc9 --- .../rancher-webhook-1.0.5+up0.2.6-rc9.tgz | Bin 2592 -> 0 bytes .../1.0.5+up0.2.6-rc9/Chart.yaml | 18 ------ .../1.0.5+up0.2.6-rc9/charts/capi/Chart.yaml | 4 -- .../charts/capi/templates/service.yaml | 13 ----- .../1.0.5+up0.2.6-rc9/templates/_helpers.tpl | 22 -------- .../templates/deployment.yaml | 52 ------------------ .../pre-delete-hook-cluster-role-binding.yaml | 19 ------- .../pre-delete-hook-cluster-role.yaml | 23 -------- .../templates/pre-delete-hook-job.yaml | 36 ------------ .../templates/pre-delete-hook-psp.yaml | 33 ----------- .../pre-delete-hook-service-account.yaml | 12 ---- .../1.0.5+up0.2.6-rc9/templates/rbac.yaml | 12 ---- .../1.0.5+up0.2.6-rc9/templates/service.yaml | 13 ----- .../templates/serviceaccount.yaml | 4 -- .../1.0.5+up0.2.6-rc9/templates/webhook.yaml | 19 ------- .../1.0.5+up0.2.6-rc9/values.yaml | 25 --------- 16 files changed, 305 deletions(-) delete mode 100644 assets/rancher-webhook/rancher-webhook-1.0.5+up0.2.6-rc9.tgz delete mode 100644 charts/rancher-webhook/1.0.5+up0.2.6-rc9/Chart.yaml delete mode 100644 charts/rancher-webhook/1.0.5+up0.2.6-rc9/charts/capi/Chart.yaml delete mode 100644 charts/rancher-webhook/1.0.5+up0.2.6-rc9/charts/capi/templates/service.yaml delete mode 100644 charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/_helpers.tpl delete mode 100644 charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/deployment.yaml delete mode 100644 charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/pre-delete-hook-cluster-role-binding.yaml delete mode 100644 charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/pre-delete-hook-cluster-role.yaml delete mode 100644 charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/pre-delete-hook-job.yaml delete mode 100644 charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/pre-delete-hook-psp.yaml delete mode 100644 charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/pre-delete-hook-service-account.yaml delete mode 100644 charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/rbac.yaml delete mode 100644 charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/service.yaml delete mode 100644 charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/serviceaccount.yaml delete mode 100644 charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/webhook.yaml delete mode 100644 charts/rancher-webhook/1.0.5+up0.2.6-rc9/values.yaml diff --git a/assets/rancher-webhook/rancher-webhook-1.0.5+up0.2.6-rc9.tgz b/assets/rancher-webhook/rancher-webhook-1.0.5+up0.2.6-rc9.tgz deleted file mode 100644 index 539bc233853fb46b58e01c2f68af117215a773cf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2592 zcmV+*3g7h~iwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PI|CZ{s%d-`DyS1O4$wUffES{FJS5Js{1dhdu13LDK8tP!tPV z8ry6rQY9&;xzykNAW=`2q}0=Xvd4-}g^n`QzbqIvshF(eRb$kB5`#EAS2{!fr~HCi0c{yXR`( z+zTPXxzI#Y!Bt=ZghUf27H&wiX6RBe2vKS}rx*oL?3K=LOBzMU1F*GB(eCVWo6gW# zp;T1x08ak)HTbSSbv?&}zk=@$C)uATokKZ^Q6(hA08FE!?v=*4v$IeEFv`=N%gPi z4&A9E!>_Ce6XX%{kfI7K2SULks`E}ENvMmQ%os)%fSDv~v;ZU~LQyT`eE_y?MW{ka z6Ep4y!e~S^<%_c@rYf89Uq&RD3klaoOwjiUDyv)cYB7A*b0>dElUm>}y`6h{CbjW@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*8 zg>q)P8_CTZ6;N_KKhM5HiGCDr$NH;Nsc zQ?>u5I`&yMrngrGJstml7PC)G1nhb>w^j!acMs&EWef@uk*>f@e zDemMS#uAJUWC^MS`HY0OVm^OQW2yrf?M;0@$wUA2<*E|B&CK}|@vG-PQSK!_~XDbwiDICiqDi25@qnwVv_&le`Z9J~LOluct}E zFh;HkD?+kn*AJ=Ed3RHQlY}ptmGqeM0Q?GPWAbYN)5&Bsu>j`EmT(Xbe=n6dP532Tn`@|K!Et@Ry>e~bc|Lgbl-{a5`YP*Lld6q>e62+7^ zs+>D(oV(5qZ2-_V{`_g&hTZyK*!u%Oz&`yS4M*GO|9kyE3T>!O+tTk>?F~iRd^NL* zd&A<*_+U2NAUj|s8-~LZ0lWqIo$Nxv6jrV^ZIfzn+0QCn1 zith%TH!CB%!J@8{SjE=L{q}0oYg|#hD}*T=hLvCZm~1mZ$S87cW-MMMHdys&y|i&{ z$5$kB*TWpFU-^T^%kcTF3SM?;I52Zl->j-uc^%0rUV189FMdhsiZI-cMH7T)gkLGeaipB(6^r=EIxGW|CI0RR8fkU@6= 1.16.0-0 < 1.25.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.6.0-0 < 2.7.0-0' - catalog.cattle.io/release-name: rancher-webhook -apiVersion: v2 -appVersion: 0.2.6-rc9 -dependencies: -- condition: capi.enabled - name: capi - repository: "" -description: ValidatingAdmissionWebhook for Rancher types -name: rancher-webhook -version: 1.0.5+up0.2.6-rc9 diff --git a/charts/rancher-webhook/1.0.5+up0.2.6-rc9/charts/capi/Chart.yaml b/charts/rancher-webhook/1.0.5+up0.2.6-rc9/charts/capi/Chart.yaml deleted file mode 100644 index 388210bef..000000000 --- a/charts/rancher-webhook/1.0.5+up0.2.6-rc9/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/1.0.5+up0.2.6-rc9/charts/capi/templates/service.yaml b/charts/rancher-webhook/1.0.5+up0.2.6-rc9/charts/capi/templates/service.yaml deleted file mode 100644 index 08df65d62..000000000 --- a/charts/rancher-webhook/1.0.5+up0.2.6-rc9/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/1.0.5+up0.2.6-rc9/templates/_helpers.tpl b/charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/_helpers.tpl deleted file mode 100644 index c37a65c6f..000000000 --- a/charts/rancher-webhook/1.0.5+up0.2.6-rc9/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/1.0.5+up0.2.6-rc9/templates/deployment.yaml b/charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/deployment.yaml deleted file mode 100644 index a8554d605..000000000 --- a/charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/deployment.yaml +++ /dev/null @@ -1,52 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: rancher-webhook -spec: - selector: - matchLabels: - app: rancher-webhook - template: - metadata: - labels: - app: rancher-webhook - spec: - volumes: - - name: tls - secret: - secretName: rancher-webhook-tls - {{- 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 - volumeMounts: - - name: tls - mountPath: /tmp/k8s-webhook-server/serving-certs - serviceAccountName: rancher-webhook diff --git a/charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/pre-delete-hook-cluster-role-binding.yaml b/charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/pre-delete-hook-cluster-role-binding.yaml deleted file mode 100644 index ca439ff48..000000000 --- a/charts/rancher-webhook/1.0.5+up0.2.6-rc9/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/1.0.5+up0.2.6-rc9/templates/pre-delete-hook-cluster-role.yaml b/charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/pre-delete-hook-cluster-role.yaml deleted file mode 100644 index 36a1c7fef..000000000 --- a/charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/pre-delete-hook-cluster-role.yaml +++ /dev/null @@ -1,23 +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" ] - - apiGroups: [ "policy" ] - resources: [ "podsecuritypolicies" ] - verbs: [ "use" ] - resourceNames: [ "rancher-webhook-pre-delete" ] -{{- end }} diff --git a/charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/pre-delete-hook-job.yaml b/charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/pre-delete-hook-job.yaml deleted file mode 100644 index 81f306b86..000000000 --- a/charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/pre-delete-hook-job.yaml +++ /dev/null @@ -1,36 +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 - 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/1.0.5+up0.2.6-rc9/templates/pre-delete-hook-psp.yaml b/charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/pre-delete-hook-psp.yaml deleted file mode 100644 index 8acf758d0..000000000 --- a/charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/pre-delete-hook-psp.yaml +++ /dev/null @@ -1,33 +0,0 @@ -{{- if .Values.preDelete.enabled }} -apiVersion: policy/v1beta1 -kind: PodSecurityPolicy -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 -spec: - privileged: false - hostNetwork: false - hostIPC: false - hostPID: false - runAsUser: - rule: 'RunAsAny' - seLinux: - rule: 'RunAsAny' - supplementalGroups: - rule: 'MustRunAs' - ranges: - - min: 1 - max: 65535 - fsGroup: - rule: 'MustRunAs' - ranges: - - min: 1 - max: 65535 - readOnlyRootFilesystem: false - volumes: - - 'secret' -{{- end }} diff --git a/charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/pre-delete-hook-service-account.yaml b/charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/pre-delete-hook-service-account.yaml deleted file mode 100644 index 93e215394..000000000 --- a/charts/rancher-webhook/1.0.5+up0.2.6-rc9/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/1.0.5+up0.2.6-rc9/templates/rbac.yaml b/charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/rbac.yaml deleted file mode 100644 index 9afaae6c6..000000000 --- a/charts/rancher-webhook/1.0.5+up0.2.6-rc9/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/1.0.5+up0.2.6-rc9/templates/service.yaml b/charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/service.yaml deleted file mode 100644 index 74a8a9e5a..000000000 --- a/charts/rancher-webhook/1.0.5+up0.2.6-rc9/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/1.0.5+up0.2.6-rc9/templates/serviceaccount.yaml b/charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/serviceaccount.yaml deleted file mode 100644 index f9251b418..000000000 --- a/charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/serviceaccount.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - name: rancher-webhook diff --git a/charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/webhook.yaml b/charts/rancher-webhook/1.0.5+up0.2.6-rc9/templates/webhook.yaml deleted file mode 100644 index 4f95ae896..000000000 --- a/charts/rancher-webhook/1.0.5+up0.2.6-rc9/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/1.0.5+up0.2.6-rc9/values.yaml b/charts/rancher-webhook/1.0.5+up0.2.6-rc9/values.yaml deleted file mode 100644 index d425a741c..000000000 --- a/charts/rancher-webhook/1.0.5+up0.2.6-rc9/values.yaml +++ /dev/null @@ -1,25 +0,0 @@ -image: - repository: rancher/rancher-webhook - tag: v0.2.6-rc9 - 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: {} \ No newline at end of file