Skip to content

Commit c13b38f

Browse files
committed
add platformservice task
1 parent 2dc2f2a commit c13b38f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Taskfile.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,25 @@ includes:
1616
CHART_COMPONENTS: "[]"
1717
CRDS_COMPONENTS: platform-service-dns
1818
CRDS_PATH: '{{.ROOT_DIR}}/api/crds/manifests'
19+
20+
tasks:
21+
platformservice:
22+
desc: " Generates a PlatformService manifest for the current version. Set the VERBOSITY env var to overwrite the default verbosity level (INFO)."
23+
requires:
24+
vars:
25+
- VERSION
26+
vars:
27+
VERBOSITY:
28+
sh: echo "${VERBOSITY:-INFO}"
29+
cmds:
30+
- cmd: |
31+
cat << EOF
32+
apiVersion: openmcp.cloud/v1alpha1
33+
kind: PlatformService
34+
metadata:
35+
name: dns
36+
spec:
37+
image: ghcr.io/openmcp-project/images/platform-service-dns:{{.VERSION}}
38+
verbosity: {{.VERBOSITY}}
39+
EOF
40+
silent: true

0 commit comments

Comments
 (0)