Move the dex.baremetal.local /etc/hosts patch to the virtual test sites #149
Labels
bug
Something isn't working
priority/medium
Default priority for items
size m
2-5 days [moderate complexity, generic code, or enhancement to existing feature]]
Milestone
The oidc-apiserver-flags.json patch, which configures the apiserver to delegate auth to Dex, currently lives in the airship-core controlplane definition as of this writing, and is moving to the k8scontrol-ha function as part of this patch.
The API server needs to be configured with a "public" URL for dex, so that it can be reachable as part of the OIDC authentication process. In the real world, this will be a public DNS-resolvable name. For our gates, however, we currently rely on adding
dex.function.local
anddex.baremetal.local
to the/etc/hosts
file, mocking a DNS name.Today that patching is done at the type level -- this isn't ideal, since it will result in those host entries being added to real deployments as well. This issue is to move those particular patches to the virtual test site definitions.
This is a simple change and it would be good to get into the 2.1 release.
TODO: see if we could instead use a dex url of e.g.
https://10.23.25.102:32556/dex
, in which case we would never need to touch the hosts file.The text was updated successfully, but these errors were encountered: