mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
[Bugfix] Fix for ArangoTask list error (#1289)
This commit is contained in:
parent
f3c0a553f8
commit
1c3ba8b873
4 changed files with 3 additions and 8 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
## [master](https://github.com/arangodb/kube-arangodb/tree/master) (N/A)
|
||||
- (Bugfix) Fix manual overwrite for ReplicasCount in helm
|
||||
- (Bugfix) Fix for ArangoTask list error
|
||||
|
||||
## [1.2.25](https://github.com/arangodb/kube-arangodb/tree/1.2.25) (2023-04-07)
|
||||
- (Feature) Add Generics & Drop policy/v1beta1 support
|
||||
|
|
|
@ -8,9 +8,6 @@ spec:
|
|||
kind: ArangoTask
|
||||
listKind: ArangoTaskList
|
||||
plural: arangotasks
|
||||
shortNames:
|
||||
- arangodb
|
||||
- arango
|
||||
singular: arangotask
|
||||
scope: Namespaced
|
||||
versions:
|
||||
|
|
|
@ -8,9 +8,6 @@ spec:
|
|||
kind: ArangoTask
|
||||
listKind: ArangoTaskList
|
||||
plural: arangotasks
|
||||
shortNames:
|
||||
- arangodb
|
||||
- arango
|
||||
singular: arangotask
|
||||
scope: Namespaced
|
||||
versions:
|
||||
|
|
|
@ -161,11 +161,11 @@ func (i *inspectorState) RegisterInformers(k8s informers.SharedInformerFactory,
|
|||
// Arango
|
||||
arango.Database().V1().ArangoMembers().Informer().AddEventHandler(i.eventHandler(definitions.ArangoMember))
|
||||
|
||||
if _, err := i.ArangoTask().V1(); err != nil {
|
||||
if _, err := i.ArangoTask().V1(); err == nil {
|
||||
arango.Database().V1().ArangoTasks().Informer().AddEventHandler(i.eventHandler(definitions.ArangoTask))
|
||||
}
|
||||
|
||||
if _, err := i.ArangoClusterSynchronization().V1(); err != nil {
|
||||
if _, err := i.ArangoClusterSynchronization().V1(); err == nil {
|
||||
arango.Database().V1().ArangoClusterSynchronizations().Informer().AddEventHandler(i.eventHandler(definitions.ArangoClusterSynchronization))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue