fix remaining metallb issues

This commit is contained in:
Kjeld Schouten-Lebbing
2022-11-06 22:24:57 +01:00
parent 6ce9025fdc
commit f0608799c7
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ sources:
- https://github.com/metallb/metallb - https://github.com/metallb/metallb
- https://metallb.universe.tf - https://metallb.universe.tf
type: application type: application
version: 5.0.3 version: 5.0.4
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- core - core
@@ -4,7 +4,7 @@
apiVersion: metallb.io/v1beta1 apiVersion: metallb.io/v1beta1
kind: BGPAdvertisement kind: BGPAdvertisement
metadata: metadata:
name: {{ $.Release.Name }}-{{ .name }} name: {{ .name }}
namespace: metallb-system namespace: metallb-system
spec: spec:
ipAddressPools: ipAddressPools:
@@ -4,7 +4,7 @@
apiVersion: metallb.io/v1beta1 apiVersion: metallb.io/v1beta1
kind: Community kind: Community
metadata: metadata:
name: {{ $.Release.Name }}-communities name: communities
namespace: metallb-system namespace: metallb-system
spec: spec:
communities: communities:
@@ -4,7 +4,7 @@
apiVersion: metallb.io/v1beta1 apiVersion: metallb.io/v1beta1
kind: IPAddressPool kind: IPAddressPool
metadata: metadata:
name: {{ $.Release.Name }}-{{ .name }} name: {{ .name }}
namespace: metallb-system namespace: metallb-system
spec: spec:
addresses: addresses:
@@ -4,7 +4,7 @@
apiVersion: metallb.io/v1beta1 apiVersion: metallb.io/v1beta1
kind: L2Advertisement kind: L2Advertisement
metadata: metadata:
name: {{ $.Release.Name }}-{{ .name }} name: {{ .name }}
namespace: metallb-system namespace: metallb-system
spec: spec:
ipAddressPools: ipAddressPools:
@@ -4,7 +4,7 @@
apiVersion: metallb.io/v1beta2 apiVersion: metallb.io/v1beta2
kind: BGPPeer kind: BGPPeer
metadata: metadata:
name: {{ $.Release.Name }}-{{ .name }} name: {{ .name }}
namespace: metallb-system namespace: metallb-system
spec: spec:
{{- with .password }} {{- with .password }}
@@ -1,5 +1,5 @@
{{- define "metallb.wait" -}} {{- define "metallb.wait" }}
{{- $fullName := include "tc.common.names.fullname" . -}} {{- $fullName := include "tc.common.names.fullname" . }}
--- ---
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
@@ -65,4 +65,4 @@ metadata:
"helm.sh/hook": pre-install, pre-upgrade "helm.sh/hook": pre-install, pre-upgrade
"helm.sh/hook-weight": "-2" "helm.sh/hook-weight": "-2"
"helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation "helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation
{{- end -}} {{- end }}