Skip to content

Commit 81c651f

Browse files
committed
310
1 parent 31688c3 commit 81c651f

File tree

3 files changed

+51
-4
lines changed

3 files changed

+51
-4
lines changed

csdp/appset.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
generators:
3636
- git:
3737
repoURL: https://github.com/codefresh-io/csdp-official-poc.git
38-
revision: v0.0.309
38+
revision: RUNTIME_VERSION
3939
directories:
4040
- path: csdp/components/*
4141
requeueAfterSeconds: 15
@@ -50,7 +50,7 @@ spec:
5050
repoURL: ""
5151
- git:
5252
repoURL: https://github.com/codefresh-io/csdp-official-poc.git
53-
revision: v0.0.309
53+
revision: RUNTIME_VERSION
5454
directories:
5555
- path: csdp/components/argo-cd
5656
requeueAfterSeconds: 15
@@ -66,7 +66,7 @@ spec:
6666
- path: csdp/components/**/config_dir.json
6767
repoURL: https://github.com/codefresh-io/csdp-official-poc.git
6868
requeueAfterSeconds: 15
69-
revision: v0.0.309
69+
revision: RUNTIME_VERSION
7070
template:
7171
metadata:
7272
finalizers:
@@ -101,7 +101,7 @@ spec:
101101
source:
102102
path: csdp/components/{{path.basenameNormalized}}
103103
repoURL: https://github.com/codefresh-io/csdp-official-poc.git
104-
targetRevision: v0.0.309 # replace with runtime version
104+
targetRevision: RUNTIME_VERSION # replace with runtime version
105105
syncPolicy:
106106
automated:
107107
allowEmpty: true

csdp/kustomization.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,27 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
44
- appset.yaml
5+
6+
generatorOptions:
7+
disableNameSuffixHash: true
8+
9+
configMapGenerator:
10+
- name: csdp-runtime-version
11+
behavior: create
12+
literals:
13+
- version=v0.0.310
14+
15+
replacements:
16+
- source:
17+
kind: ConfigMap
18+
name: csdp-runtime-version
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

runtime.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
apiVersion: codefresh.io/v1alpha1
2+
kind: Runtime
3+
metadata:
4+
name: "{{ name }}"
5+
namespace: "{{ namespace }}"
6+
spec:
7+
defVersion: 1.0.1
8+
version: 0.0.310
9+
bootstrapSpecifier: github.com/codefresh-io/cli-v2/manifests/argo-cd
10+
components:
11+
- name: events
12+
type: kustomize
13+
url: github.com/codefresh-io/cli-v2/manifests/argo-events
14+
wait: true
15+
- name: rollouts
16+
type: kustomize
17+
url: github.com/codefresh-io/cli-v2/manifests/argo-rollouts
18+
- name: workflows
19+
type: kustomize
20+
url: github.com/codefresh-io/cli-v2/manifests/argo-workflows
21+
- name: app-proxy
22+
type: kustomize
23+
url: github.com/codefresh-io/cli-v2/manifests/app-proxy

0 commit comments

Comments
 (0)