Improve description for default fields (#369)
This commit is contained in:
parent
e4bbcfd50a
commit
e2e5f19a29
10 changed files with 26 additions and 26 deletions
|
|
@ -375,7 +375,7 @@ func (r *clusterResource) Schema(_ context.Context, _ resource.SchemaRequest, re
|
|||
},
|
||||
},
|
||||
"os_name": schema.StringAttribute{
|
||||
Description: "The name of the OS image. E.g. `flatcar`.",
|
||||
Description: "The name of the OS image. Defaults to `flatcar`.",
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
Default: stringdefault.StaticString(DefaultOSName),
|
||||
|
|
@ -397,13 +397,13 @@ func (r *clusterResource) Schema(_ context.Context, _ resource.SchemaRequest, re
|
|||
Computed: true,
|
||||
},
|
||||
"volume_type": schema.StringAttribute{
|
||||
Description: "Specifies the volume type. E.g. `storage_premium_perf1`.",
|
||||
Description: "Specifies the volume type. Defaults to `storage_premium_perf1`.",
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
Default: stringdefault.StaticString(DefaultVolumeType),
|
||||
},
|
||||
"volume_size": schema.Int64Attribute{
|
||||
Description: "The volume size in GB. E.g. `20`",
|
||||
Description: "The volume size in GB. Defaults to `20`",
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
Default: int64default.StaticInt64(DefaultVolumeSizeGB),
|
||||
|
|
@ -441,7 +441,7 @@ func (r *clusterResource) Schema(_ context.Context, _ resource.SchemaRequest, re
|
|||
},
|
||||
},
|
||||
"cri": schema.StringAttribute{
|
||||
Description: "Specifies the container runtime. E.g. `containerd`",
|
||||
Description: "Specifies the container runtime. Defaults to `containerd`",
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
Default: stringdefault.StaticString(DefaultCRI),
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ func (r *kubeconfigResource) Schema(_ context.Context, _ resource.SchemaRequest,
|
|||
"cluster_name": "Name of the SKE cluster.",
|
||||
"project_id": "STACKIT project ID to which the cluster is associated.",
|
||||
"kube_config": "Raw short-lived admin kubeconfig.",
|
||||
"expiration": "Expiration time of the kubeconfig, in seconds.",
|
||||
"expiration": "Expiration time of the kubeconfig, in seconds. Defaults to `3600`",
|
||||
"expires_at": "Timestamp when the kubeconfig expires",
|
||||
"refresh": "If set to true, the provider will check if the kubeconfig has expired and will generated a new valid one in-place",
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue