Skip to content

Commit

Permalink
Small fix for azure (#866)
Browse files Browse the repository at this point in the history
  • Loading branch information
juandiegopalomino authored May 4, 2022
1 parent da5025f commit f474a4d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 8 additions & 4 deletions modules/azure_aks/azure-aks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,19 +68,23 @@ inputs:
default: "10.0.128.10"
outputs:
- name: k8s_endpoint
export: false
export: true
sensitive: true
description: The endpoint to communicate to the kubernetes cluster through.
- name: k8s_ca_data
export: false
export: true
sensitive: true
description: The certificate authority used by the kubernetes cluster for ssl.
- name: k8s_cluster_name
export: true
description: The name of the kubernetes cluster.
- name: client_cert
export: false
export: true
sensitive: true
description: Base64 encoded public certificate used by clients to authenticate to the Kubernetes cluster.
- name: client_key
export: false
export: true
sensitive: true
description: Base64 encoded private key used by clients to authenticate to the Kubernetes cluster.
output_providers:
helm:
Expand Down
2 changes: 2 additions & 0 deletions opta/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ def gen_tf(
entry: Dict[Any, Any] = {
"value": f"${{{{module.{self.name}.{output_name} }}}}"
}
if output.get("sensitive"):
entry["sensitive"] = True
output_key = (
output_name
if output_prefix is None
Expand Down

0 comments on commit f474a4d

Please sign in to comment.