Skip to content

Conversation

@junw98
Copy link

@junw98 junw98 commented Oct 14, 2025

Currently, there is no logic to handle the required Helm overrides for AGC. We need to implement functionality that adds these overrides when the AG scenario is detected.

@github-actions
Copy link

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

"'arcConfigEndpoint' doesn't exist under 'dataplaneEndpoints' in the ARM metadata."
)

# Add overrides for AGC Scenario

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will it not pass cmd_helm_install.extend with both the public and azc given the public ones are above this. would it be better to do if else..

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The above if condition does not execute in AGC so this should be fine

# Add overrides for AGC Scenario
if cloud_name.lower() == "ussec" or cloud_name.lower() == "usnat":
logger.debug("Adding AGC scenario overrides.")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we refactor the override to a different method?


cmd_helm_install.extend(
[
"--set",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we detect these config values at a single location?

Copy link
Author

@junw98 junw98 Oct 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per discussion with Harshil, this would not be feasible

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

listing the urls would not be feasible but the logic can be moved to a common place. please correct me if not so

@junw98 junw98 merged commit 3ca7ae1 into main Oct 27, 2025
5 of 9 checks passed
@junw98 junw98 deleted the Arc/junweihe/add-agc-overrides branch October 27, 2025 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants