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

Update oci.auth-strategy values in generated OCI archetype to avoid UnsatisfiedResolutionException #9073

Merged

Conversation

klustria
Copy link
Member

Description

The allowed values for oci.auth-strategy has changed with the occurence of "_" replaced with "-", so the use of the following needs to be changed:

  1. instance_principals to instance-principals
  2. config_file to config-file
  3. resource_principal to resource-principal

Documentation

Looks like the values are not mentioned in the docs so no changes are needed there.

If no doc impact: None

…nsatisfiedResolutionException

The allowed values for oci.auth-strategy has changed with the occurence of "_" replaced with "-" so the use of the following needs to be changed:
1. instance_principals to instance-principals
2. config_file to config-file
3. resource_principal to resource-principal
@klustria klustria requested review from ljnelson and barchetta July 31, 2024 21:49
@klustria klustria self-assigned this Jul 31, 2024
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jul 31, 2024
@klustria
Copy link
Member Author

Tested by generating the oci archetype from a local build with the change and found it to have resolved the exception. The below command was used to generate the project:

helidon init --reset --url file:///${HOME}/helidon_project/helidon-main/archetypes/archetypes/target/cli-data --flavor mp --archetype oci --batch

@klustria klustria merged commit a00e732 into helidon-io:main Aug 1, 2024
12 checks passed
@klustria
Copy link
Member Author

klustria commented Aug 1, 2024

This PR is for resolution of issue reported in #8833.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants