34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
# Explicit ArgoCD Application shape for bootstrap/review.
|
|
#
|
|
# The live bluejay-infra ApplicationSet already discovers apps/* directories
|
|
# and creates this same Application name (`infra-fc-devicemgmt`) automatically.
|
|
# Keep repoURL on the internal Gitea ClusterIP URL; ArgoCD does not trust the
|
|
# external step-ca HTTPS endpoint.
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: infra-fc-devicemgmt
|
|
namespace: argocd
|
|
labels:
|
|
app.kubernetes.io/name: fc-devicemgmt
|
|
app.kubernetes.io/part-of: flowercore
|
|
app.kubernetes.io/managed-by: argocd
|
|
flowercore.io/tenant-id: system
|
|
flowercore.io/created-by: bluejay-infra
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: http://gitea-clusterip.gitea.svc.cluster.local:3000/bluejay/bluejay-infra.git
|
|
targetRevision: main
|
|
path: apps/fc-devicemgmt
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: fc-devicemgmt
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- ServerSideApply=true
|