Open abdiali9617 opened 3 years ago
Interesting since OKD 4 has also this v1 Ingress API: https://docs.okd.io/latest/rest_api/network_apis/ingress-networking-k8s-io-v1.html
Do you what is the correct RBAC role for this in OKD (I don't have access to an OKD cluster)?
Thank you for your contribution! This issue has been automatically marked as stale
because it has no recent activity in the last 60 days. It will be closed in 20 days, if no further activity occurs. If this issue is still relevant, please leave a comment to let us know, and the stale
label will be automatically removed.
Describe the bug: When Installing the operator the vault pod crashes and has the following error message
Expected behaviour: The expected behave is for all the pods to be running successfully
Steps to reproduce the bug: Run the following commands to reproduce the bug
Create environment
kubectl create namespace banzai-vault
Install the operator
helm repo add banzaicloud-stable https://kubernetes-charts.banzaicloud.com helm upgrade --install vault-operator banzaicloud-stable/vault-operator
Create a Vault instance with the Vault CR
kubectl apply -f https://raw.githubusercontent.com/banzaicloud/bank-vaults/master/operator/deploy/rbac.yaml kubectl apply -f https://raw.githubusercontent.com/banzaicloud/bank-vaults/master/operator/deploy/cr.yaml
Add privileged rolebinding
oc adm policy add-scc-to-user privileged -z vault-operator -n banzai-vault oc adm policy add-scc-to-user privileged -z vault -n banzai-vault
Additional context: If I don't add the privileged rolebinding the pods won't start
Environment details:
/kind bug