Merge pull request #2328 from jiaqiluo/bump-webhook

pull/2329/head
Jiaqi Luo 2023-01-11 15:58:57 -07:00 committed by GitHub
commit 37f6e83b54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
20 changed files with 10 additions and 49 deletions

View File

@ -1,33 +0,0 @@
{{- if and .Values.preDelete.enabled (.Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy") }}
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 }}

View File

@ -8,11 +8,11 @@ annotations:
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-rc8
appVersion: 0.3.2-rc9
dependencies:
- condition: capi.enabled
name: capi
repository: ""
description: ValidatingAdmissionWebhook for Rancher types
name: rancher-webhook
version: 2.0.2+up0.3.2-rc8
version: 2.0.2+up0.3.2-rc9

View File

@ -16,10 +16,4 @@ rules:
- apiGroups: [ "" ]
resources: [ "serviceaccounts" ]
verbs: [ "get" ]
{{- if .Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy" }}
- apiGroups: [ "policy" ]
resources: [ "podsecuritypolicies" ]
verbs: [ "use" ]
resourceNames: [ "rancher-webhook-pre-delete" ]
{{- end }}
{{- end }}

View File

@ -1,6 +1,6 @@
image:
repository: rancher/rancher-webhook
tag: v0.3.2-rc8
tag: v0.3.2-rc9
imagePullPolicy: IfNotPresent
global:

View File

@ -11696,18 +11696,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-rc8
created: "2023-01-10T11:00:54.948658-07:00"
appVersion: 0.3.2-rc9
created: "2023-01-11T15:41:46.082346-07:00"
dependencies:
- condition: capi.enabled
name: capi
repository: ""
description: ValidatingAdmissionWebhook for Rancher types
digest: 10a3789d302e1ad1d3ffd989552622c737e76a80c0e10bd3ba45e0c1653656c4
digest: 36808dda6c931028608e7b073d7e6a7e603303c077558e62446917b216e9f1b1
name: rancher-webhook
urls:
- assets/rancher-webhook/rancher-webhook-2.0.2+up0.3.2-rc8.tgz
version: 2.0.2+up0.3.2-rc8
- assets/rancher-webhook/rancher-webhook-2.0.2+up0.3.2-rc9.tgz
version: 2.0.2+up0.3.2-rc9
- annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/hidden: "true"

View File

@ -1,2 +1,2 @@
url: https://github.com/rancher/webhook/releases/download/v0.3.2-rc8/rancher-webhook-0.3.2-rc8.tgz
url: https://github.com/rancher/webhook/releases/download/v0.3.2-rc9/rancher-webhook-0.3.2-rc9.tgz
version: 2.0.2

View File

@ -55,7 +55,7 @@ rancher-gatekeeper-crd:
rancher-logging:
- 101.1.0+up3.17.10
rancher-webhook:
- 2.0.2+up0.3.2-rc8
- 2.0.2+up0.3.2-rc9
sriov:
- 101.0.2+up0.1.0
sriov-crd: