1
0
mirror of https://github.com/rancher/types.git synced 2025-07-10 12:03:04 +00:00
types/mapper
Daishan Peng 728ef5c4b9 sort env key
Problems:
When we created workloads in rancher api, the environment variable
field is converted without a specific order.(we simplely loop in the
map). This will cause K8s workload spec to change constantly if we do a
update, and cause the pod getting recreated.
Solutions:
Sort the map and make sure they always follow the same order in k8s
workload spec.
2018-08-06 10:27:51 -07:00
..
container_ports.go Update ToInternal 2018-07-19 10:40:37 -07:00
container_probe.go Refactor for IsEmpty 2018-07-19 10:40:37 -07:00
container_security_context.go Update ToInternal 2018-07-19 10:40:37 -07:00
container_status.go Assign state on init containers too 2018-07-19 10:40:37 -07:00
creator.go Update ToInternal 2018-07-19 10:40:37 -07:00
env.go sort env key 2018-08-06 10:27:51 -07:00
init_container.go Update ToInternal 2018-07-19 10:40:37 -07:00
namespace_reference.go Update ToInternal 2018-07-19 10:40:37 -07:00
namespace.go Update ToInternal 2018-07-19 10:40:37 -07:00
node_address.go Update ToInternal 2018-07-19 10:40:37 -07:00
os_info.go Check data is nil before executing mapping in os_info 2018-08-02 21:20:54 -07:00
persistvolumeclaim.go Update ToInternal 2018-07-19 10:40:37 -07:00
scheduling.go fix regular expression 2018-08-04 10:51:38 -07:00
statefulset_spec.go Update ToInternal 2018-07-19 10:40:37 -07:00
status.go Update ToInternal 2018-07-19 10:40:37 -07:00
workload.go Update ToInternal 2018-07-19 10:40:37 -07:00