diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 929c54e..e56c255 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -3,7 +3,7 @@ run-name: Build and Push Reese's Arch Toolbox on: push: paths: - - infrastructure/graduated/distoolbox/** + - active/software_distoolbox/distoolbox/** - .gitea/workflows/** schedule: - cron: '@daily' @@ -23,8 +23,8 @@ jobs: - name: Build and push Docker image uses: https://github.com/docker/build-push-action@v5 with: - context: ${{ gitea.workspace }}/infrastructure/graduated/distoolbox - file: ${{ gitea.workspace }}/infrastructure/graduated/distoolbox/arch-toolbox.containerfile + context: ${{ gitea.workspace }}/active/software_distoolbox + file: ${{ gitea.workspace }}/active/software_distoolbox/arch-toolbox.containerfile target: cpu push: true tags: "gitea.reeseapps.com/services/arch-toolbox:latest,gitea.reeseapps.com/services/arch-toolbox:${{gitea.sha}}" @@ -32,8 +32,8 @@ jobs: - name: Build and push AMD GPU Docker image uses: https://github.com/docker/build-push-action@v5 with: - context: ${{ gitea.workspace }}/infrastructure/graduated/distoolbox - file: ${{ gitea.workspace }}/infrastructure/graduated/distoolbox/arch-toolbox.containerfile + context: ${{ gitea.workspace }}/active/software_distoolbox + file: ${{ gitea.workspace }}/active/software_distoolbox/arch-toolbox.containerfile target: amdgpu push: true tags: "gitea.reeseapps.com/services/arch-toolbox-amdgpu:latest,gitea.reeseapps.com/services/arch-toolbox-amdgpu:${{gitea.sha}}" diff --git a/code_oss_extensions.txt b/.vscode/code_oss_extensions.txt similarity index 100% rename from code_oss_extensions.txt rename to .vscode/code_oss_extensions.txt diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 4fb904a..2d48465 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -6,7 +6,7 @@ { "label": "Build arch-toolbox", "type": "shell", - "command": "./infrastructure/graduated/distoolbox/arch-build.sh", + "command": "./active/software_distoolbox/arch-build.sh", "problemMatcher": [], "group": { "kind": "build", diff --git a/README.md b/README.md index a20e9a7..a3b5c27 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,10 @@ A project to store homelab stuff. Just here for the Arch distoolbox? -[Arch Distoolbox](infrastructure/graduated/distoolbox/distoolbox.md) +[Arch Distoolbox](active/software_distoolbox/distoolbox.md) -![Arch Toolbox Status](https://gitea.reeseapps.com/services/homelab/actions/workflows/build.yaml/badge.svg?branch=main) +![Arch Toolbox +Status](https://gitea.reeseapps.com/services/homelab/actions/workflows/build.yaml/badge.svg?branch=main) ## Table of Contents @@ -15,16 +16,18 @@ Just here for the Arch distoolbox? - [Fun Facts](#fun-facts) - [Important Dates and Times](#important-dates-and-times) - [Project Lifecycle](#project-lifecycle) - - [Supported Projects](#supported-projects) - - [Graduation Requirements](#graduation-requirements) + - [Project Types](#project-types) + - [Active Project Requirements](#active-project-requirements) - [Retirement Requirements](#retirement-requirements) + - [Project Structure](#project-structure) + - [Creating a Project](#creating-a-project) - [Order of Operations](#order-of-operations) ## Fun Facts On linux, ctrl+shift+u, then, while holding -ctrl+shift, typing b+0 will type a ° (degree) symbol. Also you -can enter any unicode symbol this way. +ctrl+shift, typing b+0 will type a +° (degree) symbol. Also you can enter any unicode symbol this way. ## Important Dates and Times @@ -34,55 +37,67 @@ can enter any unicode symbol this way. ## Project Lifecycle -Projects will fall into one of the three following categories: +Projects will either be `active` or `retired`. -1. Incubating -2. Graduated -3. Retired +Active projects are being actively developed. They are in-use, stable, and +production ready. Active projects should meet and track the [active project +requirements](#active-project-requirements) -Incubating projects are experimental or prototypal. They're being actively developed and aren't -ready for production deployment. These projects may appear and disappear without warning and are not -stable. There is no minimum requirement for a project to be in incubation. +Retired projects are no longer in use or recommended. They are kept for +reference. Retired projects must meet the [retirement +requirements](#retirement-requirements) -Graduated projects are in-use, stable, and production ready. They met the [graduation -requirements](#graduation-requirements) and are actively maintained. +You'll notice that most of the active projects have scripts or examples that +use the `active` path as part of their install process. When moved outside the +`active` directory their scripts and examples break. This is intentional. If +you want a retired project to work again, bring it back to the active +directory. -Retired projects are no longer in use or recommended. They are kept for reference. Retired projects -must meet the [retirement requirements](#retirement-requirements) +## Project Types -## Supported Projects +All projects will be prefixed with one of the following categories: -All projects will fall into one of the following categories: +- `device_` +- `os_` +- `cloud_` +- `systemd_` +- `podman_` +- `docker_` +- `kubernetes_` -- hardware -- infrastructure -- cloud -- systemd -- podman -- docker -- kubernetes +Note, some projects will be named with just the prefix. These are projects for +configuring the underlying technology. The `podman` project, for example, will +tell you how to configure and install podman so it works correctly. -Hardware will contain projects that relate to specific machines or equipment. 3D printers, Raspberry -Pis, and other IOT devices qualify as specialized hardware that needs documentation and -configuration. This is not limited to computer equipment. The furnace is an important part of the -home lab. the Air Conditioner is integral to the homelab's function. These projects will also be documented. +`device_` will prefix projects that relate to specific machines or equipment. +3D printers, Raspberry Pis, and other IOT devices qualify as specialized +hardware that needs documentation and configuration. This is not limited to +computer equipment. The furnace is an important part of the homelab. the Air +Conditioner is integral to the homelab's function. These projects will also be +documented. -Infrastructure will contain projects that set up the environments for the remaining listed project -types. For example, infrastructure will contain "how to set up a linux box with docker" or "how to -set up a k3s cluster for kubernetes". +`os_` will contain projects that set up operating systems. These include best +practices, backups, updates, default software, etc. -Cloud projects are for specific cloud providers. +`cloud_` projects are for specific cloud providers. This will contain +documentation and errata for things like AWS IAM, Route53, etc. Note these will +be prefixed with the cloud's name, not the word "cloud". So AWS services will +be prefixed with `aws_` and azure would be `azure_`. This should make them more +searchable. -Systemd projects are designed to be installed with ansible and run via systemd on a linux VM or -other linux hardware. +`systemd_` projects are designed to be installed with ansible and run via +systemd on a linux VM or other linux hardware. -Podman projects are either designed to be run as quadlets or as podman containers outright. +`podman_` projects are either designed to be run as quadlets or as podman +containers outright. -Docker projects are either docker-compose or some form of docker run command. +`docker_` projects are either docker-compose or some form of docker run +command. -Kubernetes projects are helm, kustomize, kubectl, or some other kubernetes compliant deployment. +`kubernetes_` projects are helm, kustomize, kubectl, or some other kubernetes +compliant deployment. -## Graduation Requirements +## Active Project Requirements - [ ] Installation is documented - [ ] Installation configuration examples are provided @@ -98,11 +113,30 @@ Kubernetes projects are helm, kustomize, kubectl, or some other kubernetes compl - [ ] If applicable, a replacement has been identified and documented - [ ] If applicable, backup data locations are documented +## Project Structure + +All projects will have, at minimum. + +1. A README named `project-name.md` +2. A directory called `secrets` which will be gitignored. + +## Creating a Project + +Assuming your project name is `my-project` and it runs on `podman` + +1. Create a new directory called `podman_my-project` under the `active` + directory +2. Copy the readme template: `cp project_readme_template.md + active/podman_my-project/my-project.md` +3. Populate `my-project.md` as you work through the install process +4. Create a directory called `secrets` in `podman_my-project`. This will be + automatically gitignored. Put all secrets here. +5. Push the changes when you have a working product + ## Order of Operations -1. Install cloud projects. These usually have no dependencies and typically provide critical services - to other projects (DNS, email notifications, etc.) -2. Install infrastructure projects. Usually these only have dependencies on cloud services. -3. Install systemd services. These are usually low-level programs that require a dedicated machine - and perform semi-critical functions (ipv4 proxy, ddns, etc.). -4. Install kubernetes, docker, podman, and other services. +1. Configure cloud providers. These usually have no dependencies and typically + provide critical services to other projects (DNS, email notifications, etc.) +2. Install infrastructure projects. Usually these only have dependencies on + cloud services. +3. Install systemd, kubernetes, docker, podman, and other services. diff --git a/ansible/README.md b/active/ansible/ansible.md similarity index 100% rename from ansible/README.md rename to active/ansible/ansible.md diff --git a/ansible/inventory.yaml b/active/ansible/inventory.yaml similarity index 100% rename from ansible/inventory.yaml rename to active/ansible/inventory.yaml diff --git a/cloud/graduated/aws_cli/aws_cli.md b/active/aws_cli/aws_cli.md similarity index 100% rename from cloud/graduated/aws_cli/aws_cli.md rename to active/aws_cli/aws_cli.md diff --git a/cloud/graduated/aws_iam/aws_iam.md b/active/aws_iam/aws_iam.md similarity index 80% rename from cloud/graduated/aws_iam/aws_iam.md rename to active/aws_iam/aws_iam.md index 616458a..7658431 100644 --- a/cloud/graduated/aws_iam/aws_iam.md +++ b/active/aws_iam/aws_iam.md @@ -1,6 +1,6 @@ # AWS Credentials -Note: this requires the AWS CLI. See [AWS CLI](/cloud/graduated/aws_cli/aws_cli.md) +Note: this requires the AWS CLI. See [AWS CLI](/active/aws_cli/aws_cli.md) - [AWS Credentials](#aws-credentials) - [Route53 Credential Generation](#route53-credential-generation) @@ -14,10 +14,10 @@ export AWS_USERNAME= aws iam create-user --user-name $AWS_USERNAME # Allow updating reeseapps -aws iam attach-user-policy --user-name $AWS_USERNAME --policy-arn $(cat cloud/graduated/aws_iam/secrets/update-reeseapps-iam-policy-arn) +aws iam attach-user-policy --user-name $AWS_USERNAME --policy-arn $(cat active/aws_iam/secrets/update-reeseapps-iam-policy-arn) # Allow updating reeselink -aws iam attach-user-policy --user-name $AWS_USERNAME --policy-arn $(cat cloud/graduated/aws_iam/secrets/update-reeselink-iam-policy-arn) +aws iam attach-user-policy --user-name $AWS_USERNAME --policy-arn $(cat active/aws_iam/secrets/update-reeselink-iam-policy-arn) # Create credentials (run aws configure on the machine that needs these to input them manually) aws iam create-access-key --user-name $AWS_USERNAME @@ -27,7 +27,7 @@ aws iam create-access-key --user-name $AWS_USERNAME Example Policy: -cloud/graduated/aws_iam/secrets/policies/route53_reeselink.json +active/aws_iam/secrets/route53_reeselink.json ```json { @@ -59,10 +59,10 @@ cloud/graduated/aws_iam/secrets/policies/route53_reeselink.json ```bash # Allow updating route53 records for reeselink.com -aws iam create-policy --policy-name update-reeselink --policy-document file://cloud/graduated/aws_iam/secrets/route53_reeselink_policy.json +aws iam create-policy --policy-name update-reeselink --policy-document file://active/aws_iam/secrets/route53_reeselink_policy.json # Allow updating route53 records for reeseapps.com -aws iam create-policy --policy-name update-reeseapps --policy-document file://cloud/graduated/aws_iam/secrets/route53_reeseapps_policy.json +aws iam create-policy --policy-name update-reeseapps --policy-document file://active/aws_iam/secrets/route53_reeseapps_policy.json ``` ## Email Credentials diff --git a/cloud/graduated/aws_route53/aws-route53.md b/active/aws_route53/aws-route53.md similarity index 59% rename from cloud/graduated/aws_route53/aws-route53.md rename to active/aws_route53/aws-route53.md index 310fe4b..7c10754 100644 --- a/cloud/graduated/aws_route53/aws-route53.md +++ b/active/aws_route53/aws-route53.md @@ -17,14 +17,14 @@ convenience. ## Reeselink Addresses -See `example-record-file.json` for example contents of `file://cloud/graduated/aws_route53/secrets/aws/reeselink.json`. +See `example-record-file.json` for example contents of `file://active/aws_route53/secrets/aws/reeselink.json`. ```bash -aws route53 change-resource-record-sets --hosted-zone-id $(cat cloud/graduated/aws_route53/secrets/reeselink-zoneid) --change-batch file://cloud/graduated/aws_route53/secrets/reeselink.json +aws route53 change-resource-record-sets --hosted-zone-id $(cat active/aws_route53/secrets/reeselink-zoneid) --change-batch file://active/aws_route53/secrets/reeselink.json ``` ## Reeseapps Addresses ```bash -aws route53 change-resource-record-sets --hosted-zone-id $(cat cloud/graduated/aws_route53/secrets/reeseapps-zoneid) --change-batch file://cloud/graduated/aws_route53/secrets/reeseapps.json +aws route53 change-resource-record-sets --hosted-zone-id $(cat active/aws_route53/secrets/reeseapps-zoneid) --change-batch file://active/aws_route53/secrets/reeseapps.json ``` diff --git a/cloud/graduated/aws_route53/example-record-file.json b/active/aws_route53/example-record-file.json similarity index 100% rename from cloud/graduated/aws_route53/example-record-file.json rename to active/aws_route53/example-record-file.json diff --git a/active/aws_ses/aws_ses.md b/active/aws_ses/aws_ses.md new file mode 100644 index 0000000..70731d8 --- /dev/null +++ b/active/aws_ses/aws_ses.md @@ -0,0 +1,3 @@ +# AWS SES + +AWS Simple Email Service diff --git a/hardware/incubating/bambu_p1s/bambu_p1s.md b/active/device_bambu_p1s/bambu_p1s.md similarity index 100% rename from hardware/incubating/bambu_p1s/bambu_p1s.md rename to active/device_bambu_p1s/bambu_p1s.md diff --git a/infrastructure/graduated/bangle.js/README.md b/active/device_bangle.js/bangle.js.md similarity index 100% rename from infrastructure/graduated/bangle.js/README.md rename to active/device_bangle.js/bangle.js.md diff --git a/hardware/graduated/framework_16/dgpu_wake_from_sleep_post.md b/active/device_framework_16/dgpu_wake_from_sleep_post.md similarity index 100% rename from hardware/graduated/framework_16/dgpu_wake_from_sleep_post.md rename to active/device_framework_16/dgpu_wake_from_sleep_post.md diff --git a/hardware/graduated/framework_16/framework_16.md b/active/device_framework_16/framework_16.md similarity index 100% rename from hardware/graduated/framework_16/framework_16.md rename to active/device_framework_16/framework_16.md diff --git a/hardware/graduated/home_assistant/home_assistant.md b/active/device_home_assistant/home_assistant.md similarity index 100% rename from hardware/graduated/home_assistant/home_assistant.md rename to active/device_home_assistant/home_assistant.md diff --git a/hardware/graduated/shelly/README.md b/active/device_shelly/shelly.md similarity index 100% rename from hardware/graduated/shelly/README.md rename to active/device_shelly/shelly.md diff --git a/hardware/graduated/yubikey/yubikey.md b/active/device_yubikey/yubikey.md similarity index 100% rename from hardware/graduated/yubikey/yubikey.md rename to active/device_yubikey/yubikey.md diff --git a/active/kubernetes/kubernetes.md b/active/kubernetes/kubernetes.md new file mode 100644 index 0000000..04271bb --- /dev/null +++ b/active/kubernetes/kubernetes.md @@ -0,0 +1,3 @@ +# Kubernetes + +See [k3s](/active/systemd_k3s/k3s.md) \ No newline at end of file diff --git a/kubernetes/incubating/bitwarden/README.md b/active/kubernetes_bitwarden/bitwarden.md similarity index 88% rename from kubernetes/incubating/bitwarden/README.md rename to active/kubernetes_bitwarden/bitwarden.md index b1dc7e9..21943d5 100644 --- a/kubernetes/incubating/bitwarden/README.md +++ b/active/kubernetes_bitwarden/bitwarden.md @@ -12,7 +12,7 @@ helm repo add bitwarden https://charts.bitwarden.com/ helm repo update kubectl create namespace bitwarden -helm show values bitwarden/self-host > kubernetes/incubating/bitwarden/values.yaml +helm show values bitwarden/self-host > active/kubernetes_bitwarden/values.yaml # Installation ID: https://bitwarden.com/host/ # Optional argument for Have I Been Pwned: --from-literal=globalSettings__hibpApiKey="REPLACE" \ @@ -25,5 +25,5 @@ kubectl create secret generic custom-secret -n bitwarden \ --from-file=globalSettings__yubico__key=./secrets/bitwarden/yubico_secret \ --from-file=SA_PASSWORD=./secrets/bitwarden/sa_password -helm upgrade bitwarden bitwarden/self-host --install --namespace bitwarden --values kubernetes/incubating/bitwarden/values.yaml +helm upgrade bitwarden bitwarden/self-host --install --namespace bitwarden --values active/kubernetes_bitwarden/values.yaml ``` diff --git a/kubernetes/incubating/bitwarden/values.yaml b/active/kubernetes_bitwarden/values.yaml similarity index 100% rename from kubernetes/incubating/bitwarden/values.yaml rename to active/kubernetes_bitwarden/values.yaml diff --git a/kubernetes/graduated/coredns/values.yaml b/active/kubernetes_coredns/values.yaml similarity index 100% rename from kubernetes/graduated/coredns/values.yaml rename to active/kubernetes_coredns/values.yaml diff --git a/kubernetes/graduated/external-dns/deploy.yaml b/active/kubernetes_external-dns/deploy.yaml similarity index 100% rename from kubernetes/graduated/external-dns/deploy.yaml rename to active/kubernetes_external-dns/deploy.yaml diff --git a/kubernetes/graduated/external-dns/sa.yaml b/active/kubernetes_external-dns/sa.yaml similarity index 100% rename from kubernetes/graduated/external-dns/sa.yaml rename to active/kubernetes_external-dns/sa.yaml diff --git a/kubernetes/graduated/external-dns/values.yaml b/active/kubernetes_external-dns/values.yaml similarity index 100% rename from kubernetes/graduated/external-dns/values.yaml rename to active/kubernetes_external-dns/values.yaml diff --git a/kubernetes/graduated/gitea/gitea-staging-values.yaml b/active/kubernetes_gitea/gitea-staging-values.yaml similarity index 100% rename from kubernetes/graduated/gitea/gitea-staging-values.yaml rename to active/kubernetes_gitea/gitea-staging-values.yaml diff --git a/kubernetes/graduated/gitea/gitea-values.yaml b/active/kubernetes_gitea/gitea-values.yaml similarity index 100% rename from kubernetes/graduated/gitea/gitea-values.yaml rename to active/kubernetes_gitea/gitea-values.yaml diff --git a/kubernetes/graduated/gitea/gitea.md b/active/kubernetes_gitea/gitea.md similarity index 98% rename from kubernetes/graduated/gitea/gitea.md rename to active/kubernetes_gitea/gitea.md index 20e03b8..7f6c9f5 100644 --- a/kubernetes/graduated/gitea/gitea.md +++ b/active/kubernetes_gitea/gitea.md @@ -40,7 +40,7 @@ helm repo update helm upgrade --install \ gitea \ gitea-charts/gitea \ - --values kubernetes/graduated/gitea/gitea-values.yaml \ + --values active/kubernetes_gitea/gitea-values.yaml \ --namespace gitea \ --create-namespace ``` diff --git a/kubernetes/incubating/grafana/README.md b/active/kubernetes_grafana/grafana.md similarity index 83% rename from kubernetes/incubating/grafana/README.md rename to active/kubernetes_grafana/grafana.md index e2db844..a7ed414 100644 --- a/kubernetes/incubating/grafana/README.md +++ b/active/kubernetes_grafana/grafana.md @@ -8,7 +8,7 @@ helm repo update helm upgrade --install my-grafana grafana/grafana \ --namespace monitoring \ --create-namespace \ - --values kubernetes/incubating/grafana/values.yaml + --values active/kubernetes_grafana/values.yaml kubectl get secret --namespace monitoring my-grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo ``` @@ -25,5 +25,5 @@ helm upgrade --install \ kube-prometheus-stack \ prometheus-community/kube-prometheus-stack \ --namespace kube-system \ - --values kubernetes/incubating/grafana/helm-prom-stack-values.yaml + --values active/kubernetes_grafana/helm-prom-stack-values.yaml ``` diff --git a/kubernetes/incubating/grafana/helm-prom-stack-values.yaml b/active/kubernetes_grafana/helm-prom-stack-values.yaml similarity index 100% rename from kubernetes/incubating/grafana/helm-prom-stack-values.yaml rename to active/kubernetes_grafana/helm-prom-stack-values.yaml diff --git a/kubernetes/incubating/grafana/values.yaml b/active/kubernetes_grafana/values.yaml similarity index 100% rename from kubernetes/incubating/grafana/values.yaml rename to active/kubernetes_grafana/values.yaml diff --git a/kubernetes/graduated/ingress-nginx/values.yaml b/active/kubernetes_ingress-nginx/values.yaml similarity index 100% rename from kubernetes/graduated/ingress-nginx/values.yaml rename to active/kubernetes_ingress-nginx/values.yaml diff --git a/kubernetes/graduated/iperf3/.helmignore b/active/kubernetes_iperf3/.helmignore similarity index 100% rename from kubernetes/graduated/iperf3/.helmignore rename to active/kubernetes_iperf3/.helmignore diff --git a/kubernetes/graduated/iperf3/Chart.yaml b/active/kubernetes_iperf3/Chart.yaml similarity index 100% rename from kubernetes/graduated/iperf3/Chart.yaml rename to active/kubernetes_iperf3/Chart.yaml diff --git a/kubernetes/graduated/iperf3/README.md b/active/kubernetes_iperf3/iperf3.md similarity index 77% rename from kubernetes/graduated/iperf3/README.md rename to active/kubernetes_iperf3/iperf3.md index f18fff4..1d06aff 100644 --- a/kubernetes/graduated/iperf3/README.md +++ b/active/kubernetes_iperf3/iperf3.md @@ -7,7 +7,7 @@ This creates a basic iperf3 server. ```bash helm upgrade --install \ iperf3 \ - ./kubernetes/graduated/iperf3 \ + ./active/kubernetes_iperf3/iperf3 \ --namespace iperf3 \ --create-namespace -``` \ No newline at end of file +``` diff --git a/kubernetes/graduated/iperf3/templates/deployment.yaml b/active/kubernetes_iperf3/templates/deployment.yaml similarity index 100% rename from kubernetes/graduated/iperf3/templates/deployment.yaml rename to active/kubernetes_iperf3/templates/deployment.yaml diff --git a/kubernetes/graduated/iperf3/templates/service.yaml b/active/kubernetes_iperf3/templates/service.yaml similarity index 100% rename from kubernetes/graduated/iperf3/templates/service.yaml rename to active/kubernetes_iperf3/templates/service.yaml diff --git a/kubernetes/graduated/iperf3/values.yaml b/active/kubernetes_iperf3/values.yaml similarity index 100% rename from kubernetes/graduated/iperf3/values.yaml rename to active/kubernetes_iperf3/values.yaml diff --git a/kubernetes/graduated/jellyfin/.helmignore b/active/kubernetes_jellyfin/.helmignore similarity index 100% rename from kubernetes/graduated/jellyfin/.helmignore rename to active/kubernetes_jellyfin/.helmignore diff --git a/kubernetes/graduated/jellyfin/Chart.yaml b/active/kubernetes_jellyfin/Chart.yaml similarity index 100% rename from kubernetes/graduated/jellyfin/Chart.yaml rename to active/kubernetes_jellyfin/Chart.yaml diff --git a/kubernetes/graduated/jellyfin/jellyfin.md b/active/kubernetes_jellyfin/jellyfin.md similarity index 76% rename from kubernetes/graduated/jellyfin/jellyfin.md rename to active/kubernetes_jellyfin/jellyfin.md index c381ec1..3a8bf62 100644 --- a/kubernetes/graduated/jellyfin/jellyfin.md +++ b/active/kubernetes_jellyfin/jellyfin.md @@ -5,7 +5,7 @@ ```bash helm upgrade --install \ jellyfin \ - ./kubernetes/graduated/jellyfin \ + ./active/kubernetes_jellyfin \ --namespace jellyfin \ --create-namespace ``` diff --git a/kubernetes/graduated/jellyfin/templates/deployment.yaml b/active/kubernetes_jellyfin/templates/deployment.yaml similarity index 100% rename from kubernetes/graduated/jellyfin/templates/deployment.yaml rename to active/kubernetes_jellyfin/templates/deployment.yaml diff --git a/kubernetes/graduated/jellyfin/templates/ingress.yaml b/active/kubernetes_jellyfin/templates/ingress.yaml similarity index 100% rename from kubernetes/graduated/jellyfin/templates/ingress.yaml rename to active/kubernetes_jellyfin/templates/ingress.yaml diff --git a/kubernetes/graduated/jellyfin/templates/pvc.yaml b/active/kubernetes_jellyfin/templates/pvc.yaml similarity index 100% rename from kubernetes/graduated/jellyfin/templates/pvc.yaml rename to active/kubernetes_jellyfin/templates/pvc.yaml diff --git a/kubernetes/graduated/jellyfin/templates/service.yaml b/active/kubernetes_jellyfin/templates/service.yaml similarity index 100% rename from kubernetes/graduated/jellyfin/templates/service.yaml rename to active/kubernetes_jellyfin/templates/service.yaml diff --git a/kubernetes/graduated/jellyfin/values.yaml b/active/kubernetes_jellyfin/values.yaml similarity index 100% rename from kubernetes/graduated/jellyfin/values.yaml rename to active/kubernetes_jellyfin/values.yaml diff --git a/kubernetes/graduated/local-path-provisioner/ConfigMap-patch.yaml b/active/kubernetes_local-path-provisioner/ConfigMap-patch.yaml similarity index 100% rename from kubernetes/graduated/local-path-provisioner/ConfigMap-patch.yaml rename to active/kubernetes_local-path-provisioner/ConfigMap-patch.yaml diff --git a/kubernetes/graduated/local-path-provisioner/kustomization.yaml b/active/kubernetes_local-path-provisioner/kustomization.yaml similarity index 100% rename from kubernetes/graduated/local-path-provisioner/kustomization.yaml rename to active/kubernetes_local-path-provisioner/kustomization.yaml diff --git a/kubernetes/graduated/local-path-provisioner/local-path-provisioner.md b/active/kubernetes_local-path-provisioner/local-path-provisioner.md similarity index 50% rename from kubernetes/graduated/local-path-provisioner/local-path-provisioner.md rename to active/kubernetes_local-path-provisioner/local-path-provisioner.md index f4b0a1e..6c6c3dd 100644 --- a/kubernetes/graduated/local-path-provisioner/local-path-provisioner.md +++ b/active/kubernetes_local-path-provisioner/local-path-provisioner.md @@ -10,15 +10,8 @@ ```bash # Download the updated template from github -kubectl kustomize "github.com/rancher/local-path-provisioner/deploy?ref=v0.0.31" > kubernetes/graduated/local-path-provisioner/local-path-storage.yaml +kubectl kustomize "github.com/rancher/local-path-provisioner/deploy?ref=v0.0.31" > active/kubernetes_local-path-provisioner/local-path-storage.yaml # Apply customizations (ssd/hdd storage, read write many support) -kubectl kustomize kubernetes/graduated/local-path-provisioner | kubectl apply -f - - -# Create test pod -kubectl apply -f systemd/graduated/k3s/tests/local-storage-test.yaml -kubectl get pod -n default -# Exec in and test - storage will be mounted at /storage -kubectl exec -it -n default -- bash -kubectl delete -f systemd/graduated/k3s/tests/local-storage-test.yaml +kubectl kustomize active/kubernetes_local-path-provisioner | kubectl apply -f - ``` diff --git a/kubernetes/graduated/local-path-provisioner/local-path-storage.yaml b/active/kubernetes_local-path-provisioner/local-path-storage.yaml similarity index 100% rename from kubernetes/graduated/local-path-provisioner/local-path-storage.yaml rename to active/kubernetes_local-path-provisioner/local-path-storage.yaml diff --git a/kubernetes/graduated/local-path-provisioner/namespace-patch.yaml b/active/kubernetes_local-path-provisioner/namespace-patch.yaml similarity index 100% rename from kubernetes/graduated/local-path-provisioner/namespace-patch.yaml rename to active/kubernetes_local-path-provisioner/namespace-patch.yaml diff --git a/kubernetes/graduated/metallb/addresspool.yaml b/active/kubernetes_metallb/addresspool.yaml similarity index 100% rename from kubernetes/graduated/metallb/addresspool.yaml rename to active/kubernetes_metallb/addresspool.yaml diff --git a/kubernetes/graduated/minecraft/.helmignore b/active/kubernetes_minecraft/.helmignore similarity index 100% rename from kubernetes/graduated/minecraft/.helmignore rename to active/kubernetes_minecraft/.helmignore diff --git a/kubernetes/graduated/minecraft/Chart.yaml b/active/kubernetes_minecraft/Chart.yaml similarity index 100% rename from kubernetes/graduated/minecraft/Chart.yaml rename to active/kubernetes_minecraft/Chart.yaml diff --git a/kubernetes/graduated/minecraft/README.md b/active/kubernetes_minecraft/minecraft.md similarity index 84% rename from kubernetes/graduated/minecraft/README.md rename to active/kubernetes_minecraft/minecraft.md index 7a2fc49..13a4253 100644 --- a/kubernetes/graduated/minecraft/README.md +++ b/active/kubernetes_minecraft/minecraft.md @@ -10,7 +10,7 @@ with a new port. The server-downloader is called "minecraft_get_server" and is a ```bash helm upgrade --install \ testcraft \ - ./kubernetes/graduated/minecraft \ + ./active/kubernetes_minecraft \ --namespace minecraft \ --create-namespace ``` @@ -20,7 +20,7 @@ helm upgrade --install \ ```bash helm upgrade --install \ nimcraft \ - ./kubernetes/graduated/minecraft \ + ./active/kubernetes_minecraft \ --namespace minecraft \ --create-namespace ``` @@ -30,7 +30,7 @@ helm upgrade --install \ ```bash helm upgrade --install \ courtniecraft \ - ./kubernetes/graduated/minecraft \ + ./active/kubernetes_minecraft \ --namespace minecraft \ --create-namespace ``` @@ -40,7 +40,7 @@ helm upgrade --install \ ```bash helm upgrade --install \ camcraft1 \ - ./kubernetes/graduated/minecraft \ + ./active/kubernetes_minecraft \ --namespace minecraft \ --create-namespace ``` diff --git a/kubernetes/graduated/minecraft/templates/configmap.yaml b/active/kubernetes_minecraft/templates/configmap.yaml similarity index 100% rename from kubernetes/graduated/minecraft/templates/configmap.yaml rename to active/kubernetes_minecraft/templates/configmap.yaml diff --git a/kubernetes/graduated/minecraft/templates/deployment.yaml b/active/kubernetes_minecraft/templates/deployment.yaml similarity index 100% rename from kubernetes/graduated/minecraft/templates/deployment.yaml rename to active/kubernetes_minecraft/templates/deployment.yaml diff --git a/kubernetes/graduated/minecraft/templates/pvc.yaml b/active/kubernetes_minecraft/templates/pvc.yaml similarity index 100% rename from kubernetes/graduated/minecraft/templates/pvc.yaml rename to active/kubernetes_minecraft/templates/pvc.yaml diff --git a/kubernetes/graduated/minecraft/templates/service.yaml b/active/kubernetes_minecraft/templates/service.yaml similarity index 100% rename from kubernetes/graduated/minecraft/templates/service.yaml rename to active/kubernetes_minecraft/templates/service.yaml diff --git a/kubernetes/graduated/minecraft/values.yaml b/active/kubernetes_minecraft/values.yaml similarity index 100% rename from kubernetes/graduated/minecraft/values.yaml rename to active/kubernetes_minecraft/values.yaml diff --git a/kubernetes/graduated/pihole_blocklist/Dockerfile b/active/kubernetes_pihole_blocklist/Dockerfile similarity index 100% rename from kubernetes/graduated/pihole_blocklist/Dockerfile rename to active/kubernetes_pihole_blocklist/Dockerfile diff --git a/kubernetes/graduated/pihole_blocklist/blocklists.txt b/active/kubernetes_pihole_blocklist/blocklists.txt similarity index 100% rename from kubernetes/graduated/pihole_blocklist/blocklists.txt rename to active/kubernetes_pihole_blocklist/blocklists.txt diff --git a/kubernetes/graduated/pihole_blocklist/docker-compose.yaml b/active/kubernetes_pihole_blocklist/docker-compose.yaml similarity index 100% rename from kubernetes/graduated/pihole_blocklist/docker-compose.yaml rename to active/kubernetes_pihole_blocklist/docker-compose.yaml diff --git a/kubernetes/graduated/pihole_blocklist/helm/.helmignore b/active/kubernetes_pihole_blocklist/helm/.helmignore similarity index 100% rename from kubernetes/graduated/pihole_blocklist/helm/.helmignore rename to active/kubernetes_pihole_blocklist/helm/.helmignore diff --git a/kubernetes/graduated/pihole_blocklist/helm/Chart.yaml b/active/kubernetes_pihole_blocklist/helm/Chart.yaml similarity index 100% rename from kubernetes/graduated/pihole_blocklist/helm/Chart.yaml rename to active/kubernetes_pihole_blocklist/helm/Chart.yaml diff --git a/kubernetes/graduated/pihole_blocklist/helm/templates/blocklist.yaml b/active/kubernetes_pihole_blocklist/helm/templates/blocklist.yaml similarity index 100% rename from kubernetes/graduated/pihole_blocklist/helm/templates/blocklist.yaml rename to active/kubernetes_pihole_blocklist/helm/templates/blocklist.yaml diff --git a/kubernetes/graduated/pihole_blocklist/helm/values.yaml b/active/kubernetes_pihole_blocklist/helm/values.yaml similarity index 100% rename from kubernetes/graduated/pihole_blocklist/helm/values.yaml rename to active/kubernetes_pihole_blocklist/helm/values.yaml diff --git a/kubernetes/graduated/pihole_blocklist/README.md b/active/kubernetes_pihole_blocklist/pihole_blocklist.md similarity index 100% rename from kubernetes/graduated/pihole_blocklist/README.md rename to active/kubernetes_pihole_blocklist/pihole_blocklist.md diff --git a/kubernetes/graduated/snapdrop/.helmignore b/active/kubernetes_snapdrop/.helmignore similarity index 100% rename from kubernetes/graduated/snapdrop/.helmignore rename to active/kubernetes_snapdrop/.helmignore diff --git a/kubernetes/graduated/snapdrop/Chart.yaml b/active/kubernetes_snapdrop/Chart.yaml similarity index 100% rename from kubernetes/graduated/snapdrop/Chart.yaml rename to active/kubernetes_snapdrop/Chart.yaml diff --git a/kubernetes/graduated/snapdrop/README.md b/active/kubernetes_snapdrop/snapdrop.md similarity index 84% rename from kubernetes/graduated/snapdrop/README.md rename to active/kubernetes_snapdrop/snapdrop.md index 970ed4f..140c021 100644 --- a/kubernetes/graduated/snapdrop/README.md +++ b/active/kubernetes_snapdrop/snapdrop.md @@ -7,7 +7,7 @@ Snapdrop is a file sharing app that allows airdrop-like functionality over the w ```bash helm upgrade --install \ snapdrop \ - ./kubernetes/graduated/snapdrop \ + ./active/kubernetes_snapdrop \ --namespace snapdrop \ --create-namespace ``` diff --git a/kubernetes/graduated/snapdrop/templates/configmap.yaml b/active/kubernetes_snapdrop/templates/configmap.yaml similarity index 100% rename from kubernetes/graduated/snapdrop/templates/configmap.yaml rename to active/kubernetes_snapdrop/templates/configmap.yaml diff --git a/kubernetes/graduated/snapdrop/templates/deployment.yaml b/active/kubernetes_snapdrop/templates/deployment.yaml similarity index 100% rename from kubernetes/graduated/snapdrop/templates/deployment.yaml rename to active/kubernetes_snapdrop/templates/deployment.yaml diff --git a/kubernetes/graduated/snapdrop/templates/ingress.yaml b/active/kubernetes_snapdrop/templates/ingress.yaml similarity index 100% rename from kubernetes/graduated/snapdrop/templates/ingress.yaml rename to active/kubernetes_snapdrop/templates/ingress.yaml diff --git a/kubernetes/graduated/snapdrop/templates/pvc.yaml b/active/kubernetes_snapdrop/templates/pvc.yaml similarity index 100% rename from kubernetes/graduated/snapdrop/templates/pvc.yaml rename to active/kubernetes_snapdrop/templates/pvc.yaml diff --git a/kubernetes/graduated/snapdrop/templates/service.yaml b/active/kubernetes_snapdrop/templates/service.yaml similarity index 100% rename from kubernetes/graduated/snapdrop/templates/service.yaml rename to active/kubernetes_snapdrop/templates/service.yaml diff --git a/kubernetes/graduated/snapdrop/values.yaml b/active/kubernetes_snapdrop/values.yaml similarity index 100% rename from kubernetes/graduated/snapdrop/values.yaml rename to active/kubernetes_snapdrop/values.yaml diff --git a/kubernetes/incubating/userspace/.helmignore b/active/kubernetes_userspace/.helmignore similarity index 100% rename from kubernetes/incubating/userspace/.helmignore rename to active/kubernetes_userspace/.helmignore diff --git a/kubernetes/incubating/userspace/Chart.yaml b/active/kubernetes_userspace/Chart.yaml similarity index 100% rename from kubernetes/incubating/userspace/Chart.yaml rename to active/kubernetes_userspace/Chart.yaml diff --git a/kubernetes/incubating/userspace/certsigner.yaml b/active/kubernetes_userspace/certsigner.yaml similarity index 100% rename from kubernetes/incubating/userspace/certsigner.yaml rename to active/kubernetes_userspace/certsigner.yaml diff --git a/kubernetes/incubating/userspace/scripts/removeuser.sh b/active/kubernetes_userspace/scripts/removeuser.sh similarity index 100% rename from kubernetes/incubating/userspace/scripts/removeuser.sh rename to active/kubernetes_userspace/scripts/removeuser.sh diff --git a/kubernetes/incubating/userspace/scripts/setup.sh b/active/kubernetes_userspace/scripts/setup.sh similarity index 100% rename from kubernetes/incubating/userspace/scripts/setup.sh rename to active/kubernetes_userspace/scripts/setup.sh diff --git a/kubernetes/incubating/userspace/scripts/upsertuser.sh b/active/kubernetes_userspace/scripts/upsertuser.sh similarity index 100% rename from kubernetes/incubating/userspace/scripts/upsertuser.sh rename to active/kubernetes_userspace/scripts/upsertuser.sh diff --git a/kubernetes/incubating/userspace/templates/limitrange.yaml b/active/kubernetes_userspace/templates/limitrange.yaml similarity index 100% rename from kubernetes/incubating/userspace/templates/limitrange.yaml rename to active/kubernetes_userspace/templates/limitrange.yaml diff --git a/kubernetes/incubating/userspace/templates/namespace-manager-role.yaml b/active/kubernetes_userspace/templates/namespace-manager-role.yaml similarity index 100% rename from kubernetes/incubating/userspace/templates/namespace-manager-role.yaml rename to active/kubernetes_userspace/templates/namespace-manager-role.yaml diff --git a/kubernetes/incubating/userspace/templates/namespace-manager-rolebinding.yaml b/active/kubernetes_userspace/templates/namespace-manager-rolebinding.yaml similarity index 100% rename from kubernetes/incubating/userspace/templates/namespace-manager-rolebinding.yaml rename to active/kubernetes_userspace/templates/namespace-manager-rolebinding.yaml diff --git a/kubernetes/incubating/userspace/templates/namespace-readonly-role.yaml b/active/kubernetes_userspace/templates/namespace-readonly-role.yaml similarity index 100% rename from kubernetes/incubating/userspace/templates/namespace-readonly-role.yaml rename to active/kubernetes_userspace/templates/namespace-readonly-role.yaml diff --git a/kubernetes/incubating/userspace/templates/namespace-readonly-rolebinding.yaml b/active/kubernetes_userspace/templates/namespace-readonly-rolebinding.yaml similarity index 100% rename from kubernetes/incubating/userspace/templates/namespace-readonly-rolebinding.yaml rename to active/kubernetes_userspace/templates/namespace-readonly-rolebinding.yaml diff --git a/kubernetes/incubating/userspace/templates/namespace.yaml b/active/kubernetes_userspace/templates/namespace.yaml similarity index 100% rename from kubernetes/incubating/userspace/templates/namespace.yaml rename to active/kubernetes_userspace/templates/namespace.yaml diff --git a/kubernetes/incubating/userspace/templates/resourcequota.yaml b/active/kubernetes_userspace/templates/resourcequota.yaml similarity index 100% rename from kubernetes/incubating/userspace/templates/resourcequota.yaml rename to active/kubernetes_userspace/templates/resourcequota.yaml diff --git a/kubernetes/incubating/userspace/README.md b/active/kubernetes_userspace/userspace.md similarity index 100% rename from kubernetes/incubating/userspace/README.md rename to active/kubernetes_userspace/userspace.md diff --git a/kubernetes/incubating/userspace/values.yaml b/active/kubernetes_userspace/values.yaml similarity index 100% rename from kubernetes/incubating/userspace/values.yaml rename to active/kubernetes_userspace/values.yaml diff --git a/kubernetes/incubating/wordpress/README.md b/active/kubernetes_wordpress/wordpress.md similarity index 88% rename from kubernetes/incubating/wordpress/README.md rename to active/kubernetes_wordpress/wordpress.md index 47e0601..325b709 100644 --- a/kubernetes/incubating/wordpress/README.md +++ b/active/kubernetes_wordpress/wordpress.md @@ -10,9 +10,9 @@ point. ```bash helm upgrade --install \ wordpress \ - -f kubernetes/incubating/bitnami/wordpress.yaml \ + -f active/kubernetes_bitnami/wordpress.yaml \ --set wordpressUsername=admin \ --set wordpressPassword=password \ --set mariadb.auth.rootPassword=secretpassword \ oci://registry-1.docker.io/bitnamicharts/wordpress -``` \ No newline at end of file +``` diff --git a/kubernetes/incubating/wordpress/wordpress.yaml b/active/kubernetes_wordpress/wordpress.yaml similarity index 100% rename from kubernetes/incubating/wordpress/wordpress.yaml rename to active/kubernetes_wordpress/wordpress.yaml diff --git a/infrastructure/graduated/arch/arch-base.md b/active/os_arch/arch-base.md similarity index 100% rename from infrastructure/graduated/arch/arch-base.md rename to active/os_arch/arch-base.md diff --git a/infrastructure/graduated/arch/arch-workstation.md b/active/os_arch/arch-workstation.md similarity index 100% rename from infrastructure/graduated/arch/arch-workstation.md rename to active/os_arch/arch-workstation.md diff --git a/infrastructure/graduated/arch/arch_support_files/95-systemd-boot.hook b/active/os_arch/arch_support_files/95-systemd-boot.hook similarity index 100% rename from infrastructure/graduated/arch/arch_support_files/95-systemd-boot.hook rename to active/os_arch/arch_support_files/95-systemd-boot.hook diff --git a/infrastructure/graduated/arch/arch_support_files/arch.conf b/active/os_arch/arch_support_files/arch.conf similarity index 100% rename from infrastructure/graduated/arch/arch_support_files/arch.conf rename to active/os_arch/arch_support_files/arch.conf diff --git a/infrastructure/graduated/arch/arch_support_files/loader.conf b/active/os_arch/arch_support_files/loader.conf similarity index 100% rename from infrastructure/graduated/arch/arch_support_files/loader.conf rename to active/os_arch/arch_support_files/loader.conf diff --git a/infrastructure/graduated/arch/ath12k/ath12k-fw-repo b/active/os_arch/ath12k/ath12k-fw-repo similarity index 100% rename from infrastructure/graduated/arch/ath12k/ath12k-fw-repo rename to active/os_arch/ath12k/ath12k-fw-repo diff --git a/infrastructure/graduated/arch/ath12k/board.bin b/active/os_arch/ath12k/board.bin similarity index 100% rename from infrastructure/graduated/arch/ath12k/board.bin rename to active/os_arch/ath12k/board.bin diff --git a/infrastructure/graduated/arch/ath12k/regdb.bin b/active/os_arch/ath12k/regdb.bin similarity index 100% rename from infrastructure/graduated/arch/ath12k/regdb.bin rename to active/os_arch/ath12k/regdb.bin diff --git a/infrastructure/graduated/arch/deprecated.md b/active/os_arch/deprecated.md similarity index 100% rename from infrastructure/graduated/arch/deprecated.md rename to active/os_arch/deprecated.md diff --git a/infrastructure/graduated/arch/gaming.md b/active/os_arch/gaming.md similarity index 100% rename from infrastructure/graduated/arch/gaming.md rename to active/os_arch/gaming.md diff --git a/infrastructure/graduated/arch/help.md b/active/os_arch/help.md similarity index 100% rename from infrastructure/graduated/arch/help.md rename to active/os_arch/help.md diff --git a/infrastructure/graduated/arch/k3s.md b/active/os_arch/k3s.md similarity index 100% rename from infrastructure/graduated/arch/k3s.md rename to active/os_arch/k3s.md diff --git a/infrastructure/graduated/arch/kubernetes.md b/active/os_arch/kubernetes.md similarity index 100% rename from infrastructure/graduated/arch/kubernetes.md rename to active/os_arch/kubernetes.md diff --git a/infrastructure/graduated/arch/media/enhanced_4k_framework.png b/active/os_arch/media/enhanced_4k_framework.png similarity index 100% rename from infrastructure/graduated/arch/media/enhanced_4k_framework.png rename to active/os_arch/media/enhanced_4k_framework.png diff --git a/infrastructure/graduated/arch/media/steam_client_settings.png b/active/os_arch/media/steam_client_settings.png similarity index 100% rename from infrastructure/graduated/arch/media/steam_client_settings.png rename to active/os_arch/media/steam_client_settings.png diff --git a/infrastructure/graduated/arch/media/steam_host_settings.png b/active/os_arch/media/steam_host_settings.png similarity index 100% rename from infrastructure/graduated/arch/media/steam_host_settings.png rename to active/os_arch/media/steam_host_settings.png diff --git a/infrastructure/graduated/arch/media/unifi_wifi_config.png b/active/os_arch/media/unifi_wifi_config.png similarity index 100% rename from infrastructure/graduated/arch/media/unifi_wifi_config.png rename to active/os_arch/media/unifi_wifi_config.png diff --git a/infrastructure/graduated/debian/debian.md b/active/os_debian/debian.md similarity index 100% rename from infrastructure/graduated/debian/debian.md rename to active/os_debian/debian.md diff --git a/infrastructure/graduated/eos/README.md b/active/os_eos/eos.md similarity index 100% rename from infrastructure/graduated/eos/README.md rename to active/os_eos/eos.md diff --git a/infrastructure/graduated/fedora/fedora-apps.md b/active/os_fedora/fedora-apps.md similarity index 100% rename from infrastructure/graduated/fedora/fedora-apps.md rename to active/os_fedora/fedora-apps.md diff --git a/infrastructure/graduated/fedora/fedora-framework16.md b/active/os_fedora/fedora-framework16.md similarity index 100% rename from infrastructure/graduated/fedora/fedora-framework16.md rename to active/os_fedora/fedora-framework16.md diff --git a/infrastructure/graduated/fedora/fedora-kinoite.md b/active/os_fedora/fedora-kinoite.md similarity index 100% rename from infrastructure/graduated/fedora/fedora-kinoite.md rename to active/os_fedora/fedora-kinoite.md diff --git a/infrastructure/graduated/fedora/fedora-server.md b/active/os_fedora/fedora-server.md similarity index 99% rename from infrastructure/graduated/fedora/fedora-server.md rename to active/os_fedora/fedora-server.md index 581eec1..a76e958 100644 --- a/infrastructure/graduated/fedora/fedora-server.md +++ b/active/os_fedora/fedora-server.md @@ -430,7 +430,7 @@ firewall-cmd --reload ## Backups -Note: this assumes you've set up [an iscsi backup disk](/infrastructure/graduated/truenas/truenas.md#iscsi-backup-volumes) +Note: this assumes you've set up [an iscsi backup disk](/active/os_truenas/truenas.md#iscsi-backup-volumes) ### Connect to the ISCSI Backup Target @@ -517,7 +517,7 @@ rsync -av --progress --exclude '.snapshots' /btrfs/yellow/root /btrfs/backup-yel ### Regular Backups with Borg -See [borg.md](/systemd/graduated/borg/borg.md) +See [borg.md](/active/systemd_borg/borg.md) ## Optional Steps diff --git a/infrastructure/graduated/fedora/fedora.md b/active/os_fedora/fedora.md similarity index 100% rename from infrastructure/graduated/fedora/fedora.md rename to active/os_fedora/fedora.md diff --git a/infrastructure/graduated/grapheneos/grapheneos.md b/active/os_grapheneos/grapheneos.md similarity index 100% rename from infrastructure/graduated/grapheneos/grapheneos.md rename to active/os_grapheneos/grapheneos.md diff --git a/infrastructure/graduated/ios/README.md b/active/os_ios/ios.md similarity index 100% rename from infrastructure/graduated/ios/README.md rename to active/os_ios/ios.md diff --git a/infrastructure/graduated/manjaro/gaming_server.md b/active/os_manjaro/gaming_server.md similarity index 100% rename from infrastructure/graduated/manjaro/gaming_server.md rename to active/os_manjaro/gaming_server.md diff --git a/infrastructure/graduated/proxmox/proxmox.md b/active/os_proxmox/proxmox.md similarity index 100% rename from infrastructure/graduated/proxmox/proxmox.md rename to active/os_proxmox/proxmox.md diff --git a/infrastructure/graduated/truenas/truenas.md b/active/os_truenas/truenas.md similarity index 99% rename from infrastructure/graduated/truenas/truenas.md rename to active/os_truenas/truenas.md index ef6475e..168de3e 100644 --- a/infrastructure/graduated/truenas/truenas.md +++ b/active/os_truenas/truenas.md @@ -348,7 +348,7 @@ Note, for all "Name" fields use your domain with all "." replaced with "-" Examaple: `driveripper.reeselink.com` becomes `driveripper-reeselink-com` 1. Go to Credentials > Certificates and click ADD in the ACME DNS-Authenticators widget -2. Generate credentials for your domain via [AWS IAM](/cloud/graduated/aws_iam/aws_iam.md) +2. Generate credentials for your domain via [AWS IAM](/active/aws_iam/aws_iam.md) 3. Click ADD in the Certificate Signing Requests widget 1. Remember, only the SAN is required 4. Click the wrench icon next to the new CSR diff --git a/infrastructure/graduated/ubuntu/ubuntu-server-24.04.md b/active/os_ubuntu/ubuntu-server-24.04.md similarity index 100% rename from infrastructure/graduated/ubuntu/ubuntu-server-24.04.md rename to active/os_ubuntu/ubuntu-server-24.04.md diff --git a/podman/podman.md b/active/podman/podman.md similarity index 100% rename from podman/podman.md rename to active/podman/podman.md diff --git a/podman/graduated/caddy/caddy.container b/active/podman_caddy/caddy.container similarity index 100% rename from podman/graduated/caddy/caddy.container rename to active/podman_caddy/caddy.container diff --git a/podman/graduated/caddy/caddy.md b/active/podman_caddy/caddy.md similarity index 85% rename from podman/graduated/caddy/caddy.md rename to active/podman_caddy/caddy.md index e97b406..1ba6b61 100644 --- a/podman/graduated/caddy/caddy.md +++ b/active/podman_caddy/caddy.md @@ -13,8 +13,8 @@ Before you can create a Caddyfile you need records that point to your server. You can either create them manually in your DNS provider of choice or use the provided ddns service: -1. Update the [ddns caddy records](/podman/graduated/ddns/secrets/caddy_records.yaml) -2. Run the [caddy ansible playbook](/podman/graduated/ddns/ddns.md#ansible-caddy-records) +1. Update the [ddns caddy records](/active/podman_ddns/secrets/caddy_records.yaml) +2. Run the [caddy ansible playbook](/active/podman_ddns/ddns.md#ansible-caddy-records) ## Install Caddy @@ -42,10 +42,10 @@ Now you can install the Caddy service with something like: ```bash ansible-playbook \ -i ansible/inventory.yaml \ -podman/graduated/caddy/install_caddy.yaml +active/podman_caddy/install_caddy.yaml ``` -See ansible playbook [install_caddy.yaml](/podman/graduated/caddy/install_caddy.yaml.yaml) +See ansible playbook [install_caddy.yaml](/active/podman_caddy/install_caddy.yaml) ### Manual diff --git a/podman/graduated/caddy/install_caddy.yaml b/active/podman_caddy/install_caddy.yaml similarity index 100% rename from podman/graduated/caddy/install_caddy.yaml rename to active/podman_caddy/install_caddy.yaml diff --git a/podman/graduated/ddns/.python-version b/active/podman_ddns/.python-version similarity index 100% rename from podman/graduated/ddns/.python-version rename to active/podman_ddns/.python-version diff --git a/podman/graduated/ddns/.vscode/settings.json b/active/podman_ddns/.vscode/settings.json similarity index 100% rename from podman/graduated/ddns/.vscode/settings.json rename to active/podman_ddns/.vscode/settings.json diff --git a/podman/graduated/ddns/Containerfile b/active/podman_ddns/Containerfile similarity index 100% rename from podman/graduated/ddns/Containerfile rename to active/podman_ddns/Containerfile diff --git a/podman/graduated/ddns/ddns.container b/active/podman_ddns/ddns.container similarity index 100% rename from podman/graduated/ddns/ddns.container rename to active/podman_ddns/ddns.container diff --git a/podman/graduated/ddns/ddns.md b/active/podman_ddns/ddns.md similarity index 83% rename from podman/graduated/ddns/ddns.md rename to active/podman_ddns/ddns.md index e48dd2f..a74ae9b 100644 --- a/podman/graduated/ddns/ddns.md +++ b/active/podman_ddns/ddns.md @@ -15,8 +15,8 @@ This service will automatically keep ipv4 and ipv6 records updated in AWS Route5 **NOTE**: This requires the aws cli to be installed on each node with credentials that can modify records in route53. See -[aws_iam](/cloud/graduated/aws_iam/aws_iam.md) and -[aws_cli](/cloud/graduated/aws_cli/aws_cli.md) +[aws_iam](/active/aws_iam/aws_iam.md) and +[aws_cli](/active/aws_cli/aws_cli.md) ## Install @@ -53,9 +53,9 @@ ansible-playbook \ -i ansible/inventory.yaml \ # -l limits to a particular host -l 3dserver \ -podman/graduated/ddns/install_ddns.yaml \ +active/podman_ddns/install_ddns.yaml \ # -e brings in our secrets/records.yaml --e "@podman/graduated/ddns/secrets/records.yaml" +-e "@active/podman_ddns/secrets/records.yaml" ``` See ansible playbook [install_ddns.yaml](/install_ddns.yaml) @@ -66,8 +66,8 @@ See ansible playbook [install_ddns.yaml](/install_ddns.yaml) ansible-playbook \ -i ansible/inventory.yaml \ -l 3dserver \ -podman/graduated/ddns/install_ddns.yaml \ --e "@podman/graduated/ddns/secrets/caddy_records.yaml" +active/podman_ddns/install_ddns.yaml \ +-e "@active/podman_ddns/secrets/caddy_records.yaml" ``` #### Ansible Git Record @@ -76,8 +76,8 @@ podman/graduated/ddns/install_ddns.yaml \ ansible-playbook \ -i ansible/inventory.yaml \ -l podman \ -podman/graduated/ddns/install_ddns.yaml \ --e "@podman/graduated/ddns/secrets/git_record.yaml" +active/podman_ddns/install_ddns.yaml \ +-e "@active/podman_ddns/secrets/git_record.yaml" ``` #### Ansible Unifi External Records @@ -86,14 +86,14 @@ podman/graduated/ddns/install_ddns.yaml \ ansible-playbook \ -i ansible/inventory.yaml \ -l unifi-external \ -podman/graduated/ddns/install_ddns.yaml \ --e "@podman/graduated/ddns/secrets/unifi_external_record.yaml" +active/podman_ddns/install_ddns.yaml \ +-e "@active/podman_ddns/secrets/unifi_external_record.yaml" ``` #### Ansible Hostname reeselink records ```bash -export PLAYBOOK_PATH=podman/graduated/ddns +export PLAYBOOK_PATH=active/podman_ddns ansible-playbook \ -i ansible/inventory.yaml \ ${PLAYBOOK_PATH}/install_ddns.yaml \ diff --git a/podman/graduated/ddns/ddns.network b/active/podman_ddns/ddns.network similarity index 100% rename from podman/graduated/ddns/ddns.network rename to active/podman_ddns/ddns.network diff --git a/podman/graduated/ddns/ddns.timer b/active/podman_ddns/ddns.timer similarity index 100% rename from podman/graduated/ddns/ddns.timer rename to active/podman_ddns/ddns.timer diff --git a/podman/graduated/ddns/install_ddns.yaml b/active/podman_ddns/install_ddns.yaml similarity index 100% rename from podman/graduated/ddns/install_ddns.yaml rename to active/podman_ddns/install_ddns.yaml diff --git a/podman/graduated/ddns/pyproject.toml b/active/podman_ddns/pyproject.toml similarity index 100% rename from podman/graduated/ddns/pyproject.toml rename to active/podman_ddns/pyproject.toml diff --git a/podman/graduated/ddns/test_update.py b/active/podman_ddns/test_update.py similarity index 100% rename from podman/graduated/ddns/test_update.py rename to active/podman_ddns/test_update.py diff --git a/podman/graduated/ddns/update.py b/active/podman_ddns/update.py similarity index 100% rename from podman/graduated/ddns/update.py rename to active/podman_ddns/update.py diff --git a/podman/graduated/ddns/uv.lock b/active/podman_ddns/uv.lock similarity index 100% rename from podman/graduated/ddns/uv.lock rename to active/podman_ddns/uv.lock diff --git a/podman/graduated/gitea/compose.yaml b/active/podman_gitea/compose.yaml similarity index 100% rename from podman/graduated/gitea/compose.yaml rename to active/podman_gitea/compose.yaml diff --git a/podman/graduated/gitea/gitea.md b/active/podman_gitea/gitea.md similarity index 100% rename from podman/graduated/gitea/gitea.md rename to active/podman_gitea/gitea.md diff --git a/podman/graduated/gitea/quadlets/gitea.container b/active/podman_gitea/quadlets/gitea.container similarity index 100% rename from podman/graduated/gitea/quadlets/gitea.container rename to active/podman_gitea/quadlets/gitea.container diff --git a/podman/graduated/gitea/quadlets/gitea.network b/active/podman_gitea/quadlets/gitea.network similarity index 100% rename from podman/graduated/gitea/quadlets/gitea.network rename to active/podman_gitea/quadlets/gitea.network diff --git a/podman/graduated/gitea/quadlets/postgres.container b/active/podman_gitea/quadlets/postgres.container similarity index 100% rename from podman/graduated/gitea/quadlets/postgres.container rename to active/podman_gitea/quadlets/postgres.container diff --git a/podman/incubating/grafana/grafana.container b/active/podman_grafana/grafana.container similarity index 100% rename from podman/incubating/grafana/grafana.container rename to active/podman_grafana/grafana.container diff --git a/podman/incubating/grafana/grafana.md b/active/podman_grafana/grafana.md similarity index 77% rename from podman/incubating/grafana/grafana.md rename to active/podman_grafana/grafana.md index d19ff4c..7bed44a 100644 --- a/podman/incubating/grafana/grafana.md +++ b/active/podman_grafana/grafana.md @@ -13,15 +13,14 @@ podman run \ --name=grafana \ --volume grafana-storage:/var/lib/grafana \ --network=systemd-graphite \ -grafana/grafana-enterprise > podman/incubating/grafana/grafana.container +grafana/grafana-enterprise > active/podman_grafana/grafana.container ``` - Copy the graphite.container and graphite.network file to the server you want to run it on ```bash export PODMAN_SERVER= -scp podman/incubating/grafana/grafana.container $PODMAN_SERVER:/etc/containers/systemd/ +scp active/podman_grafana/grafana.container $PODMAN_SERVER:/etc/containers/systemd/ ssh $PODMAN_SERVER systemctl daemon-reload ssh $PODMAN_SERVER systemctl enable --now grafana.service diff --git a/podman/incubating/graphite/graphite.container b/active/podman_graphite/graphite.container similarity index 100% rename from podman/incubating/graphite/graphite.container rename to active/podman_graphite/graphite.container diff --git a/podman/incubating/graphite/graphite.md b/active/podman_graphite/graphite.md similarity index 71% rename from podman/incubating/graphite/graphite.md rename to active/podman_graphite/graphite.md index b883db2..d08b729 100644 --- a/podman/incubating/graphite/graphite.md +++ b/active/podman_graphite/graphite.md @@ -7,7 +7,7 @@ ```bash # Generate the network podman run ghcr.io/containers/podlet --description Graphite \ -podman network create --ipv6 graphite > podman/incubating/graphite/graphite.network +podman network create --ipv6 graphite > active/podman_graphite/graphite.network # Generate the systemd container service podman run ghcr.io/containers/podlet --description Graphite \ @@ -23,15 +23,15 @@ podman run \ -v graphite_configs:/opt/graphite/conf \ -v graphite_data:/opt/graphite/storage \ -v graphite_statsd_config:/opt/statsd/config \ -ghcr.io/deniszh/graphite-statsd > podman/incubating/graphite/graphite.container +ghcr.io/deniszh/graphite-statsd > active/podman_graphite/graphite.container ``` Copy the graphite.container and graphite.network file to the server you want to run it on ```bash export PODMAN_SERVER= -scp podman/incubating/graphite/graphite.network $PODMAN_SERVER:/etc/containers/systemd/ -scp podman/incubating/graphite/graphite.container $PODMAN_SERVER:/etc/containers/systemd/ +scp active/podman_graphite/graphite.network $PODMAN_SERVER:/etc/containers/systemd/ +scp active/podman_graphite/graphite.container $PODMAN_SERVER:/etc/containers/systemd/ ssh $PODMAN_SERVER systemctl daemon-reload ssh $PODMAN_SERVER systemctl start graphite.network diff --git a/podman/incubating/graphite/graphite.network b/active/podman_graphite/graphite.network similarity index 100% rename from podman/incubating/graphite/graphite.network rename to active/podman_graphite/graphite.network diff --git a/podman/graduated/iperf3/iperf3.md b/active/podman_iperf3/iperf3.md similarity index 100% rename from podman/graduated/iperf3/iperf3.md rename to active/podman_iperf3/iperf3.md diff --git a/podman/graduated/jellyfin/jellyfin.md b/active/podman_jellyfin/jellyfin.md similarity index 95% rename from podman/graduated/jellyfin/jellyfin.md rename to active/podman_jellyfin/jellyfin.md index 1fe8ec3..1981e91 100644 --- a/podman/graduated/jellyfin/jellyfin.md +++ b/active/podman_jellyfin/jellyfin.md @@ -48,7 +48,7 @@ mkdir jellyfin-config jellyfin-cache jellyfin-media ```bash # Copy the files to the server -scp -r podman/graduated/jellyfin/quadlets/. jellyfin:~/.config/containers/systemd/ +scp -r active/podman_jellyfin/quadlets/. jellyfin:~/.config/containers/systemd/ ssh jellyfin systemctl --user daemon-reload ssh jellyfin systemctl --user start jellyfin ssh jellyfin journalctl --user -xeu jellyfin diff --git a/podman/graduated/jellyfin/quadlets/jellyfin.container b/active/podman_jellyfin/quadlets/jellyfin.container similarity index 100% rename from podman/graduated/jellyfin/quadlets/jellyfin.container rename to active/podman_jellyfin/quadlets/jellyfin.container diff --git a/podman/graduated/jellyfin/quadlets/jellyfin.network b/active/podman_jellyfin/quadlets/jellyfin.network similarity index 100% rename from podman/graduated/jellyfin/quadlets/jellyfin.network rename to active/podman_jellyfin/quadlets/jellyfin.network diff --git a/podman/graduated/localai/localai.md b/active/podman_localai/localai.md similarity index 99% rename from podman/graduated/localai/localai.md rename to active/podman_localai/localai.md index d8052ef..6da2156 100644 --- a/podman/graduated/localai/localai.md +++ b/active/podman_localai/localai.md @@ -194,7 +194,7 @@ letsencrypt certificate generated and in the place nginx expects it. Before we can use certbot we need aws credentials. Note this will be different if you use a different DNS provider. -See [generating AWS credentials](cloud/graduated/aws_iam/README.md) +See [generating AWS credentials](active/cloud_aws_iam/README.md) ```bash curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" diff --git a/podman/graduated/nextcloud/nextcloud-aio.md b/active/podman_nextcloud/nextcloud-aio.md similarity index 100% rename from podman/graduated/nextcloud/nextcloud-aio.md rename to active/podman_nextcloud/nextcloud-aio.md diff --git a/podman/graduated/nginx/nginx.conf b/active/podman_nginx/nginx.conf similarity index 100% rename from podman/graduated/nginx/nginx.conf rename to active/podman_nginx/nginx.conf diff --git a/podman/graduated/nginx/nginx.md b/active/podman_nginx/nginx.md similarity index 100% rename from podman/graduated/nginx/nginx.md rename to active/podman_nginx/nginx.md diff --git a/podman/graduated/ollama/ollama.md b/active/podman_ollama/ollama.md similarity index 99% rename from podman/graduated/ollama/ollama.md rename to active/podman_ollama/ollama.md index 2f5c517..6f1d020 100644 --- a/podman/graduated/ollama/ollama.md +++ b/active/podman_ollama/ollama.md @@ -100,7 +100,7 @@ letsencrypt certificate generated and in the place nginx expects it. Before we can use certbot we need aws credentials. Note this will be different if you use a different DNS provider. -See [generating AWS credentials](cloud/graduated/aws_iam/README.md) +See [generating AWS credentials](active/cloud_aws_iam/README.md) ```bash curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" diff --git a/podman/incubating/compose/cloudflared-compose.yaml b/active/podman_pihole/cloudflared-compose.yaml similarity index 80% rename from podman/incubating/compose/cloudflared-compose.yaml rename to active/podman_pihole/cloudflared-compose.yaml index f4b12b5..49f4b3d 100644 --- a/podman/incubating/compose/cloudflared-compose.yaml +++ b/active/podman_pihole/cloudflared-compose.yaml @@ -1,6 +1,6 @@ version: "3" -# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ +# More info at https://docs.pi-hole.net/guides/dns/cloudflared/?h=cloud services: cloudflared: container_name: cloudflared diff --git a/podman/incubating/compose/pihole-compose.yaml b/active/podman_pihole/pihole-compose.yaml similarity index 100% rename from podman/incubating/compose/pihole-compose.yaml rename to active/podman_pihole/pihole-compose.yaml diff --git a/podman/incubating/README.md b/active/podman_pihole/pihole.md similarity index 87% rename from podman/incubating/README.md rename to active/podman_pihole/pihole.md index 99a8881..da8320b 100644 --- a/podman/incubating/README.md +++ b/active/podman_pihole/pihole.md @@ -3,7 +3,6 @@ - [Podman](#podman) - [Notes](#notes) - [Podman systemd files](#podman-systemd-files) - - [iperf3](#iperf3) - [pihole](#pihole) - [Cloudflared](#cloudflared) - [Update yellow quadlets](#update-yellow-quadlets) @@ -34,19 +33,6 @@ podman run \ Copy these files to `/usr/share/containers/systemd/` -### iperf3 - -```bash -podman run \ - -v ./podman/compose:/compose \ - -v ./podman/quadlets:/quadlets \ - quay.io/k9withabone/podlet \ - -f /quadlets \ - -i \ - --overwrite \ - compose /compose/iperf3-compose.yaml -``` - ### pihole @@ -88,4 +74,4 @@ podman run \ ```bash ansible-playbook -i ./ansible/inventory.yaml podman/update-quadlets.yaml -``` +``` \ No newline at end of file diff --git a/podman/incubating/update-quadlets.yaml b/active/podman_pihole/update-quadlets.yaml similarity index 95% rename from podman/incubating/update-quadlets.yaml rename to active/podman_pihole/update-quadlets.yaml index 551acd8..02ea4a1 100644 --- a/podman/incubating/update-quadlets.yaml +++ b/active/podman_pihole/update-quadlets.yaml @@ -9,7 +9,6 @@ group: root mode: '0644' loop: - - ./quadlets/iperf3.container - ./quadlets/pihole.container - ./quadlets/cloudflared.container - ./quadlets/podman1.network diff --git a/infrastructure/graduated/distoolbox/arch-build.sh b/active/software_distoolbox/arch-build.sh similarity index 75% rename from infrastructure/graduated/distoolbox/arch-build.sh rename to active/software_distoolbox/arch-build.sh index ac9ab98..61c1434 100755 --- a/infrastructure/graduated/distoolbox/arch-build.sh +++ b/active/software_distoolbox/arch-build.sh @@ -15,16 +15,16 @@ podman image pull podman.io/archlinux:latest # Run the build for the CPU image podman build \ -t gitea.reeseapps.com/services/arch-toolbox:$DEBUG_TAG \ - -f ./infrastructure/graduated/distoolbox/arch-toolbox.containerfile \ + -f ./active/software_distoolbox/arch-toolbox.containerfile \ --target cpu \ --load \ --no-cache \ - ./infrastructure/graduated/distoolbox + ./active/software_distoolbox # Run the build for the AMD gpu image podman build \ -t gitea.reeseapps.com/services/arch-toolbox-amdgpu:$DEBUG_TAG \ - -f ./infrastructure/graduated/distoolbox/arch-toolbox.containerfile \ + -f ./active/software_distoolbox/arch-toolbox.containerfile \ --target amdgpu \ --load \ - ./infrastructure/graduated/distoolbox + .active/software_distoolbox diff --git a/infrastructure/graduated/distoolbox/arch-toolbox-supporting-files/arch-toolbox-default-useradd b/active/software_distoolbox/arch-toolbox-supporting-files/arch-toolbox-default-useradd similarity index 100% rename from infrastructure/graduated/distoolbox/arch-toolbox-supporting-files/arch-toolbox-default-useradd rename to active/software_distoolbox/arch-toolbox-supporting-files/arch-toolbox-default-useradd diff --git a/infrastructure/graduated/distoolbox/arch-toolbox-supporting-files/arch-toolbox-tmux.conf b/active/software_distoolbox/arch-toolbox-supporting-files/arch-toolbox-tmux.conf similarity index 100% rename from infrastructure/graduated/distoolbox/arch-toolbox-supporting-files/arch-toolbox-tmux.conf rename to active/software_distoolbox/arch-toolbox-supporting-files/arch-toolbox-tmux.conf diff --git a/infrastructure/graduated/distoolbox/arch-toolbox-supporting-files/ollama-kill b/active/software_distoolbox/arch-toolbox-supporting-files/ollama-kill similarity index 100% rename from infrastructure/graduated/distoolbox/arch-toolbox-supporting-files/ollama-kill rename to active/software_distoolbox/arch-toolbox-supporting-files/ollama-kill diff --git a/infrastructure/graduated/distoolbox/arch-toolbox-supporting-files/ollama-log b/active/software_distoolbox/arch-toolbox-supporting-files/ollama-log similarity index 100% rename from infrastructure/graduated/distoolbox/arch-toolbox-supporting-files/ollama-log rename to active/software_distoolbox/arch-toolbox-supporting-files/ollama-log diff --git a/infrastructure/graduated/distoolbox/arch-toolbox-supporting-files/ollama-serve b/active/software_distoolbox/arch-toolbox-supporting-files/ollama-serve similarity index 100% rename from infrastructure/graduated/distoolbox/arch-toolbox-supporting-files/ollama-serve rename to active/software_distoolbox/arch-toolbox-supporting-files/ollama-serve diff --git a/infrastructure/graduated/distoolbox/arch-toolbox-supporting-files/zshrc b/active/software_distoolbox/arch-toolbox-supporting-files/zshrc similarity index 100% rename from infrastructure/graduated/distoolbox/arch-toolbox-supporting-files/zshrc rename to active/software_distoolbox/arch-toolbox-supporting-files/zshrc diff --git a/infrastructure/graduated/distoolbox/arch-toolbox.containerfile b/active/software_distoolbox/arch-toolbox.containerfile similarity index 100% rename from infrastructure/graduated/distoolbox/arch-toolbox.containerfile rename to active/software_distoolbox/arch-toolbox.containerfile diff --git a/infrastructure/graduated/distoolbox/bump.txt b/active/software_distoolbox/bump.txt similarity index 100% rename from infrastructure/graduated/distoolbox/bump.txt rename to active/software_distoolbox/bump.txt diff --git a/infrastructure/graduated/distoolbox/distoolbox.md b/active/software_distoolbox/distoolbox.md similarity index 97% rename from infrastructure/graduated/distoolbox/distoolbox.md rename to active/software_distoolbox/distoolbox.md index f884aa2..154ee75 100644 --- a/infrastructure/graduated/distoolbox/distoolbox.md +++ b/active/software_distoolbox/distoolbox.md @@ -112,7 +112,7 @@ alias rtbox="podman container stop $TBOX_NAME && podman container rm $TBOX_NAME" You can build and run the image with the `arch-build.sh` script (See `Containerfile` in this directory): ```bash -./infrastructure/graduated/distoolbox/arch-build.sh +./active/software_distoolbox/arch-build.sh ``` In vscode you can set this as your default build task for homelab and trigger it with @@ -129,7 +129,7 @@ In vscode you can set this as your default build task for homelab and trigger it { "label": "Build arch-toolbox", "type": "shell", - "command": "./infrastructure/graduated/distoolbox/arch-build.sh", + "command": "./active/software_distoolbox/arch-build.sh", "problemMatcher": [], "group": { "kind": "build", diff --git a/software/incubating/ffmpeg/ffmpeg.md b/active/software_ffmpeg/ffmpeg.md similarity index 100% rename from software/incubating/ffmpeg/ffmpeg.md rename to active/software_ffmpeg/ffmpeg.md diff --git a/software/incubating/ffmpeg/mylist.txt b/active/software_ffmpeg/mylist.txt similarity index 100% rename from software/incubating/ffmpeg/mylist.txt rename to active/software_ffmpeg/mylist.txt diff --git a/software/incubating/magick/magick.md b/active/software_magick/magick.md similarity index 100% rename from software/incubating/magick/magick.md rename to active/software_magick/magick.md diff --git a/hardware/incubating/mm2/mm2.md b/active/software_mm2/mm2.md similarity index 100% rename from hardware/incubating/mm2/mm2.md rename to active/software_mm2/mm2.md diff --git a/hardware/graduated/pivpn/README.md b/active/software_pivpn/pivpn.md similarity index 100% rename from hardware/graduated/pivpn/README.md rename to active/software_pivpn/pivpn.md diff --git a/hardware/graduated/qmk/qmk.md b/active/software_qmk/qmk.md similarity index 100% rename from hardware/graduated/qmk/qmk.md rename to active/software_qmk/qmk.md diff --git a/software/graduated/tmux/tmux.md b/active/software_tmux/tmux.md similarity index 100% rename from software/graduated/tmux/tmux.md rename to active/software_tmux/tmux.md diff --git a/hardware/graduated/unifi/README.md b/active/software_unifi/unifi.md similarity index 100% rename from hardware/graduated/unifi/README.md rename to active/software_unifi/unifi.md diff --git a/systemd/graduated/borg/borg.md b/active/systemd_borg/borg.md similarity index 100% rename from systemd/graduated/borg/borg.md rename to active/systemd_borg/borg.md diff --git a/systemd/graduated/borg/borg.service b/active/systemd_borg/borg.service similarity index 100% rename from systemd/graduated/borg/borg.service rename to active/systemd_borg/borg.service diff --git a/systemd/graduated/borg/borg.sh b/active/systemd_borg/borg.sh similarity index 100% rename from systemd/graduated/borg/borg.sh rename to active/systemd_borg/borg.sh diff --git a/systemd/graduated/borg/borg.timer b/active/systemd_borg/borg.timer similarity index 100% rename from systemd/graduated/borg/borg.timer rename to active/systemd_borg/borg.timer diff --git a/systemd/graduated/k3s/k3s.md b/active/systemd_k3s/k3s.md similarity index 93% rename from systemd/graduated/k3s/k3s.md rename to active/systemd_k3s/k3s.md index 7018690..3952d79 100644 --- a/systemd/graduated/k3s/k3s.md +++ b/active/systemd_k3s/k3s.md @@ -117,7 +117,7 @@ With cockpit: 5. Click into the new network 6. Turn off IPv4 and IPv6 DNS (it will overload the resolv.conf hosts limit) 7. Turn on the network interface -8. Attempt to ping the acquired address(es) +8. Attempt to ping the acquired address(es) ### Installation @@ -153,13 +153,13 @@ metallb/metallb MetalLB doesn't know what IP addresses are available for it to allocate so we'll have to provide it with a list. The -[metallb-addresspool.yaml](/kubernetes/graduated/metallb/addresspool.yaml) has +[metallb-addresspool.yaml](/active/kubernetes_metallb/addresspool.yaml) has the configuration for our available pools. Note these should match the VLAN you created above. ```bash # create the metallb allocation pool -kubectl apply -f kubernetes/graduated/metallb/addresspool.yaml +kubectl apply -f active/kubernetes_metallb/addresspool.yaml ``` You'll need to annotate your service as follows if you want an external IP: @@ -178,7 +178,7 @@ spec: Then test with ```bash -kubectl apply -f systemd/graduated/k3s/tests/metallb-test.yaml +kubectl apply -f active/systemd_k3s/tests/metallb-test.yaml ``` ## External DNS @@ -210,7 +210,7 @@ kubectl create secret generic external-dns \ helm repo add external-dns https://kubernetes-sigs.github.io/external-dns/ helm upgrade --install external-dns external-dns/external-dns \ ---values kubernetes/graduated/external-dns/values.yaml \ +--values active/kubernetes_external-dns/values.yaml \ --namespace kube-system ``` @@ -234,7 +234,7 @@ helm repo update helm upgrade --install \ ingress-nginx \ ingress-nginx/ingress-nginx \ - --values kubernetes/graduated/ingress-nginx/values.yaml \ + --values active/kubernetes_ingress-nginx/values.yaml \ --namespace kube-system ``` @@ -303,16 +303,16 @@ You can test if your ingress is working with: ```bash # Navigate to demo.reeseapps.com -kubectl apply -f infrastructure/graduated/k3s/tests/ingress-nginx-test.yaml +kubectl apply -f active/infrastructure_k3s/tests/ingress-nginx-test.yaml # Cleanup -kubectl delete -f infrastructure/graduated/k3s/tests/ingress-nginx-test.yaml +kubectl delete -f active/infrastructure_k3s/tests/ingress-nginx-test.yaml ``` ## Test Minecraft Server ```bash -helm upgrade --install minecraft kubernetes/graduated/minecraft -n minecraft --create-namespace +helm upgrade --install minecraft active/kubernetes_minecraft -n minecraft --create-namespace ``` ## Automatic Updates @@ -323,7 +323,7 @@ helm upgrade --install minecraft kubernetes/graduated/minecraft -n minecraft --c kubectl create namespace system-upgrade kubectl apply -f https://github.com/rancher/system-upgrade-controller/releases/latest/download/system-upgrade-controller.yaml kubectl apply -f https://github.com/rancher/system-upgrade-controller/releases/latest/download/crd.yaml -kubectl apply -f infrastructure/graduated/k3s/upgrade-plan.yaml +kubectl apply -f active/infrastructure_k3s/upgrade-plan.yaml # Check plan kubectl get plan -n system-upgrade diff --git a/systemd/graduated/k3s/tests/democratic-csi-pvc-test.yaml b/active/systemd_k3s/tests/democratic-csi-pvc-test.yaml similarity index 100% rename from systemd/graduated/k3s/tests/democratic-csi-pvc-test.yaml rename to active/systemd_k3s/tests/democratic-csi-pvc-test.yaml diff --git a/systemd/graduated/k3s/tests/ffmpeg.yaml b/active/systemd_k3s/tests/ffmpeg.yaml similarity index 100% rename from systemd/graduated/k3s/tests/ffmpeg.yaml rename to active/systemd_k3s/tests/ffmpeg.yaml diff --git a/systemd/graduated/k3s/tests/ingress-nginx-test.yaml b/active/systemd_k3s/tests/ingress-nginx-test.yaml similarity index 100% rename from systemd/graduated/k3s/tests/ingress-nginx-test.yaml rename to active/systemd_k3s/tests/ingress-nginx-test.yaml diff --git a/systemd/graduated/k3s/tests/metallb-test.yaml b/active/systemd_k3s/tests/metallb-test.yaml similarity index 100% rename from systemd/graduated/k3s/tests/metallb-test.yaml rename to active/systemd_k3s/tests/metallb-test.yaml diff --git a/systemd/graduated/k3s/tests/statefulset-example.yaml b/active/systemd_k3s/tests/statefulset-example.yaml similarity index 100% rename from systemd/graduated/k3s/tests/statefulset-example.yaml rename to active/systemd_k3s/tests/statefulset-example.yaml diff --git a/systemd/graduated/k3s/upgrade-plan.yaml b/active/systemd_k3s/upgrade-plan.yaml similarity index 100% rename from systemd/graduated/k3s/upgrade-plan.yaml rename to active/systemd_k3s/upgrade-plan.yaml diff --git a/systemd/graduated/qemu/README.md b/active/systemd_qemu/qemu.md similarity index 100% rename from systemd/graduated/qemu/README.md rename to active/systemd_qemu/qemu.md diff --git a/systemd/incubating/stablediffusion/nginx.conf b/active/systemd_stablediffusion/nginx.conf similarity index 100% rename from systemd/incubating/stablediffusion/nginx.conf rename to active/systemd_stablediffusion/nginx.conf diff --git a/systemd/incubating/stablediffusion/reesimulate.reeseapps.com b/active/systemd_stablediffusion/reesimulate.reeseapps.com similarity index 100% rename from systemd/incubating/stablediffusion/reesimulate.reeseapps.com rename to active/systemd_stablediffusion/reesimulate.reeseapps.com diff --git a/systemd/incubating/stablediffusion/stablediffusion.md b/active/systemd_stablediffusion/stablediffusion.md similarity index 100% rename from systemd/incubating/stablediffusion/stablediffusion.md rename to active/systemd_stablediffusion/stablediffusion.md diff --git a/systemd/graduated/unifi-server/README.md b/active/systemd_unifi-server/unifi-server.md similarity index 91% rename from systemd/graduated/unifi-server/README.md rename to active/systemd_unifi-server/unifi-server.md index 7b7c89f..083e126 100644 --- a/systemd/graduated/unifi-server/README.md +++ b/active/systemd_unifi-server/unifi-server.md @@ -4,7 +4,7 @@ ## Prereqs -This runs best on Ubuntu 20.04. See `infrastructure/graduated/ubuntu`. +This runs best on Ubuntu 20.04. See active/`infrastructure_ubuntu`. ## Install diff --git a/cloud/incubating/aws_ses/README.md b/cloud/incubating/aws_ses/README.md deleted file mode 100644 index b457461..0000000 --- a/cloud/incubating/aws_ses/README.md +++ /dev/null @@ -1 +0,0 @@ -# AWS SES \ No newline at end of file diff --git a/kubernetes/kubernetes.md b/kubernetes/kubernetes.md deleted file mode 100644 index f706cbf..0000000 --- a/kubernetes/kubernetes.md +++ /dev/null @@ -1,3 +0,0 @@ -# Kubernetes - -See [k3s](/systemd/graduated/k3s/k3s.md) \ No newline at end of file diff --git a/podman/incubating/compose/iperf3-compose.yaml b/podman/incubating/compose/iperf3-compose.yaml deleted file mode 100644 index 4ea079e..0000000 --- a/podman/incubating/compose/iperf3-compose.yaml +++ /dev/null @@ -1,12 +0,0 @@ -version: "3" - -services: - iperf3: - container_name: iperf3 - image: docker.io/networkstatic/iperf3:latest - ports: - - "5202:5201/tcp" - command: -s - restart: unless-stopped - networks: - - podman1 diff --git a/podman/incubating/quadlets/cloudflared.container b/podman/incubating/quadlets/cloudflared.container deleted file mode 100644 index 5352d4f..0000000 --- a/podman/incubating/quadlets/cloudflared.container +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Wants=network-online.target - -[Container] -ContainerName=cloudflared -Exec=proxy-dns --address 0.0.0.0 --port 5053 --upstream https://1.1.1.1/dns-query --upstream https://1.0.0.1/dns-query -Image=docker.io/cloudflare/cloudflared:2024.5.0 -Network=podman1.network -PublishPort=0.0.0.0:5053:5053/tcp -PublishPort=0.0.0.0:5053:5053/udp - -[Service] -Restart=always - -[Install] -WantedBy=default.target diff --git a/podman/incubating/quadlets/iperf3.container b/podman/incubating/quadlets/iperf3.container deleted file mode 100644 index fa0d224..0000000 --- a/podman/incubating/quadlets/iperf3.container +++ /dev/null @@ -1,12 +0,0 @@ -[Container] -ContainerName=iperf3 -Exec=-s -Image=docker.io/networkstatic/iperf3:latest -Network=podman1.network -PublishPort=0.0.0.0:5202:5201/tcp - -[Service] -Restart=always - -[Install] -WantedBy=default.target diff --git a/podman/incubating/quadlets/pihole.container b/podman/incubating/quadlets/pihole.container deleted file mode 100644 index c4abb7d..0000000 --- a/podman/incubating/quadlets/pihole.container +++ /dev/null @@ -1,19 +0,0 @@ -[Unit] -Wants=network-online.target - -[Container] -ContainerName=pihole -Environment=TZ=America/Chicago -Image=docker.io/pihole/pihole:2024.05.0 -Network=podman1.network -PublishPort=0.0.0.0:53:53/tcp -PublishPort=0.0.0.0:53:53/udp -PublishPort=0.0.0.0:8081:80/tcp -Volume=pihole:/etc/pihole -Volume=dnsmasq:/etc/dnsmasq.d - -[Service] -Restart=always - -[Install] -WantedBy=default.target diff --git a/podman/incubating/quadlets/podman1.network b/podman/incubating/quadlets/podman1.network deleted file mode 100644 index 504a876..0000000 --- a/podman/incubating/quadlets/podman1.network +++ /dev/null @@ -1,3 +0,0 @@ -# podman1.network -[Network] -IPv6=true diff --git a/project_readme_template.md b/project_readme_template.md new file mode 100644 index 0000000..a634adb --- /dev/null +++ b/project_readme_template.md @@ -0,0 +1,26 @@ +# Project Name + +## Requires + +- cloud +- infrastructure +- podman +- docker +- kubernetes +- etc. + +## Install + +## Config + +## Hardening + +## Upgrade + +## Maintenance + +## Uninstall + +## Backup + +## Restore diff --git a/retired/kubernetes/old_pvc_mappings.txt b/retired/kubernetes/old_pvc_mappings.txt new file mode 100644 index 0000000..434db36 --- /dev/null +++ b/retired/kubernetes/old_pvc_mappings.txt @@ -0,0 +1,25 @@ +alex alex-wordpress Bound pvc-0a8da478-b04c-46e7-a940-40b782b89892 10Gi RWO zfs-iscsi-enc0 245d +alex data-alex-wordpress-mariadb-0 Bound pvc-1d8aeac7-a441-4059-9607-ee53d2344e41 8Gi RWO zfs-iscsi-enc0 245d +courtniecraft courtniecraft Bound pvc-76f21642-5c85-4c0f-b406-42b4f8d65509 32Gi RWO zfs-nfs-enc1 236d +gitea-staging data-gitea-postgresql-0 Bound pvc-775359a0-7a83-4ddd-8113-d1535a2fdbd3 10Gi RWO zfs-iscsi-enc1 164d +gitea-staging data-gitea-staging-0 Bound pvc-4407c174-1778-4ade-9c1d-695d5c37e278 10Gi RWO zfs-iscsi-enc0 164d +gitea-staging redis-data-gitea-redis-cluster-0 Bound pvc-f2f2c4dd-65e7-4d20-afe3-6b7938dda419 8Gi RWO zfs-iscsi-enc1 164d +gitea-staging redis-data-gitea-redis-cluster-1 Bound pvc-6149eb96-70c5-4d1f-9bb4-5169e22030ce 8Gi RWO zfs-iscsi-enc1 164d +gitea-staging redis-data-gitea-redis-cluster-2 Bound pvc-bdacee52-e5dd-43f9-9da2-679ccff183bf 8Gi RWO zfs-iscsi-enc1 164d +gitea data-gitea-0 Bound pvc-d5090258-cf20-4f2e-a5cf-330ac00d0049 10Gi RWO zfs-iscsi-enc0 471d +gitea data-gitea-postgresql-0 Bound pvc-1e39ff4f-35ab-44a5-bf58-1a23c0639ef1 10Gi RWO zfs-iscsi-enc1 458d +gitea gitea-shared-storage Bound pvc-44d60e8a-2d69-430e-ba4d-aeede0c1ab0a 10Gi RWO zfs-iscsi-enc0 299d +gitea redis-data-gitea-redis-cluster-0 Bound pvc-6b5c9611-fc03-431d-8bf2-9a0d3c90ef5a 8Gi RWO zfs-iscsi-enc1 14d +gitea redis-data-gitea-redis-cluster-1 Bound pvc-5e01df53-ffd1-4fb6-a58e-ac99968a1a2c 8Gi RWO zfs-iscsi-enc1 14d +gitea redis-data-gitea-redis-cluster-2 Bound pvc-97ea5dc3-e86a-4582-a8f7-60ed4545ec51 8Gi RWO zfs-iscsi-enc1 14d +grafana grafana-pvc Bound pvc-624017d3-7b0c-44f7-bf9f-a6a74515526f 1Gi RWO zfs-iscsi-enc1 171d +jellyfin jellyfin-cache Bound pvc-6a7fde87-39da-4cd7-a36d-127655131c10 128Gi RWO zfs-iscsi-enc1 389d +jellyfin jellyfin-config Bound pvc-5938d42c-bdc4-40b4-9396-c3f3f91b39cc 8Gi RWO zfs-iscsi-enc0 389d +modcraft modcraft Bound pvc-3bf29bfa-db3b-4c3d-8cd6-2044365f4672 32Gi RWX zfs-nfs-enc1 263d +nextcloud nextcloud-data Bound pvc-6eef3977-cacb-4d2b-b9a5-005a2ce00717 2Ti RWO zfs-iscsi-enc0 472d +nextcloud nextcloud-html-iops Bound pvc-68e20a7f-eddf-43f3-80fc-f007dbb4e1c1 16Gi RWO zfs-iscsi-enc1 438d +nextcloud nextcloud-postgres-iops Bound pvc-462f4c54-e2d5-4380-b07e-2bdc5a019e5a 32Gi RWO zfs-iscsi-enc1 438d +nextcloud nextcloud-redis-iops Bound pvc-30ba95ad-9798-46f3-8d08-7263e68e6c9f 32Gi RWO zfs-nfs-enc1 236d +nimcraft nimcraft Bound pvc-ccaace81-bd69-4441-8de1-3b2b24baa7af 32Gi RWO zfs-nfs-enc1 265d +snapdrop snapdrop-config Bound pvc-15a6e867-1d47-4a1d-a8e5-f26974a71381 8Gi RWO zfs-iscsi-enc0 390d +testcraft testcraft Bound pvc-f88c66fa-feb2-4ff5-85e9-d1bbafa3cc78 32Gi RWO zfs-nfs-enc1 264d diff --git a/kubernetes/retired/democratic-csi/README.md b/retired/kubernetes_democratic-csi/democratic-csi.md similarity index 100% rename from kubernetes/retired/democratic-csi/README.md rename to retired/kubernetes_democratic-csi/democratic-csi.md diff --git a/kubernetes/retired/democratic-csi/generic-nfs-enc1.yaml b/retired/kubernetes_democratic-csi/generic-nfs-enc1.yaml similarity index 100% rename from kubernetes/retired/democratic-csi/generic-nfs-enc1.yaml rename to retired/kubernetes_democratic-csi/generic-nfs-enc1.yaml diff --git a/kubernetes/retired/democratic-csi/truenas-iscsi-enc0.yaml b/retired/kubernetes_democratic-csi/truenas-iscsi-enc0.yaml similarity index 100% rename from kubernetes/retired/democratic-csi/truenas-iscsi-enc0.yaml rename to retired/kubernetes_democratic-csi/truenas-iscsi-enc0.yaml diff --git a/kubernetes/retired/democratic-csi/truenas-iscsi-enc1.yaml b/retired/kubernetes_democratic-csi/truenas-iscsi-enc1.yaml similarity index 100% rename from kubernetes/retired/democratic-csi/truenas-iscsi-enc1.yaml rename to retired/kubernetes_democratic-csi/truenas-iscsi-enc1.yaml diff --git a/kubernetes/retired/democratic-csi/truenas-nfs-enc1.yaml b/retired/kubernetes_democratic-csi/truenas-nfs-enc1.yaml similarity index 100% rename from kubernetes/retired/democratic-csi/truenas-nfs-enc1.yaml rename to retired/kubernetes_democratic-csi/truenas-nfs-enc1.yaml diff --git a/retired/kubernetes_helm_repository/Dockerfile b/retired/kubernetes_helm_repository/Dockerfile new file mode 100644 index 0000000..69139fb --- /dev/null +++ b/retired/kubernetes_helm_repository/Dockerfile @@ -0,0 +1,2 @@ +FROM nginx +COPY charts /usr/share/nginx/html diff --git a/retired/kubernetes_helm_repository/charts/index.yaml b/retired/kubernetes_helm_repository/charts/index.yaml new file mode 100644 index 0000000..c18b51c --- /dev/null +++ b/retired/kubernetes_helm_repository/charts/index.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +entries: + repository: + - apiVersion: v2 + appVersion: 1.16.0 + created: "2023-03-25T14:59:38.161362245-04:00" + description: A Helm repository chart + digest: 41013d6705233e1b686cfc9ed6a922f62c63e5ac4e8f1a7405ea1a9042d7b3ec + name: repository + type: application + urls: + - repository-0.1.0.tgz + version: 0.1.0 +generated: "2023-03-25T14:59:38.160918033-04:00" diff --git a/retired/kubernetes_helm_repository/charts/repository-0.1.0.tgz b/retired/kubernetes_helm_repository/charts/repository-0.1.0.tgz new file mode 100644 index 0000000..59f2f75 Binary files /dev/null and b/retired/kubernetes_helm_repository/charts/repository-0.1.0.tgz differ diff --git a/retired/kubernetes_helm_repository/docker-compose.yaml b/retired/kubernetes_helm_repository/docker-compose.yaml new file mode 100644 index 0000000..b7991f8 --- /dev/null +++ b/retired/kubernetes_helm_repository/docker-compose.yaml @@ -0,0 +1,8 @@ +version: '3' + +services: + repo: + image: ducoterra/helm-repository:latest + build: . + ports: + - 8080:80 diff --git a/retired/kubernetes_helm_repository/helm_repository.md b/retired/kubernetes_helm_repository/helm_repository.md new file mode 100644 index 0000000..5bcdc0c --- /dev/null +++ b/retired/kubernetes_helm_repository/helm_repository.md @@ -0,0 +1,87 @@ +# Personal Helm Repository + +A helm repository is really, really simple. It's a static website that serves, at least, +a file called `index.yaml`. This file is auto-generated (see [Adding a chart](#adding-a-chart) +below) via helm commands. + +Charts are added by copying their respective tgz archives into the webserver's content +directory. For example: /usr/share/nginx/html when using nginx. + +Since charts are usually small you don't need a volume, you can copy the contents of your +charts directory into the webserver's docker image and serve a completely stateless repository. +You could potentially have a repository for each project or have an org-wide repository +that gets built automatically with something like gitlab/github pages. + +## Gettings started + +Create a folder called "charts". + +Run `helm repo index charts`. An `index.yaml` will be created. It shouldn't have anything +in it. + +Now you can run `podman-compose build` to create the image. This will copy the charts +folder into an nginx container. `podman-compose push` will upload the container to the +registry. + +## Deploying the Repository + +We can use the local chart (for now) to deploy the chart image. + +```bash +helm upgrade --install \ + chart-repository \ + ./repository \ + --namespace chart-repository \ + --create-namespace +``` + +## Using the Repository + +You can add the repository to your local helm client like any other: + +```bash +helm repo add reeseapps https://charts.reeseapps.com +``` + +You can view the existing charts with + +```bash +helm search repo reeseapps +``` + +Though nothing will show up right now... + +## Adding a chart + +We can add a chart by copying its .tgz package into `charts/`. For example: + +```bash +helm package ./repository +mv repository-0.1.0.tgz charts/ +``` + +Now recreate the index with + +```bash +helm repo index charts +``` + +You should see a new entry in the index.yaml. + +## Updating the image + +Now that you have something in your index, we can update the image by following the +same process we used to deploy it: + +```bash +podman-compose build +podman-compose push +helm upgrade --install \ + chart-repository \ + ./repository \ + --namespace chart-repository \ + --create-namespace +``` + +Now run `helm repo update` and `helm search repo reeseapps`. You should see the new +chart added. diff --git a/retired/kubernetes_helm_repository/repository/.helmignore b/retired/kubernetes_helm_repository/repository/.helmignore new file mode 100644 index 0000000..0e8a0eb --- /dev/null +++ b/retired/kubernetes_helm_repository/repository/.helmignore @@ -0,0 +1,23 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*.orig +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/retired/kubernetes_helm_repository/repository/Chart.yaml b/retired/kubernetes_helm_repository/repository/Chart.yaml new file mode 100644 index 0000000..9358b0a --- /dev/null +++ b/retired/kubernetes_helm_repository/repository/Chart.yaml @@ -0,0 +1,24 @@ +apiVersion: v2 +name: repository +description: A Helm repository chart + +# A chart can be either an 'application' or a 'library' chart. +# +# Application charts are a collection of templates that can be packaged into versioned archives +# to be deployed. +# +# Library charts provide useful utilities or functions for the chart developer. They're included as +# a dependency of application charts to inject those utilities and functions into the rendering +# pipeline. Library charts do not define any templates and therefore cannot be deployed. +type: application + +# This is the chart version. This version number should be incremented each time you make changes +# to the chart and its templates, including the app version. +# Versions are expected to follow Semantic Versioning (https://semver.org/) +version: 0.1.0 + +# This is the version number of the application being deployed. This version number should be +# incremented each time you make changes to the application. Versions are not expected to +# follow Semantic Versioning. They should reflect the version the application is using. +# It is recommended to use it with quotes. +appVersion: "1.16.0" diff --git a/retired/kubernetes_helm_repository/repository/templates/repository.yaml b/retired/kubernetes_helm_repository/repository/templates/repository.yaml new file mode 100644 index 0000000..b501622 --- /dev/null +++ b/retired/kubernetes_helm_repository/repository/templates/repository.yaml @@ -0,0 +1,73 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ .Release.Name }} +spec: + selector: + matchLabels: + app.kubernetes.io/name: {{ .Release.Name }} + strategy: + type: Recreate + template: + metadata: + labels: + app.kubernetes.io/name: {{ .Release.Name }} + spec: + containers: + - name: nginx + image: ducoterra/helm-repository:latest + imagePullPolicy: Always + ports: + - containerPort: 80 + name: http + resources: + requests: + memory: "1Gi" + cpu: "1m" + limits: + memory: "1Gi" + cpu: "1" + +--- + +apiVersion: v1 +kind: Service +metadata: + name: {{ .Release.Name }} +spec: + type: ClusterIP + selector: + app.kubernetes.io/name: {{ .Release.Name }} + ports: + - name: http + protocol: TCP + port: 80 + targetPort: http + +--- + +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: {{ .Release.Name }} + annotations: + cert-manager.io/cluster-issuer: letsencrypt + kubernetes.io/ingress.class: nginx + nginx.ingress.kubernetes.io/proxy-body-size: "0" + nginx.org/client-max-body-size: "0" +spec: + rules: + - host: {{ .Values.domain }} + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: {{ .Release.Name }} + port: + name: http + tls: + - hosts: + - {{ .Values.domain }} + secretName: {{ .Release.Name }}-tls-cert diff --git a/retired/kubernetes_helm_repository/repository/values.yaml b/retired/kubernetes_helm_repository/repository/values.yaml new file mode 100644 index 0000000..793181e --- /dev/null +++ b/retired/kubernetes_helm_repository/repository/values.yaml @@ -0,0 +1 @@ +domain: charts.reeseapps.com diff --git a/systemd/incubating/freeipa/freeipa.md b/retired/systemd_freeipa/freeipa.md similarity index 100% rename from systemd/incubating/freeipa/freeipa.md rename to retired/systemd_freeipa/freeipa.md diff --git a/systemd/incubating/iperf3/install_iperf3.yaml b/retired/systemd_iperf3/install_iperf3.yaml similarity index 100% rename from systemd/incubating/iperf3/install_iperf3.yaml rename to retired/systemd_iperf3/install_iperf3.yaml diff --git a/retired/systemd_iperf3/iperf3.md b/retired/systemd_iperf3/iperf3.md new file mode 100644 index 0000000..28a1082 --- /dev/null +++ b/retired/systemd_iperf3/iperf3.md @@ -0,0 +1,7 @@ +# Iperf3 + +## Install + +```bash +ansible-playbook -i ansible/inventory.yaml active/systemd_iperf3/install_iperf3.yaml +``` diff --git a/systemd/incubating/iperf3/iperf3.service b/retired/systemd_iperf3/iperf3.service similarity index 100% rename from systemd/incubating/iperf3/iperf3.service rename to retired/systemd_iperf3/iperf3.service diff --git a/systemd/retired/ipv4-proxy/ipv4-proxy.md b/retired/systemd_ipv4-proxy/ipv4-proxy.md similarity index 80% rename from systemd/retired/ipv4-proxy/ipv4-proxy.md rename to retired/systemd_ipv4-proxy/ipv4-proxy.md index 9e75f10..d93f090 100644 --- a/systemd/retired/ipv4-proxy/ipv4-proxy.md +++ b/retired/systemd_ipv4-proxy/ipv4-proxy.md @@ -1,6 +1,6 @@ # IPv4 Proxy -**DEPRECATED** Replaced by [Caddy](/podman/graduated/caddy/caddy.md) +**DEPRECATED** Replaced by [Caddy](/active/podman_caddy/caddy.md) This project aims to serve those without an IPv6 ISP by forwarding IPv4 requests to the correct destination. This is accomplished by SSL preread and port mapping. This service @@ -18,7 +18,7 @@ This project pairs with the ddns service. Set that up first! 4. Run the following ansible script: ```bash -ansible-playbook -i ansible/inventory.yaml systemd/graduated/ipv4-proxy/nginx.yaml +ansible-playbook -i ansible/inventory.yaml active/systemd_ipv4-proxy/nginx.yaml ``` ## Logging diff --git a/systemd/retired/ipv4-proxy/nginx.conf b/retired/systemd_ipv4-proxy/nginx.conf similarity index 100% rename from systemd/retired/ipv4-proxy/nginx.conf rename to retired/systemd_ipv4-proxy/nginx.conf diff --git a/systemd/retired/ipv4-proxy/nginx.yaml b/retired/systemd_ipv4-proxy/nginx.yaml similarity index 100% rename from systemd/retired/ipv4-proxy/nginx.yaml rename to retired/systemd_ipv4-proxy/nginx.yaml diff --git a/systemd/retired/ipv4-proxy/vars.yaml b/retired/systemd_ipv4-proxy/vars.yaml similarity index 100% rename from systemd/retired/ipv4-proxy/vars.yaml rename to retired/systemd_ipv4-proxy/vars.yaml diff --git a/systemd/incubating/openvoiceos/README.md b/retired/systemd_openvoiceos/openvoiceos.md similarity index 100% rename from systemd/incubating/openvoiceos/README.md rename to retired/systemd_openvoiceos/openvoiceos.md diff --git a/systemd/incubating/snapcast/README.md b/retired/systemd_snapcast/snapcast.md similarity index 100% rename from systemd/incubating/snapcast/README.md rename to retired/systemd_snapcast/snapcast.md diff --git a/systemd/incubating/wyoming/README.md b/retired/systemd_wyoming/wyoming.md similarity index 100% rename from systemd/incubating/wyoming/README.md rename to retired/systemd_wyoming/wyoming.md diff --git a/systemd/incubating/borg/borg.md b/systemd/incubating/borg/borg.md deleted file mode 100644 index 633c31a..0000000 --- a/systemd/incubating/borg/borg.md +++ /dev/null @@ -1,22 +0,0 @@ -# Borg Backup - -## Install - -```bash -dnf install -y borgbackup -``` - -## Server Setup - -```bash -btrfs sub create /backups -btrfs prop set /backups ro true -``` - -Mount the backup folder over nfs - -/etc/fstab - -```conf -10.1.2.10:/mnt/backup2/borg0 /backups nfs rw,hard,intr,rsize=8192,wsize=8192,timeo=14 0 0 -``` diff --git a/systemd/incubating/iperf3/README.md b/systemd/incubating/iperf3/README.md deleted file mode 100644 index 5b8a5df..0000000 --- a/systemd/incubating/iperf3/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Iperf3 - -## Install - -```bash -ansible-playbook -i ansible/inventory.yaml systemd/incubating/iperf3/install_iperf3.yaml -``` diff --git a/yq b/yq deleted file mode 100644 index e69de29..0000000