Skip to content
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

Let users select provider OS #90

Merged
merged 1 commit into from
Nov 5, 2018

Conversation

iamemilio
Copy link
Contributor

Enables users to select which provider os they want to use in the generate-yaml.sh script
Referencing: #88

Special Notes:
:)

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Oct 31, 2018
@@ -12,8 +12,14 @@ print_help()
echo "-h, --help show brief help"
echo "-f, --force-overwrite if file to be generated already exists, force script to overwrite it"
echo "-c, --clouds [File] specifies an existing clouds.yaml file to use rather than generating one interactively"
echo "--provider-os [os name] select the operating system of your provider environment"
echo " Supported Operating Systems: ubuntu, centos"
Copy link
Contributor

Choose a reason for hiding this comment

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

This script ended with error without --provider-os option. Please add "Mandatory"

}

# Supported Operating Systems
declare -a arr=("centos" "ubuntu")

SCRIPT=$(basename $0)
while test $# -gt 0; do
Copy link
Contributor

Choose a reason for hiding this comment

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

--provider-os is mandatory. Please take care of it.

@iamemilio
Copy link
Contributor Author

@hidekazuna the issue has been resolved. Thanks for the review!

Copy link
Contributor

@hidekazuna hidekazuna left a comment

Choose a reason for hiding this comment

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

@iamemilio Thanks for updating. It works fine.

@iamemilio
Copy link
Contributor Author

/assign @dims

It was the robots idea: "We suggest the following additional approver: dims"

@dims
Copy link
Member

dims commented Nov 5, 2018

/approve
/assign @flaper87

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dims, iamemilio

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 5, 2018
@flaper87
Copy link
Contributor

flaper87 commented Nov 5, 2018

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 5, 2018
@iamemilio
Copy link
Contributor Author

/retest

@k8s-ci-robot k8s-ci-robot merged commit c9ebcd7 into kubernetes-sigs:master Nov 5, 2018
@iamemilio iamemilio deleted the os_support branch November 5, 2018 20:00
@hidekazuna hidekazuna mentioned this pull request Nov 19, 2018
k8s-ci-robot pushed a commit that referenced this pull request Nov 20, 2018
* Fix README.md

Required option --provider-os was added to generate-yaml.sh in #90.
This patch fixes Cluster Creation section in README.md.

* Apply suggestions from code review

Co-Authored-By: hidekazuna <hidekazuna@gmail.com>
ainmosni pushed a commit to ainmosni/cluster-api-provider-openstack that referenced this pull request Nov 23, 2018
* Fix README.md

Required option --provider-os was added to generate-yaml.sh in kubernetes-sigs#90.
This patch fixes Cluster Creation section in README.md.

* Apply suggestions from code review

Co-Authored-By: hidekazuna <hidekazuna@gmail.com>
flaper87 referenced this pull request in openshift/cluster-api-provider-openstack Nov 29, 2018
flaper87 referenced this pull request in openshift/cluster-api-provider-openstack Nov 29, 2018
* Fix README.md

Required option --provider-os was added to generate-yaml.sh in #90.
This patch fixes Cluster Creation section in README.md.

* Apply suggestions from code review

Co-Authored-By: hidekazuna <hidekazuna@gmail.com>
u5surf pushed a commit to u5surf/cluster-api-provider-openstack that referenced this pull request Nov 30, 2018
* Fix README.md

Required option --provider-os was added to generate-yaml.sh in kubernetes-sigs#90.
This patch fixes Cluster Creation section in README.md.

* Apply suggestions from code review

Co-Authored-By: hidekazuna <hidekazuna@gmail.com>
iamemilio pushed a commit to iamemilio/cluster-api-provider-openstack that referenced this pull request Jun 18, 2020
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", 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.

5 participants