Bug 1843953
Summary: | stop adding service-ca to token secret in 4.5 | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Gabe Montero <gmontero> |
Component: | Samples | Assignee: | Gabe Montero <gmontero> |
Status: | CLOSED ERRATA | QA Contact: | XiuJuan Wang <xiuwang> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 4.5 | CC: | adam.kaplan, aos-bugs, bmcelvee, deads, mfojtik, mnewby, pweil, sttts, tflannag, xiuwang, xxia |
Target Milestone: | --- | ||
Target Release: | 4.5.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Removed functionality | |
Doc Text: |
The service-serving CA is no longer available in pods at /var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt. This file has been deprecated since 4.1.
Pods that currently consume the service-serving CA bundle from /var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt must migrate to obtaining the CA bundle from a configMap annotated with service.beta.openshift.io/inject-cabundle=true.
The change removes the OCP templates identified as using this removed functionality.
|
Story Points: | --- |
Clone Of: | 1843949 | Environment: | |
Last Closed: | 2020-07-13 17:43:18 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1843949 | ||
Bug Blocks: |
Description
Gabe Montero
2020-06-04 13:42:30 UTC
Maru - do you and your team view getting these SSO templates updated an 4.5.0 blocker? Brandy - I forget, is there some tagging or labelling of bugs we should do to note they should be release noted ? for verification, simply instantiate one of the SSO templates Maru changed and confirm service-ca is not in the token secret visit the changed files from the PR associated with this bz for that list With the PR merged, we don't need to release note Instantiate one of the SSO template $oc new-app sso74-ocp4-x509-postgresql-persistent for i in `oc get secret | awk '{print $1}'`; do oc get secret $i -o json | jq '.data["service-ca.crt"]' -r ; done Error from server (NotFound): secrets "NAME" not found null null null null null null null null null null null $oc get cm NAME DATA AGE sso-service-ca 1 3m30s $oc get pods NAME READY STATUS RESTARTS AGE sso-1-9nnvx 1/1 Running 1 4m26s sso-1-deploy 0/1 Completed 0 4m30s sso-postgresql-1-4mmb2 1/1 Running 0 4m27s sso-postgresql-1-deploy 0/1 Completed 0 4m30s $ oc rsh sso-1-9nnvx sh-4.4$ ls /var/run/secrets/kubernetes.io/serviceaccount/ ca.crt namespace token Verified this issue in 4.5.0-rc.1 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, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2409 |