Files
k8s-configs/clusters/k8s-avroid-office.prod.local/namespaces/plantuml/argocd-apps-plantuml-app.yaml
Denis Patrakeev c20c9765ba [DO-1431] Fix PlantUML (!12)
[DO-1431]

Co-authored-by: denis.patrakeev <denis.patrakeev@avroid.tech>
Reviewed-on: https://git.avroid.tech/K8s/k8s-configs/pulls/12
2025-02-10 19:17:57 +03:00

52 lines
1.4 KiB
YAML

---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: plantuml
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: plantuml
destination:
server: https://kubernetes.default.svc
namespace: plantuml
sources:
- repoURL: https://git.avroid.tech/K8s/k8s-configs.git
targetRevision: master
ref: values
- repoURL: https://stevehipwell.github.io/helm-charts/
chart: "plantuml"
targetRevision: 3.36.0
helm:
valueFiles:
- $values/clusters/k8s-avroid-office.prod.local/namespaces/plantuml/values.yaml
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- ApplyOutOfSyncOnly=true
- CreateNamespace=true
---
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: plantuml
namespace: argocd
# Finalizer that ensures that project is not deleted until it is not referenced by any application
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
sourceRepos:
- https://stevehipwell.github.io/helm-charts/
- https://git.avroid.tech/K8s/k8s-configs.git
# Only permit applications to deploy to the guestbook namespace in the same cluster
destinations:
- namespace: plantuml
server: https://kubernetes.default.svc
# Deny all cluster-scoped resources from being created, except for Namespace
clusterResourceWhitelist:
- group: ''
kind: Namespace