Skip to content

Commit cfa72ad

Browse files
authored
Merge pull request #514 from jonathan-innis/change-bucket-jsonpath
Change bucket JSONPath from URL to endpoint
2 parents e08f091 + 8870a0b commit cfa72ad

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

api/v1beta1/bucket_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func (in *Bucket) GetInterval() metav1.Duration {
178178
// +genclient:Namespaced
179179
// +kubebuilder:object:root=true
180180
// +kubebuilder:subresource:status
181-
// +kubebuilder:printcolumn:name="URL",type=string,JSONPath=`.spec.url`
181+
// +kubebuilder:printcolumn:name="Endpoint",type=string,JSONPath=`.spec.endpoint`
182182
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].status",description=""
183183
// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.conditions[?(@.type==\"Ready\")].message",description=""
184184
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description=""

config/crd/bases/source.toolkit.fluxcd.io_buckets.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ spec:
1717
scope: Namespaced
1818
versions:
1919
- additionalPrinterColumns:
20-
- jsonPath: .spec.url
21-
name: URL
20+
- jsonPath: .spec.endpoint
21+
name: Endpoint
2222
type: string
2323
- jsonPath: .status.conditions[?(@.type=="Ready")].status
2424
name: Ready

0 commit comments

Comments
 (0)