Up until now, the STS HTTPS server reused the certificate that was generated for the S3 service. This has led to a problem with Openshift's internal HAProxy not letting requests through since it was set to verifyhost - which subsequently failed since the requests contained the cert for s3. instead of sts. This PR:
Adds the necessary annotations to the STS service for certs to be generated
Mounts the certs on the endpoint pod
Removes unused S3 service certs that were mounted on the core pod
Explain the changes
Up until now, the STS HTTPS server reused the certificate that was generated for the S3 service. This has led to a problem with Openshift's internal HAProxy not letting requests through since it was set to
verifyhost
- which subsequently failed since the requests contained the cert fors3.
instead ofsts.
This PR:This PR is the other half of https://github.com/noobaa/noobaa-core/pull/8123
Issues: Fixed #xxx / Gap #xxx
Testing Instructions: