Skip to content

Commit ffb5f39

Browse files
committed
feat: add compile config example
Signed-off-by: peefy <[email protected]>
1 parent 64ecbf6 commit ffb5f39

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

samples/ocirepo_with_params.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
apiVersion: source.toolkit.fluxcd.io/v1beta2
2+
kind: OCIRepository
3+
metadata:
4+
name: podinfo
5+
namespace: default
6+
spec:
7+
interval: 5m0s
8+
url: oci://ghcr.io/kcl-lang/podinfo
9+
ref:
10+
tag: latest
11+
---
12+
apiVersion: krm.kcl.dev.fluxcd/v1alpha1
13+
kind: KCLRun
14+
metadata:
15+
name: kcl-deployment
16+
namespace: source-system
17+
spec:
18+
sourceRef:
19+
kind: OCIRepository
20+
name: podinfo
21+
path: "."
22+
config:
23+
arguments:
24+
image: "foo/bar"
25+
vendor: true
26+
sortKeys: true
27+
showHidden: false

0 commit comments

Comments
 (0)