mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-24 06:28:21 +01:00
fix(kubernetes): use kind_namespace_name_replicas format for group scanning
This commit is contained in:
@@ -114,7 +114,9 @@ func (provider *KubernetesProvider) GetGroups() (map[string][]string, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group := groups[groupName]
|
group := groups[groupName]
|
||||||
group = append(group, deployment.Name)
|
// TOOD: Use annotation for scale
|
||||||
|
name := fmt.Sprintf("%s_%s_%s_%d", "deployment", deployment.Namespace, deployment.Name, 1)
|
||||||
|
group = append(group, name)
|
||||||
groups[groupName] = group
|
groups[groupName] = group
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user