fleet icon indicating copy to clipboard operation
fleet copied to clipboard

dev-scripts: Change apiServerURL for setup-fleet-downstream

Open p-se opened this issue 6 months ago • 1 comments

The dev scripts failed to work on a customized setup of docker where /etc/docker/daemon.json contains the following JSON to prevent conflicts on the host with a different configuration.

{
  "bip": "172.26.0.1/16",
  "default-address-pools": [
    {
      "base": "172.27.0.0/16",
      "size": 24
    },
    {
      "base": "172.28.0.0/16",
      "size": 24
    },
    {
      "base": "172.29.0.0/16",
      "size": 24
    },
    {
      "base": "172.30.0.0/16",
      "size": 24
    },
    {
      "base": "172.31.0.0/16",
      "size": 24
    },
    {
      "base": "172.32.0.0/16",
      "size": 24
    }
  ]
}

The update makes the certificate usable for the internal DNS name of the upstream cluster. The apiServerURL is then configured to talk to the upstream server directly rather than through the bridge of the host.

Refers to #XXX

p-se avatar Jan 09 '24 09:01 p-se