diff --git a/config/crd/cluster.weave.works_existinginfraclusters.yaml b/config/crd/cluster.weave.works_existinginfraclusters.yaml index bf8396a6..3150a493 100644 --- a/config/crd/cluster.weave.works_existinginfraclusters.yaml +++ b/config/crd/cluster.weave.works_existinginfraclusters.yaml @@ -159,7 +159,6 @@ spec: type: string required: - cri - - sshKeyPath - user type: object status: diff --git a/pkg/existinginfra/v1alpha3/types.go b/pkg/existinginfra/v1alpha3/types.go index 7a89dbcf..5f5d591c 100644 --- a/pkg/existinginfra/v1alpha3/types.go +++ b/pkg/existinginfra/v1alpha3/types.go @@ -17,7 +17,10 @@ type ExistingInfraCluster struct { } type ExistingInfraClusterSpec struct { - User string `json:"user"` + User string `json:"user"` + // TODO: Figure out a way to re-generate the CRDs. Also, this field should be removed in v1alpha3 + // once we have the conversions in place + // +optional DeprecatedSSHKeyPath string `json:"sshKeyPath"` HTTPProxy string `json:"httpProxy,omitempty"`