Skip to content

Application Credential support#364

Merged
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
Deydra71:appcred-support
Feb 2, 2026
Merged

Application Credential support#364
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:mainfrom
Deydra71:appcred-support

Conversation

@Deydra71
Copy link
Copy Markdown
Contributor

@Deydra71 Deydra71 commented Nov 11, 2025

Jira: OSPRH-16629

Adds the end-to-end support for consuming Keystone ApplicationCredentials (AC) in the Placement operator, enabling Placement pods to use AC-based authentication when available.

API changes:

Adds an optional authentication field to the Placement CR:

spec.auth.applicationCredentialSecret — name of the Secret that contains the Keystone Application Credential ID and Secret (AC_ID and AC_SECRET).

Reconcile behavior:

Reads spec.auth.applicationCredentialSecret
Attempts to load AC_ID / AC_SECRET from the referenced Secret (via the Keystone helper).
If the secret is missing or incomplete, it falls back to password authentication (the AppCred auth is optional, not an error).

  • Once the AC Secret is ready with valid AC_ID and AC_SECRET fields, templates AC credentials into Placement service configuration
  • Computes hash of Secret contents and stores in configVars to trigger rolling updates when credentials rotate

Depends-On: openstack-k8s-operators/keystone-operator#567

@softwarefactory-project-zuul
Copy link
Copy Markdown

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging github.com/openstack-k8s-operators/keystone-operator for 567,560a7f552956fc9c80fece28fc7e7b01b59c2274

Copy link
Copy Markdown
Contributor

@mrkisaolamb mrkisaolamb left a comment

Choose a reason for hiding this comment

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

Other than these small comments, everything looks good. So once we land the keystone-operator changes, we should be ready to go with this patch as well. I don't see any issues with the update/upgrade path. The only thing worth adding might be a kuttl test with the new secret

Comment thread Makefile
Comment thread test/functional/placementapi_controller_test.go
@Deydra71 Deydra71 force-pushed the appcred-support branch 4 times, most recently from aafb90e to e683b4d Compare January 8, 2026 11:14
Copy link
Copy Markdown

@auniyal61 auniyal61 left a comment

Choose a reason for hiding this comment

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

the kuttl test fail - GetACSecretName exist in keystone operator now
its because of dependency bump, can be in next PS
along with Kamil comment on test

Rest of the PR lgtm and works in my local deployment, thanks

auth_type = v3applicationcredential
application_credential_id = {{ .ACID }}
application_credential_secret = {{ .ACSecret }}
{{ else -}}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

+1, changes are reflecting.

Copy link
Copy Markdown
Contributor

@mrkisaolamb mrkisaolamb left a comment

Choose a reason for hiding this comment

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

lgtm

@softwarefactory-project-zuul
Copy link
Copy Markdown

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging github.com/openstack-k8s-operators/placement-operator for 364,3743f2851cee24caa09067e3857575698fbfe511

@xek xek force-pushed the appcred-support branch 3 times, most recently from b539de5 to 51a8ffc Compare January 28, 2026 11:13
@softwarefactory-project-zuul
Copy link
Copy Markdown

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging github.com/openstack-k8s-operators/placement-operator for 364,e3b17e3e505a252be83cae3ab82eaca487cac3e7

@softwarefactory-project-zuul
Copy link
Copy Markdown

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging github.com/openstack-k8s-operators/placement-operator for 364,b539de535188c5ccd47a31ed38a74cf1b969a56f

@softwarefactory-project-zuul
Copy link
Copy Markdown

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging github.com/openstack-k8s-operators/placement-operator for 364,51a8ffca11239bba680206e3f1b7e9375f781ea8

@xek
Copy link
Copy Markdown
Contributor

xek commented Jan 28, 2026

/retest-required

@xek
Copy link
Copy Markdown
Contributor

xek commented Jan 28, 2026

/retest

1 similar comment
@vakwetu
Copy link
Copy Markdown
Contributor

vakwetu commented Jan 28, 2026

/retest

@auniyal61
Copy link
Copy Markdown

recheck

@auniyal61
Copy link
Copy Markdown

/test placement-operator-build-deploy-kuttl

@xek xek force-pushed the appcred-support branch 3 times, most recently from b337941 to 036ffad Compare January 29, 2026 15:30
@softwarefactory-project-zuul
Copy link
Copy Markdown

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging github.com/openstack-k8s-operators/placement-operator for 364,036ffadcd4794805126f5e15abd63036c850a72f

Co-authored-by: Cursor <cursoragent@cursor.com>
@xek xek force-pushed the appcred-support branch from 3507bcb to c13cd52 Compare January 29, 2026 15:46
@vakwetu
Copy link
Copy Markdown
Contributor

vakwetu commented Jan 29, 2026

/retest

1 similar comment
@xek
Copy link
Copy Markdown
Contributor

xek commented Jan 30, 2026

/retest

Copy link
Copy Markdown
Contributor

@mrkisaolamb mrkisaolamb left a comment

Choose a reason for hiding this comment

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

lgtm

@openshift-ci openshift-ci Bot added the lgtm label Feb 2, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Feb 2, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Deydra71, mrkisaolamb

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

The pull request process is described 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-bot openshift-merge-bot Bot merged commit 7b903f2 into openstack-k8s-operators:main Feb 2, 2026
7 checks passed
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.

6 participants