add legacy labels
Signed-off-by: Pascal Sthamer <10992664+P4sca1@users.noreply.github.com>
This commit is contained in:
@@ -1059,6 +1059,8 @@ func deployK8sWorker(image string, identifier string, env []string) error {
|
|||||||
// "app.kubernetes.io/version": "",
|
// "app.kubernetes.io/version": "",
|
||||||
"app.kubernetes.io/part-of": "shuffle",
|
"app.kubernetes.io/part-of": "shuffle",
|
||||||
"app.kubernetes.io/managed-by": "shuffle-orborus",
|
"app.kubernetes.io/managed-by": "shuffle-orborus",
|
||||||
|
// Keep legacy labels for backward compatibility
|
||||||
|
"container": "shuffle-worker",
|
||||||
}
|
}
|
||||||
|
|
||||||
matchLabels := map[string]string{
|
matchLabels := map[string]string{
|
||||||
|
|||||||
@@ -497,6 +497,8 @@ func deployk8sApp(image string, identifier string, env []string) error {
|
|||||||
// "app.kubernetes.io/version": "",
|
// "app.kubernetes.io/version": "",
|
||||||
"app.kubernetes.io/part-of": "shuffle",
|
"app.kubernetes.io/part-of": "shuffle",
|
||||||
"app.kubernetes.io/managed-by": "shuffle-worker",
|
"app.kubernetes.io/managed-by": "shuffle-worker",
|
||||||
|
// Keep legacy labels for backward compatibility
|
||||||
|
"app": name,
|
||||||
}
|
}
|
||||||
|
|
||||||
matchLabels := map[string]string{
|
matchLabels := map[string]string{
|
||||||
|
|||||||
Reference in New Issue
Block a user