Fix action branch and wheelhouse validation (#180)
Branch for actions-operator was renamed, and setuptools released a
breaking change that only affects the validate-wheelhouse test, not the
actual charm deploys (since the base VMs for deploys won't have the
newer setuptools).
Ensure charm only accesses local API server (#176)
* Ensure charm only accesses local API server
The new LB support in #153 unintentionally changed the endpoint that the
charm client uses to talk to the API server making it use the internal
LB address instead of always talking to the API server locally. This
introduced an issue during bootstrap where the initial local-only token
would try to be used on other API servers and fail.
CK-124 - Fix port for loadbalancer-external (#172)
* CK-124 - Fix port for loadbalancer-external
The old external LB support using kubeapi-load-balancer and the old
public-address interface used the default config value for the port
from the ka-l-b charm of 443. The switch to the new loadbalancer
interface ended up unintentionally switching that in the default
configuration to use the standard API port of 6443 which broke the
test_sans test case.
* LB health check should always use the internal / backend port
Don't bind auth webhook daemon to the virtual IP (#167)
There are cases where Juju could return a configured virtual IP address
as an ingress address, this change will mark the configured ha-cluster-vip
to be ignored when retrieving the list of ingress-addresses, this prevent
the charm from rendering a configuration for cdk.master.auth-webhook.service
that will bind the process to a IP address that's not configured in the host
anymore.
Allow custom layers / interfaces to be used in integration tests (#169)
`charm build` will pull layers and interfaces from the index by default,
but when a patch depends on changes non upstreamed to test locally the
environment variables CHARM_INTERFACES_DIR and CHARM_LAYERS_DIR need to
be set to the path where the interfaces and layers are in the local
machine, the directories to use will be {toxinidir}/layers and
{toxinidir}/interfaces.