terraform-k8s icon indicating copy to clipboard operation
terraform-k8s copied to clipboard

Add support for outputName, outputNamespace overrides.

Open ejhayes opened this issue 3 years ago • 2 comments

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #110

Release note for CHANGELOG:

- Adds support for `outputName` and `outputNamespace`

Output:

---
apiVersion: app.terraform.io/v1alpha1
kind: Workspace
metadata:
  name: test-workspace
  namespace: terraform
spec:
  module:
    source: app.terraform.io/some_org/some_module/some_provider
    version: 1.0.0
  organization: some_org
  outputNamespace: my_namespace
  outputName: my_secret
  outputs:
  - key: some_output
    moduleOutputName: some_output
  secretsMountPath: /tmp/secrets
  variables:
  - key: some_key
    value: some_value
    sensitive: false
    environmentVariable: false

The above would create secret my_secret in the my_namespace namespace.

ejhayes avatar Oct 07 '21 00:10 ejhayes

CLA assistant check
All committers have signed the CLA.

hashicorp-cla avatar Oct 07 '21 00:10 hashicorp-cla

@koikonom is this something we could look at pulling in? Would be great to have this functionality

ejhayes avatar Oct 12 '21 18:10 ejhayes