cyberark / conjur-oss-helm-chart

Helm chart for deploying Conjur OSS to Kubernetes
Apache License 2.0
28 stars 24 forks source link

Add check/warning for pre-existing ClusterRole in Kubernetes example scripts #142

Open diverdane opened 3 years ago

diverdane commented 3 years ago

Is your feature request related to a problem? Please describe.

If you are using the authn-k8s demo example in examples/kubernetes interatively, and you do the following sequence:

Then you will see errors during Helm upgrade saying that you already have a ClusterRole object.

Describe the solution you would like

In the examples/kubernetes/2_helm_install_or_upgrade_conjur.sh script, add a check for a pre-existing ClusterRole, and if there is one, perhaps display a warning and set the chart value to not create the cluster RBAC.

Describe alternatives you have considered

Additional context