Skip to content

Commit

Permalink
Replace _ to -
Browse files Browse the repository at this point in the history
  • Loading branch information
italolelis committed Jan 10, 2020
1 parent 268dbf3 commit 5fc0329
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ payload if the action was triggered by a deployment.
- `version`: Version of the app, usually commit sha works here.
- `timeout`: specify a timeout for helm deployment
- `repo`: Helm chart repository to be added.
- `repo_alias`: Helm repository alias that will be used.
- `repo_username`: Helm repository username if authentication is needed.
- `repo_password`: Helm repository password if authentication is needed.
- `repo-alias`: Helm repository alias that will be used.
- `repo-username`: Helm repository username if authentication is needed.
- `repo-password`: Helm repository password if authentication is needed.

Additional parameters: If the action is being triggered by a deployment event
and the `task` parameter in the deployment event is set to `"remove"` then this
Expand Down Expand Up @@ -178,9 +178,9 @@ jobs:
chart: 'chartmuseum/app'
token: '${{ github.token }}'
repo: 'http://chartmuseum.example.com'
repo_alias: chartmuseum
repo_username: ${{ secrets.CHARTMUSEUM_USERNAME }}
repo_password: ${{ secrets.CHARTMUSEUM_PASSWORD }}
repo-alias: chartmuseum
repo-username: ${{ secrets.CHARTMUSEUM_USERNAME }}
repo-password: ${{ secrets.CHARTMUSEUM_PASSWORD }}
env:
KUBECONFIG_FILE: '${{ secrets.KUBECONFIG }}'
```
Expand Down
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ inputs:
repo:
description: Helm chart repository to be added.
required: false
repo_alias:
repo-alias:
description: Helm repository alias that will be used.
required: false
repo_username:
repo-username:
description: Helm repository username if authentication is needed.
required: false
repo_password:
repo-password:
description: Helm repository password if authentication is needed.
required: false
runs:
Expand Down
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ async function run() {
const helm = getInput("helm") || "helm";
const timeout = getInput("timeout");
const repo = getInput("repo");
const repoAlias = getInput("repo_alias");
const repoUsername = getInput("repo_username");
const repoPassword = getInput("repo_password");
const repoAlias = getInput("repo-alias");
const repoUsername = getInput("repo-username");
const repoPassword = getInput("repo-password");

const dryRun = core.getInput("dry-run");
const secrets = getSecrets(core.getInput("secrets"));
Expand Down

0 comments on commit 5fc0329

Please sign in to comment.