WorkflowResource

This commit is contained in:
mr
2026-02-24 13:29:00 +01:00
parent 0f6aa1fe78
commit d18b031a29
4 changed files with 9 additions and 10 deletions

View File

@@ -616,16 +616,6 @@ func (k *KubernetesService) CreateSecret(context context.Context, minioId string
return nil
}
// Returns a concatenation of the peerId and namespace in order for
// kubernetes ressources to have a unique name, under 63 characters
// and yet identify which peer they are created for
func getConcatenatedName(peerId string, namespace string) string {
s := strings.Split(namespace, "-")[:2]
n := s[0] + "-" + s[1]
return peerId + "-" + n
}
// ============== ADMIRALTY ==============
// Returns a concatenation of the peerId and namespace in order for
// kubernetes ressources to have a unique name, under 63 characters