Hi! I am trying out the FleetAddonConfig, but I ca...
# cluster-api
a
Hi! I am trying out the FleetAddonConfig, but I can find out how to bootstrap the local cluster with a fleet agent. Is this at all possible, or do I have to install the fleet helm chart manually?
f
the cluster-api-provider-fleet should automatically install Fleet when needed, how are you installing the provider and how is the FleetAddonConfig defined? are you also using Rancher?
a
Yes, CAAPF installs fleet when I create an addon, but when I inspect the helm release for fleet, I can see that the parameter bootstrap is set to false. This is my FleetAddonConfig:
Copy code
apiVersion: <http://addons.cluster.x-k8s.io/v1alpha1|addons.cluster.x-k8s.io/v1alpha1>
kind: FleetAddonConfig
metadata:
  name: fleet-addon-config
spec:
  cluster:
    hostNetwork: true
  config:
    server:
      inferLocal: true
  install:
    followLatest: true
No, I am not using rancher. I am using capi for vsphere, and with caapf as an addon.
f
a
Ok, I will have to install the fleet chart manually then. Unless there are any plans to make this configurable?
f
if I'm not overlooking anything, I think this could be a feature to be able to enable or disable bootstrap using FleetAddonConfig
a
I would really appreciate that 🙂
l
I think we can make it configurable. Please open an issue, but we may still want to keep this setting at
false
by default. Having a
local
cluster bootstrapped has a chance of exploiting permissions to gain ability to deploy unverified workloads on other downstream clusters in rancher case.
a
Will do :)