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

Create EDP Secret for Neutron OVN Agent #231

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

karelyatin
Copy link
Contributor

@karelyatin karelyatin commented Oct 18, 2023

OVN NB and SB DB connection strings are exported with this secret as these are required by neutron-ovn-agent[1].

[1] openstack-k8s-operators/edpm-ansible#463
Related-Issue: OSP-26191

envVars *map[string]env.Setter,
) error {
nbCluster, err := ovnclient.GetDBClusterByType(ctx, h, instance.Namespace, map[string]string{}, ovnclient.NBDBType)
if err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

I kinda hate the amount of copy-paste here. I wonder if it's a "Go way" or we can e.g. introduce a deleteExternalSecret wrapper that would handle logging.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 20, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: booxter, karelyatin

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

@booxter
Copy link
Contributor

booxter commented Oct 20, 2023

/lgtm

OVN NB and SB DB connection strings are exported with
this secret as these are required by neutron-ovn-agent[1].

[1] openstack-k8s-operators/edpm-ansible#463
Related-Issue: OSP-26191
@booxter
Copy link
Contributor

booxter commented Oct 23, 2023

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Oct 23, 2023
karelyatin added a commit to karelyatin/dataplane-operator that referenced this pull request Oct 23, 2023
@openshift-ci openshift-ci bot merged commit 2da5584 into openstack-k8s-operators:main Oct 23, 2023
5 checks passed
@karelyatin karelyatin deleted the OSP-26191 branch November 10, 2023 06:49
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.

None yet

3 participants