fix: update gha config, renovate and README.md

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2023-07-06 08:43:38 -04:00
1 parent fe41cf6ea5
commit 183c827136
6 files changed
+18 -36

No files matched your search

+1 -1
View File
@@ -6,4 +6,4 @@ area/github:
area/kubernetes:
- "kubernetes/**/*"
area/templates:
- "tmpl/**/*"
- "template/**/*"
+1 -1
View File
@@ -15,7 +15,7 @@
- name: area/template
color: "72ccf3"
description: >-
Changes made in the tmpl directory
Changes made in the template directory
# Renovate
- name: renovate/ansible
color: "ffc300"
+8 -8
View File
@@ -22,21 +22,21 @@
"schedule": ["every saturday"],
"flux": {
"fileMatch": [
"kubernetes/.+\\.ya?ml$",
"template/templates/kubernetes/.+\\.ya?ml.j2$"
"kubernetes/.+\\.ya?ml(\\.j2)?$",
"template/templates/kubernetes/.+\\.ya?ml(\\.j2)?$"
]
},
"helm-values": {
"fileMatch": [
"kubernetes/.+\\.ya?ml$",
"template/templates/kubernetes/.+\\.ya?ml.j2$"
"kubernetes/.+\\.ya?ml(\\.j2)?$",
"template/templates/kubernetes/.+\\.ya?ml(\\.j2)?$"
]
},
"kubernetes": {
"fileMatch": [
"ansible/.+\\.ya?ml(\\.j2)?$",
"kubernetes/.+\\.ya?ml$",
"template/templates/kubernetes/.+\\.ya?ml.j2$"
"kubernetes/.+\\.ya?ml(\\.j2)?$",
"template/templates/kubernetes/.+\\.ya?ml(\\.j2)?$"
]
},
"regexManagers": [
@@ -44,8 +44,8 @@
"description": "Process various other dependencies",
"fileMatch": [
"ansible/.+\\.ya?ml(\\.j2)?$",
"kubernetes/.+\\.ya?ml$",
"template/templates/kubernetes/.+\\.ya?ml.j2$"
"kubernetes/.+\\.ya?ml(\\.j2)?$",
"template/templates/kubernetes/.+\\.ya?ml(\\.j2)?$"
],
"matchStrings": [
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( registryUrl=(?<registryUrl>\\S+))?\n.*?\"(?<currentValue>.*)\"\n"
+5 -23
View File
@@ -88,30 +88,14 @@ There is a decent guide [here](https://www.linuxtechi.com/how-to-install-debian-
#### Raspberry Pi / ARM64
##### Hardware Considerations
If you choose to use a Raspberry Pi for the cluster, it is recommended to have at minimum a Raspberry Pi4 (4GB) and preferably an 8GB model. Additionally, it is also recommended to boot from an external SSD, rather than the SD card. This is supported [natively](https://www.raspberrypi.com/documentation/computers/raspberry-pi.html), however if you have an early Raspberry Pi4, you may need to [update the bootloader](https://www.tomshardware.com/how-to/boot-raspberry-pi-4-usb).
##### Installing the OS
According to the documentation [here](https://raspi.debian.net/defaults-and-settings/), after you have flashed the image onto a SSD/NVMe you must mount the drive and do the following.
There is a decent guide [here](https://raspberrytips.com/install-debian-on-raspberry-pi/) on how to get Debian installed on a Raspberry Pi.
1. Deviations from that guide, as per [these](https://raspi.debian.net/defaults-and-settings/) instructions.
```txt
- Use an SSD instead of an SD Card
- Reinsert the storage media
- Open `sysconf.txt` file
- Add `root_authorized_key`
- Add `root_pw`
- add `hostname`
```
2. (Post install) I would recommend adding a generic user.
```
adduser <username>
```
1. Edit the `sysconf.txt`
2. Add/change `root_authorized_key` to your desired public SSH key
3. Add/change `root_pw` to your desired root password
4. Add/change `hostname` to your desired hostname
## 📂 Repository structure
@@ -253,8 +237,6 @@ In order to expose services to the internet you will need to create a [Cloudflar
1. Ensure you are able to SSH into your nodes from your workstation using a private SSH key **without a passphrase**. This is how Ansible is able to connect to your remote nodes.
[How to configure SSH key-based authentication](https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server)
2. Install the Ansible deps
```sh
@@ -6,7 +6,7 @@ kind: Kustomization
resources:
- github.com/fluxcd/flux2/manifests/install?ref=v2.0.0-rc.5
patches:
# Remove the network policies that does not work with k3s
# Remove the default network policies
- patch: |-
$patch: delete
apiVersion: networking.k8s.io/v1
+2 -2
View File
@@ -47,12 +47,12 @@ bootstrap_service_cidr: 10.43.0.0/16
# Node information
bootstrap_hosts:
# Use only 1, 3 or more odd master nodes, recommended is 3
master:
master: []
# - name: kube0
# address:
# username:
# password:
worker:
worker: []
# - name: kube1
# address:
# username: