Skip to content

Conversation

@ironcladlou
Copy link
Contributor

@ironcladlou ironcladlou commented Dec 11, 2018

Add a CloudProvider field to the infra config. This value is needed by at least:

  • kubelet
  • kube-controller-manager
  • kube-apiserver
  • openshift-ingress-operator

This change does not intend to address the cloud provider configuration file
API.

/cc @openshift/sig-network-edge @derekwaynecarr @deads2k @rajatchopra @flaper87 @smarterclayton

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 11, 2018
}

type InfrastructureSpec struct {
// CloudProvider is the IaaS provider that is running the cluster. The value
Copy link
Contributor

Choose a reason for hiding this comment

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

cloudProvider

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

type InfrastructureSpec struct {
// CloudProvider is the IaaS provider that is running the cluster. The value
// should be a valid kubelet --cloud-provider value.
CloudProvider string `json:"cloudProvider,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

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

You think this should be mutable? I expected it to be immutable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah; is there more to do with docs or tags in that case?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Relocated to status

type InfrastructureStatus struct {
// type
// cloudProvider is the IaaS provider that is running the cluster. The value
// should be a valid kubelet --cloud-provider value.
Copy link
Contributor

Choose a reason for hiding this comment

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

@openshift/api-reviewers We should encourage documentation in config.openshift.io to stand alone and not depend on other binaries for their docs.

@ironcladlou in this case, this should list out the allowed values. Then it can be enforced in validation (something like openshift/origin#21679 or whatever we end up choosing).

Also, squash

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Add a CloudProvider field to the infra config. This value is needed by at least:

* kubelet
* kube-controller-manager
* kube-apiserver
* openshift-ingress-operator

This change does not intend to address the cloud provider configuration file
API.
@deads2k
Copy link
Contributor

deads2k commented Dec 18, 2018

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 18, 2018
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, ironcladlou

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 Dec 18, 2018
@openshift-merge-robot openshift-merge-robot merged commit 797a09d into openshift:master Dec 18, 2018
@ironcladlou
Copy link
Contributor Author

/cc @csrwng

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/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants