https://github.com/kubicorn/bootstrap
The bootstrap scripts for Kubicorn
https://github.com/kubicorn/bootstrap
Last synced: about 1 month ago
JSON representation
The bootstrap scripts for Kubicorn
- Host: GitHub
- URL: https://github.com/kubicorn/bootstrap
- Owner: kubicorn
- Created: 2018-03-13T20:24:58.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-02T05:02:34.000Z (about 6 years ago)
- Last Synced: 2025-03-24T15:02:58.312Z (about 2 months ago)
- Language: Shell
- Size: 120 KB
- Stars: 13
- Watchers: 1
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bootstrap
This repository contains bootstrap scripts used by [`kubicorn`](https://github.com/kubicorn/kubicorn) to provision cloud
instances.We've decided to move scripts to this repository, so we can easier manage them for each `kubicorn` release.
For every `kubicorn` release, there's an appropriate branch for bootstrap scripts in this repository. Currently,
`kubicorn` is in the `pre-release` phase, so it'll use bootstrap scripts from the `pre-release` branch of this
repository.The `master` branch repository can contain scripts that are in-development or not tested.
## Developing bootstrap scripts
If you are running `kubicorn` in the though level directory of the repository set the following environmental variable to force parse the bootstrap scripts locally.
```bash
$ KUBICORN_FORCE_LOCAL_BOOTSTRAP=1 kubicorn apply mycluster -v 4```
These are the bootstrap scripts that ship with the default `kubicorn` profiles.
Feel free to add your own, or modify these at any time.
The scripts are effectively what we use as `user data` to initialize a VM
### I need to template out one of these bootstrap scripts
No you don't. Write bash like a pro.
### I need more data in a bootstrap script what should I do?
If you really can only get it from `kubicorn` and nowhere else, you can use the `Values{}` struct to define custom key/value pairs that will be injected into your script.
This will be a code change, and is intended to be just that.