-
Notifications
You must be signed in to change notification settings - Fork 139
NO-ISSUE: Render networks as comma-separated value #745
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
Conversation
We have observed that the current way of rendering cluster and service networks as arrays of value generate the following bootstrap config ``` service-cluster-ip-range: - 172.30.0.0/16 - fd65:172:16::/112 ``` what subsequently creates the following kube-controller-manager pod manifest ``` args: - --service-cluster-ip-range=172.30.0.0/16 - --service-cluster-ip-range=fd65:172:16::/112 ``` what is interpreted as the running process as ``` FLAG: --service-cluster-ip-range="fd65:172:16::/112" ``` with the missing value. The reason for this is that the process takes into account only the last instance of the param and does not concatenate all the values provided. In order to avoid this we are rendering the networks as a single comma-separated string so that the initial config file will contain now ``` service-cluster-ip-range: - "172.30.0.0/16,fd65:172:16::/112" ``` Exactly the same pattern applies to the cluster networks that exist under `cluster-cidr` key. Thanks to this kube-controller-manager process will be running with the correct set of networks. Contributes-to: OCPBUGS-18641
|
@mkowalski: This pull request references Jira Issue OCPBUGS-18641, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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/test-infra repository. |
|
Skipping CI for Draft Pull Request. |
|
After manual test (via clusterbot and the KubeControllerManagerConfig CR is rendered as /cc @rbbratta |
|
/retitle NO-ISSUE: Render networks as comma-separated value |
|
@mkowalski: This pull request explicitly references no jira issue. 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/test-infra repository. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: cybertron, mkowalski The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
|
/remove-lifecycle stale |
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
|
/remove-lifecycle stale |
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
|
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
|
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
|
@openshift-bot: Closed this PR. 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. |
|
/reopen |
|
@mkowalski: Reopened this PR. 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. |
|
@mkowalski: all tests passed! 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. |
|
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
|
@openshift-bot: Closed this PR. 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. |
We have observed that the current way of rendering cluster and service networks as arrays of value generate the following bootstrap config
what subsequently creates the following kube-controller-manager pod manifest
what is interpreted as the running process as
with the missing value. The reason for this is that the process takes into account only the last instance of the param and does not concatenate all the values provided.
In order to avoid this we are rendering the networks as a single comma-separated string so that the initial config file will contain now
Exactly the same pattern applies to the cluster networks that exist under
cluster-cidrkey.Thanks to this kube-controller-manager process will be running with the correct set of networks.
Contributes-to: OCPBUGS-18641