You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 16, 2020. It is now read-only.
Copy file name to clipboardexpand all lines: examples/k8s-namespace-with-service-account/variables.tf
+3
Original file line number
Diff line number
Diff line change
@@ -5,14 +5,17 @@
5
5
6
6
variable"name" {
7
7
description="Name of the namespace to be created"
8
+
type=string
8
9
}
9
10
10
11
variable"kubectl_config_context_name" {
11
12
description="The config context to use when authenticating to the Kubernetes cluster. If empty, defaults to the current context specified in the kubeconfig file."
13
+
type=string
12
14
default=""
13
15
}
14
16
15
17
variable"kubectl_config_path" {
16
18
description="The path to the config file to use for kubectl. If empty, defaults to $HOME/.kube/config"
description="The name of the algorithm to use for private keys. Must be one of: RSA or ECDSA."
72
+
type=string
68
73
default="ECDSA"
69
74
}
70
75
71
76
variable"private_key_ecdsa_curve" {
72
77
description="The name of the elliptic curve to use. Should only be used if var.private_key_algorithm is ECDSA. Must be one of P224, P256, P384 or P521."
78
+
type=string
73
79
default="P256"
74
80
}
75
81
76
82
variable"private_key_rsa_bits" {
77
83
description="The size of the generated RSA key in bits. Should only be used if var.private_key_algorithm is RSA."
78
-
default="2048"
84
+
type=number
85
+
default=2048
79
86
}
80
87
81
88
# Kubectl options
82
89
83
90
variable"kubectl_config_context_name" {
84
91
description="The config context to use when authenticating to the Kubernetes cluster. If empty, defaults to the current context specified in the kubeconfig file."
92
+
type=string
85
93
default=""
86
94
}
87
95
88
96
variable"kubectl_config_path" {
89
97
description="The path to the config file to use for kubectl. If empty, defaults to $HOME/.kube/config"
98
+
type=string
90
99
default="~/.kube/config"
91
100
}
92
101
93
102
# Helm client config options
94
103
95
104
variable"configure_helm" {
96
105
description="Whether or not to configure the local helm client to authenticate to the deployed Tiller instance."
106
+
type=bool
97
107
default=true
98
108
}
99
109
100
110
variable"helm_home" {
101
111
description="The path to the home directory for helm that you wish to use for this deployment."
112
+
type=string
102
113
default=""
103
114
}
104
115
105
116
variable"helm_client_rbac_user" {
106
117
description="If set, will setup the local helm client to authenticate using this RBAC user."
118
+
type=string
107
119
default=""
108
120
}
109
121
110
122
variable"helm_client_rbac_group" {
111
123
description="If set, will setup the local helm client to authenticate using this RBAC group."
124
+
type=string
112
125
default=""
113
126
}
114
127
115
128
variable"helm_client_rbac_service_account" {
116
129
description="If set, will setup the local helm client to authenticate using this ServiceAccount. The ServiceAccount should be encoded as NAMESPACE/NAME."
description="The name of the algorithm to use for private keys. Must be one of: RSA or ECDSA."
45
+
type=string
41
46
default="ECDSA"
42
47
}
43
48
44
49
variable"private_key_ecdsa_curve" {
45
50
description="The name of the elliptic curve to use. Should only be used if var.private_key_algorithm is ECDSA. Must be one of P224, P256, P384 or P521."
51
+
type=string
46
52
default="P256"
47
53
}
48
54
49
55
variable"private_key_rsa_bits" {
50
56
description="The size of the generated RSA key in bits. Should only be used if var.private_key_algorithm is RSA."
description="Set to false to have this module create no resources. This weird parameter exists solely because Terraform does not support conditional modules. Therefore, this is a hack to allow you to conditionally decide if the Namespace roles should be created or not."
description="Set to false to have this module create no resources. This weird parameter exists solely because Terraform does not support conditional modules. Therefore, this is a hack to allow you to conditionally decide if the Namespace should be created or not."
description="The name of the algorithm to use for private keys. Must be one of: RSA or ECDSA."
51
+
type=string
47
52
default="ECDSA"
48
53
}
49
54
50
55
variable"private_key_ecdsa_curve" {
51
56
description="The name of the elliptic curve to use. Should only be used if var.private_key_algorithm is ECDSA. Must be one of P224, P256, P384 or P521."
57
+
type=string
52
58
default="P256"
53
59
}
54
60
55
61
variable"private_key_rsa_bits" {
56
62
description="The size of the generated RSA key in bits. Should only be used if var.private_key_algorithm is RSA."
description="Set to false to have this module create no resources. This weird parameter exists solely because Terraform does not support conditional modules. Therefore, this is a hack to allow you to conditionally decide if the TLS certs should be created or not."
0 commit comments