diff --git a/coder-sdk/workspace_providers.go b/coder-sdk/workspace_providers.go index ca44d64c..88d9ea30 100644 --- a/coder-sdk/workspace_providers.go +++ b/coder-sdk/workspace_providers.go @@ -24,12 +24,11 @@ type KubernetesProvider struct { // KubeProviderConfig defines Kubernetes-specific configuration options. type KubeProviderConfig struct { - ClusterAddress string `json:"cluster_address" table:"Cluster Address"` - DefaultNamespace string `json:"default_namespace" table:"Namespace"` - StorageClass string `json:"storage_class" table:"Storage Class"` - ClusterDomainSuffix string `json:"cluster_domain_suffix" table:"Cluster Domain Suffix"` - SSHEnabled bool `json:"ssh_enabled" table:"SSH Enabled"` - NamespaceWhitelist []string `json:"namespace_whitelist" table:"Namespace Allowlist"` + ClusterAddress string `json:"cluster_address" table:"Cluster Address"` + DefaultNamespace string `json:"default_namespace" table:"Namespace"` + StorageClass string `json:"storage_class" table:"Storage Class"` + ClusterDomainSuffix string `json:"cluster_domain_suffix" table:"Cluster Domain Suffix"` + SSHEnabled bool `json:"ssh_enabled" table:"SSH Enabled"` } // WorkspaceProviderStatus represents the configuration state of a workspace provider. diff --git a/internal/cmd/providers.go b/internal/cmd/providers.go index 11c9cedb..58624d8a 100644 --- a/internal/cmd/providers.go +++ b/internal/cmd/providers.go @@ -36,7 +36,7 @@ func createProviderCmd() *cobra.Command { clusterAddress string ) cmd := &cobra.Command{ - Use: "create [name] --hostname=[hostname] --clusterAddress=[clusterAddress]", + Use: "create [name] --hostname=[hostname] --cluster-address=[clusterAddress]", Args: xcobra.ExactArgs(1), Short: "create a new workspace provider.", Long: "Create a new Coder workspace provider.",