fix: recreate containers only if spec changed by comparing spec hash

This commit is contained in:
Pavel Sviderski committed 2025-03-19 13:11:04 +10:00
1 parent bd8bcbd2f9
commit fb01604d21
8 files changed
+285 -140

No files matched your search

+6 -5
View File
@@ -9,11 +9,12 @@ import (
)
const (
LabelManaged = "uncloud.managed"
LabelServiceID = "uncloud.service.id"
LabelServiceName = "uncloud.service.name"
LabelServiceMode = "uncloud.service.mode"
LabelServicePorts = "uncloud.service.ports"
LabelManaged = "uncloud.managed"
LabelServiceID = "uncloud.service.id"
LabelServiceName = "uncloud.service.name"
LabelServiceMode = "uncloud.service.mode"
LabelServicePorts = "uncloud.service.ports"
LabelServiceSpecHash = "uncloud.service.spec-hash"
)
type Container struct {