Closed axisofentropy closed 1 year ago
The environment variable MANAGED_DNS_ZONE_DNS_NAME
for the web
and sidekiq
containers can be passed verbatim into spec.ingress.host
. On qa
I see that its value is app.qa-gke.uffizzi.com
which is perfect.
Builds upon #79
When specifying a
UffizziCluster
Resource, Our controller must specify a hostname and annotations for the Ingress that serves the k8s Master API. The bare minimum looks like this:The operator's schema and behavior could change in the near future, but I've just tested this on our main qa
uffizzi-client
Cluster. Unfortunately all of those attributes are required for the Operator to acknowledge.Note that this
host
value is actually the root of a hostname that will be generated by the operator. So make sure it matches the Cluster you're installing upon. For example, we have a DNSA
record for*.app.qa-gke.uffizzi.com
pointing to the IP address of this Cluster'singress-nginx
load balancer. When I specified the UffizziCluster above, it created an Ingress with a hostnamejune-27-three.uc.app.qa-gke.uffizzi.com
. (That generated hostname will also be within the Secret fetched byuffizzi cluster update-kubeconfig
, and I tested that successfully too.)Slack thread https://uffizzi-internal.slack.com/archives/CN8MKSAQ5/p1687882228981759