SDN-5072: Deploy FRR-K8s - #2450
Conversation
|
Skipping CI for Draft Pull Request. |
|
/test images |
|
/test images |
|
/test e2e-gcp-ovn |
|
/test images |
|
/test images |
|
/test images |
|
/test ? |
|
@jcaamano: The following commands are available to trigger required jobs:
The following commands are available to trigger optional jobs:
Use
DetailsIn response to this:
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. |
|
/test e2e-metal-ipi-ovn-ipv6 |
1 similar comment
|
/test e2e-metal-ipi-ovn-ipv6 |
|
/test images |
|
/test e2e-metal-ipi-ovn-ipv6 |
|
/test images |
|
/test images |
1 similar comment
|
/test images |
|
/test images |
|
/test images |
|
/test images |
|
/hold we need frr-k8s image in the payload first |
|
@jcaamano: This pull request references SDN-5072 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.17.0" version, but no target version was set. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
@jcaamano: This pull request references SDN-5072 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.17.0" version, but no target version was set. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
@jcaamano: This pull request references SDN-5072 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.17.0" version, but no target version was set. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
| from: | ||
| kind: DockerImage | ||
| name: quay.io/openshift/origin-cli:latest | ||
| - name: metallb-frr |
There was a problem hiding this comment.
| - name: metallb-frr | |
| - name: metallb-frr-rhel9 |
To be consistent with https://github.com/openshift-eng/ocp-build-data/blob/2c5fb910532b1e3e418842d141eb45fd51dd2a83/images/ose-frr.yml#L24 and
|
/lgtm |
go get github.com/openshift/api go mod vendor go mod tidy Signed-off-by: Jaime Caamaño Ruiz <jcaamano@redhat.com>
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@redhat.com>
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jcaamano, kyrtapz The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test e2e-metal-ipi-ovn-ipv6 |
|
/hold cancel |
|
@jcaamano: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
Deploys FRR-K8s if enabled both if enabled both in the API and the feature gate
I used the helm chart (at this time HEAD of release-4.17 branch):
https://github.com/openshift/metallb-operator/blob/6de2375a6350e62c0e34a9ebdd392b0832b76b86/bindata/deployment/helm/frr-k8s
with equivalent values of what metallb operator would use on default :
This does not generate the CRDs or RBAC though.
CRDs were picked from
https://github.com/openshift/metallb-operator/tree/6de2375a6350e62c0e34a9ebdd392b0832b76b86/bundle/manifests
RBAC was picked from
https://github.com/openshift/metallb-operator/blob/6de2375a6350e62c0e34a9ebdd392b0832b76b86/config/metallb_rbac/metallb.yaml
Then I applied the same changes metallb operator applies programatically changes from
https://github.com/openshift/metallb-operator/blob/6de2375a6350e62c0e34a9ebdd392b0832b76b86/pkg/helm/frrk8s.go#L79
The resulting configuration was used as source. On top of that, changes following CNO and OCP managemenet conventions were applied, plus minor edits from me, and this is the resulting diff vs source:
I am sure this will need further adjustments but aiming for a good starting point.
This is a diff