Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
timtorChen committed Dec 19, 2024
1 parent 22a99c4 commit 0e5d3f6
Show file tree
Hide file tree
Showing 12 changed files with 121 additions and 51 deletions.
5 changes: 3 additions & 2 deletions kubernetes/archive/external-secrets/external-secrets.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Helm
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/source.toolkit.fluxcd.io/helmrepository_v1.json
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
Expand All @@ -9,7 +9,8 @@ spec:
url: https://charts.external-secrets.io
interval: 24h
---
apiVersion: helm.toolkit.fluxcd.io/v2beta2
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/helm.toolkit.fluxcd.io/helmrelease_v2.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
namespace: external-secrets
Expand Down
2 changes: 2 additions & 0 deletions kubernetes/archive/external-secrets/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/archive/wego/wego.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Helm
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/source.toolkit.fluxcd.io/helmrepository_v1.json
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
Expand Down
119 changes: 77 additions & 42 deletions kubernetes/flux-system/app/boostrap.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
# My homelab repo hosted on Github
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/source.toolkit.fluxcd.io/gitrepository_v1.json
## My homelab repo hosted on Github
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
Expand All @@ -11,8 +12,9 @@ spec:
ref:
branch: main
---
# --- 0 - Base Namespace ---
# flux-system
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## --- 0 - Base Namespace ---
## flux-system
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -26,8 +28,9 @@ spec:
path: /kubernetes/flux-system
prune: false
---
# --- 1 - Infra Namespaces ---
# kube-system
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## --- 1 - Infra Namespaces ---
## kube-system
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -41,7 +44,8 @@ spec:
path: /kubernetes/kube-system
prune: false
---
# kyverno
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## kyverno
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -55,7 +59,8 @@ spec:
path: /kubernetes/kyverno
prune: false
---
# metallb-system
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## metallb-system
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -69,7 +74,8 @@ spec:
path: /kubernetes/metallb-system
prune: false
---
# cert-manager
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## cert-manager
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -83,7 +89,8 @@ spec:
path: /kubernetes/cert-manager
prune: false
---
# intel-device-system
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## intel-device-system
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -97,7 +104,8 @@ spec:
path: /kubernetes/intel-device-system
prune: false
---
# aws-identity-webhook
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## aws-identity-webhook
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -111,7 +119,8 @@ spec:
path: /kubernetes/aws-identity-webhook
prune: true
---
# cloudflared
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## cloudflared
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -125,7 +134,8 @@ spec:
path: /kubernetes/cloudflared
prune: true
---
# reloader
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## reloader
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -139,7 +149,8 @@ spec:
path: /kubernetes/reloader
prune: true
---
# etcd-backup
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## etcd-backup
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -153,8 +164,9 @@ spec:
path: /kubernetes/etcd-backup
prune: true
---
# --- 2 - Storage Namespaces ---
# rook-ceph
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## --- 2 - Storage Namespaces ---
## rook-ceph
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -168,7 +180,8 @@ spec:
path: /kubernetes/rook-ceph
prune: false
---
# snapscheduler
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## snapscheduler
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -182,7 +195,8 @@ spec:
path: /kubernetes/snapscheduler
prune: false
---
# volsync
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## volsync
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -196,8 +210,9 @@ spec:
path: /kubernetes/volsync
prune: true
---
# --- 3 - Ingress Namespaces ---
# ingress-nginx
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## --- 3 - Ingress Namespaces ---
## ingress-nginx
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -211,8 +226,9 @@ spec:
path: /kubernetes/ingress-nginx
prune: true
---
# --- 4 - Database Namespaces ---
# cnpg
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## --- 4 - Database Namespaces ---
## cnpg
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -226,8 +242,9 @@ spec:
path: /kubernetes/cnpg
prune: false
---
# --- 5 - Monitor Namespaces ---
# grafana
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## --- 5 - Monitor Namespaces ---
## grafana
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -241,7 +258,8 @@ spec:
path: /kubernetes/grafana
prune: false
---
# mimir
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## mimir
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -255,7 +273,8 @@ spec:
path: /kubernetes/mimir
prune: false
---
# prometheus
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## prometheus
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -269,7 +288,8 @@ spec:
path: /kubernetes/prometheus
prune: true
---
# loki
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## loki
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -283,7 +303,8 @@ spec:
path: /kubernetes/loki
prune: false
---
# vector-operator
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## vector-operator
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -297,7 +318,8 @@ spec:
path: /kubernetes/vector-operator
prune: false
---
# vector
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## vector
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -311,7 +333,8 @@ spec:
path: /kubernetes/vector
prune: true
---
# promtail
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## promtail
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -325,7 +348,8 @@ spec:
path: /kubernetes/promtail
prune: true
---
# node-exporter
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## node-exporter
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -339,7 +363,8 @@ spec:
path: /kubernetes/node-exporter
prune: true
---
# smart-exporter
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## smart-exporter
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -353,7 +378,8 @@ spec:
path: /kubernetes/smart-exporter
prune: true
---
# snmp-exporter-mikrotik
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## snmp-exporter-mikrotik
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -367,7 +393,8 @@ spec:
path: /kubernetes/snmp-exporter-mikrotik
prune: true
---
# unifi-controller
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## unifi-controller
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -381,7 +408,8 @@ spec:
path: /kubernetes/unifi-controller
prune: false
---
# unpoller
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## unpoller
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -395,7 +423,8 @@ spec:
path: /kubernetes/unpoller
prune: true
---
# rustic-exporter
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## rustic-exporter
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -409,7 +438,8 @@ spec:
path: /kubernetes/rustic-exporter
prune: true
---
# kromgo
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## kromgo
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -423,8 +453,9 @@ spec:
path: /kubernetes/kromgo
prune: false
---
# --- 6 - Application Namespaces ---
# vaultwarden
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## --- 6 - Application Namespaces ---
## vaultwarden
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -438,7 +469,8 @@ spec:
path: /kubernetes/vaultwarden
prune: false
---
# navidrome
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## navidrome
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -452,7 +484,8 @@ spec:
path: /kubernetes/mydata/navidrome
prune: false
---
# immich
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## immich
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -466,7 +499,8 @@ spec:
path: /kubernetes/mydata/immich
prune: false
---
# nextcloud
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## nextcloud
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand All @@ -480,7 +514,8 @@ spec:
path: /kubernetes/mydata/nextcloud
prune: false
---
# miniflux
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/kustomize.toolkit.fluxcd.io/kustomization_v1.json
## miniflux
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
Expand Down
Loading

0 comments on commit 0e5d3f6

Please sign in to comment.