cockroachdb / cockroachdb/cockroach-operator
[3/24 bug bash] kubectl describe CrdbCluster <cluster name> output provided incorrect CRDB version
- Ngôn ngữ chính
- Go
- Star
- 318
- Fork
- 104
- Merge trung bình
- 1 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
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:
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.