cockroachdb / cockroachdb/cockroach-operator
[3/24 bug bash] kubectl describe CrdbCluster <cluster name> output provided incorrect CRDB version
- 主要语言
- Go
- 星标
- 318
- 派生
- 104
- 平均合并
- 1 天 6 小时
- 30 天内合并 PR
- 1
描述
When attempting to skip CockroachDB version in upgrading (19.2.x -> 20.2.x), the upgrade successfully did not go through, but the kubectl describe output incorrectly communicated that it successfully upgraded.
**Repro Steps:**
1. Install CockroachDB 19.2.x with the Operator having customized the defaults
2. Attempt to Upgrade to CockroachDB 20.2.x (expected fail because of skip)
**Expected Results**
- Cluster remains on 19.2.x
- when running kubectl describe CrdbCluster cockroachdb, I expect it to return 19.2.x
**Actual Results:**
`kubectl describe CrdbCluster cockroachdb incorrectly states cluster is on 20.2.5:`
> Johns-MacBook-Pro:~ johnkendall$ kubectl describe CrdbCluster cockroachdb
> Name: cockroachdb
> Namespace: default
> Labels:
> Annotations: crdb.io/containerimage: cockroachdb/cockroach:v20.2.5
> crdb.io/version: v20.2.5
> API Version: crdb.cockroachlabs.com/v1alpha1
> Kind: CrdbCluster
> Metadata:
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。