This commit is contained in:
snothub
2026-03-27 11:49:03 +01:00
parent 5e8448cfd2
commit ce5094c1c8
3 changed files with 72 additions and 0 deletions

View File

@@ -18,6 +18,8 @@ spec:
repoURL: git@github.com:fortedigital/sturdy-adventure.git
targetRevision: HEAD
path: cluster-resources
directory:
exclude: 'network'
destination:
server: https://kubernetes.default.svc

View File

@@ -0,0 +1,33 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: network-policies
namespace: argocd
labels:
app.kubernetes.io/name: network-policies
app.kubernetes.io/part-of: platform
app.kubernetes.io/managed-by: argocd
annotations:
argocd.argoproj.io/sync-wave: "1"
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: git@github.com:fortedigital/sturdy-adventure.git
targetRevision: HEAD
path: cluster-resources/network
destination:
server: https://kubernetes.default.svc
syncPolicy:
automated:
prune: true
selfHeal: true
allowEmpty: false
syncOptions:
- Validate=true
- ServerSideApply=true