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

Move to VerifySecret when checking the ctlplane secret #621

Merged

Conversation

fmount
Copy link
Contributor

@fmount fmount commented Sep 10, 2024

This change aligns the glance-operator to what has been done in cinder and manila. The ensureSecret function has been renamed to verifyServiceSecret and it takes configVars as input where the hash is computed and stored.

This change aligns the glance-operator to what has been done in cinder
and manila. The ensureSecret function has been renamed to verifyServiceSecret
and it takes as input the configVars where the hash is computed.

Signed-off-by: Francesco Pantano <[email protected]>
@@ -405,14 +404,6 @@ func (r *GlanceReconciler) reconcileInit(
//
// create Keystone service and users - https://docs.openstack.org/Glance/latest/install/install-rdo.html#configure-user-and-endpoints
//
_, _, err := oko_secret.GetSecret(ctx, helper, instance.Spec.Secret, instance.Namespace)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think we don't need this check that we just did a few lines ago

Copy link
Contributor

@abays abays left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link
Contributor

openshift-ci bot commented Sep 10, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abays, fmount

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

The pull request process is described here

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 50b7ba5 into openstack-k8s-operators:main Sep 10, 2024
6 of 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.

2 participants