Skip to content

Commit

Permalink
Bump MetalLB
Browse files Browse the repository at this point in the history
This commit bumps MetalLB:
from: 417f016c4870f6c90b66c935ea97e1706d51dd86
Bump frrk8s to 0.0.14 (2024-07-19)

to:  da5308be4b80ca988201c535f0149f015cfffcb1
chore: update to 1.22.7 (2024-09-11)
Signed-off-by: github-actions[bot] <[email protected]>
  • Loading branch information
web-flow committed Sep 12, 2024
1 parent 7d8418f commit f6d7961
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 15 deletions.
4 changes: 2 additions & 2 deletions bin/metallb-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ spec:
- jsonPath: .spec.ebgpMultiHop
name: Multi Hops
type: string
deprecated: true
deprecationWarning: v1beta1 is deprecated, please use v1beta2
name: v1beta1
schema:
openAPIV3Schema:
Expand Down Expand Up @@ -4700,7 +4702,6 @@ rules:
- metallb-webhook-configuration
resources:
- validatingwebhookconfigurations
- mutatingwebhookconfigurations
verbs:
- create
- delete
Expand All @@ -4713,7 +4714,6 @@ rules:
- admissionregistration.k8s.io
resources:
- validatingwebhookconfigurations
- mutatingwebhookconfigurations
verbs:
- list
- watch
Expand Down
2 changes: 1 addition & 1 deletion bindata/deployment/helm/metallb/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ spec:
- name: METALLB_DEPLOYMENT
value: controller
{{- end }}
{{- if .Values.speaker.frr.enabled }}
{{- if and .Values.speaker.enabled .Values.speaker.frr.enabled }}
- name: METALLB_BGP_TYPE
value: frr
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions bindata/deployment/helm/metallb/templates/podmonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ spec:
relabelings:
{{- toYaml .Values.prometheus.podMonitor.relabelings | nindent 4 }}
{{- end }}
{{- if .Values.speaker.enabled }}
---
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
Expand Down Expand Up @@ -74,6 +75,7 @@ spec:
relabelings:
{{- toYaml .Values.prometheus.podMonitor.relabelings | nindent 4 }}
{{- end }}
{{- end }}
---
{{- if .Values.prometheus.rbacPrometheus }}
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{- if .Values.prometheus.serviceMonitor.enabled }}
{{- if .Values.speaker.enabled }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
Expand Down Expand Up @@ -89,6 +90,7 @@ spec:
{{- end }}
sessionAffinity: None
type: ClusterIP
{{- end }}
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
Expand All @@ -97,7 +99,6 @@ metadata:
namespace: {{ .Release.Namespace | quote }}
labels:
{{- include "metallb.labels" . | nindent 4 }}
component: speaker
{{- if .Values.prometheus.serviceMonitor.controller.additionalLabels }}
{{ toYaml .Values.prometheus.serviceMonitor.controller.additionalLabels | indent 4 }}
{{- end }}
Expand Down
6 changes: 3 additions & 3 deletions bindata/deployment/helm/metallb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ prometheus:
# certificate to be used.
controllerMetricsTLSSecret: ""

# prometheus doens't have the permission to scrape all namespaces so we give it permission to scrape metallb's one
# prometheus doesn't have the permission to scrape all namespaces so we give it permission to scrape metallb's one
rbacPrometheus: true

# the service account used by prometheus
Expand All @@ -64,7 +64,7 @@ prometheus:
# enable support for Prometheus Operator
enabled: false

# optional additionnal labels for podMonitors
# optional additional labels for podMonitors
additionalLabels: {}

# optional annotations for podMonitors
Expand Down Expand Up @@ -143,7 +143,7 @@ prometheus:
# enable alertmanager alerts
enabled: false

# optional additionnal labels for prometheusRules
# optional additional labels for prometheusRules
additionalLabels: {}

# optional annotations for prometheusRules
Expand Down
4 changes: 1 addition & 3 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-07-22T10:18:02Z"
createdAt: "2024-09-12T05:05:59Z"
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 @@ -547,7 +547,6 @@ spec:
- metallb-webhook-configuration
resources:
- validatingwebhookconfigurations
- mutatingwebhookconfigurations
verbs:
- create
- delete
Expand All @@ -560,7 +559,6 @@ spec:
- admissionregistration.k8s.io
resources:
- validatingwebhookconfigurations
- mutatingwebhookconfigurations
verbs:
- list
- watch
Expand Down
2 changes: 2 additions & 0 deletions bundle/manifests/metallb.io_bgppeers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ spec:
- jsonPath: .spec.ebgpMultiHop
name: Multi Hops
type: string
deprecated: true
deprecationWarning: v1beta1 is deprecated, please use v1beta2
name: v1beta1
schema:
openAPIV3Schema:
Expand Down
2 changes: 2 additions & 0 deletions config/crd/bases/metallb.io_bgppeers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ spec:
- jsonPath: .spec.ebgpMultiHop
name: Multi Hops
type: string
deprecated: true
deprecationWarning: v1beta1 is deprecated, please use v1beta2
name: v1beta1
schema:
openAPIV3Schema:
Expand Down
2 changes: 0 additions & 2 deletions config/metallb_rbac/metallb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@ rules:
- metallb-webhook-configuration
resources:
- validatingwebhookconfigurations
- mutatingwebhookconfigurations
verbs:
- create
- delete
Expand All @@ -389,7 +388,6 @@ rules:
- admissionregistration.k8s.io
resources:
- validatingwebhookconfigurations
- mutatingwebhookconfigurations
verbs:
- list
- watch
Expand Down
2 changes: 1 addition & 1 deletion hack/metallb_ref.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
417f016c4870f6c90b66c935ea97e1706d51dd86
da5308be4b80ca988201c535f0149f015cfffcb1
1 change: 0 additions & 1 deletion pkg/helm/testdata/ocp-metrics-controller-monitor.golden
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"app": "metallb",
"app.kubernetes.io/managed-by": "Helm",
"app.kubernetes.io/version": "v0.0.0",
"component": "speaker",
"helm.sh/chart": "metallb-0.0.0"
},
"name": "controller-monitor",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"app": "metallb",
"app.kubernetes.io/managed-by": "Helm",
"app.kubernetes.io/version": "v0.0.0",
"component": "speaker",
"helm.sh/chart": "metallb-0.0.0"
},
"name": "controller-monitor",
Expand Down

0 comments on commit f6d7961

Please sign in to comment.