File tree 1 file changed +19
-6
lines changed
applications/openshift/controller/controller_rotate_kubelet_server_certs
1 file changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -41,12 +41,25 @@ ocil: |-
41
41
# identifiers:
42
42
# cce@ocp4:
43
43
44
+ warnings :
45
+ - general : |-
46
+ {{{ openshift_cluster_setting("/api/v1/namespaces/openshift-kube-controller-manager/configmaps/config") | indent(4) }}}
47
+ - functionality : |-
48
+ This recommendation only applies if you let kubelets get their
49
+ certificates from the API Server. In case your certificates come from an
50
+ outside Certificate Authority/tool (e.g. Vault) then you need to take care
51
+ of rotation yourself
52
+
44
53
references :
45
54
cis : 1.3.6
46
55
47
- warnings :
48
- - functionality : |-
49
- This recommendation only applies if you let kubelets get their
50
- certificates from the API Server. In case your certificates come from an
51
- outside Certificate Authority/tool (e.g. Vault) then you need to take care
52
- of rotation yourself.
56
+ template :
57
+ name : yamlfile_value
58
+ vars :
59
+ ocp_data : " true"
60
+ filepath : /api/v1/namespaces/openshift-kube-controller-manager/configmaps/config
61
+ yamlpath : ' .data["config.yaml"]'
62
+ values :
63
+ - value : ' \"RotateKubeletServerCertificate\=true\"'
64
+ operation : " pattern match"
65
+ type : " string"
You can’t perform that action at this time.
0 commit comments