update for smoother bootstrapping talos on a fresh install

This commit is contained in:
Joseph Hanson 2024-07-08 15:18:44 -05:00
parent 70b45763b2
commit 62062e2e25
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
3 changed files with 10 additions and 8 deletions

2
.envrc
View file

@ -1,6 +1,6 @@
#shellcheck disable=SC2148,SC2155 #shellcheck disable=SC2148,SC2155
export KUBECONFIG="$(expand_path ./kubeconfig)" export KUBECONFIG="$(expand_path ./kubeconfig)"
export SOPS_AGE_KEY_FILE="$(expand_path ./age.key)" export SOPS_AGE_KEY_FILE="$(expand_path ./age.key)"
export TALOSCONFIG="$(expand_path ./talosconfig.yaml)" export TALOSCONFIG="$(expand_path ./kubernetes/bootstrap/talos/clusterconfig/talosconfig)"
export OMNICONFIG="$(expand_path ./omniconfig.yaml)" export OMNICONFIG="$(expand_path ./omniconfig.yaml)"
use nix use nix

View file

@ -18,17 +18,17 @@ releases:
namespace: kube-system namespace: kube-system
chart: cilium/cilium chart: cilium/cilium
version: 1.15.6 version: 1.15.6
values: ["../../../apps/kube-system/cilium/app/resources/values.yml"] values: ["../apps/kube-system/cilium/app/resources/values.yml"]
wait: true wait: true
- name: kubelet-csr-approver - name: kubelet-csr-approver
namespace: kube-system namespace: kube-system
chart: postfinance/kubelet-csr-approver chart: postfinance/kubelet-csr-approver
version: 1.2.2 version: 1.2.2
values: ["../../../apps/kube-system/kubelet-csr-approver/app/helm-values.yaml"] values: ["../apps/kube-system/kubelet-csr-approver/app/helm-values.yaml"]
needs: ["cilium"] needs: ["cilium"]
- name: spegel - name: spegel
namespace: kube-system namespace: kube-system
chart: oci://ghcr.io/spegel-org/helm-charts/spegel chart: oci://ghcr.io/spegel-org/helm-charts/spegel
version: v0.0.23 version: v0.0.23
values: ["../../../apps/kube-system/spegel/app/resources/values.yml"] values: ["../apps/kube-system/spegel/app/resources/values.yml"]
wait: true wait: true

View file

@ -5,15 +5,17 @@ pkgs.mkShell {
NIX_CONFIG = "experimental-features = nix-command flakes"; NIX_CONFIG = "experimental-features = nix-command flakes";
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
fluxcd
git git
go-task
sops
pre-commit
gitleaks gitleaks
go-task
helmfile
k9s k9s
kubectl kubectl
kubevirt kubevirt
fluxcd kubernetes-helm
pre-commit
sops
]; ];
# Possible inputs needed. Keeping here for posterity # Possible inputs needed. Keeping here for posterity
# age # age