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

Connectedk8s - RBAC: Add "arc "mode in Guard for using OBO service and deprecate --app-id & --app-secret params #6675

Merged
merged 17 commits into from
Nov 30, 2023
Prev Previous commit
Next Next commit
update comments
  • Loading branch information
Vineeth Thumma committed Aug 22, 2023
commit a8dbe561a3499f564f38c61af687ea0d9288c91b
2 changes: 1 addition & 1 deletion src/connectedk8s/azext_connectedk8s/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,7 @@ def enable_features(cmd, client, resource_group_name, cluster_name, features, ku
if enable_azure_rbac:
cmd_helm_upgrade.extend(["--set", "systemDefaultValues.guard.enabled=true"])
# Setting the default authnMode mode as "arc" for guard. This mode used Arc RBAC 1P apps for authN/authZ.
vineeth-thumma marked this conversation as resolved.
Show resolved Hide resolved
# This needs
# This mode in guard uses PoP token bases auth.
cmd_helm_upgrade.extend(["--set", "systemDefaultValues.guard.authnMode=arc"])
vineeth-thumma marked this conversation as resolved.
Show resolved Hide resolved
logger.warning("Please use the latest kubelogin version which has support for generating PoP token(s) needed by guard running in 'arc' authN mode.")
vineeth-thumma marked this conversation as resolved.
Show resolved Hide resolved
cmd_helm_upgrade.extend(["--set", "systemDefaultValues.guard.skipAuthzCheck={}".format(azrbac_skip_authz_check)])
Expand Down