Skip to content

Commit

Permalink
multi-cluster folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
rkoosaar committed Nov 14, 2024
1 parent 05651f4 commit e797ea1
Show file tree
Hide file tree
Showing 157 changed files with 5 additions and 3,090 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/kubeconform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
paths: ["kubernetes/**"]

env:
KUBERNETES_DIR: ./kubernetes
KUBERNETES_DIR: ./kubernetes/main

jobs:
kubeconform:
Expand Down
8 changes: 4 additions & 4 deletions .taskfiles/talos/Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
version: '3'

vars:
TALHELPER_CLUSTER_DIR: '{{.KUBERNETES_DIR}}/bootstrap/talos/clusterconfig'
TALHELPER_CONFIG_FILE: '{{.KUBERNETES_DIR}}/bootstrap/talos/talconfig.yaml'
TALHELPER_SECRET_FILE: '{{.KUBERNETES_DIR}}/bootstrap/talos/talsecret.sops.yaml'
TALHELPER_CLUSTER_DIR: '{{.CLUSTER_DIR}}/bootstrap/talos/clusterconfig'
TALHELPER_CONFIG_FILE: '{{.CLUSTER_DIR}}/bootstrap/talos/talconfig.yaml'
TALHELPER_SECRET_FILE: '{{.CLUSTER_DIR}}/bootstrap/talos/talsecret.sops.yaml'
TALOSCONFIG: '{{.TALHELPER_CLUSTER_DIR}}/talosconfig'

env:
Expand Down Expand Up @@ -78,7 +78,7 @@ tasks:

reset:
desc: Resets nodes back to maintenance mode
dir: "{{.KUBERNETES_DIR}}/bootstrap/talos"
dir: "{{.CLUSTER_DIR}}/bootstrap/talos"
prompt: This will destroy your cluster and reset the nodes back to maintenance mode... continue?
cmd: talhelper gencommand reset --config-file {{.TALHELPER_CONFIG_FILE}} --out-dir {{.TALHELPER_CLUSTER_DIR}} --extra-flags="--reboot {{- if eq .CLI_FORCE false }} --system-labels-to-wipe STATE --system-labels-to-wipe EPHEMERAL{{ end }} --graceful=false --wait=false" | bash
preconditions:
Expand Down
31 changes: 0 additions & 31 deletions kubernetes/apps/cert-manager/cert-manager/app/helmrelease.yaml

This file was deleted.

This file was deleted.

39 changes: 0 additions & 39 deletions kubernetes/apps/cert-manager/cert-manager/issuers/issuers.yaml

This file was deleted.

This file was deleted.

26 changes: 0 additions & 26 deletions kubernetes/apps/cert-manager/cert-manager/issuers/secret.sops.yaml

This file was deleted.

40 changes: 0 additions & 40 deletions kubernetes/apps/cert-manager/cert-manager/ks.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions kubernetes/apps/cert-manager/kustomization.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions kubernetes/apps/cert-manager/namespace.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions kubernetes/apps/flux-system/kustomization.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions kubernetes/apps/flux-system/namespace.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions kubernetes/apps/flux-system/webhooks/app/github/ingress.yaml

This file was deleted.

This file was deleted.

25 changes: 0 additions & 25 deletions kubernetes/apps/flux-system/webhooks/app/github/receiver.yaml

This file was deleted.

26 changes: 0 additions & 26 deletions kubernetes/apps/flux-system/webhooks/app/github/secret.sops.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions kubernetes/apps/flux-system/webhooks/app/kustomization.yaml

This file was deleted.

19 changes: 0 additions & 19 deletions kubernetes/apps/flux-system/webhooks/ks.yaml

This file was deleted.

59 changes: 0 additions & 59 deletions kubernetes/apps/kube-system/cilium/app/helm-values.yaml

This file was deleted.

Loading

0 comments on commit e797ea1

Please sign in to comment.