Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Don't show release values when running Terraform #627

Merged
merged 1 commit into from
Jun 26, 2020
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
3 changes: 2 additions & 1 deletion pkg/platform/aks/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ resource "local_file" "kubeconfig" {
# Used when checking, if we should ask user for confirmation when
# applying changes to the cluster.
output "initialized" {
value = true
value = true
sensitive = true
}
`
9 changes: 6 additions & 3 deletions pkg/platform/aws/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,14 @@ provider "tls" {
# Used when checking, if we should ask user for confirmation, when
# applying changes to the cluster.
output "initialized" {
value = true
value = true
sensitive = true
}

# values.yaml content for all deployed charts.
output "pod-checkpointer_values" {
value = module.aws-{{.Config.ClusterName}}.pod-checkpointer_values
value = module.aws-{{.Config.ClusterName}}.pod-checkpointer_values
sensitive = true
}

output "kube-apiserver_values" {
Expand All @@ -243,6 +245,7 @@ output "kubelet_values" {
}

output "calico_values" {
value = module.aws-{{.Config.ClusterName}}.calico_values
value = module.aws-{{.Config.ClusterName}}.calico_values
sensitive = true
}
`
9 changes: 6 additions & 3 deletions pkg/platform/baremetal/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,14 @@ provider "tls" {
# Used when checking, if we should ask user for confirmation, when
# applying changes to the cluster.
output "initialized" {
value = true
value = true
sensitive = true
}

# values.yaml content for all deployed charts.
output "pod-checkpointer_values" {
value = module.bare-metal-{{.ClusterName}}.pod-checkpointer_values
value = module.bare-metal-{{.ClusterName}}.pod-checkpointer_values
sensitive = true
}

output "kube-apiserver_values" {
Expand All @@ -125,6 +127,7 @@ output "kubelet_values" {
}

output "calico_values" {
value = module.bare-metal-{{.ClusterName}}.calico_values
value = module.bare-metal-{{.ClusterName}}.calico_values
sensitive = true
}
`
9 changes: 6 additions & 3 deletions pkg/platform/packet/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,14 @@ provider "packet" {
# Used when checking, if we should ask user for confirmation, when
# applying changes to the cluster.
output "initialized" {
value = true
value = true
sensitive = true
}

# values.yaml content for all deployed charts.
output "pod-checkpointer_values" {
value = module.packet-{{.Config.ClusterName}}.pod-checkpointer_values
value = module.packet-{{.Config.ClusterName}}.pod-checkpointer_values
sensitive = true
}

output "kube-apiserver_values" {
Expand All @@ -327,6 +329,7 @@ output "kubelet_values" {
}

output "calico_values" {
value = module.packet-{{.Config.ClusterName}}.calico_values
value = module.packet-{{.Config.ClusterName}}.calico_values
sensitive = true
}
`