Skip to content

Commit 1cb03b0

Browse files
committed
wip
1 parent f88aed9 commit 1cb03b0

File tree

4 files changed

+20
-270
lines changed

4 files changed

+20
-270
lines changed

csdp/hybrid/appset.yaml

Lines changed: 0 additions & 109 deletions
This file was deleted.

csdp/hybrid/kustomization.yaml

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,14 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
4-
- appset.yaml
4+
- ../base
55

6-
generatorOptions:
7-
disableNameSuffixHash: true
8-
9-
configMapGenerator:
10-
- name: csdp-runtime-version
11-
behavior: create
12-
literals:
13-
- version=v0.0.312
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
6+
patches:
7+
- target:
8+
version: v1alpha1
9+
group: argoproj.io
10+
kind: ApplicationSet
11+
patch: |-
12+
- op: replace
13+
path: /spec/template/spec/source/path
14+
value: csdp/hybrid/{{path.basenameNormalized}}

csdp/managed/appset.yaml

Lines changed: 0 additions & 109 deletions
This file was deleted.

csdp/managed/kustomization.yaml

Lines changed: 10 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,14 @@
11
apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
4-
- appset.yaml
4+
- ../base
55

6-
generatorOptions:
7-
disableNameSuffixHash: true
8-
9-
configMapGenerator:
10-
- name: codefresh-cm
11-
behavior: create
12-
options:
13-
labels:
14-
app.kubernetes.io/managed-by: codefresh
15-
codefresh.io/entity: runtimeDef
16-
literals:
17-
- version=v0.0.313
18-
19-
replacements:
20-
- source:
21-
kind: ConfigMap
22-
name: codefresh-cm
23-
fieldPath: data.version
24-
targets:
25-
- select:
26-
kind: ApplicationSet
27-
name: csdp
28-
fieldPaths:
29-
- spec.generators.0.git.revision
30-
- spec.generators.1.git.revision
31-
- spec.generators.2.git.revision
32-
- spec.template.spec.source.targetRevision
6+
patches:
7+
- target:
8+
version: v1alpha1
9+
group: argoproj.io
10+
kind: ApplicationSet
11+
patch: |-
12+
- op: replace
13+
path: /spec/template/spec/source/path
14+
value: csdp/managed/{{path.basenameNormalized}}

0 commit comments

Comments
 (0)