Commit 6e17e9e
committed
CNTRLPLANE-2777: add TypeMeta to GenericControllerConfig
The CVO now supports automatic injection of TLS security profile
settings into operator ConfigMaps annotated with
config.openshift.io/inject-tls
. The CVO identifies eligible configuration types by checking the
apiVersion and kind fields in YAML entries within the ConfigMap.
The CVO currently supports two configuration types:
- operator.openshift.io/v1alpha1.GenericOperatorConfig
- config.openshift.io/v1.GenericControllerConfig
The GenericControllerConfig type currently lacks apiVersion and kind
fields (provided by TypeMeta), preventing the CVO from identifying it
for automatic TLS profile injection. This change adds the missing
TypeMeta field to enable proper type identification.
When a matching type is identified, the CVO injects minTLSVersion and
cipherSuites values from the cluster's APIServer tlsSecurityProfile into
the configuration's .servingInfo section.1 parent 30c2ef7 commit 6e17e9e
4 files changed
Lines changed: 22 additions & 2 deletions
File tree
- config/v1
- openapi/generated_openapi
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
287 | 290 | | |
| 291 | + | |
| 292 | + | |
288 | 293 | | |
289 | 294 | | |
290 | 295 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments