Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Update nic-config samples and docs #318

Closed

Conversation

bshephar
Copy link
Contributor

@bshephar bshephar commented Jul 27, 2023

This change updates the nic-config samples and documentation to reflect the changes made in:
openstack-k8s-operators/edpm-ansible#243

@openshift-ci openshift-ci bot requested review from dprince and stuggi July 27, 2023 04:37
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 27, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bshephar

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

@bshephar bshephar force-pushed the nic-config-sample branch 2 times, most recently from d326985 to 2665585 Compare July 27, 2023 06:34
bshephar added a commit to bshephar/edpm-ansible that referenced this pull request Jul 27, 2023
Given the way this interface is leveraged via the dataplane-operator, it
doesn't make sense to define a file path. Instead, this change moves the
existing edpm_network_config_override to be the primary interface. It
has subsequently been renamed to edpm_network_config_template.
This allows users to define jinja2 strings for the variable, and they are
rendered out to compute nodes using the copy module.

Depends-On: openstack-k8s-operators/dataplane-operator#318
Signed-off-by: Brendan Shephard <[email protected]>
@softwarefactory-project-zuul
Copy link

@rabi
Copy link
Contributor

rabi commented Jul 27, 2023

There is a env var[1] in install_yamls used to change the template[2] atm. It has to be dropped too.

[1] https://github.com/openstack-k8s-operators/install_yamls/blob/main/Makefile#L285
[2] https://github.com/openstack-k8s-operators/install_yamls/blob/main/scripts/gen-edpm-kustomize.sh#L121

This change updates the nic-config samples and documentation to reflect
the changes made in:
openstack-k8s-operators/edpm-ansible#243

Signed-off-by: Brendan Shephard <[email protected]>
@bshephar
Copy link
Contributor Author

bshephar commented Aug 2, 2023

There is a env var[1] in install_yamls used to change the template[2] atm. It has to be dropped too.

[1] https://github.com/openstack-k8s-operators/install_yamls/blob/main/Makefile#L285 [2] https://github.com/openstack-k8s-operators/install_yamls/blob/main/scripts/gen-edpm-kustomize.sh#L121

Thanks @rabi . Did I understand your comment correctly with this PR?
openstack-k8s-operators/install_yamls#451

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 2, 2023

@bshephar: 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/dataplane-operator-build-deploy-kuttl 776a40c link true /test dataplane-operator-build-deploy-kuttl

Full PR test history. Your PR dashboard.

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/test-infra repository. I understand the commands that are listed here.

@bshephar
Copy link
Contributor Author

bshephar commented Aug 2, 2023

Closing this PR in favor of
#284

I cherry-picked this commit to that PR to keep everything in one place.

@bshephar bshephar closed this Aug 2, 2023
bshephar added a commit to bshephar/edpm-ansible that referenced this pull request Aug 7, 2023
Given the way this interface is leveraged via the dataplane-operator, it
doesn't make sense to define a file path. Instead, this change moves the
existing edpm_network_config_override to be the primary interface. It
has subsequently been renamed to edpm_network_config_template.
This allows users to define jinja2 strings for the variable, and they are
rendered out to compute nodes using the copy module.

Depends-On: openstack-k8s-operators/dataplane-operator#318
Signed-off-by: Brendan Shephard <[email protected]>
bshephar added a commit to bshephar/edpm-ansible that referenced this pull request Aug 23, 2023
Given the way this interface is leveraged via the dataplane-operator, it
doesn't make sense to define a file path. Instead, this change moves the
existing edpm_network_config_override to be the primary interface. It
has subsequently been renamed to edpm_network_config_template.
This allows users to define jinja2 strings for the variable, and they are
rendered out to compute nodes using the copy module.

Depends-On: openstack-k8s-operators/dataplane-operator#318
Signed-off-by: Brendan Shephard <[email protected]>
bshephar added a commit to bshephar/edpm-ansible that referenced this pull request Sep 6, 2023
Given the way this interface is leveraged via the dataplane-operator, it
doesn't make sense to define a file path. Instead, this change moves the
existing edpm_network_config_override to be the primary interface. It
has subsequently been renamed to edpm_network_config_template.
This allows users to define jinja2 strings for the variable, and they are
rendered out to compute nodes using the copy module.

Depends-On: openstack-k8s-operators/dataplane-operator#318
Signed-off-by: Brendan Shephard <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants