initial upload
This commit is contained in:
20
repo-gitops/cluster/production/whoami.yaml
Normal file
20
repo-gitops/cluster/production/whoami.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: whoami
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://git.stabify.de/stabify/gitops.git
|
||||
targetRevision: HEAD
|
||||
path: apps/whoami/overlays/production # Zeigt auf das Overlay, nicht die Base!
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: default # Ziel-Namespace der App
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true # Erstellt den Namespace 'default' falls nicht vorhanden (oder 'whoami-ns')
|
||||
Reference in New Issue
Block a user