mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-21 13:23:03 +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 = 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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user