habitat-sh / habitat-operator

A Kubernetes operator for Habitat services
Apache License 2.0
61 stars 17 forks source link

Generated CRD has field `version` marked for deprecation. #336

Open surajssd opened 6 years ago

surajssd commented 6 years ago

The CRD we auto-generate when the operator is started uses a field in spec called version, which is marked for deprecation. From API reference docs in 1.11:

version Version is the version this resource belongs in Should be always first item in Versions field if provided. Optional, but at least one of Version or Versions must be set. Deprecated: Please use Versions.