Skip to content

Use cluster-config.yml first for cluster name and domain - #16

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
bcrochet:cluster-config-bootstrap
Aug 7, 2019
Merged

openshift-merge-robot merged 1 commit into
openshift:masterfrom
bcrochet:cluster-config-bootstrap

Conversation

@bcrochet

@bcrochet bcrochet commented Aug 6, 2019

Copy link
Copy Markdown
Member

If the cluster-config.yml is passed to runtimecfg, it should use that
first, and fall back to kubeconfig to get the cluster name and
domain.

Fixes #15

If the cluster-config.yml is passed to runtimecfg, it should use that
first, and fall back to kubeconfig to get the cluster name and
domain.

Fixes openshift#15
@bcrochet
bcrochet requested a review from celebdor August 6, 2019 16:54
@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Aug 6, 2019
bcrochet added a commit to bcrochet/machine-config-operator that referenced this pull request Aug 7, 2019
A recent installer change started using a loopback address in kubeconfig
as the default on the bootstrap node. baremetal-runtimecfg will begin
using cluster-config.yml if it exists first, in order to get the domain
and name of the cluster.

This patch adds a flag for this to the keepalived bootstrap pod in order
to utilize it. This should only affect the bootstrap pods.

Fixes openshift#1037
Depends on openshift/baremetal-runtimecfg#16
@celebdor

celebdor commented Aug 7, 2019

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 7, 2019
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bcrochet, celebdor

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

The pull request process is described here

Details 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-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 7, 2019
@openshift-merge-robot
openshift-merge-robot merged commit d0b9245 into openshift:master Aug 7, 2019
ptalgulk01 pushed a commit to ptalgulk01/machine-config-operator that referenced this pull request May 15, 2026
A recent installer change started using a loopback address in kubeconfig
as the default on the bootstrap node. baremetal-runtimecfg will begin
using cluster-config.yml if it exists first, in order to get the domain
and name of the cluster.

This patch adds a flag for this to the keepalived bootstrap pod in order
to utilize it. This should only affect the bootstrap pods.

Fixes openshift#1037
Depends on openshift/baremetal-runtimecfg#16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bootstrap pods pointing to an incorrect kubeconfig

4 participants