Skip to content

Commit

Permalink
fix: change cluster render to cluster template
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Sep 30, 2023
1 parent 772a871 commit 9bc8d61
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tasks/Taskfile.cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ tasks:
- helm dependency update
- helm template $RELEASE_NAME . --debug --values values.yaml --values values.{{.LANDSCAPE}}.{{.CLUSTER}}.yaml {{.CLI_ARGS}}

render:
template:
desc: Render the helm chart
dir: chart
cmds:
- helm dependency update
- >-
helm template $RELEASE_NAME . --values values.yaml --values values.{{.LANDSCAPE}}.{{.CLUSTER}}.yaml
{{.CLI_ARGS}} > rendered/{{.LANDSCAPE}}/{{.CLUSTER}}/manifest.yaml
{{.CLI_ARGS}}
install:
desc: Installs the chart
dir: chart
cmds:
- helm dependency update
- helm upgrade --kube-context {{.LANDSCAPE}}-{{.CLUSTER}} --install $RELEASE_NAME . --values values.yaml --values values.{{.LANDSCAPE}}.{{.CLUSTER}}.yaml {{.CLI_ARGS}}
- helm upgrade --install $RELEASE_NAME . --values values.yaml --values values.{{.LANDSCAPE}}.{{.CLUSTER}}.yaml {{.CLI_ARGS}}

remove:
desc: Removes an installed release
cmds:
- helm uninstall --kube-context {{.LANDSCAPE}}-{{.CLUSTER}} $RELEASE_NAME
- helm uninstall $RELEASE_NAME

0 comments on commit 9bc8d61

Please sign in to comment.