Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
grubjack opened this issue Nov 28, 2023 · 2 comments

Comments

@grubjack
Copy link

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/cobra@v1.7.0/command.go:940
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/cobra@v1.7.0/command.go:1068
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/cobra@v1.7.0/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`

ekarak-aisera added a commit to ekarak-aisera/cstor-operators that referenced this issue Dec 18, 2023
@ekarak
Copy link

ekarak commented Dec 18, 2023

Potential fix in #458 - I had the exact same issue on v.1.26.2+rke2r1

ekarak-aisera added a commit to ekarak-aisera/cstor-operators that referenced this issue Dec 18, 2023
Signed-off-by: Elias Karakoulakis <elias.karakoulakis@aisera.com>
@michaeleino
Copy link

have the same on v1.27.10+rke2r1 & v1.27.11+rke2r1
when it is expected to be merged ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants