feat!: template all ansible dir and rename template to bootstrap (#847)
This commit is contained in:
1 parent
c7f10b0c6d
commit
c9d988a66f
177 files changed
+238
-129
No files matched your search
@@ -26,7 +26,7 @@ The following components will be installed in your [k3s](https://k3s.io/) cluste
|
||||
- [ingress-nginx](https://kubernetes.github.io/ingress-nginx/) - Kubernetes ingress controller used for a HTTP reverse proxy of Kubernetes ingresses
|
||||
- [local-path-provisioner](https://github.com/rancher/local-path-provisioner) - provision persistent local storage with Kubernetes
|
||||
|
||||
_Additional applications can be enabled in the [addons](./template/vars/addons.sample.yaml) configuration file_
|
||||
_Additional applications can be enabled in the [addons](./bootstrap/vars/addons.sample.yaml) configuration file_
|
||||
|
||||
## 📝 Prerequisites
|
||||
|
||||
@@ -68,7 +68,7 @@ There is a decent guide [here](https://www.linuxtechi.com/how-to-install-debian-
|
||||
```sh
|
||||
su -
|
||||
sed -i '/deb cdrom/d' /etc/apt/sources.list
|
||||
apt update
|
||||
apt-get update
|
||||
exit
|
||||
```
|
||||
|
||||
@@ -76,7 +76,7 @@ There is a decent guide [here](https://www.linuxtechi.com/how-to-install-debian-
|
||||
|
||||
```sh
|
||||
su -
|
||||
apt install sudo
|
||||
apt-get install sudo
|
||||
usermod -aG sudo ${username}
|
||||
echo "${username} ALL=(ALL) NOPASSWD:ALL" | tee /etc/sudoers.d/${username}
|
||||
exit
|
||||
@@ -88,7 +88,7 @@ There is a decent guide [here](https://www.linuxtechi.com/how-to-install-debian-
|
||||
|
||||
```sh
|
||||
mkdir -m 700 ~/.ssh
|
||||
sudo apt install curl
|
||||
sudo apt-get install curl
|
||||
curl https://github.com/${github_username}.keys > ~/.ssh/authorized_keys
|
||||
chmod 600 ~/.ssh/authorized_keys
|
||||
```
|
||||
@@ -203,7 +203,7 @@ In order to expose services to the internet you will need to create a [Cloudflar
|
||||
|
||||
### 📄 Configuration
|
||||
|
||||
📍 The `template/vars/config.yaml` file contains necessary configuration that is needed by Ansible and Flux. The `template/vars/addons.yaml` file allows you to customize which additional apps you want deployed in your cluster. These files are added to the `.gitignore` file and will not be tracked by Git.
|
||||
📍 The `bootstrap/vars/config.yaml` file contains necessary configuration that is needed by Ansible and Flux. The `bootstrap/vars/addons.yaml` file allows you to customize which additional apps you want deployed in your cluster. These files are added to the `.gitignore` file and will not be tracked by Git.
|
||||
|
||||
1. Copy the configuration and addons files and start filling out all the variables.
|
||||
|
||||
@@ -219,7 +219,7 @@ In order to expose services to the internet you will need to create a [Cloudflar
|
||||
|
||||
### 📂 Repository structure
|
||||
|
||||
The configure script will have created the following directories under `./kubernetes`.
|
||||
The configure script will have created a `./ansible` directory and the following directories under `./kubernetes`.
|
||||
|
||||
```sh
|
||||
📁 kubernetes # Kubernetes cluster defined as code
|
||||
|
||||
Reference in new issue
Block a user