Skip to content

Commit

Permalink
Bump MetalLB
Browse files Browse the repository at this point in the history
This commit bumps MetalLB:
from: 2e8ad2dba31bc3cd3d416b08d9e8df1f40a50a50
apply Prometheus best practices to existing alerts (2024-10-11)

to:  eeb320f15b70603ec6b93fe8ec3c290384b8a2a0
website: fix L2Advertisement doc example (2024-12-13)
Signed-off-by: github-actions[bot] <[email protected]>
  • Loading branch information
web-flow committed Dec 16, 2024
1 parent 6abf1c6 commit 9bc5548
Show file tree
Hide file tree
Showing 17 changed files with 65 additions and 58 deletions.
10 changes: 5 additions & 5 deletions bin/metallb-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -569,10 +569,10 @@ spec:
type: boolean
enableGracefulRestart:
description: |-
EnableGracefulRestart allows BGP peer to continue to forward data packets along
known routes while the routing protocol information is being restored.
This field is immutable because it requires restart of the BGP session
Supported for FRR mode only.
EnableGracefulRestart allows BGP peer to continue to forward data packets
along known routes while the routing protocol information is being
restored. This field is immutable because it requires restart of the BGP
session. Supported for FRR mode only.
type: boolean
x-kubernetes-validations:
- message: EnableGracefulRestart cannot be changed after creation
Expand Down Expand Up @@ -4024,7 +4024,7 @@ spec:
- name: DEPLOY_KUBE_RBAC_PROXIES
value: "false"
- name: FRRK8S_IMAGE
value: quay.io/metallb/frr-k8s:v0.0.15
value: quay.io/metallb/frr-k8s:v0.0.16
- name: FRRK8S_EXTERNAL_NAMESPACE
value: frr-k8s-system
- name: OPERATOR_NAMESPACE
Expand Down
6 changes: 3 additions & 3 deletions bindata/deployment/helm/frr-k8s/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: crds
repository: ""
version: 0.0.15
digest: sha256:7c9dcf2405fb90e548b7f8c593065648385092794431b2dcb8288d957aacad2e
generated: "2024-09-17T14:17:43.040895+03:00"
version: 0.0.16
digest: sha256:b54ee64c5e61f1dd38e89efc87ebd1e36cdb7c4dd7c897d9985040dccd713dba
generated: "2024-11-22T11:40:47.152053909+01:00"
4 changes: 2 additions & 2 deletions bindata/deployment/helm/frr-k8s/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ kubeVersion: ">= 1.19.0-0"
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
# NOTE: this value is updated by the frrk8s release process
version: 0.0.15
version: 0.0.16
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# NOTE: this value is updated by the frrk8s release process
appVersion: v0.0.15
appVersion: v0.0.16
6 changes: 3 additions & 3 deletions bindata/deployment/helm/frr-k8s/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frr-k8s

![Version: 0.0.15](https://img.shields.io/badge/Version-0.0.15-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.0.15](https://img.shields.io/badge/AppVersion-v0.0.15-informational?style=flat-square)
![Version: 0.0.16](https://img.shields.io/badge/Version-0.0.16-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.0.16](https://img.shields.io/badge/AppVersion-v0.0.16-informational?style=flat-square)

A cloud native wrapper of FRR

Expand All @@ -16,7 +16,7 @@ Kubernetes: `>= 1.19.0-0`

| Repository | Name | Version |
|------------|------|---------|
| | crds | 0.0.15 |
| | crds | 0.0.16 |

## Values

Expand All @@ -27,6 +27,7 @@ Kubernetes: `>= 1.19.0-0`
| frrk8s.affinity | object | `{}` | |
| frrk8s.alwaysBlock | string | `""` | |
| frrk8s.disableCertRotation | bool | `false` | |
| frrk8s.frr.acceptIncomingBGPConnections | bool | `false` | |
| frrk8s.frr.image.pullPolicy | string | `nil` | |
| frrk8s.frr.image.repository | string | `"quay.io/frrouting/frr"` | |
| frrk8s.frr.image.tag | string | `"9.1.0"` | |
Expand All @@ -35,7 +36,6 @@ Kubernetes: `>= 1.19.0-0`
| frrk8s.frr.resources | object | `{}` | |
| frrk8s.frr.secureMetricsPort | int | `9141` | |
| frrk8s.frrMetrics.resources | object | `{}` | |
| frrk8s.healthPort | int | `8081` | |
| frrk8s.image.pullPolicy | string | `nil` | |
| frrk8s.image.repository | string | `"quay.io/metallb/frr-k8s"` | |
| frrk8s.image.tag | string | `nil` | |
Expand Down
11 changes: 5 additions & 6 deletions bindata/deployment/helm/frr-k8s/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ data:
#
vtysh_enable=yes
zebra_options=" -A 127.0.0.1 -s 90000000"
bgpd_options=" -A 127.0.0.1"
bgpd_options=" -A 127.0.0.1 {{ if not .Values.frrk8s.frr.acceptIncomingBGPConnections }} -p 0 {{- end }}"
ospfd_options=" -A 127.0.0.1"
ospf6d_options=" -A ::1"
ripd_options=" -A 127.0.0.1"
Expand Down Expand Up @@ -199,7 +199,6 @@ spec:
{{- with .Values.frrk8s.logLevel }}
- --log-level={{ . }}
{{- end }}
- --health-probe-bind-address={{.Values.prometheus.metricsBindAddress}}:{{ .Values.frrk8s.healthPort }}
{{- if .Values.frrk8s.alwaysBlock }}
- --always-block={{ .Values.frrk8s.alwaysBlock }}
{{- end }}
Expand All @@ -222,8 +221,8 @@ spec:
{{- if .Values.frrk8s.livenessProbe.enabled }}
livenessProbe:
httpGet:
path: /healthz
port: {{ .Values.frrk8s.healthPort }}
path: /metrics
port: monitoring
host: {{ .Values.prometheus.metricsBindAddress }}
initialDelaySeconds: {{ .Values.frrk8s.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.frrk8s.livenessProbe.periodSeconds }}
Expand All @@ -234,8 +233,8 @@ spec:
{{- if .Values.frrk8s.readinessProbe.enabled }}
readinessProbe:
httpGet:
path: /healthz
port: {{ .Values.frrk8s.healthPort }}
path: /metrics
port: monitoring
host: {{ .Values.prometheus.metricsBindAddress }}
initialDelaySeconds: {{ .Values.frrk8s.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.frrk8s.readinessProbe.periodSeconds }}
Expand Down
13 changes: 8 additions & 5 deletions bindata/deployment/helm/frr-k8s/templates/webhooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
- "--restart-on-rotator-secret-refresh=true"
{{- end }}
- "--namespace=$(NAMESPACE)"
- --health-probe-bind-address=:8081
- "--metrics-bind-address=:{{ .Values.prometheus.metricsPort }}"
env:
- name: NAMESPACE
valueFrom:
Expand All @@ -59,20 +59,23 @@ spec:
drop:
- ALL
readOnlyRootFilesystem: true
ports:
- containerPort: {{ .Values.prometheus.metricsPort }}
name: monitoring
{{- if .Values.frrk8s.livenessProbe.enabled }}
livenessProbe:
httpGet:
path: /healthz
port: 8081
path: /metrics
port: monitoring
initialDelaySeconds: {{ .Values.frrk8s.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.frrk8s.livenessProbe.periodSeconds }}
failureThreshold: {{ .Values.frrk8s.livenessProbe.failureThreshold }}
{{- end }}
{{- if .Values.frrk8s.readinessProbe.enabled }}
readinessProbe:
httpGet:
path: /readyz
port: 8081
path: /metrics
port: monitoring
initialDelaySeconds: {{ .Values.frrk8s.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.frrk8s.readinessProbe.periodSeconds }}
failureThreshold: {{ .Values.frrk8s.readinessProbe.failureThreshold }}
Expand Down
2 changes: 1 addition & 1 deletion bindata/deployment/helm/frr-k8s/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ frrk8s:
podAnnotations: {}
labels:
app: frr-k8s
healthPort: 8081
livenessProbe:
enabled: true
failureThreshold: 3
Expand Down Expand Up @@ -164,6 +163,7 @@ frrk8s:
metricsPort: 7573
resources: {}
secureMetricsPort: 9141
acceptIncomingBGPConnections: false
reloader:
resources: {}
frrMetrics:
Expand Down
6 changes: 3 additions & 3 deletions bindata/deployment/helm/metallb/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ dependencies:
version: 0.0.0
- name: frr-k8s
repository: https://metallb.github.io/frr-k8s
version: 0.0.15
digest: sha256:2300c788e6c8f7d5f3b51ba37b20ed00b9e949c16f5aff880977703ac154f75f
generated: "2024-09-17T15:14:34.977441+03:00"
version: 0.0.16
digest: sha256:ad791f4e4099df79fe2b2f2ac0c462b1d263de64a06a4f3356a262a9077a6763
generated: "2024-11-22T12:44:09.002830722+01:00"
2 changes: 1 addition & 1 deletion bindata/deployment/helm/metallb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Kubernetes: `>= 1.19.0-0`
| Repository | Name | Version |
|------------|------|---------|
| | crds | 0.0.0 |
| https://metallb.github.io/frr-k8s | frr-k8s | 0.0.15 |
| https://metallb.github.io/frr-k8s | frr-k8s | 0.0.16 |

## Values

Expand Down
4 changes: 2 additions & 2 deletions bundle/manifests/metallb-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ metadata:
categories: Networking
certified: "false"
containerImage: quay.io/metallb/metallb-operator
createdAt: "2024-10-14T05:06:10Z"
createdAt: "2024-12-16T05:06:20Z"
description: An operator for deploying MetalLB on a kubernetes cluster.
operators.operatorframework.io/builder: operator-sdk-v1.34.1
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4
Expand Down Expand Up @@ -890,7 +890,7 @@ spec:
- name: DEPLOY_KUBE_RBAC_PROXIES
value: "false"
- name: FRRK8S_IMAGE
value: quay.io/metallb/frr-k8s:v0.0.15
value: quay.io/metallb/frr-k8s:v0.0.16
- name: FRRK8S_EXTERNAL_NAMESPACE
value: frr-k8s-system
- name: OPERATOR_NAMESPACE
Expand Down
8 changes: 4 additions & 4 deletions bundle/manifests/metallb.io_bgppeers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,10 @@ spec:
type: boolean
enableGracefulRestart:
description: |-
EnableGracefulRestart allows BGP peer to continue to forward data packets along
known routes while the routing protocol information is being restored.
This field is immutable because it requires restart of the BGP session
Supported for FRR mode only.
EnableGracefulRestart allows BGP peer to continue to forward data packets
along known routes while the routing protocol information is being
restored. This field is immutable because it requires restart of the BGP
session. Supported for FRR mode only.
type: boolean
x-kubernetes-validations:
- message: EnableGracefulRestart cannot be changed after creation
Expand Down
8 changes: 4 additions & 4 deletions config/crd/bases/metallb.io_bgppeers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,10 @@ spec:
type: boolean
enableGracefulRestart:
description: |-
EnableGracefulRestart allows BGP peer to continue to forward data packets along
known routes while the routing protocol information is being restored.
This field is immutable because it requires restart of the BGP session
Supported for FRR mode only.
EnableGracefulRestart allows BGP peer to continue to forward data packets
along known routes while the routing protocol information is being
restored. This field is immutable because it requires restart of the BGP
session. Supported for FRR mode only.
type: boolean
x-kubernetes-validations:
- message: EnableGracefulRestart cannot be changed after creation
Expand Down
2 changes: 1 addition & 1 deletion config/manager/env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ spec:
- name: DEPLOY_KUBE_RBAC_PROXIES
value: "false"
- name: FRRK8S_IMAGE
value: "quay.io/metallb/frr-k8s:v0.0.15"
value: "quay.io/metallb/frr-k8s:v0.0.16"
- name: FRRK8S_EXTERNAL_NAMESPACE
value: "frr-k8s-system"
2 changes: 1 addition & 1 deletion hack/metallb_ref.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2e8ad2dba31bc3cd3d416b08d9e8df1f40a50a50
eeb320f15b70603ec6b93fe8ec3c290384b8a2a0
15 changes: 7 additions & 8 deletions pkg/helm/testdata/ocp-metrics-frr-k8s-daemon.golden
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"labels": {
"app": "frr-k8s",
"app.kubernetes.io/managed-by": "Helm",
"app.kubernetes.io/version": "v0.0.15",
"app.kubernetes.io/version": "v0.0.16",
"component": "frr-k8s",
"helm.sh/chart": "frr-k8s-0.0.15"
"helm.sh/chart": "frr-k8s-0.0.16"
},
"name": "frr-k8s",
"namespace": "metallb-test-namespace"
Expand All @@ -33,8 +33,7 @@
"--node-name=$(NODE_NAME)",
"--namespace=$(NAMESPACE)",
"--metrics-bind-address=127.0.0.1:7572",
"--log-level=info",
"--health-probe-bind-address=127.0.0.1:8081"
"--log-level=info"
],
"command": [
"/frr-k8s"
Expand Down Expand Up @@ -70,8 +69,8 @@
"failureThreshold": 3,
"httpGet": {
"host": "127.0.0.1",
"path": "/healthz",
"port": 8081
"path": "/metrics",
"port": "monitoring"
},
"initialDelaySeconds": 10,
"periodSeconds": 10,
Expand All @@ -89,8 +88,8 @@
"failureThreshold": 3,
"httpGet": {
"host": "127.0.0.1",
"path": "/healthz",
"port": 8081
"path": "/metrics",
"port": "monitoring"
},
"initialDelaySeconds": 10,
"periodSeconds": 10,
Expand Down
4 changes: 2 additions & 2 deletions pkg/helm/testdata/ocp-metrics-frr-k8s-monitor.golden
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"labels": {
"app": "frr-k8s",
"app.kubernetes.io/managed-by": "Helm",
"app.kubernetes.io/version": "v0.0.15",
"app.kubernetes.io/version": "v0.0.16",
"component": "frr-k8s",
"helm.sh/chart": "frr-k8s-0.0.15"
"helm.sh/chart": "frr-k8s-0.0.16"
},
"name": "frr-k8s-monitor",
"namespace": "metallb-test-namespace"
Expand Down
20 changes: 13 additions & 7 deletions pkg/helm/testdata/ocp-metrics-frr-k8s-webhook.golden
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"labels": {
"app": "frr-k8s",
"app.kubernetes.io/managed-by": "Helm",
"app.kubernetes.io/version": "v0.0.15",
"app.kubernetes.io/version": "v0.0.16",
"component": "frr-k8s-webhook-server",
"helm.sh/chart": "frr-k8s-0.0.15"
"helm.sh/chart": "frr-k8s-0.0.16"
},
"name": "frr-k8s-webhook-server",
"namespace": "metallb-test-namespace"
Expand Down Expand Up @@ -35,7 +35,7 @@
"--webhook-mode=onlywebhook",
"--disable-cert-rotation=true",
"--namespace=$(NAMESPACE)",
"--health-probe-bind-address=:8081"
"--metrics-bind-address=:7572"
],
"command": [
"/frr-k8s"
Expand All @@ -54,18 +54,24 @@
"livenessProbe": {
"failureThreshold": 3,
"httpGet": {
"path": "/healthz",
"port": 8081
"path": "/metrics",
"port": "monitoring"
},
"initialDelaySeconds": 10,
"periodSeconds": 10
},
"name": "frr-k8s-webhook-server",
"ports": [
{
"containerPort": 7572,
"name": "monitoring"
}
],
"readinessProbe": {
"failureThreshold": 3,
"httpGet": {
"path": "/readyz",
"port": 8081
"path": "/metrics",
"port": "monitoring"
},
"initialDelaySeconds": 10,
"periodSeconds": 10
Expand Down

0 comments on commit 9bc5548

Please sign in to comment.