Kubernetes: add option to fetch additional objectTypes which are not present in DEFAULT_OBJECTS (#28150)
* Fixed lack of secrets Signed-off-by: Florian Fl Bauer <florian.fl.bauer@deutschebahn.com> * add tests Signed-off-by: Florian Fl Bauer <florian.fl.bauer@deutschebahn.com> * remove log Signed-off-by: Florian Fl Bauer <florian.fl.bauer@deutschebahn.com> --------- Signed-off-by: Florian Fl Bauer <florian.fl.bauer@deutschebahn.com>
This commit is contained in:
@@ -592,9 +592,8 @@ Overrides for the Kubernetes object types fetched from the cluster. The default
|
||||
- `statefulsets`
|
||||
- `daemonsets`
|
||||
|
||||
You may use this config to override the default object types if you only want a subset of
|
||||
the default ones. However, it's currently not supported to fetch object types other
|
||||
than the ones specified in the default types.
|
||||
You may use this config to override the default object types if you only want specific ones.
|
||||
However, the only additional object type to fetch at the moment is `secrets`.
|
||||
|
||||
Example:
|
||||
|
||||
@@ -608,6 +607,7 @@ kubernetes:
|
||||
- pods
|
||||
- services
|
||||
- statefulsets
|
||||
- secrets
|
||||
```
|
||||
|
||||
### Role Based Access Control
|
||||
|
||||
Reference in New Issue
Block a user