Skip to content

Commit

Permalink
feat(promote-helm): project
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickleet committed Nov 20, 2022
1 parent 431701e commit 1385d62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gitops-promote-helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: gitops-promote-helm
on:
workflow_call:
inputs:
destination_namespace:
project:
type: string
required: true
environment_repository:
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
helm template promote/helm/ \
--set name=${{ github.event.repository.name }} \
--set version=${{ github.head_ref }} \
--set destination.namespace=${{ inputs.destinationNamespace }} \
--set project=${{ inputs.project }} \
--set repository=${{ env.GITHUB_REPOSITORY }} \
> promotion-environment/helm/templates/${{ github.event.repository.name }}.yaml
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
secrets: inherit
with:
environment_repository: CloudNativeEntrepreneur/example-prod-env
destination_namespace: example-prod-env
project: example-prod-env
pull_request: false # Optional - set to true to create pull request instead of pushing to the default branch
```

Expand Down

0 comments on commit 1385d62

Please sign in to comment.