From 9c6685b729cd2a3360ba669f943c7a496eb09299 Mon Sep 17 00:00:00 2001 From: Peter Mein Date: Tue, 17 Dec 2024 09:27:27 +0100 Subject: [PATCH] Rename to mein --- Makefile | 21 --------------- README.md | 26 +++++++++---------- apps/homepage/values.yaml | 2 +- apps/wireguard/values.yaml | 2 +- .../use-both-github-and-gitea.md | 2 +- docs/installation/production/configuration.md | 2 +- docs/installation/production/prerequisites.md | 4 +-- docs/installation/sandbox.md | 2 +- .../architecture/decision-records.md | 4 +-- docs/reference/contributing.md | 6 ++--- docs/reference/roadmap.md | 4 +-- mkdocs.yml | 4 +-- platform/gitea/files/config/config.yaml | 10 +++---- platform/gitea/files/config/go.mod | 2 +- .../files/secret-generator/go.mod | 2 +- scripts/configure | 2 +- system/Makefile | 2 -- system/argocd/values-seed.yaml | 2 +- 18 files changed, 38 insertions(+), 61 deletions(-) diff --git a/Makefile b/Makefile index cbfc2d12d5..86ef468706 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,6 @@ smoke-test: post-install: @./scripts/hacks -<<<<<<< HEAD # TODO maybe there's a better way to manage backup with GitOps? backup: ./scripts/backup --action setup --namespace=actualbudget --pvc=actualbudget-data @@ -35,26 +34,6 @@ backup: restore: ./scripts/backup --action restore --namespace=actualbudget --pvc=actualbudget-data ./scripts/backup --action restore --namespace=jellyfin --pvc=jellyfin-data -======= -tools: - @docker run \ - --rm \ - --interactive \ - --tty \ - --network host \ - --volume "/var/run/docker.sock:/var/run/docker.sock" \ - --volume $(shell pwd):$(shell pwd) \ - --volume ${KUBECONFIG}:/root/.kube/config \ - --volume ${HOME}/.ssh:/root/.ssh \ - --volume ${HOME}/.terraform.d:/root/.terraform.d \ - --volume homelab-tools-cache:/root/.cache \ - --volume homelab-tools-nix:/nix \ - --workdir $(shell pwd) \ - --entrypoint /bin/sh \ - docker.io/nixos/nix -c "\ - git config --global --add safe.directory $(shell pwd) && \ - nix --experimental-features 'nix-command flakes' develop" ->>>>>>> 162a814 (Initial config) test: make -C test diff --git a/README.md b/README.md index 966d58d133..e09ea50b0d 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,10 @@ **[Features](#features) • [Get Started](#get-started) • [Documentation](https://homelab.io.jupiter.mein.nl)** -[![tag](https://img.shields.io/github/v/tag/khuedoan/homelab?style=flat-square&logo=semver&logoColor=white)](https://github.com/khuedoan/homelab/tags) +[![tag](https://img.shields.io/github/v/tag/petermein/homelab?style=flat-square&logo=semver&logoColor=white)](https://github.com/petermein/homelab/tags) [![document](https://img.shields.io/website?label=document&logo=gitbook&logoColor=white&style=flat-square&url=https%3A%2F%2Fhomelab.io.jupiter.mein.nl)](https://homelab.io.jupiter.mein.nl) -[![license](https://img.shields.io/github/license/khuedoan/homelab?style=flat-square&logo=gnu&logoColor=white)](https://www.gnu.org/licenses/gpl-3.0.html) -[![stars](https://img.shields.io/github/stars/khuedoan/homelab?logo=github&logoColor=white&color=gold&style=flat-square)](https://github.com/khuedoan/homelab) +[![license](https://img.shields.io/github/license/petermein/homelab?style=flat-square&logo=gnu&logoColor=white)](https://www.gnu.org/licenses/gpl-3.0.html) +[![stars](https://img.shields.io/github/stars/petermein/homelab?logo=github&logoColor=white&color=gold&style=flat-square)](https://github.com/petermein/homelab) This project utilizes [Infrastructure as Code](https://en.wikipedia.org/wiki/Infrastructure_as_code) and [GitOps](https://www.weave.works/technologies/gitops) to automate provisioning, operating, and updating self-hosted services in my homelab. It can be used as a highly customizable framework to build your own homelab. @@ -89,15 +89,15 @@ They can't capture all the project's features, but they are sufficient to get a [deploy-demo]: https://asciinema.org/a/xkBRkwC6e9RAzVuMDXH3nGHp7.svg [pxe-demo]: https://user-images.githubusercontent.com/27996771/157303477-df2e7410-8f02-4648-a86c-71e6b7e89e35.png -[hubble-demo]: https://github.com/khuedoan/homelab/assets/27996771/9c6677d0-3564-47c0-852b-24b6a554b4a3 -[homepage-demo]: https://github.com/khuedoan/homelab/assets/27996771/d0eaf620-be08-48d8-8420-40bcaa86093b -[grafana-demo]: https://github.com/khuedoan/homelab/assets/27996771/ad937b26-e9bc-4761-83ae-1c7f512ea97f -[gitea-demo]: https://github.com/khuedoan/homelab/assets/27996771/c245534f-88d9-4565-bde8-b39f60ccee9e +[hubble-demo]: https://github.com/petermein/homelab/assets/27996771/9c6677d0-3564-47c0-852b-24b6a554b4a3 +[homepage-demo]: https://github.com/petermein/homelab/assets/27996771/d0eaf620-be08-48d8-8420-40bcaa86093b +[grafana-demo]: https://github.com/petermein/homelab/assets/27996771/ad937b26-e9bc-4761-83ae-1c7f512ea97f +[gitea-demo]: https://github.com/petermein/homelab/assets/27996771/c245534f-88d9-4565-bde8-b39f60ccee9e [matrix-demo]: https://user-images.githubusercontent.com/27996771/149448510-7163310c-2049-4ccd-901d-f11f605bfc32.png -[woodpecker-demo]: https://github.com/khuedoan/homelab/assets/27996771/5d887688-d20a-44c8-8f77-0c625527dfe4 -[argocd-demo]: https://github.com/khuedoan/homelab/assets/27996771/527e2529-4fe1-4664-ab8a-b9eb3c492d20 -[alert-demo]: https://github.com/khuedoan/homelab/assets/27996771/c922f755-e911-4ca0-9d4a-6e552d387f18 -[ai-demo]: https://github.com/khuedoan/homelab/assets/27996771/d77ba511-00b7-47c3-9032-55679a099e70 +[woodpecker-demo]: https://github.com/petermein/homelab/assets/27996771/5d887688-d20a-44c8-8f77-0c625527dfe4 +[argocd-demo]: https://github.com/petermein/homelab/assets/27996771/527e2529-4fe1-4664-ab8a-b9eb3c492d20 +[alert-demo]: https://github.com/petermein/homelab/assets/27996771/c922f755-e911-4ca0-9d4a-6e552d387f18 +[ai-demo]: https://github.com/petermein/homelab/assets/27996771/d77ba511-00b7-47c3-9032-55679a099e70 ### Tech stack @@ -241,7 +241,7 @@ They can't capture all the project's features, but they are sufficient to get a ## Roadmap -See [roadmap](https://homelab.io.jupiter.mein.nl/reference/roadmap) and [open issues](https://github.com/khuedoan/homelab/issues) for a list of proposed features and known issues. +See [roadmap](https://homelab.io.jupiter.mein.nl/reference/roadmap) and [open issues](https://github.com/petermein/homelab/issues) for a list of proposed features and known issues. ## Contributing @@ -299,4 +299,4 @@ If you feel you're missing from this list, please feel free to add yourself in a ## Stargazers over time -[![Stargazers over time](https://starchart.cc/khuedoan/homelab.svg)](https://starchart.cc/khuedoan/homelab) +[![Stargazers over time](https://starchart.cc/petermein/homelab.svg)](https://starchart.cc/petermein/homelab) diff --git a/apps/homepage/values.yaml b/apps/homepage/values.yaml index c8fb7dda74..9411f08a7a 100644 --- a/apps/homepage/values.yaml +++ b/apps/homepage/values.yaml @@ -133,7 +133,7 @@ app-template: - href: https://homelab.io.jupiter.mein.nl icon: google-docs.svg - Public homelab repository: - - href: https://github.com/khuedoan/homelab + - href: https://github.com/petermein/homelab icon: github.svg - Managed services: - Cloudflare: diff --git a/apps/wireguard/values.yaml b/apps/wireguard/values.yaml index 442a6a9586..ea8bf78fd5 100644 --- a/apps/wireguard/values.yaml +++ b/apps/wireguard/values.yaml @@ -67,7 +67,7 @@ app-template: [Peer] # horus PublicKey = zVwYqwvGn/IL7o6CD84y4/Y/OnRAUl/jw6T7DtNqWGM= - Endpoint = horus.khuedoan.com:51820 + Endpoint = horus.io.jupiter.mein.nl:51820 PersistentKeepalive = 25 AllowedIPs = 172.16.0.2/32 diff --git a/docs/how-to-guides/use-both-github-and-gitea.md b/docs/how-to-guides/use-both-github-and-gitea.md index e403387550..8bf4611bcd 100644 --- a/docs/how-to-guides/use-both-github-and-gitea.md +++ b/docs/how-to-guides/use-both-github-and-gitea.md @@ -6,7 +6,7 @@ Add both push URLs (replace my repositories with yours): ```sh git remote set-url --add --push origin git@git.io.jupiter.mein.nl:ops/homelab -git remote set-url --add --push origin git@github.com:khuedoan/homelab +git remote set-url --add --push origin git@github.com:petermein/homelab ``` Now you can just run `git push` like usual and it will push to both GitHub and Gitea. diff --git a/docs/installation/production/configuration.md b/docs/installation/production/configuration.md index 2ba7a30d01..524fa825a9 100644 --- a/docs/installation/production/configuration.md +++ b/docs/installation/production/configuration.md @@ -18,7 +18,7 @@ make configure ``` Text editor (nvim): - Enter seed repo (github.com/khuedoan/homelab): github.com/example/homelab + Enter seed repo (github.com/petermein/homelab): github.com/example/homelab Enter your domain (io.jupiter.mein.nl): example.com ``` diff --git a/docs/installation/production/prerequisites.md b/docs/installation/production/prerequisites.md index 5603fd1202..39b1da5889 100644 --- a/docs/installation/production/prerequisites.md +++ b/docs/installation/production/prerequisites.md @@ -2,10 +2,10 @@ ## Fork this repository -Because [this project](https://github.com/khuedoan/homelab) applies GitOps practices, +Because [this project](https://github.com/petermein/homelab) applies GitOps practices, it's the source of truth for _my_ homelab, so you'll need to fork it to make it yours: -[:fontawesome-solid-code-fork: Fork khuedoan/homelab](https://github.com/khuedoan/homelab/fork){ .md-button } +[:fontawesome-solid-code-fork: Fork petermein/homelab](https://github.com/petermein/homelab/fork){ .md-button } By using this project you agree to [the license](../../reference/license.md). diff --git a/docs/installation/sandbox.md b/docs/installation/sandbox.md index 800c8e1b33..1aae8cf2ff 100644 --- a/docs/installation/sandbox.md +++ b/docs/installation/sandbox.md @@ -20,7 +20,7 @@ Install the following packages: Clone the repository and checkout the development branch: ```sh -git clone https://github.com/khuedoan/homelab +git clone https://github.com/petermein/homelab git checkout dev ``` diff --git a/docs/reference/architecture/decision-records.md b/docs/reference/architecture/decision-records.md index 79a37bbdaa..36b8eaae3c 100644 --- a/docs/reference/architecture/decision-records.md +++ b/docs/reference/architecture/decision-records.md @@ -136,7 +136,7 @@ Move to Nix shell with a Docker wrapper, in case Nix is not available (see commi **Context** -[Original proposal from @Bourne-ID](https://github.com/khuedoan/homelab/issues/70): +[Original proposal from @Bourne-ID](https://github.com/petermein/homelab/issues/70): > **Issue statement** > @@ -200,7 +200,7 @@ Alternatives considered: - Pros: automatic and atomic upgrade, immutable, quick installation - Cons: hard to run Ansible on (Python is not included) - CentOS/Rocky Linux (moved to Fedora in `022b816`): - - Pros: relatively stable (however we did encounter a breaking change [#63](https://github.com/khuedoan/homelab/issues/63), still not sure why) + - Pros: relatively stable (however we did encounter a breaking change [#63](https://github.com/petermein/homelab/issues/63), still not sure why) - Cons: kernel and packages are too old - Debian: couldn't get it to work with PXE boot and Rocky Linux was sufficient so I didn't push any further - Cluster API (previous attempt in ` a8e4a85`, I hope to get this to work someday): diff --git a/docs/reference/contributing.md b/docs/reference/contributing.md index 660331bfe6..c920196a65 100644 --- a/docs/reference/contributing.md +++ b/docs/reference/contributing.md @@ -4,7 +4,7 @@ ### Bug report -You can [create a new GitHub issue](https://github.com/khuedoan/homelab/issues/new/choose) with the bug report template. +You can [create a new GitHub issue](https://github.com/petermein/homelab/issues/new/choose) with the bug report template. ### Submitting patches @@ -12,7 +12,7 @@ Because you may have a lot of changes in your fork, you can't create a pull requ Instead, create a branch from the upstream repository and commit your changes there: ```sh -git remote add upstream https://github.com/khuedoan/homelab +git remote add upstream https://github.com/petermein/homelab git fetch upstream git checkout upstream/master git checkout -b contrib-fix-something @@ -25,4 +25,4 @@ git checkout -b contrib-fix-something # commit, push, etc. as usual ``` -Then you can send the patch using [GitHub pull request](https://github.com/khuedoan/homelab/pulls) or `git send-email` to . +Then you can send the patch using [GitHub pull request](https://github.com/petermein/homelab/pulls) or `git send-email` to . diff --git a/docs/reference/roadmap.md b/docs/reference/roadmap.md index 843890f730..bb6e88ce32 100644 --- a/docs/reference/roadmap.md +++ b/docs/reference/roadmap.md @@ -74,7 +74,7 @@ Can be used in "production" (for family or even small scale businesses). - [ ] VPN server - [ ] PeerTube - [x] Blog - - [ ] [Development dashboard](https://github.com/khuedoan/homelab-backstage) + - [ ] [Development dashboard](https://github.com/petermein/homelab-backstage) ## Unplanned @@ -86,5 +86,5 @@ Nice to have - [ ] Automated testing - [ ] Security audit - [ ] Serverless ([Knative](https://knative.dev)) -- [ ] Cluster API ([last attempt](https://github.com/khuedoan/homelab/pull/2)) +- [ ] Cluster API ([last attempt](https://github.com/petermein/homelab/pull/2)) - [ ] Split DNS (requires a better router) diff --git a/mkdocs.yml b/mkdocs.yml index 018ee88bab..ef7a8ae9bb 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -3,10 +3,10 @@ site_name: Khue's Homelab copyright: Copyright © 2020 - 2024 Khue Doan -repo_url: https://github.com/khuedoan/homelab +repo_url: https://github.com/petermein/homelab theme: - favicon: https://github.com/khuedoan/homelab/assets/27996771/d33be1af-3687-4712-a671-4370da13cc92 + favicon: https://github.com/petermein/homelab/assets/27996771/d33be1af-3687-4712-a671-4370da13cc92 name: material palette: primary: black diff --git a/platform/gitea/files/config/config.yaml b/platform/gitea/files/config/config.yaml index 4b033edf8f..42eb8b9a8c 100644 --- a/platform/gitea/files/config/config.yaml +++ b/platform/gitea/files/config/config.yaml @@ -16,15 +16,15 @@ repositories: owner: ops private: false migrate: - source: https://github.com/khuedoan/homelab + source: https://github.com/petermein/homelab mirror: false - name: blog - owner: khuedoan + owner: mein migrate: - source: https://github.com/khuedoan/blog + source: https://github.com/mein/blog mirror: true - name: backstage - owner: khuedoan + owner: mein migrate: - source: https://github.com/khuedoan/backstage + source: https://github.com/mein/backstage mirror: true diff --git a/platform/gitea/files/config/go.mod b/platform/gitea/files/config/go.mod index 6dccf25abb..16663a920d 100644 --- a/platform/gitea/files/config/go.mod +++ b/platform/gitea/files/config/go.mod @@ -1,4 +1,4 @@ -module git.io.jupiter.mein.nl/khuedoan/homelab/gitea/config +module git.io.jupiter.mein.nl/petermein/homelab/gitea/config go 1.19 diff --git a/platform/global-secrets/files/secret-generator/go.mod b/platform/global-secrets/files/secret-generator/go.mod index 151e735780..36020abff1 100644 --- a/platform/global-secrets/files/secret-generator/go.mod +++ b/platform/global-secrets/files/secret-generator/go.mod @@ -1,4 +1,4 @@ -module git.io.jupiter.mein.nl/khuedoan/homelab/platform/secret-generator +module git.io.jupiter.mein.nl/petermein/homelab/platform/secret-generator go 1.19 diff --git a/scripts/configure b/scripts/configure index cc61be4e4a..c0c807642d 100755 --- a/scripts/configure +++ b/scripts/configure @@ -14,7 +14,7 @@ import sys from rich.prompt import Confirm, Prompt upstream_config = { - "seed_repo": "https://github.com/khuedoan/homelab", + "seed_repo": "https://github.com/petermein/homelab", "domain": "io.jupiter.mein.nl", "timezone": "Asia/Ho_Chi_Minh", "terraform_workspace": "khuedoan", diff --git a/system/Makefile b/system/Makefile index 6164dd6f07..b262d813cd 100644 --- a/system/Makefile +++ b/system/Makefile @@ -1,7 +1,5 @@ .POSIX: -export KUBECONFIG = $(shell pwd)${HOME}/.kube/config - .PHONY: bootstrap bootstrap: ansible-playbook \ diff --git a/system/argocd/values-seed.yaml b/system/argocd/values-seed.yaml index 4e8b3c90c2..8657c08f81 100644 --- a/system/argocd/values-seed.yaml +++ b/system/argocd/values-seed.yaml @@ -15,7 +15,7 @@ argocd-apps: root: generators: - git: - repoURL: &repoURL https://github.com/khuedoan/homelab + repoURL: &repoURL https://github.com/petermein/homelab revision: &revision master directories: - path: system/*