Skip to content

v1.28.3+rke2r2 Admission webhook "rke2-snapshot-validation-webhook.csi.kubernetes.io" denied the request #456

@grubjack

Description

@grubjack

RKE2: v1.28.3+rke2r2

`helm install openebs --namespace openebs openebs/openebs --set cstor.enabled=true --create-namespace --debug
install.go:214: [debug] Original chart version: ""
install.go:231: [debug] CHART PATH: /home/user/.cache/helm/repository/openebs-3.9.0.tgz

client.go:142: [debug] creating 1 resource(s)
client.go:142: [debug] creating 1 resource(s)
client.go:142: [debug] creating 1 resource(s)
client.go:142: [debug] creating 1 resource(s)
client.go:142: [debug] creating 1 resource(s)
client.go:142: [debug] creating 1 resource(s)
client.go:142: [debug] creating 1 resource(s)
client.go:142: [debug] creating 1 resource(s)
client.go:142: [debug] creating 1 resource(s)
client.go:142: [debug] creating 1 resource(s)
client.go:142: [debug] creating 1 resource(s)
client.go:142: [debug] creating 1 resource(s)
client.go:142: [debug] creating 1 resource(s)
client.go:142: [debug] creating 1 resource(s)
client.go:142: [debug] creating 1 resource(s)
install.go:168: [debug] CRD volumesnapshots.snapshot.storage.k8s.io is already present. Skipping.
client.go:142: [debug] creating 1 resource(s)
install.go:168: [debug] CRD volumesnapshotclasses.snapshot.storage.k8s.io is already present. Skipping.
client.go:142: [debug] creating 1 resource(s)
install.go:168: [debug] CRD volumesnapshotcontents.snapshot.storage.k8s.io is already present. Skipping.
wait.go:48: [debug] beginning wait for 14 resources with timeout of 1m0s
install.go:205: [debug] Clearing REST mapper cache
W1128 18:26:42.294784 669814 warnings.go:70] snapshot.storage.k8s.io/v1beta1 VolumeSnapshotClass is deprecated; use snapshot.storage.k8s.io/v1 VolumeSnapshotClass
client.go:142: [debug] creating 1 resource(s)
client.go:142: [debug] creating 37 resource(s)
W1128 18:26:42.597663 669814 warnings.go:70] snapshot.storage.k8s.io/v1beta1 VolumeSnapshotClass is deprecated; use snapshot.storage.k8s.io/v1 VolumeSnapshotClass
Error: INSTALLATION FAILED: 1 error occurred:
* admission webhook "rke2-snapshot-validation-webhook.csi.kubernetes.io" denied the request: expect resource to be {snapshot.storage.k8s.io v1 volumesnapshots}, {snapshot.storage.k8s.io v1 volumesnapshotcontents} or {snapshot.storage.k8s.io v1 volumesnapshotclasses}

helm.go:84: [debug] 1 error occurred:
* admission webhook "rke2-snapshot-validation-webhook.csi.kubernetes.io" denied the request: expect resource to be {snapshot.storage.k8s.io v1 volumesnapshots}, {snapshot.storage.k8s.io v1 volumesnapshotcontents} or {snapshot.storage.k8s.io v1 volumesnapshotclasses}

INSTALLATION FAILED
main.newInstallCmd.func2
helm.sh/helm/v3/cmd/helm/install.go:154
github.com/spf13/cobra.(*Command).execute
github.com/spf13/[email protected]/command.go:940
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/[email protected]/command.go:1068
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/[email protected]/command.go:992
main.main
helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
runtime/proc.go:250
runtime.goexit
runtime/asm_amd64.s:1598`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions