From 557cef54493d889e79d52beeab7f01ad5f742fa6 Mon Sep 17 00:00:00 2001 From: Michael Bolot Date: Fri, 10 Feb 2023 09:45:17 -0600 Subject: [PATCH] make remove webhook 2.0.2+up0.3.2-rc15 --- .../rancher-webhook-2.0.2+up0.3.2-rc15.tgz | Bin 2900 -> 0 bytes .../2.0.2+up0.3.2-rc15/Chart.yaml | 18 ------ .../2.0.2+up0.3.2-rc15/charts/capi/Chart.yaml | 4 -- .../charts/capi/templates/service.yaml | 13 ---- .../2.0.2+up0.3.2-rc15/templates/_helpers.tpl | 22 ------- .../templates/deployment.yaml | 59 ------------------ .../pre-delete-hook-cluster-role-binding.yaml | 19 ------ .../pre-delete-hook-cluster-role.yaml | 25 -------- .../templates/pre-delete-hook-job.yaml | 39 ------------ .../templates/pre-delete-hook-psp.yaml | 33 ---------- .../pre-delete-hook-service-account.yaml | 12 ---- .../2.0.2+up0.3.2-rc15/templates/rbac.yaml | 12 ---- .../2.0.2+up0.3.2-rc15/templates/service.yaml | 13 ---- .../templates/serviceaccount.yaml | 4 -- .../templates/validate-psp-install.yaml | 7 --- .../2.0.2+up0.3.2-rc15/templates/webhook.yaml | 19 ------ .../2.0.2+up0.3.2-rc15/values.yaml | 30 --------- index.yaml | 10 +-- 18 files changed, 5 insertions(+), 334 deletions(-) delete mode 100644 assets/rancher-webhook/rancher-webhook-2.0.2+up0.3.2-rc15.tgz delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc15/Chart.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc15/charts/capi/Chart.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc15/charts/capi/templates/service.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/_helpers.tpl delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/deployment.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/pre-delete-hook-cluster-role-binding.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/pre-delete-hook-cluster-role.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/pre-delete-hook-job.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/pre-delete-hook-psp.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/pre-delete-hook-service-account.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/rbac.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/service.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/serviceaccount.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/validate-psp-install.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/webhook.yaml delete mode 100644 charts/rancher-webhook/2.0.2+up0.3.2-rc15/values.yaml diff --git a/assets/rancher-webhook/rancher-webhook-2.0.2+up0.3.2-rc15.tgz b/assets/rancher-webhook/rancher-webhook-2.0.2+up0.3.2-rc15.tgz deleted file mode 100644 index 870c370d2e5048ab96abdf43b4a2761625501325..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2900 zcmV-a3#;@WiwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PI|QZ`($;&)@tM2MjLU;)WEdXD)HOfa|!sStPDtce_{=MKB_d zq^XB9?95Q9*Y$T_@cj^F$%&#gT^<;aJRF`m8qWEh*9;}${u-tA9v5pNZU+}@BDH-- zLiX%vD35>Zyc(el zsa96m>&1J@1MyyU_Ab<;A@AMpnzzBJO+^48K!vbIMfaki+zj0KP_;WAlo}NT) z{NE53qdKku*o*(uE&QLjPLKbmAR3YtdM(Jv7sa5h_W+u#JlNFK9U$c}j~SZ_M*TYv zUN5hNo=a57wPCE7SP+)m7R}PJ05bS~g-a4MeT^%sbdF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YUY6@BdHR^&fXSo%H#?lThRQ-y<8*suV!={+Rr=F&FhJ zDq zgDb%kKAMIoVts?Y;DPeMbv^}FwDmtlG&S%^M343^uzmXP%(mkHalilTH1z0es2tld zYVVcWG_QPa(R(@qJ*NN1$_4Jt|4p5({U765um7i@C+7d^2SRCjw0En>#t{RHq-R8H yFT=~K@!jvjOApO=qzl{UX?Ld&^Ruyia= 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-rc15 -dependencies: -- condition: capi.enabled - name: capi - repository: "" -description: ValidatingAdmissionWebhook for Rancher types -name: rancher-webhook -version: 2.0.2+up0.3.2-rc15 diff --git a/charts/rancher-webhook/2.0.2+up0.3.2-rc15/charts/capi/Chart.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc15/charts/capi/Chart.yaml deleted file mode 100644 index 388210bef..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc15/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-rc15/charts/capi/templates/service.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc15/charts/capi/templates/service.yaml deleted file mode 100644 index 08df65d62..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc15/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-rc15/templates/_helpers.tpl b/charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/_helpers.tpl deleted file mode 100644 index c37a65c6f..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc15/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-rc15/templates/deployment.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/deployment.yaml deleted file mode 100644 index e4270c1ec..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc15/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-rc15/templates/pre-delete-hook-cluster-role-binding.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc15/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-rc15/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-rc15/templates/pre-delete-hook-cluster-role.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/pre-delete-hook-cluster-role.yaml deleted file mode 100644 index 80347aca8..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/pre-delete-hook-cluster-role.yaml +++ /dev/null @@ -1,25 +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" ] -{{- if .Values.global.cattle.psp.enabled }} - - apiGroups: [ "policy" ] - resources: [ "podsecuritypolicies" ] - verbs: [ "use" ] - resourceNames: [ "rancher-webhook-pre-delete" ] -{{- end }} -{{- end }} diff --git a/charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/pre-delete-hook-job.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/pre-delete-hook-job.yaml deleted file mode 100644 index d3608f366..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc15/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-rc15/templates/pre-delete-hook-psp.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/pre-delete-hook-psp.yaml deleted file mode 100644 index 0b376cf03..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/pre-delete-hook-psp.yaml +++ /dev/null @@ -1,33 +0,0 @@ -{{- if .Values.global.cattle.psp.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/2.0.2+up0.3.2-rc15/templates/pre-delete-hook-service-account.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/pre-delete-hook-service-account.yaml deleted file mode 100644 index 93e215394..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc15/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-rc15/templates/rbac.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/rbac.yaml deleted file mode 100644 index 9afaae6c6..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc15/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-rc15/templates/service.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/service.yaml deleted file mode 100644 index 74a8a9e5a..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc15/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-rc15/templates/serviceaccount.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/serviceaccount.yaml deleted file mode 100644 index f9251b418..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc15/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-rc15/templates/validate-psp-install.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/validate-psp-install.yaml deleted file mode 100644 index d1377c647..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc15/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 -}} diff --git a/charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/webhook.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc15/templates/webhook.yaml deleted file mode 100644 index 4f95ae896..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc15/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-rc15/values.yaml b/charts/rancher-webhook/2.0.2+up0.3.2-rc15/values.yaml deleted file mode 100644 index 215409ebd..000000000 --- a/charts/rancher-webhook/2.0.2+up0.3.2-rc15/values.yaml +++ /dev/null @@ -1,30 +0,0 @@ -image: - repository: rancher/rancher-webhook - tag: v0.3.2-rc15 - imagePullPolicy: IfNotPresent - -global: - cattle: - systemDefaultRegistry: "" - psp: - enabled: false #PSPs enablement should default to false for the webhook - 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: "" diff --git a/index.yaml b/index.yaml index 3088a5be6..0487d5579 100755 --- a/index.yaml +++ b/index.yaml @@ -11704,18 +11704,18 @@ entries: 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-rc15 - created: "2023-02-07T14:28:54.698656-07:00" + appVersion: 0.3.2-rc16 + created: "2023-02-10T09:45:06.331351608-06:00" dependencies: - condition: capi.enabled name: capi repository: "" description: ValidatingAdmissionWebhook for Rancher types - digest: 4b39907f9d846d92098481b8503ae7e18759c653f84cc7db9f610ec75e688598 + digest: 0731959bf4b60937e377c0ea315bd8208797ca1f526dfdd76290223e57820e83 name: rancher-webhook urls: - - assets/rancher-webhook/rancher-webhook-2.0.2+up0.3.2-rc15.tgz - version: 2.0.2+up0.3.2-rc15 + - assets/rancher-webhook/rancher-webhook-2.0.2+up0.3.2-rc16.tgz + version: 2.0.2+up0.3.2-rc16 - annotations: catalog.cattle.io/certified: rancher catalog.cattle.io/hidden: "true"