1
0
mirror of https://github.com/rancher/types.git synced 2025-05-31 09:44:50 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
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
Darren Shepherd
986f420630 Update ToInternal 2018-07-19 10:40:37 -07:00
kinarashah
c073f3795d setting optional field 2018-05-25 10:09:18 -07:00
kinarashah
49b4428e44 revert rancher/types#448 2018-05-24 15:39:49 -07:00
kinarashah
2e39c2c6c8 change type of optional field
norman expects it to be bool after FromInternal, but k8s type is *bool
2018-05-24 09:58:24 -07:00
kinarashah
5ff6cface0 default targetkey to sourcekey 2018-04-23 17:32:20 -07:00
kinarashah
1dab0d7cc0 set environmentFrom correctly 2018-03-22 08:56:07 -07:00
Alena Prokharchyk
9df8ded442 Workload refactor 2018-02-09 18:27:26 -07:00
Darren Shepherd
e76df53327 Move mappers 2017-11-29 14:37:09 -07:00