Skip to content

Commit

Permalink
add helm release addon non-sensitive outputs (#700)
Browse files Browse the repository at this point in the history
Co-authored-by: Bryant Biggs <[email protected]>
  • Loading branch information
FernandoMiguel and bryantbiggs authored Jul 8, 2022
1 parent e64e9d9 commit 4d99fd7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/kubernetes-addons/helm-addon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,7 @@ Helm Addon module can be used to provision a generic Helm Chart as an Add-On for

## Outputs

No outputs.
| Name | Description |
|------|-------------|
| <a name="output_helm_release"></a> [helm\_release](#output\_helm\_release) | Map of attributes of the Helm release created without sensitive outputs |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
4 changes: 4 additions & 0 deletions modules/kubernetes-addons/helm-addon/outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
output "helm_release" {
description = "Map of attributes of the Helm release created without sensitive outputs"
value = try({ for k, v in helm_release.addon : k => v if k != "repository_password" }, {})
}

0 comments on commit 4d99fd7

Please sign in to comment.