Skip to content

Commit ca679a7

Browse files
Merge pull request #188 from openshift-bot/synchronize-upstream
NO-ISSUE: Synchronize From Upstream Repositories
2 parents 55ab02e + cc70dd5 commit ca679a7

File tree

4 files changed

+40
-3
lines changed

4 files changed

+40
-3
lines changed

api/v1alpha1/clusterextension_types.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,11 @@ type ClusterExtensionInstallStatus struct {
510510
//+kubebuilder:object:root=true
511511
//+kubebuilder:resource:scope=Cluster
512512
//+kubebuilder:subresource:status
513+
//+kubebuilder:printcolumn:name="Installed Bundle",type=string,JSONPath=`.status.install.bundle.name`
514+
//+kubebuilder:printcolumn:name=Version,type=string,JSONPath=`.status.install.bundle.version`
515+
//+kubebuilder:printcolumn:name="Installed",type=string,JSONPath=`.status.conditions[?(@.type=='Installed')].status`
516+
//+kubebuilder:printcolumn:name="Progressing",type=string,JSONPath=`.status.conditions[?(@.type=='Progressing')].status`
517+
//+kubebuilder:printcolumn:name=Age,type=date,JSONPath=`.metadata.creationTimestamp`
513518

514519
// ClusterExtension is the Schema for the clusterextensions API
515520
type ClusterExtension struct {

commitchecker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
expectedMergeBase: cfd4bec28827a94e717f824a111ddcac3a144709
1+
expectedMergeBase: 6bda277736597142d5863e9884f872b2ffd77b63
22
upstreamBranch: main
33
upstreamOrg: operator-framework
44
upstreamRepo: operator-controller

config/base/crd/bases/olm.operatorframework.io_clusterextensions.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,23 @@ spec:
1414
singular: clusterextension
1515
scope: Cluster
1616
versions:
17-
- name: v1alpha1
17+
- additionalPrinterColumns:
18+
- jsonPath: .status.install.bundle.name
19+
name: Installed Bundle
20+
type: string
21+
- jsonPath: .status.install.bundle.version
22+
name: Version
23+
type: string
24+
- jsonPath: .status.conditions[?(@.type=='Installed')].status
25+
name: Installed
26+
type: string
27+
- jsonPath: .status.conditions[?(@.type=='Progressing')].status
28+
name: Progressing
29+
type: string
30+
- jsonPath: .metadata.creationTimestamp
31+
name: Age
32+
type: date
33+
name: v1alpha1
1834
schema:
1935
openAPIV3Schema:
2036
description: ClusterExtension is the Schema for the clusterextensions API

openshift/manifests/01-customresourcedefinition-clusterextensions.olm.operatorframework.io.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,23 @@ spec:
1414
singular: clusterextension
1515
scope: Cluster
1616
versions:
17-
- name: v1alpha1
17+
- additionalPrinterColumns:
18+
- jsonPath: .status.install.bundle.name
19+
name: Installed Bundle
20+
type: string
21+
- jsonPath: .status.install.bundle.version
22+
name: Version
23+
type: string
24+
- jsonPath: .status.conditions[?(@.type=='Installed')].status
25+
name: Installed
26+
type: string
27+
- jsonPath: .status.conditions[?(@.type=='Progressing')].status
28+
name: Progressing
29+
type: string
30+
- jsonPath: .metadata.creationTimestamp
31+
name: Age
32+
type: date
33+
name: v1alpha1
1834
schema:
1935
openAPIV3Schema:
2036
description: ClusterExtension is the Schema for the clusterextensions API

0 commit comments

Comments
 (0)