Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 95 additions & 0 deletions projects/dev2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
annotations:
argocd-autopilot.argoproj-labs.io/default-dest-server: https://kubernetes.default.svc
argocd.argoproj.io/sync-options: PruneLast=true
argocd.argoproj.io/sync-wave: "-2"
creationTimestamp: null
name: dev2
namespace: argocd
spec:
clusterResourceWhitelist:
- group: '*'
kind: '*'
description: dev2 project
destinations:
- namespace: '*'
server: '*'
namespaceResourceWhitelist:
- group: '*'
kind: '*'
sourceRepos:
- '*'
status: {}

---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
annotations:
argocd.argoproj.io/sync-wave: "0"
creationTimestamp: null
name: dev2
namespace: argocd
spec:
generators:
- git:
files:
- path: apps/**/dev2/config.json
repoURL: https://github.com/MostlyDevOps/argocd-autopilot.git
requeueAfterSeconds: 20
revision: add-dev2
template:
metadata: {}
spec:
destination: {}
project: ""
source:
repoURL: ""
- git:
files:
- path: apps/**/dev2/config_dir.json
repoURL: https://github.com/MostlyDevOps/argocd-autopilot.git
requeueAfterSeconds: 20
revision: add-dev2
template:
metadata: {}
spec:
destination: {}
project: ""
source:
directory:
exclude: '{{ exclude }}'
include: '{{ include }}'
jsonnet: {}
recurse: true
repoURL: ""
syncPolicy: {}
template:
metadata:
labels:
app.kubernetes.io/managed-by: argocd-autopilot
app.kubernetes.io/name: '{{ appName }}'
name: dev2-{{ userGivenName }}
namespace: argocd
spec:
destination:
namespace: '{{ destNamespace }}'
server: '{{ destServer }}'
ignoreDifferences:
- group: argoproj.io
jsonPointers:
- /status
kind: Application
project: dev2
source:
path: '{{ srcPath }}'
repoURL: '{{ srcRepoURL }}'
targetRevision: '{{ srcTargetRevision }}'
syncPolicy:
automated:
allowEmpty: true
prune: true
selfHeal: true
status: {}