Skip to content
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

update metallb values.schema.json #2904

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/metallb/appendValues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ instances:
- default-pool
# ipAddressPoolSelectors: {}
nodeSelectors:
key: "kubernetes.io/os"
value: "linux"
key: "node.spidernet.io/include-metallb-l2-loadbalancer"
value: "true"
interfaces: []

global:
Expand Down
4 changes: 2 additions & 2 deletions charts/metallb/metallb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ A network load-balancer implementation for Kubernetes using standard routing pro
| instances.arp.interfaces | list | `[]` | |
| instances.arp.ipAddressPools | list | `["default-pool"]` | list of ip-address pools via arp advertisement |
| instances.arp.name | string | `"default-l2advertisement"` | default arp advertisement name |
| instances.arp.nodeSelectors.key | string | `"kubernetes.io/os"` | |
| instances.arp.nodeSelectors.value | string | `"linux"` | |
| instances.arp.nodeSelectors.key | string | `"node.spidernet.io/include-metallb-l2-loadbalancer"` | |
| instances.arp.nodeSelectors.value | string | `"true"` | |
| instances.enabled | bool | `false` | enable default ip-address pool |
| instances.ipAddressPools.addresses | list | `[]` | |
| instances.ipAddressPools.autoAssign | bool | `true` | |
Expand Down
13 changes: 10 additions & 3 deletions charts/metallb/metallb/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@
"default": {},
"title": "MetalLB ARP Mode",
"description": "Metallb supports ARP and BGP modes to declare LoadBalancer IPs. the BGP mode is complex to configure and requires hardware support (such as BGP Router). If you want to configure BGP. Please refer to https://metallb.universe.tf/configuration/_advanced_bgp_configuration",
"required": [
"enabled",
"ipAddressPools",
"arp"
],
"properties": {
"enabled": {
"type": "boolean",
Expand All @@ -132,9 +137,7 @@
"items": {
"type": "string"
},
"default": [
"192.168.10.100-192.168.10.200"
],
"default": [],
"examples": [
"192.168.10.0/24",
"172.168.1.1-172.168.1.10",
Expand All @@ -156,6 +159,10 @@
"type": "object",
"title": "NodeSelectors",
"description": "NodeSelectors allows to limit the nodes to announce as next hops for the LoadBalancer IP. When empty, all the nodes having are announced as next hops",
"required": [
"key",
"value"
],
"properties": {
"key": {
"type": "string",
Expand Down
4 changes: 2 additions & 2 deletions charts/metallb/metallb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,8 @@ instances:
- default-pool
# ipAddressPoolSelectors: {}
nodeSelectors:
key: "kubernetes.io/os"
value: "linux"
key: "node.spidernet.io/include-metallb-l2-loadbalancer"
value: "true"
interfaces: []
global:
imageRegistry: ""
Expand Down
13 changes: 10 additions & 3 deletions charts/metallb/parent/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@
"default": {},
"title": "MetalLB ARP Mode",
"description": "Metallb supports ARP and BGP modes to declare LoadBalancer IPs. the BGP mode is complex to configure and requires hardware support (such as BGP Router). If you want to configure BGP. Please refer to https://metallb.universe.tf/configuration/_advanced_bgp_configuration",
"required": [
"enabled",
"ipAddressPools",
"arp"
],
"properties": {
"enabled": {
"type": "boolean",
Expand All @@ -132,9 +137,7 @@
"items": {
"type": "string"
},
"default": [
"192.168.10.100-192.168.10.200"
],
"default": [],
"examples": [
"192.168.10.0/24",
"172.168.1.1-172.168.1.10",
Expand All @@ -156,6 +159,10 @@
"type": "object",
"title": "NodeSelectors",
"description": "NodeSelectors allows to limit the nodes to announce as next hops for the LoadBalancer IP. When empty, all the nodes having are announced as next hops",
"required": [
"key",
"value"
],
"properties": {
"key": {
"type": "string",
Expand Down
Loading