Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Commit

Permalink
Make .spec.sshKeyPath optional
Browse files Browse the repository at this point in the history
  • Loading branch information
luxas authored and twelho committed Jul 31, 2020
1 parent c6ab293 commit 866cfcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion config/crd/cluster.weave.works_existinginfraclusters.yaml
Expand Up @@ -159,7 +159,6 @@ spec:
type: string
required:
- cri
- sshKeyPath
- user
type: object
status:
Expand Down
5 changes: 4 additions & 1 deletion pkg/existinginfra/v1alpha3/types.go
Expand Up @@ -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"`

Expand Down

0 comments on commit 866cfcd

Please sign in to comment.