Skip to content

Commit

Permalink
fix: create and also update svc annotations (pravega#474)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoyhbx committed Aug 1, 2022
1 parent 2403ac5 commit 19aedbc
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
Expand Up @@ -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
Expand Down

0 comments on commit 19aedbc

Please sign in to comment.