kustomize + helm now managed by argocd
This commit is contained in:
5
kluster-deployments/README.md
Normal file
5
kluster-deployments/README.md
Normal file
@@ -0,0 +1,5 @@
|
||||
### Argo-apps collection
|
||||
|
||||
The applications and configurations specified in this folder represent the argo-specific configuration needed to deploy apps. The actual configuration of each app is located in its own folder under `/apps/<app-name>`.
|
||||
|
||||
Since each `application` is a kubernetes CRD they can be bundled through a kustomize setup.
|
18
kluster-deployments/homeassistant/application.yaml
Normal file
18
kluster-deployments/homeassistant/application.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: homeassistant-application
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://github.com/moll-re/k3s-infra.git
|
||||
targetRevision: HEAD
|
||||
path: apps/homeassistant
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: homeassistant
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
4
kluster-deployments/homeassistant/kustomization.yaml
Normal file
4
kluster-deployments/homeassistant/kustomization.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- application.yaml
|
@@ -8,4 +8,5 @@ resources:
|
||||
- argocd-imageupdate/
|
||||
- whoami/
|
||||
- journal/
|
||||
- immich/
|
||||
- immich/
|
||||
- homeassistant/
|
Reference in New Issue
Block a user