Added support for configuration per project

Shoots with type==Infrastructure will not be considered to be added to Fleet
This commit is contained in:
Jakub Vavřík
2021-02-18 08:08:06 +01:00
parent 46ab0c5eae
commit d2d7872f67
16 changed files with 378 additions and 117 deletions

View File

@@ -22,9 +22,10 @@ apiVersion: core.gardener.cloud/v1beta1
kind: ControllerRegistration
...
values:
clientConnection:
kubeconfig: abcd
labels:
defaultConfig:
clientConnection:
kubeconfig: abcd
labels:
```
If the `shoot-fleet-agent` should be enabled for every shoot cluster in your Gardener managed environment, you need to globally enable it in the `ControllerRegistration`:

View File

@@ -15,10 +15,11 @@ spec:
providerConfig:
apiVersion: service.fleet-agent.extensions.gardener.cloud/v1alpha1
kind:
clientConnection:
kubeconfig: base64 encoded kubeconfig
labels:
env: test
defaultConfig:
clientConnection:
kubeconfig: base64 encoded kubeconfig
labels:
env: test
```
<style>