Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding scope: Namespaced to all CRDs. #137

Merged
merged 1 commit into from
Sep 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions api/v1beta1/solrbackup_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,8 @@ func (sb *SolrBackup) PersistenceJobName() string {
}

// +kubebuilder:object:root=true
// +kubebuilder:resource:scope=Namespaced

// SolrBackup is the Schema for the solrbackups API
// +kubebuilder:categories=all
// +kubebuilder:subresource:status
Expand Down
1 change: 1 addition & 0 deletions api/v1beta1/solrcloud_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,7 @@ type ZookeeperConnectionInfo struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:resource:scope=Namespaced

// SolrCloud is the Schema for the solrclouds API
// +kubebuilder:resource:shortName=solr
Expand Down
1 change: 1 addition & 0 deletions api/v1beta1/solrcollection_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ type SolrCollectionStatus struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:resource:scope=Namespaced

// SolrCollection is the Schema for the solrcollections API
type SolrCollection struct {
Expand Down
1 change: 1 addition & 0 deletions api/v1beta1/solrcollectionalias_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ type SolrCollectionAliasStatus struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:resource:scope=Namespaced

// SolrCollectionAlias is the Schema for the solrcollectionaliases API
type SolrCollectionAlias struct {
Expand Down
1 change: 1 addition & 0 deletions api/v1beta1/solrprometheusexporter_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ type SolrPrometheusExporterStatus struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:resource:scope=Namespaced

// SolrPrometheusExporter is the Schema for the solrprometheusexporters API
// +kubebuilder:resource:shortName=solrmetrics
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/solr.bloomberg.com_solrbackups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
listKind: SolrBackupList
plural: solrbackups
singular: solrbackup
scope: ""
scope: Namespaced
subresources:
status: {}
validation:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
listKind: SolrCollectionAliasList
plural: solrcollectionaliases
singular: solrcollectionalias
scope: ""
scope: Namespaced
validation:
openAPIV3Schema:
description: SolrCollectionAlias is the Schema for the solrcollectionaliases
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/solr.bloomberg.com_solrcollections.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
listKind: SolrCollectionList
plural: solrcollections
singular: solrcollection
scope: ""
scope: Namespaced
validation:
openAPIV3Schema:
description: SolrCollection is the Schema for the solrcollections API
Expand Down
6 changes: 3 additions & 3 deletions helm/solr-operator/crds/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
listKind: SolrBackupList
plural: solrbackups
singular: solrbackup
scope: ""
scope: Namespaced
subresources:
status: {}
validation:
Expand Down Expand Up @@ -9160,7 +9160,7 @@ spec:
listKind: SolrCollectionAliasList
plural: solrcollectionaliases
singular: solrcollectionalias
scope: ""
scope: Namespaced
validation:
openAPIV3Schema:
description: SolrCollectionAlias is the Schema for the solrcollectionaliases
Expand Down Expand Up @@ -9241,7 +9241,7 @@ spec:
listKind: SolrCollectionList
plural: solrcollections
singular: solrcollection
scope: ""
scope: Namespaced
validation:
openAPIV3Schema:
description: SolrCollection is the Schema for the solrcollections API
Expand Down