-
Notifications
You must be signed in to change notification settings - Fork 370
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
Add extraArgs
config for kube-router
#3902
Add extraArgs
config for kube-router
#3902
Conversation
This is for advanced use cases and users that need to control things like ASN, routing and peering. Allows also users to override any k0s managed startup args. Signed-off-by: Jussi Nummelin <[email protected]>
9006dce
to
9f4dc1c
Compare
a bit confused, why would this fail validation? kubeRouter:
autoMTU: true
hairpin: "Enabled"
extraArgs:
- peer-router-ips="172.16.0.1,172.16.1.1"
- peer-router-asns=64512,64512
- cluster-asn=64512 or as an object extraArgs:
peer-router-ips: "172.16.0.1,172.16.1.1"
peer-router-asns: 64512,64512
cluster-asn: 64512 edit: ahh it's because they all need to be strings, even if they're really uint or array extraArgs:
peer-router-ips: "172.16.0.1,172.16.1.1"
peer-router-asns: "64512,64512"
advertise-cluster-ip: "true"
advertise-external-ip: "true"
advertise-loadbalancer-ip: "true"
cluster-asn: "64512"
``` |
additionalProperties: | ||
type: string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not a valid flag and causes kube-router to error if this property is defined
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what you're referring to? The additionalProperties
stuff is OpenAPI-specific and not referring to actual kube-router flags.
Description
This is for advanced use cases and users that need to control things like ASN, routing and peering. Allows also users to override any k0s managed startup args.
Type of change
How Has This Been Tested?
Checklist: