Skip to content

Commit

Permalink
fix: create and also update svc annotations (pravega#474) (pravega#492)
Browse files Browse the repository at this point in the history
Signed-off-by: hoyhbx <hoyhbx@gmail.com>

Signed-off-by: hoyhbx <hoyhbx@gmail.com>
Signed-off-by: Marco Moscher <moscher@modell-aachen.de>
hoyhbx authored and mmoscher committed Oct 12, 2022
1 parent 27e3a93 commit a10dcfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/zk/synchronizers.go
Original file line number Diff line number Diff line change
@@ -26,6 +26,7 @@ func SyncStatefulSet(curr *appsv1.StatefulSet, next *appsv1.StatefulSet) {
func SyncService(curr *v1.Service, next *v1.Service) {
curr.Spec.Ports = next.Spec.Ports
curr.Spec.Type = next.Spec.Type
curr.SetAnnotations(next.GetAnnotations())
}

// SyncConfigMap synchronizes a configmap with an updated spec and validates it

0 comments on commit a10dcfa

Please sign in to comment.