Using reference to id always returns namespace:id, but it doesn't
work while using project scoped secrets; thus using name similar
to secrets used as environment variables from source
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.
https://github.com/rancher/rancher/issues/14939.
Problems:
we are not using lazy match to match the group (!=|=) so that "foo !=
bar` can be parsed wrongly as (foo !) (=) (bar).
Solutions:
Use lazy match to match as less as possible the characters in the first
group. Also improved the whitespace matches.
This os_info mapper is used for v1.NodeStatus but
there is some case that mapper is evaluated when
v1.NodeStatus is nil. For example, when the user try
to create v3.Node by calling API(POST /v3/nodes).
So we should check data is nil or not before executing
mapper in order to prevent from trying to use data(nil)
as map inside OSInfo.FromInternal
We should only update the ingress controller version for our newly
supported k8s version
0.10.2-rancher2 to 0.16.2-rancher1 for following new k8s version
v1.11.1-rancher1-1
v1.10.5-rancher1-2
v1.9.7-rancher2-2