mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-07 09:21:53 +02:00
Merge branch 'rolling_updates_with_statefulset_annotations' of github.com:zalando-incubator/postgres-operator into rolling_updates_with_statefulset_annotations
This commit is contained in:
@@ -139,6 +139,12 @@ func specPatch(spec interface{}) ([]byte, error) {
|
||||
}{spec})
|
||||
}
|
||||
|
||||
func metaPatch(meta interface{}) ([]byte, error) {
|
||||
return json.Marshal(struct {
|
||||
ObjMeta interface{} `json:"metadata"`
|
||||
}{meta})
|
||||
}
|
||||
|
||||
func metadataAnnotationsPatch(annotations map[string]string) string {
|
||||
annotationsList := make([]string, 0, len(annotations))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user