mirror of
https://github.com/morten-olsen/homelab-apps.git
synced 2026-02-08 01:36:28 +01:00
add homelab operator
This commit is contained in:
16
foundation/charts/operators/templates/cluster-issuer.yaml
Normal file
16
foundation/charts/operators/templates/cluster-issuer.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: ClusterIssuer
|
||||
metadata:
|
||||
name: cloudflare-dns
|
||||
spec:
|
||||
acme:
|
||||
server: https://acme-v02.api.letsencrypt.org/directory
|
||||
email: admin@demo.olsen.cloud
|
||||
privateKeySecretRef:
|
||||
name: cloudflare-dns-issuer-key
|
||||
solvers:
|
||||
- dns01:
|
||||
cloudflare:
|
||||
apiTokenSecretRef:
|
||||
name: cloudflare-api-token
|
||||
key: api-token
|
||||
25
foundation/charts/operators/templates/homelab.yaml
Normal file
25
foundation/charts/operators/templates/homelab.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: homelab-operator
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
destination:
|
||||
namespace: foundation
|
||||
server: https://kubernetes.default.svc
|
||||
project: foundation
|
||||
source:
|
||||
repoURL: https://github.com/morten-olsen/homelab-operator.git
|
||||
path: charts/operator
|
||||
targetRevision: main
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- ServerSideApply=true
|
||||
- ApplyOutOfSyncOnly=true
|
||||
- CreateNamespace=true
|
||||
28
foundation/charts/operators/templates/redis-operator.yaml
Normal file
28
foundation/charts/operators/templates/redis-operator.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: redis-operator
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
destination:
|
||||
namespace: foundation
|
||||
server: https://kubernetes.default.svc
|
||||
project: foundation
|
||||
source:
|
||||
repoURL: https://ot-container-kit.github.io/helm-charts/
|
||||
targetRevision: 0.22.2
|
||||
chart: redis-operator
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- ServerSideApply=true
|
||||
- ApplyOutOfSyncOnly=true
|
||||
- CreateNamespace=true
|
||||
info:
|
||||
- name: "Documentation: "
|
||||
value: "https://redis-operator.opstree.dev/"
|
||||
25
foundation/charts/operators/templates/reloader.yaml
Normal file
25
foundation/charts/operators/templates/reloader.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: reloader-operator
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
destination:
|
||||
namespace: foundation
|
||||
server: https://kubernetes.default.svc
|
||||
project: foundation
|
||||
source:
|
||||
repoURL: https://stakater.github.io/stakater-charts
|
||||
targetRevision: 2.2.5
|
||||
chart: reloader
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- ServerSideApply=true
|
||||
- ApplyOutOfSyncOnly=true
|
||||
- CreateNamespace=true
|
||||
25
foundation/charts/operators/templates/sealed-secrets.yaml
Normal file
25
foundation/charts/operators/templates/sealed-secrets.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: sealed-secrets-operator
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
destination:
|
||||
namespace: foundation
|
||||
server: https://kubernetes.default.svc
|
||||
project: foundation
|
||||
source:
|
||||
repoURL: https://bitnami-labs.github.io/sealed-secrets
|
||||
targetRevision: 2.17.9
|
||||
chart: sealed-secrets
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- ServerSideApply=true
|
||||
- ApplyOutOfSyncOnly=true
|
||||
- CreateNamespace=true
|
||||
Reference in New Issue
Block a user