This repository was archived by the owner on Feb 5, 2020. It is now read-only.
modules/tls: modularize TLS provisioning #1910
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently everything is based off the Kube CA certificate.
This changes it by:
modules/tlssubsystems. This allows swapping in/out user-provided vs. self-signed certificates.oidc-ca.crtinkube-apiserver-secret.yaml. This can point to the Kube CA in existing clusters.--oidc-ca-filesetting of the API server which previously pointed to the Kube CA and now points to the aboveoidc-ca.crtBRIDGE_DEX_CLIENT_CA_FILEenv variable in the console deployment which points to the grpc client CA certificatetectonic-identity-grpc-client-secret/ca-cert. This secret is already present in existing clusters.ca-certin thetectonic-ca-cert-secretsecret now points to a dedicated ingress CA certificate, currently effectively pointing to the Kube CA in existing clusters. I don't envision a necessary upgrade path here, but added it in this list for completeness.Fixes INST-64
Re-opened and rebased version of #1811