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

Switch bootstrap script from cloud-init to bash #36

Merged
merged 1 commit into from
May 19, 2021

Conversation

vpnachev
Copy link
Member

@vpnachev vpnachev commented May 17, 2021

How to categorize this PR?
/area os
/kind enhancement
/os ubuntu

What this PR does / why we need it:
Switch bootstrap script from cloud-init to bash.

Which issue(s) this PR fixes:
Fixes #31

Special notes for your reviewer:
I have tested this change and it is working fine with AWS,Azure, GCP and OpenStack.

Release note:

This extension is now using Bash script to bootstrap Ubuntu nodes instead of cloud-init.

@vpnachev vpnachev requested review from a team as code owners May 17, 2021 11:30
@gardener-robot gardener-robot added area/os Operation system related kind/enhancement Enhancement, improvement, extension os/ubuntu Related to Ubuntu OS needs/review Needs review size/l Size of pull request is large (see gardener-robot robot/bots/size.py) needs/second-opinion Needs second review by someone else labels May 17, 2021
@gardener-robot-ci-2 gardener-robot-ci-2 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels May 17, 2021
Copy link
Contributor

@stoyanr stoyanr left a comment

Choose a reason for hiding this comment

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

/lgtm

Just a question regarding ubuntu-alicloud.

content: |
W1NlcnZpY2VdCkV4ZWNTdGFydD0KRXhlY1N0YXJ0PS91c3IvYmluL2NvbnRhaW5lcmQgLS1jb25maWc9L2V0Yy9jb250YWluZXJkL2NvbmZpZy50b21s
{{ end -}}
#!/bin/bash
Copy link
Contributor

Choose a reason for hiding this comment

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

I compared this file with the corresponding file in gardener-extension-os-ubuntu-alicloud and at first glance there seems to be quite a number of differences. It seems it's not immediately possible to archive the ubuntu-alicloud extension, at least not without further rework and testing. Are you aware of any major issues?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think the major difference is the PROVIDER_ID env variable that is already injected by the provider-alicloud.

@gardener-robot gardener-robot added reviewed/lgtm Has approval for merging and removed needs/review Needs review needs/second-opinion Needs second review by someone else labels May 18, 2021
@vpnachev vpnachev merged commit 9ff672f into gardener:master May 19, 2021
@vpnachev vpnachev deleted the switch-to-bash branch May 19, 2021 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/os Operation system related kind/enhancement Enhancement, improvement, extension needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) os/ubuntu Related to Ubuntu OS reviewed/lgtm Has approval for merging size/l Size of pull request is large (see gardener-robot robot/bots/size.py)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch from cloud-config to bash scripts
4 participants