Skip to content

Conversation

@afaranha
Copy link

No description provided.

Implement AppCred support following patterns from barbican-operator:

Controllers (HeatAPI, HeatCfnAPI, HeatEngine):
- Add AC verification call in reconcileNormal using VerifyApplicationCredentialsForService
- Add acSecretFn watcher to trigger reconciliation when ac-heat-secret changes
- Register AC secret watcher in SetupWithManager

Configuration template (templates/heat/config/00-default.conf):
- Update [trustee] section with conditional AC/password authentication
- Update [keystone_authtoken] section with conditional AC/password authentication
- Use v3applicationcredential auth_type when AC secret exists

Template parameter generation (heat_controller.go):
- Check for ac-heat-secret in generateServiceSecrets
- Set UseApplicationCredentials, ACID, and ACSecret template parameters
- Fall back to password authentication if AC secret doesn't exist

Functional tests:
- Add test case for Heat with ApplicationCredential
- Verify config contains application_credential_id and application_credential_secret
- Verify auth_type=v3applicationcredential is used
The test was incorrectly checking that [trustee] section shouldn't exist.
The section should exist but use v3applicationcredential auth_type
instead of password auth_type.
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 25, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: afaranha
Once this PR has been reviewed and has the lgtm label, please assign abays for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot
Copy link
Contributor

PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 25, 2025

@afaranha: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/functional 51b7318 link true /test functional

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/4248289017a64ac8aedff78937ca34b5

openstack-k8s-operators-content-provider FAILURE in 8m 56s
⚠️ heat-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@afaranha afaranha closed this Nov 26, 2025
@afaranha
Copy link
Author

Closing in favor of #600

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants