1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-01 15:06:23 +00:00
Files
rke/cluster
Jiaqi Luo 6dff99618c This PR fixes the issue that kube-apiserver does not restart in all CP nodes after changing the Pod Security Admission Configuration.
A new environment variable RKE_ADMISSION_CONFIG_CHECKSUM whose value is the checksum of the content of the admission configuration file is added to the env list that is set in the `kube-apiserver` container configuration, so any changes in the admission configuration file will result in a change in the container's configuration. RKE will detect the changes during reconciliation and therefore restart the kube-apiserver container on all CP nodes. The upgrade cadence is thresholded by the upgrade strategy in the cluster.

This PR also drops the unnecessary appending of env var to the cluster object which shows in the cluster.rkestate file.

Signed-off-by: Jiaqi Luo <6218999+jiaqiluo@users.noreply.github.com>
2024-03-13 18:10:58 -07:00
..
2023-11-28 08:37:46 -08:00
2024-03-01 04:27:27 -08:00
2020-07-11 23:29:33 -07:00
2024-03-01 04:27:27 -08:00
2023-11-28 08:37:46 -08:00
2023-08-04 15:24:27 +02:00