feat: add GitOps structure for kubernetes-dashboard, n8n, xslt-lab
- apps/kubernetes-dashboard: raw manifests (namespace, rbac, deployment, service, ingress) - apps/n8n: Helm values referencing existing n8n-postgresql secret (no password in git) - apps/xslt-lab: Helm values for xslt-playground chart - argocd/applications: ArgoCD Application CRDs for all three apps
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: kubernetes-dashboard
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitea.alexandre-vazquez.cloud/baphemot/gitops.git
|
||||
targetRevision: HEAD
|
||||
path: apps/kubernetes-dashboard
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: kubernetes-dashboard
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
@@ -0,0 +1,33 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: n8n
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://community-charts.github.io/helm-charts/
|
||||
chart: n8n
|
||||
targetRevision: 1.15.7
|
||||
helm:
|
||||
releaseName: n8n
|
||||
valueFiles:
|
||||
- $values/apps/n8n/values.yaml
|
||||
sources:
|
||||
- repoURL: https://community-charts.github.io/helm-charts/
|
||||
chart: n8n
|
||||
targetRevision: 1.15.7
|
||||
helm:
|
||||
releaseName: n8n
|
||||
valueFiles:
|
||||
- $values/apps/n8n/values.yaml
|
||||
- repoURL: https://gitea.alexandre-vazquez.cloud/baphemot/gitops.git
|
||||
targetRevision: HEAD
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: n8n
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
@@ -0,0 +1,25 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: xslt-lab
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://blog.xsltplayground.com
|
||||
chart: xslt-playground
|
||||
targetRevision: 0.1.3
|
||||
helm:
|
||||
releaseName: lab
|
||||
valueFiles:
|
||||
- $values/apps/xslt-lab/values.yaml
|
||||
- repoURL: https://gitea.alexandre-vazquez.cloud/baphemot/gitops.git
|
||||
targetRevision: HEAD
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: xslt-lab
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
Reference in New Issue
Block a user