From 97c8b8d87960a2511cf38b47c7121887f976d5c7 Mon Sep 17 00:00:00 2001 From: Yadunand Prem Date: Tue, 1 Oct 2024 16:33:23 -0400 Subject: [PATCH] fix: wtf --- Readme.md | 16 +++++++++++++++- apps/prod/kustomization.yaml | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 424dd66..991a5f9 100644 --- a/Readme.md +++ b/Readme.md @@ -22,7 +22,7 @@ This command is to be run on the proxmox Node / via SSH. Follow the guide to set TODO: This currently only works on falcon, to support other nodes, I need to create new VMs via the API with `pvesh` instead of the `qm` tool. ```bash -nix run --refresh --verbose "git+https://gitea.ts.yadunut.com/yadunut/homelab.git.#create-vm" +nix run --refresh --verbose "git+https://gitea.ts.yadunut.com/yadunut/homelab.git?ref=main#create-vm" ``` Copy the IP address @@ -49,3 +49,17 @@ Now that I have VMs booted into the ISO, I need to setup the VMs. This would fir 1. Generating the host keys 2. Tailscale encrypt with age, and transfer to the VM 3. Encrypting + +## Flux +```bash +flux bootstrap gitea --owner=yadunut --repository=homelab --hostname=gitea.ts.yadunut.com --path flux +``` + +## Give Ups +1. Gave up on attempting SDN with DHCP on proxmox +2. + +# Notes + +Why the fuck are there 2 kustomizations +https://fluxcd.io/flux/faq/#are-there-two-kustomization-types diff --git a/apps/prod/kustomization.yaml b/apps/prod/kustomization.yaml index 059e287..fc3bb05 100644 --- a/apps/prod/kustomization.yaml +++ b/apps/prod/kustomization.yaml @@ -1,5 +1,5 @@ --- -apiVersion: kustomize.toolkit.fluxcd.io/v1 +apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ../base/podinfo