-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Pablo Moreira Marques
committed
Oct 23, 2024
1 parent
1384ae1
commit 90d2aa4
Showing
2 changed files
with
19 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,8 +56,11 @@ Environment variable containing the base64-encoded kubeconfig data. Pay attentio | |
### `KUBE_YAML` or `FILES_PATH` | ||
|
||
One of them (or both) must be set. <br><br> | ||
KUBE_YAML is the path of <b>file</b> to file used to create/update the resource. This env can be an array with more then 1 file. (I.e. kubernetes/deployment.yml,artifacts/configmap.yaml )<br> | ||
FILES_PATH is the path of the <b>directory</b> where the files are located. All files in this directory will be applied.<br><br> | ||
|
||
KUBE_YAML is the path of <b>file</b> to file used to create/update the resource. This env can be an array with more then 1 file. (I.e. kubernetes/deployment.yml,artifacts/configmap.yaml )<br><br> | ||
|
||
FILES_PATH is the path of the <b>directory</b> where the files are located. All files in this current directory will be applied.<br><br> | ||
|
||
The files must be with *.yaml or *.yml extensions. | ||
|
||
<br> | ||
|
@@ -144,7 +147,7 @@ jobs: | |
uses: Pablommr/[email protected] | ||
env: | ||
FILES_PATH: kubernetes | ||
KUBE_YAML: kubernetes/envs/configmap.yaml | ||
KUBE_YAML: kubernetes/envs/prod/configmap.yaml | ||
SUBPATH: false #Defaul value | ||
ENVSUBST: true | ||
KUBE_ROLLOUT: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters