pass env args to helm
This commit is contained in:
@@ -23,6 +23,11 @@ on:
|
||||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
helmfile_env:
|
||||
description: "Optional JSON object string of environment variables for Helmfile"
|
||||
required: false
|
||||
default: "{}"
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
detect-service-type:
|
||||
@@ -119,6 +124,7 @@ jobs:
|
||||
uses: helmfile/helmfile-action@02671705b1dda1dc4b0a4ddd4f9f1ea8f4568c6f # v2.4.3
|
||||
with:
|
||||
helmfile-args: apply
|
||||
env: ${{ fromJSON(inputs.helmfile_env) }}
|
||||
|
||||
# Summary job that always runs to show what was deployed
|
||||
deployment-summary:
|
||||
|
||||
@@ -18,6 +18,11 @@ on:
|
||||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
helmfile_env:
|
||||
description: "Optional JSON object string of environment variables for Helmfile"
|
||||
required: false
|
||||
default: "{}"
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
detect-service-type:
|
||||
@@ -93,6 +98,7 @@ jobs:
|
||||
uses: helmfile/helmfile-action@02671705b1dda1dc4b0a4ddd4f9f1ea8f4568c6f # v2.4.3
|
||||
with:
|
||||
helmfile-args: diff
|
||||
env: ${{ fromJSON(inputs.helmfile_env) }}
|
||||
|
||||
# Summary job that always runs to show what was validated
|
||||
ci-summary:
|
||||
|
||||
Reference in New Issue
Block a user