8000 Small fix for azure by juandiegopalomino · Pull Request #866 · run-x/opta · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Small fix for azure #866

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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