move k8s cluster data to its own dir
This commit is contained in:
kubernetes
apps/production/flyimg
clusters/production
images
infrastructure
alerting/flux
backup
capacitor
cert-manager
crds
kustomization.yamlmetallb
monitoring
namespaces
nfs
traefik
certificates
external-services
aetheria-grafana.fascinated.cc.ymlaetheria-influx.fascinated.cc.ymlanalytics.fascinated.cc.ymlapi.mcutils.xyz.ymlazure-metrics.fascinated.cc.ymlazure-phpma.fascinated.cc.ymlbitmagnet.local.fascinated.cc.ymlcdn.fascinated.cc.ymlcloud.fascinated.cc.ymldocs.fascinated.cc.ymlfascinated.cc.ymlgit.fascinated.cc.ymlglitchtip.fascinated.cc.ymlgrafana.mcutils.xyz.ymlinflux.mcutils.xyz.ymlmastodon.fascinated.cc.ymlmc-tracker.fascinated.cc.ymlmcutils.xyz.ymlnode-hl-01.fascinated.cc.ymlobsidian-sync.fascinated.cc.ymloverseerr.fascinated.cc.ymlowntracks-web.fascinated.cc.ymlowntracks.fascinated.cc.ymlpanel.fascinated.cc.ymlpaste-grafana.local.fascinated.cc.ymlplex.fascinated.cc.ymlproxmox.local.fascinated.cc.ymlrepo.fascinated.cc.ymlrestic.fascinated.cc.ymls.fascinated.cc.ymlsonarr-anime.local.fascinated.cc.ymlsonarr.local.fascinated.cc.ymlssr-staging.fascinated.cc.ymlstatus.fascinated.cc.ymlsubscriptions.fascinated.cc.ymltautulli.fascinated.cc.ymltdarr.local.fascinated.cc.ymlteleport.fascinated.cc.ymltorrent.local.fascinated.cc.ymltranslate.fascinated.cc.ymltube.fascinated.cc.ymlvaultwarden.fascinated.cc.ymlvencloud.fascinated.cc.ymlwakatime.fascinated.cc.ymlwazuh.local.fascinated.cc.ymlwiki.fascinated.cc.yml
kustomization.yamlmiddlewares
namespace.yamltraefik.yaml
28
kubernetes/infrastructure/cert-manager/cert-manager.yaml
Normal file
28
kubernetes/infrastructure/cert-manager/cert-manager.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: cert-manager
|
||||
namespace: cert-manager
|
||||
spec:
|
||||
interval: 12h
|
||||
url: https://charts.jetstack.io
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: cert-manager
|
||||
namespace: cert-manager
|
||||
spec:
|
||||
interval: 30m
|
||||
chart:
|
||||
spec:
|
||||
chart: cert-manager
|
||||
version: "1.15.3"
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: cert-manager
|
||||
namespace: cert-manager
|
||||
interval: 12h
|
||||
values:
|
||||
installCRDs: false
|
22
kubernetes/infrastructure/cert-manager/issuer.yaml
Normal file
22
kubernetes/infrastructure/cert-manager/issuer.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: ClusterIssuer
|
||||
metadata:
|
||||
name: letsencrypt-production
|
||||
spec:
|
||||
acme:
|
||||
server: https://acme-v02.api.letsencrypt.org/directory
|
||||
email: liam@fascinated.cc
|
||||
privateKeySecretRef:
|
||||
name: letsencrypt-production
|
||||
solvers:
|
||||
- dns01:
|
||||
cloudflare:
|
||||
email: liam@fascinated.cc
|
||||
apiTokenSecretRef:
|
||||
name: cloudflare-token-secret
|
||||
key: cloudflare-token
|
||||
selector:
|
||||
dnsZones:
|
||||
- "fascinated.cc"
|
||||
- "mcutils.xyz"
|
@ -0,0 +1,8 @@
|
||||
---
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: cert-manager
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- cert-manager.yaml
|
||||
- issuer.yaml
|
5
kubernetes/infrastructure/cert-manager/namespace.yaml
Normal file
5
kubernetes/infrastructure/cert-manager/namespace.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: cert-manager
|
Reference in New Issue
Block a user