flant / shell-operator

Shell-operator is a tool for running event-driven scripts in a Kubernetes cluster
https://flant.github.io/shell-operator/
Apache License 2.0
2.39k stars 214 forks source link

usging the 104-secret-copier example fails #606

Closed windse closed 5 months ago

windse commented 5 months ago

Please let me know if I missed something in the process:

Steps to reproduce:

1 - clone shell-operator (tag v.1.2.0) 2 - cd examples/104-secret-copier 3 - Build and transfer image to node 4 - create namespace: kubectl create ns secret-copier 5 - Error on: kubectl -n secret-copier apply -f shell-operator-rbac.yaml:

[~(keystone_admin)]$ kubectl -n secret-copier apply -f shell-operator-rbac.yaml serviceaccount/secret-copier-acc created resource mapping not found for name: "secret-copier" namespace: "" from "shell-operator-rbac.yaml": no matches for kind "ClusterRole" in version "rbac.authorization.k8s.io/v1beta1" ensure CRDs are installed first resource mapping not found for name: "secret-copier" namespace: "" from "shell-operator-rbac.yaml": no matches for kind "ClusterRoleBinding" in version "rbac.authorization.k8s.io/v1beta1" ensure CRDs are installed first