-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kuma injector overrides annotation configuration with default values #4458
Comments
This issue was inactive for 30 days it will be reviewed in the next triage meeting and might be closed. |
@lahabana I tested it with the master and injector is able to override the default values with the user specified one.. |
I've just tried and I see @rejmond 's problem on master (the port doesn't take the annotation):
|
- Make override of the port work - Fix from `kuma.io/builtindnsport` to `kuma.io/builtin-dns-port` - Fix from `kuma.io/builtindns` to `kuma.io/builtin-dns` - Rewrite `annotations.go` to make it easier to use defaults - Provide a standard way to mark pod annotations as deprecated and to log about them Fix kumahq#4458 Fix kumahq#2347 Signed-off-by: Charly Molter <charly.molter@konghq.com>
- Make override of the port work - Fix from `kuma.io/builtindnsport` to `kuma.io/builtin-dns-port` - Fix from `kuma.io/builtindns` to `kuma.io/builtin-dns` - Rewrite `annotations.go` to make it easier to use defaults - Provide a standard way to mark pod annotations as deprecated and to log about them Fix #4458 Fix #2347 Signed-off-by: Charly Molter <charly.molter@konghq.com>
What happened?
I am trying to configure a pod with annotations, using this documentation.
The Kuma injector don't apply them and use default configuration.
How to reproduce?
I use Kind cluster for development.
Create a cluster.
Install Kuma control plane.
kumactl install control-plane | kubectl apply -f -
Create Kuma meshed pod.
Check pod annotations.
Expected output:
Real output:
Pod annotation
kuma.io/builtindnsport
has a default value15053
, not15058
as I set in pod's configuration.Kuma version
Kuma: 1.6.0
Kuma configuration
Default configuration file without changes.
kuma-cp.conf.txt
The text was updated successfully, but these errors were encountered: