Skip to content

Commit dc726ed

Browse files
committed
bump v0.0.314
1 parent 1cb03b0 commit dc726ed

File tree

2 files changed

+137
-0
lines changed

2 files changed

+137
-0
lines changed

csdp/base/appset.yaml

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: AppProject
3+
metadata:
4+
annotations:
5+
argocd.argoproj.io/sync-options: PruneLast=true
6+
argocd.argoproj.io/sync-wave: "-2"
7+
creationTimestamp: null
8+
name: csdp
9+
namespace: default # replace
10+
spec:
11+
clusterResourceWhitelist:
12+
- group: "*"
13+
kind: "*"
14+
description: csdp project
15+
destinations:
16+
- namespace: "*"
17+
server: "*"
18+
namespaceResourceWhitelist:
19+
- group: "*"
20+
kind: "*"
21+
sourceRepos:
22+
- "*"
23+
24+
---
25+
apiVersion: argoproj.io/v1alpha1
26+
kind: ApplicationSet
27+
metadata:
28+
annotations:
29+
argocd.argoproj.io/sync-wave: "0"
30+
name: csdp
31+
namespace: default # replace
32+
spec:
33+
syncPolicy:
34+
preserveResourcesOnDeletion: true
35+
generators:
36+
- git:
37+
repoURL: https://github.com/codefresh-io/csdp-official-poc.git
38+
revision: RUNTIME_VERSION
39+
directories:
40+
- path: csdp/hybrid/*
41+
requeueAfterSeconds: 15
42+
template:
43+
metadata:
44+
finalizers:
45+
- resources-finalizer.argocd.argoproj.io
46+
spec:
47+
destination: {}
48+
project: ""
49+
source:
50+
repoURL: ""
51+
- git:
52+
repoURL: https://github.com/codefresh-io/csdp-official-poc.git
53+
revision: RUNTIME_VERSION
54+
directories:
55+
- path: csdp/hybrid/argo-cd
56+
requeueAfterSeconds: 15
57+
template:
58+
metadata: {}
59+
spec:
60+
destination: {}
61+
project: ""
62+
source:
63+
repoURL: ""
64+
- git:
65+
files:
66+
- path: csdp/hybrid/**/config_dir.json
67+
repoURL: https://github.com/codefresh-io/csdp-official-poc.git
68+
requeueAfterSeconds: 15
69+
revision: RUNTIME_VERSION
70+
template:
71+
metadata:
72+
finalizers:
73+
- resources-finalizer.argocd.argoproj.io
74+
spec:
75+
destination: {}
76+
project: ""
77+
source:
78+
repoURL: ""
79+
directory:
80+
exclude: "{{exclude}}"
81+
include: "{{include}}"
82+
recurse: true
83+
template:
84+
metadata:
85+
labels:
86+
app.kubernetes.io/name: "{{path.basenameNormalized}}"
87+
codefresh.io/entity: "component"
88+
codefresh.io/internal: "true"
89+
name: csdp-{{path.basenameNormalized}}
90+
namespace: default # replace
91+
spec:
92+
destination:
93+
namespace: default # replace
94+
server: "https://kubernetes.default.svc"
95+
ignoreDifferences:
96+
- group: argoproj.io
97+
jsonPointers:
98+
- /status
99+
kind: Application
100+
project: csdp
101+
source:
102+
path: csdp/hybrid/{{path.basenameNormalized}}
103+
repoURL: https://github.com/codefresh-io/csdp-official-poc.git
104+
targetRevision: RUNTIME_VERSION # replace with runtime version
105+
syncPolicy:
106+
automated:
107+
allowEmpty: true
108+
prune: true
109+
selfHeal: true

csdp/base/kustomization.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
4+
- ./appset.yaml
5+
6+
generatorOptions:
7+
disableNameSuffixHash: true
8+
9+
configMapGenerator:
10+
- name: codefresh-cm
11+
behavior: create
12+
literals:
13+
- version=v0.0.314
14+
15+
replacements:
16+
- source:
17+
kind: ConfigMap
18+
name: codefresh-cm
19+
fieldPath: data.version
20+
targets:
21+
- select:
22+
kind: ApplicationSet
23+
name: csdp
24+
fieldPaths:
25+
- spec.generators.0.git.revision
26+
- spec.generators.1.git.revision
27+
- spec.generators.2.git.revision
28+
- spec.template.spec.source.targetRevision

0 commit comments

Comments
 (0)