feat: Kubeconfig file should not be world or group readable by default (#1114)

Co-authored-by: Thierno IB. BARRY <ibrahima.br@gmail.com>
This commit is contained in:
Iryna Shustava
2021-05-27 13:29:17 -07:00
committed by GitHub
parent 7062cd6f94
commit 4a9fc3af11
3 changed files with 8 additions and 1 deletions

View File

@@ -38,6 +38,12 @@ variable "config_output_path" {
default = "./"
}
variable "kubeconfig_file_permission" {
description = "File permission of the Kubectl config file containing cluster configuration saved to `config_output_path.`"
type = string
default = "0600"
}
variable "write_kubeconfig" {
description = "Whether to write a Kubectl config file containing the cluster configuration. Saved to `config_output_path`."
type = bool