mirror of
https://github.com/rancher/types.git
synced 2025-09-13 05:26:11 +00:00
Mapper for workload annotations
This commit is contained in:
@@ -668,6 +668,7 @@ func NewWorkloadTypeMapper() types.Mapper {
|
||||
&m.Move{From: "metadata/annotations", To: "annotations", NoDeleteFromField: true},
|
||||
&m.Drop{Field: "metadata"},
|
||||
mapper.ContainerPorts{},
|
||||
mapper.WorkloadAnnotations{},
|
||||
&m.AnnotationField{Field: "publicEndpoints", List: true},
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user