Skip to content

Commit a0c82cc

Browse files
committed
Add crossplane v2
1 parent 8b86ca9 commit a0c82cc

File tree

64 files changed

+17111
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+17111
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# yaml-language-server: $schema=../../../../konfig/models/frontend/patch.schema.json
2+
3+
syncPolicy:
4+
automated:
5+
selfHeal: true
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[package]
2+
name = "crossplane_tenant"
3+
version = "0.1.0"
4+
5+
[dependencies]
6+
konfig = { path = "../../../../konfig" }
7+
8+
[profile]
9+
entries = ["main.k", "${konfig:KCL_MOD}/models/render/render.k"]
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
[dependencies]
2+
[dependencies.charts]
3+
name = "charts"
4+
full_name = "charts_0.1.0"
5+
version = "0.1.0"
6+
[dependencies.filepath]
7+
name = "filepath"
8+
full_name = "filepath_0.16.1"
9+
version = "0.16.1"
10+
sum = "tyez8hOEiQVHINnlPZxHthYUpjvNwvYKrqdac3Ktock="
11+
reg = "ghcr.io"
12+
repo = "macropower/kclipper/filepath"
13+
oci_tag = "0.16.1"
14+
[dependencies.helm]
15+
name = "helm"
16+
full_name = "helm_0.16.1"
17+
version = "0.16.1"
18+
sum = "dqVkYOGIp3IZlx3CcKWqzTnQ27DQllRYoMBFiXT/1Rc="
19+
reg = "ghcr.io"
20+
repo = "macropower/kclipper/helm"
21+
oci_tag = "0.16.1"
22+
[dependencies.json_merge_patch]
23+
name = "json_merge_patch"
24+
full_name = "json_merge_patch_0.1.1"
25+
version = "0.1.1"
26+
sum = "o1aamShk1L2MGjnN9u3IErRZ3xBNDxgmFxXsGVMt8Wk="
27+
reg = "ghcr.io"
28+
repo = "kcl-lang/json_merge_patch"
29+
oci_tag = "0.1.1"
30+
[dependencies.k8s]
31+
name = "k8s"
32+
full_name = "k8s_1.31.2"
33+
version = "1.31.2"
34+
sum = "xBZgPsnpVVyWBpahuPQHReeRx28eUHGFoaPeqbct+vs="
35+
reg = "ghcr.io"
36+
repo = "kcl-lang/k8s"
37+
oci_tag = "1.31.2"
38+
[dependencies.konfig]
39+
name = "konfig"
40+
full_name = "konfig_0.0.1"
41+
version = "0.0.1"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import konfig.models.frontend
2+
3+
tenantConfiguration = frontend.Tenant {
4+
name = "crossplane"
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# yaml-language-server: $schema=../../../../konfig/models/frontend/patch.schema.json
2+
3+
syncPolicy:
4+
automated:
5+
selfHeal: true
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[package]
2+
name = "crossplane"
3+
version = "0.1.0"
4+
5+
[dependencies]
6+
crossplane_tenant = { path = "../base" }
7+
8+
[profile]
9+
entries = ["main.k", "${konfig:KCL_MOD}/models/render/render.k"]
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
[dependencies]
2+
[dependencies.charts]
3+
name = "charts"
4+
full_name = "charts_0.1.0"
5+
version = "0.1.0"
6+
[dependencies.crossplane_tenant]
7+
name = "crossplane_tenant"
8+
full_name = "crossplane_tenant_0.1.0"
9+
version = "0.1.0"
10+
[dependencies.filepath]
11+
name = "filepath"
12+
full_name = "filepath_0.16.1"
13+
version = "0.16.1"
14+
sum = "tyez8hOEiQVHINnlPZxHthYUpjvNwvYKrqdac3Ktock="
15+
reg = "ghcr.io"
16+
repo = "macropower/kclipper/filepath"
17+
oci_tag = "0.16.1"
18+
[dependencies.helm]
19+
name = "helm"
20+
full_name = "helm_0.16.1"
21+
version = "0.16.1"
22+
sum = "dqVkYOGIp3IZlx3CcKWqzTnQ27DQllRYoMBFiXT/1Rc="
23+
reg = "ghcr.io"
24+
repo = "macropower/kclipper/helm"
25+
oci_tag = "0.16.1"
26+
[dependencies.json_merge_patch]
27+
name = "json_merge_patch"
28+
full_name = "json_merge_patch_0.1.1"
29+
version = "0.1.1"
30+
sum = "o1aamShk1L2MGjnN9u3IErRZ3xBNDxgmFxXsGVMt8Wk="
31+
reg = "ghcr.io"
32+
repo = "kcl-lang/json_merge_patch"
33+
oci_tag = "0.1.1"
34+
[dependencies.k8s]
35+
name = "k8s"
36+
full_name = "k8s_1.31.2"
37+
version = "1.31.2"
38+
sum = "xBZgPsnpVVyWBpahuPQHReeRx28eUHGFoaPeqbct+vs="
39+
reg = "ghcr.io"
40+
repo = "kcl-lang/k8s"
41+
oci_tag = "1.31.2"
42+
[dependencies.konfig]
43+
name = "konfig"
44+
full_name = "konfig_0.0.1"
45+
version = "0.0.1"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import crossplane_tenant
2+
import konfig.models.frontend
3+
4+
tenant = crossplane_tenant.tenantConfiguration
5+
6+
shared = frontend.SharedApp {}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[package]
2+
name = "crossplane_system_base"
3+
version = "0.1.0"
4+
5+
[dependencies]
6+
crossplane_shared = { path = "../../_tenant/shared" }
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
[dependencies]
2+
[dependencies.charts]
3+
name = "charts"
4+
full_name = "charts_0.1.0"
5+
version = "0.1.0"
6+
[dependencies.crossplane]
7+
name = "crossplane"
8+
full_name = "crossplane_0.1.0"
9+
version = "0.1.0"
10+
reg = "ghcr.io"
11+
repo = "kcl-lang/crossplane"
12+
oci_tag = "0.1.0"
13+
[dependencies.crossplane_shared]
14+
name = "crossplane_shared"
15+
full_name = "crossplane_0.1.0"
16+
version = "0.1.0"
17+
[dependencies.crossplane_tenant]
18+
name = "crossplane_tenant"
19+
full_name = "crossplane_tenant_0.1.0"
20+
version = "0.1.0"
21+
[dependencies.filepath]
22+
name = "filepath"
23+
full_name = "filepath_0.16.1"
24+
version = "0.16.1"
25+
sum = "tyez8hOEiQVHINnlPZxHthYUpjvNwvYKrqdac3Ktock="
26+
reg = "ghcr.io"
27+
repo = "macropower/kclipper/filepath"
28+
oci_tag = "0.16.1"
29+
[dependencies.helm]
30+
name = "helm"
31+
full_name = "helm_0.16.1"
32+
version = "0.16.1"
33+
sum = "dqVkYOGIp3IZlx3CcKWqzTnQ27DQllRYoMBFiXT/1Rc="
34+
reg = "ghcr.io"
35+
repo = "macropower/kclipper/helm"
36+
oci_tag = "0.16.1"
37+
[dependencies.json_merge_patch]
38+
name = "json_merge_patch"
39+
full_name = "json_merge_patch_0.1.1"
40+
version = "0.1.1"
41+
sum = "o1aamShk1L2MGjnN9u3IErRZ3xBNDxgmFxXsGVMt8Wk="
42+
reg = "ghcr.io"
43+
repo = "kcl-lang/json_merge_patch"
44+
oci_tag = "0.1.1"
45+
[dependencies.k8s]
46+
name = "k8s"
47+
full_name = "k8s_1.31.2"
48+
version = "1.31.2"
49+
sum = "xBZgPsnpVVyWBpahuPQHReeRx28eUHGFoaPeqbct+vs="
50+
reg = "ghcr.io"
51+
repo = "kcl-lang/k8s"
52+
oci_tag = "1.31.2"
53+
[dependencies.konfig]
54+
name = "konfig"
55+
full_name = "konfig_0.0.1"
56+
version = "0.0.1"

0 commit comments

Comments
 (0)