25 lines
644 B
YAML
25 lines
644 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: security-test-workloads
|
|
namespace: argocd
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "1"
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: https://git.swaphb.com/swaphb/kubernetes-security-baseline-lab.git
|
|
targetRevision: main
|
|
path: test-workloads
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: security-baseline
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
# Test Pods are intentionally disposable and their command fields are immutable.
|
|
- Replace=true
|