terraform-k8s
terraform-k8s copied to clipboard
Add support for outputName, outputNamespace overrides.
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.
@koikonom is this something we could look at pulling in? Would be great to have this functionality