You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: remove required config validation from k8s proxy cert and key
- With the config rewrite, it is possible to pass cert and key file paths for the Kubernetes Proxy component specifically (only to the Kubernetes proxy), just like all the other http server components. These fields are marked as required and we validate them.
- They can only be passed through the config file, there is no command line arg defined for those.
- When they are not defined, they will fall back to the `--cert` and `--key` passed to Omni itself - to the whole Omni API cert and key.
- This is wrong, as Omni might be run without `--cert` and `--key` flags, e.g., if it is running behind a reverse proxt that handling TLS termination.
Fix this by removing the required validation annotation, and add a test for it.
Signed-off-by: Utku Ozdemir <[email protected]>
0 commit comments