Prepare Asciinema GitOps application
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: AppProject
|
||||
metadata:
|
||||
name: asciinema
|
||||
namespace: argocd
|
||||
spec:
|
||||
description: Asciinema server and its homelab Rook integration
|
||||
sourceRepos:
|
||||
- https://brunner.ninja/charts
|
||||
- https://code.brunner.ninja/feedc0de/homelab-gitops.git
|
||||
destinations:
|
||||
- namespace: asciinema
|
||||
server: https://kubernetes.default.svc
|
||||
- namespace: rook-ceph
|
||||
server: https://kubernetes.default.svc
|
||||
namespaceResourceWhitelist:
|
||||
- group: ""
|
||||
kind: ConfigMap
|
||||
- group: ""
|
||||
kind: PersistentVolumeClaim
|
||||
- group: ""
|
||||
kind: Service
|
||||
- group: apps
|
||||
kind: Deployment
|
||||
- group: apps
|
||||
kind: StatefulSet
|
||||
- group: batch
|
||||
kind: Job
|
||||
- group: ceph.rook.io
|
||||
kind: CephObjectStoreUser
|
||||
- group: networking.k8s.io
|
||||
kind: Ingress
|
||||
@@ -0,0 +1,31 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: asciinema
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: asciinema
|
||||
sources:
|
||||
- repoURL: https://brunner.ninja/charts
|
||||
chart: asciinema
|
||||
targetRevision: 1.0.0
|
||||
helm:
|
||||
releaseName: asciinema
|
||||
valueFiles:
|
||||
- $values/apps/asciinema/values.yaml
|
||||
- repoURL: https://code.brunner.ninja/feedc0de/homelab-gitops.git
|
||||
targetRevision: main
|
||||
ref: values
|
||||
- repoURL: https://code.brunner.ninja/feedc0de/homelab-gitops.git
|
||||
targetRevision: main
|
||||
path: apps/asciinema/resources
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: asciinema
|
||||
syncPolicy:
|
||||
automated:
|
||||
enabled: true
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
Reference in New Issue
Block a user