+++ This bug was initially created as a clone of Bug #1981498 +++
Tested in 4.7.0-0.nightly-2021-07-13-223143 fresh env
$ oc get kubecontrollermanager cluster -o yaml | grep -i secure
# no output, this means secure mode is NOT used by default.
$ oc new-project testproj
$ oc get cm openshift-service-ca.crt -o yaml
# annotation service.alpha.openshift.io/inject-vulnerable-legacy-cabundle: "true" is seen, and multiple certs in service-ca.crt field, this is as expected
(In reply to liyao from comment #3)
> Tested in 4.7.0-0.nightly-2021-07-13-223143 fresh env
> $ oc get kubecontrollermanager cluster -o yaml | grep -i secure
> # no output, this means secure mode is NOT used by default.
FYI, need not test this. See the 4.7 PRs, 4.7 does not add this field, only 4.8+ add.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (OpenShift Container Platform 4.7.21 bug fix update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.