Skip to content

Commit a552d00

Browse files
authored
externalize toolchain versions (#69)
Expose helmfile and helm version as inputs
1 parent 87b39dc commit a552d00

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,9 @@ Destroy environment
148148
| gitref-sha | Git SHA (Depricated. Use `ref` instead) | | false |
149149
| helm-args | Additional helm arguments | | false |
150150
| helm-dependency-build | Run helm dependency build, only for helm toolchain, `true` or `false` | false | false |
151+
| helm-version | Helm version | v3.10.2 | false |
151152
| helmfile-args | Additional helmfile arguments | | false |
153+
| helmfile-version | Helmfile version | v0.148.1 | false |
152154
| image | Docker image | N/A | true |
153155
| image-tag | Docker image tag | N/A | true |
154156
| namespace | Kubernetes namespace | N/A | true |

action.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,15 @@ inputs:
104104
helmfile-args:
105105
description: 'Additional helmfile arguments'
106106
required: false
107-
default: ""
107+
default: ""
108+
helm-version:
109+
description: "Helm version"
110+
required: false
111+
default: "v3.10.2"
112+
helmfile-version:
113+
description: "Helmfile version"
114+
required: false
115+
default: "v0.148.1"
108116
outputs:
109117
webapp-url:
110118
description: "Web Application url"
@@ -126,8 +134,8 @@ runs:
126134
uses: mamezou-tech/[email protected]
127135
if: ${{ inputs.operation == 'deploy' }}
128136
with:
129-
helmfile-version: v0.148.1
130-
helm-version: v3.10.2
137+
helmfile-version: "${{ inputs.helmfile-version }}"
138+
helm-version: "${{ inputs.helm-version }}"
131139
install-kubectl: false
132140

133141
- name: Setup node

0 commit comments

Comments
 (0)