Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Homelab management with Talos #438

Merged
merged 1 commit into from
Sep 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#shellcheck disable=SC2148,SC2155
export KUBECONFIG=$(expand_path ./provision/kubeconfig)
export ANSIBLE_CONFIG=$(expand_path ./ansible.cfg)
export ANSIBLE_HOST_KEY_CHECKING="False"
export SOPS_AGE_KEY_FILE=$(expand_path ~/.config/sops/age/keys.txt)
export KUBECONFIG="$(expand_path ./kubeconfig)"
export SOPS_AGE_KEY_FILE="$(expand_path ./age.key)"
# Venv
PATH_add "$(expand_path ./.venv/bin)"
export VIRTUAL_ENV="$(expand_path ./.venv)"
export PYTHONDONTWRITEBYTECODE="1"
# Talos
export TALOSCONFIG="$(expand_path ./kubernetes/bootstrap/talos/clusterconfig/talosconfig)"
# Bin
PATH_add "$(expand_path ./.bin)"
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners
* @paulkiernan
24 changes: 0 additions & 24 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

5 changes: 0 additions & 5 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/ISSUE_TEMPLATE/feature-request.md

This file was deleted.

19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/question.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/flux-schedule.yaml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/invalid-template.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/support.yaml

This file was deleted.

30 changes: 15 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# Trash
*.agekey*
*.key
*.pub
.DS_Store
Thumbs.db

# k8s
kubeconfig*

# vscode-sops
.decrypted~*.yaml
.bin
.config.env
*.agekey

# Ansible
xanmanning.k3s*

# Terraform
.decrypted~*.yaml
.idea
.private
.task
.terraform
.terraform.tfstate*
.venv*
/config.yaml
Brewfile.lock.json
Thumbs.db
kubeconfig*
talosconfig
terraform.tfstate*
wiki
34 changes: 0 additions & 34 deletions .pre-commit-config.yaml

This file was deleted.

1 change: 0 additions & 1 deletion .python-version

This file was deleted.

16 changes: 9 additions & 7 deletions .sops.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---
creation_rules:
- path_regex: provision/.*\.sops\.ya?ml
unencrypted_regex: "^(kind)$"
age: >-
age1cxqfxy46kp8p007857c6cnk4j2ypuc0pw04utqr58uraxn0dz3ystslpxj
- path_regex: cluster/.*\.ya?ml
- # IMPORTANT: This rule MUST be above the others
path_regex: talos/.*\.sops\.ya?ml
key_groups:
- age:
- "age16vnesw9pd7l556h9lmgv4lyya03xsu2akc5hukhgua8mffukmsms46665n"
- path_regex: kubernetes/.*\.sops\.ya?ml
encrypted_regex: "^(data|stringData)$"
age: >-
age1cxqfxy46kp8p007857c6cnk4j2ypuc0pw04utqr58uraxn0dz3ystslpxj
key_groups:
- age:
- "age16vnesw9pd7l556h9lmgv4lyya03xsu2akc5hukhgua8mffukmsms46665n"
70 changes: 0 additions & 70 deletions .taskfiles/ansible.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .taskfiles/flux.yml

This file was deleted.

Loading
Loading