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
Description: "Specify service-account-issuer. If use_tke_default is set to `true`, please set this parameter value to empty string.",
162
+
Optional: true,
163
+
Description: "Specify service-account-issuer. If use_tke_default is set to `true`, please do not set this field.",
165
164
},
166
165
"use_tke_default": {
167
166
Type: schema.TypeBool,
168
167
Optional: true,
169
-
Description: "If set to `true`, the issuer and jwks_uri will be generated automatically by tke, please use empty string as value of issuer and jwks_uri.",
168
+
Description: "If set to `true`, the issuer and jwks_uri will be generated automatically by tke, please do not set issuer and jwks_uri.",
170
169
},
171
170
"jwks_uri": {
172
171
Type: schema.TypeString,
173
172
Optional: true,
174
-
Description: "Specify service-account-jwks-uri. If use_tke_default is set to `true`, please set this parameter value to empty string or just ignore it.",
173
+
Description: "Specify service-account-jwks-uri. If use_tke_default is set to `true`, please do not set this field.",
175
174
},
176
175
"auto_create_discovery_anonymous_auth": {
177
176
Type: schema.TypeBool,
@@ -206,9 +205,7 @@ func resourceTencentCloudTKEAuthAttachmentCreate(d *schema.ResourceData, meta in
Description: "If set to `true`, the issuer and jwks_uri will be generated automatically by tke, please use empty string as value of issuer and jwks_uri.",
1284
+
Description: "If set to `true`, the issuer and jwks_uri will be generated automatically by tke, please do not set issuer and jwks_uri, and they will be ignored.",
1285
1285
},
1286
1286
"jwks_uri": {
1287
1287
Type: schema.TypeString,
1288
1288
Optional: true,
1289
-
Description: "Specify service-account-jwks-uri. If use_tke_default is set to `true`, please set this parameter value to empty string or just ignore it.",
1289
+
Description: "Specify service-account-jwks-uri. If use_tke_default is set to `true`, please do not set this field, it will be ignored anyway.",
1290
1290
},
1291
1291
"issuer": {
1292
1292
Type: schema.TypeString,
1293
1293
Optional: true,
1294
-
Description: "Specify service-account-issuer. If use_tke_default is set to `true`, please set this parameter value to empty string or just ignore it.",
1294
+
Description: "Specify service-account-issuer. If use_tke_default is set to `true`, please do not set this field, it will be ignored anyway.",
*`cluster_id` - (Required, String) ID of clusters.
156
-
*`issuer` - (Required, String) Specify service-account-issuer. If use_tke_default is set to `true`, please set this parameter value to empty string.
157
155
*`auto_create_discovery_anonymous_auth` - (Optional, Bool) If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
158
-
*`jwks_uri` - (Optional, String) Specify service-account-jwks-uri. If use_tke_default is set to `true`, please set this parameter value to empty string or just ignore it.
159
-
*`use_tke_default` - (Optional, Bool) If set to `true`, the issuer and jwks_uri will be generated automatically by tke, please use empty string as value of issuer and jwks_uri.
156
+
*`issuer` - (Optional, String) Specify service-account-issuer. If use_tke_default is set to `true`, please do not set this field.
157
+
*`jwks_uri` - (Optional, String) Specify service-account-jwks-uri. If use_tke_default is set to `true`, please do not set this field.
158
+
*`use_tke_default` - (Optional, Bool) If set to `true`, the issuer and jwks_uri will be generated automatically by tke, please do not set issuer and jwks_uri.
Copy file name to clipboardExpand all lines: website/docs/r/kubernetes_cluster.html.markdown
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -512,9 +512,9 @@ The following arguments are supported:
512
512
The `auth_options` object supports the following:
513
513
514
514
*`auto_create_discovery_anonymous_auth` - (Optional, Bool) If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
515
-
*`issuer` - (Optional, String) Specify service-account-issuer. If use_tke_default is set to `true`, please set this parameter value to empty string or just ignore it.
516
-
*`jwks_uri` - (Optional, String) Specify service-account-jwks-uri. If use_tke_default is set to `true`, please set this parameter value to empty string or just ignore it.
517
-
*`use_tke_default` - (Optional, Bool) If set to `true`, the issuer and jwks_uri will be generated automatically by tke, please use empty string as value of issuer and jwks_uri.
515
+
*`issuer` - (Optional, String) Specify service-account-issuer. If use_tke_default is set to `true`, please do not set this field, it will be ignored anyway.
516
+
*`jwks_uri` - (Optional, String) Specify service-account-jwks-uri. If use_tke_default is set to `true`, please do not set this field, it will be ignored anyway.
517
+
*`use_tke_default` - (Optional, Bool) If set to `true`, the issuer and jwks_uri will be generated automatically by tke, please do not set issuer and jwks_uri, and they will be ignored.
518
518
519
519
The `cluster_audit` object supports the following:
0 commit comments