diff --git a/.github/workflows/gitops-promote-helm.yaml b/.github/workflows/gitops-promote-helm.yaml index 79f8b92..9e8873b 100644 --- a/.github/workflows/gitops-promote-helm.yaml +++ b/.github/workflows/gitops-promote-helm.yaml @@ -3,7 +3,7 @@ name: gitops-promote-helm on: workflow_call: inputs: - destination_namespace: + project: type: string required: true environment_repository: @@ -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 diff --git a/README.md b/README.md index c1d4897..bbe82e8 100644 --- a/README.md +++ b/README.md @@ -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 ```