Azure / azure-databricks-operator

Kubernetes Operator for Databricks
MIT License
113 stars 48 forks source link

Applying ACL on non Premium Databricks #99

Closed JasonTheDeveloper closed 4 years ago

JasonTheDeveloper commented 5 years ago

If you're running a Databricks instance which is not on the premium tier, ACL is not available.

Regardless if your config has acls set or not, the operator will still try to list all ACLs. Listing ACLs will return Error: {"error_code":"PERMISSION_DENIED","message":"ACL is not supported in your workspace."} if you are not on the premium tier.

If ACLs are not available, the config will fail and be put back onto the reconcile loop. It will try create the secret scope again and because it already exists, fail and but put back on the loop.

Instead what should happen is: