chore(metallb): cleanup and move to enterprise train (#3740)

This commit is contained in:
Kjeld Schouten-Lebbing
2022-09-11 23:47:55 +02:00
committed by GitHub
parent a23c49adc9
commit ac0e6bb226
18 changed files with 369 additions and 579 deletions
+30
View File
@@ -0,0 +1,30 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
# OWNERS file for Kubernetes
OWNERS
# helm-docs templates
*.gotmpl
# docs folder
/docs
# icon
icon.png
+204
View File
@@ -0,0 +1,204 @@
# Changelog
## [metallb-3.0.0](https://github.com/truecharts/charts/compare/metallb-2.0.14...metallb-3.0.0) (2022-09-11)
### Chore
- update helm general non-major ([#3711](https://github.com/truecharts/charts/issues/3711))
- replace questions parts with templates ([#3402](https://github.com/truecharts/charts/issues/3402))
### Feat
- update for v0.13 ([#3695](https://github.com/truecharts/charts/issues/3695))
## [metallb-2.0.14](https://github.com/truecharts/apps/compare/metallb-2.0.12...metallb-2.0.14) (2022-07-22)
### Chore
- Bump all charts to generate config and container references due to huge increase of repository
- update helm general non-major helm releases ([#3268](https://github.com/truecharts/apps/issues/3268))
## [metallb-2.0.12](https://github.com/truecharts/apps/compare/metallb-2.0.11...metallb-2.0.12) (2022-07-19)
### Chore
- Update Readme and Description on SCALE
## [metallb-2.0.11](https://github.com/truecharts/apps/compare/metallb-2.0.10...metallb-2.0.11) (2022-07-14)
### Fix
- regenerate catalog and update template
## [metallb-2.0.10](https://github.com/truecharts/apps/compare/metallb-2.0.8...metallb-2.0.10) (2022-07-14)
### Fix
- bump to ensure .helmignore is present on all Charts
## [metallb-2.0.8](https://github.com/truecharts/apps/compare/metallb-2.0.7...metallb-2.0.8) (2022-07-14)
### Fix
- revert to pre-major update ([#3174](https://github.com/truecharts/apps/issues/3174))
## [metallb-2.0.7](https://github.com/truecharts/apps/compare/metallb-2.0.5...metallb-2.0.7) (2022-07-12)
### Chore
- update icons ([#3156](https://github.com/truecharts/apps/issues/3156))
- bump to cleanup old docs and use correct icon urls
## [metallb-2.0.5](https://github.com/truecharts/apps/compare/metallb-2.0.4...metallb-2.0.5) (2022-07-12)
### Chore
- bump to regenerate documentation
<a name="metallb-2.0.4"></a>
### [metallb-2.0.4](https://github.com/truecharts/apps/compare/metallb-2.0.3...metallb-2.0.4) (2022-07-12)
#### Chore
* update helm general non-major helm releases ([#3147](https://github.com/truecharts/apps/issues/3147))
<a name="metallb-2.0.3"></a>
### [metallb-2.0.3](https://github.com/truecharts/apps/compare/metallb-2.0.2...metallb-2.0.3) (2022-07-11)
#### Chore
* move icons into the apps folder ([#3139](https://github.com/truecharts/apps/issues/3139))
<a name="metallb-2.0.2"></a>
### [metallb-2.0.2](https://github.com/truecharts/apps/compare/metallb-2.0.1...metallb-2.0.2) (2022-06-07)
#### Fix
* hotpatch to disable HPA and networkPolicy in SCALE interface, due to incompatible format.
<a name="metallb-2.0.1"></a>
### [metallb-2.0.1](https://github.com/truecharts/apps/compare/metallb-1.0.5...metallb-2.0.1) (2022-06-07)
#### Chore
* Auto-update chart README [skip ci]
#### Fix
* remove malfunctioning SCALE migration script
#### Refactor
* BREAKING CHANGE ([#2836](https://github.com/truecharts/apps/issues/2836))
<a name="metallb-2.0.0"></a>
### [metallb-2.0.0](https://github.com/truecharts/apps/compare/metallb-1.0.5...metallb-2.0.0) (2022-06-07)
#### Refactor
* BREAKING CHANGE ([#2836](https://github.com/truecharts/apps/issues/2836))
<a name="metallb-1.0.5"></a>
### [metallb-1.0.5](https://github.com/truecharts/apps/compare/metallb-1.0.4...metallb-1.0.5) (2022-03-26)
#### Chore
* bump all apps to trigger ci
<a name="metallb-1.0.4"></a>
### [metallb-1.0.4](https://github.com/truecharts/apps/compare/metallb-1.0.3...metallb-1.0.4) (2022-02-21)
#### Chore
* update helm general non-major helm releases ([#1927](https://github.com/truecharts/apps/issues/1927))
#### Fix
* correct mistake in renovate bump
<a name="metallb-1.0.3"></a>
### [metallb-1.0.3](https://github.com/truecharts/apps/compare/metallb-1.0.2...metallb-1.0.3) (2021-12-19)
#### Chore
* Last patch bump before RC2 branch-off
* App-Icon Organization ([#1539](https://github.com/truecharts/apps/issues/1539))
<a name="metallb-1.0.2"></a>
### metallb-1.0.2 (2021-12-13)
#### Chore
* move incubator apps to stable and bump everything
<a name="metallb-1.0.1"></a>
### [metallb-1.0.1](https://github.com/truecharts/apps/compare/metallb-1.0.0...metallb-1.0.1) (2021-12-04)
#### Chore
* bump apps to generate security page
<a name="metallb-1.0.0"></a>
### [metallb-1.0.0](https://github.com/truecharts/apps/compare/metallb-0.0.3...metallb-1.0.0) (2021-11-19)
#### Chore
* move metallb to core train
<a name="metallb-0.0.3"></a>
### [metallb-0.0.3](https://github.com/truecharts/apps/compare/metallb-0.0.2...metallb-0.0.3) (2021-11-10)
#### Fix
* correct questions structure
<a name="metallb-0.0.2"></a>
### [metallb-0.0.2](https://github.com/truecharts/apps/compare/metallb-0.0.1...metallb-0.0.2) (2021-11-10)
<a name="metallb-0.0.1"></a>
### metallb-0.0.1 (2021-11-10)
+33
View File
@@ -0,0 +1,33 @@
apiVersion: v2
appVersion: "upstream"
deprecated: false
description: A network load-balancer implementation for Kubernetes using standard routing protocols
home: https://truecharts.org/docs/charts/stable/metallb
icon: https://truecharts.org/img/hotlink-ok/chart-icons/metallb.png
keywords:
- metallb
- loadbalancer
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 10.5.7
- name: metallb
repository: https://metallb.github.io/metallb
version: 0.13.5
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: metallb
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/metallb
- https://github.com/metallb/metallb
- https://metallb.universe.tf
type: application
version: 4.0.0
annotations:
truecharts.org/catagories: |
- core
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

+293
View File
@@ -0,0 +1,293 @@
# Include{groups}
questions:
# Include{global}
# Include{controller}
- variable: ipAddressPools
label: IP Address Pools Object
schema:
additional_attrs: true
type: list
default: []
items:
- variable: name
label: Name
description: Name of the IP address pool
schema:
type: string
required: true
default: ""
- variable: autoAssign
label: Auto Assign
description: AutoAssign flag used to prevent MetallB from automatic
allocation for a pool.
schema:
type: boolean
default: true
- variable: avoidBuggyIPs
label: Avoid Buggy IPs
description: AvoidBuggyIPs prevents addresses ending with .0 and .255
to be used by a pool.
schema:
type: boolean
default: false
- variable: addresses
label: Addresses Pools
description: A list of IP address ranges over which MetalLB has authority.
You can list multiple ranges in a single pool, they will all share
the same settings. Each range can be either a CIDR prefix, or an
explicit start-end range of IPs.
schema:
type: list
default: []
items:
- variable: addressPoolEntry
label: Address Pool Entry
schema:
type: string
default: ""
required: true
- variable: L2Advertisements
label: L2 Advertisements
description: L2Advertisement allows to advertise the LoadBalancer IPs provided
by the selected pools via L2.
schema:
additional_attrs: true
type: list
default: []
items:
- variable: name
label: Name
description: Name of the L2 Advertisement
schema:
type: string
required: true
default: ""
- variable: addressPools
label: Address Pools
description: The list of IPAddressPools to advertise via this advertisement,
selected by name.
schema:
type: list
default: []
items:
- variable: addressPoolEntry
label: Address Pool Entry
schema:
type: string
default: ""
required: true
- variable: nodeSelectors
label: Node Selectors
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.
schema:
type: list
default: []
items:
- variable: nodeSelectorEntry
label: Node Selector Entry
schema:
type: string
default: ""
required: true
- variable: Communities
label: Communities
description: Community is a collection of aliases for communities. Users can
define named aliases to be used in the BGPPeer CRD.
schema:
additional_attrs: true
type: list
default: []
items:
- variable: name
label: Name
description: The name of the alias for the community.
schema:
type: string
required: true
default: ""
- variable: value
label: Value
description: The BGP community value corresponding to the given name.
schema:
type: string
required: true
default: ""
- variable: Peers
label: Peers
description: BGPPeer is the Schema for the peers API.
schema:
additional_attrs: true
type: list
default: []
items:
- variable: name
label: Name
description: The name of the peer.
schema:
type: string
required: true
default: ""
- variable: bfdProfile
label: BFD Profile
description: The name of the BFD Profile to be used for the BFD session
associated to the BGP session. If not set, the BFD session won't
be set up.
schema:
type: string
default: ""
- variable: ebgpMultiHop
label: EBGP MultiHop
description: TTo set if the BGPPeer is multi-hops away. Needed for
FRR mode only.
schema:
type: boolean
default: false
- variable: holdTime
label: Hold Time
description: Requested BGP hold time, per RFC4271.
schema:
type: int
- variable: keepaliveTime
label: Keep Alive Time
description: Requested BGP keep alive time, per RFC4271.
schema:
type: int
- variable: myASN
label: My ASN
description: AS number to use for the local end of the session.
schema:
type: int
- variable: password
label: Password
description: Authentication password for routers enforcing TCP MD5
authenticated sessions
schema:
type: string
private: true
default: ""
- variable: peerASN
label: Peer ASN
description: AS number to expect from the remote end of the session.
schema:
type: string
valid_chars: '^[0-9]*$'
default: ""
- variable: peerAddress
label: Peer Address
description: Address to dial when establishing the session.
schema:
type: string
default: ""
- variable: peerPort
label: Peer Port
description: Port to dial when establishing the session.
schema:
type: string
valid_chars: '^[0-9]*$'
default: ""
- variable: routerID
label: Router ID
description: BGP router ID to advertise to the peer
schema:
type: string
default: ""
- variable: sourceAddress
label: Source Address
description: Source address to use when establishing the session.
schema:
type: string
default: ""
- variable: nodeSelectors
label: Node Selectors
description: Only connect to this peer on nodes that match one of
these selectors.
schema:
type: list
default: []
items:
- variable: nodeSelectorEntry
label: Node Selector Entry
schema:
type: string
default: ""
required: true
- variable: BGPAdvertisements
label: BGP Advertisements
description: BGPAdvertisement allows to advertise the IPs coming from the
selected IPAddressPools via BGP.
schema:
additional_attrs: true
type: list
default: []
items:
- variable: name
label: Name
description: Name of the BGP Advertisement
schema:
type: string
required: true
default: ""
- variable: addressPools
label: Address Pools
description: The list of IPAddressPools to advertise via this advertisement,
selected by name.
schema:
type: list
default: []
items:
- variable: addressPoolEntry
label: Address Pool Entry
schema:
type: string
default: ""
required: true
- variable: aggregationLength
label: Aggregation Length
description: The aggregation-length advertisement option lets you
"roll up" the /32s into a larger prefix. Defaults to 32. Works for
IPv4 addresses.
schema:
type: string
valid_chars: '^[0-9]*$'
default: ""
- variable: localpref
label: Local Pref
description: The BGP LOCAL_PREF attribute which is used by BGP best
path algorithm, Path with higher localpref is preferred over one
with lower localpref.
schema:
type: string
valid_chars: '^[0-9]*$'
default: ""
- variable: communities
label: Communities
description: The BGP communities to be associated with the announcement.
Each item can be a community of the form 1234:1234 or the name of
an alias defined in the Community CRD.
schema:
type: list
default: []
items:
- variable: communityEntry
label: Community Entry
schema:
type: string
default: ""
required: true
- variable: peers
label: Peers
description: Peers limits the BGPpeer to advertise the ips of the
selected pools to. When empty, the loadbalancer IP is announced
to all the BGPPeers configured.
schema:
type: list
default: []
items:
- variable: peerEntry
label: Peer Entry
schema:
type: string
default: ""
required: true
@@ -0,0 +1,30 @@
{{- range .Values.BGPAdvertisements }}
---
apiVersion: metallb.io/v1beta1
kind: BGPAdvertisement
metadata:
name: {{ .name }}
spec:
ipAddressPools:
{{- range .addressPools }}
- {{ . }}
{{- end }}
{{- with .aggregationLength }}
aggregationLength: {{ . | int }}
{{- end }}
{{- with .localpref }}
localpref: {{ . | int }}
{{- end }}
{{- if .communities }}
communities:
{{- range .communities }}
- {{ . }}
{{- end }}
{{- end }}
{{- if .peers }}
peers:
{{- range .peers }}
- {{ . }}
{{- end }}
{{- end }}
{{- end }}
@@ -0,0 +1,13 @@
{{- if .Values.Communities }}
---
apiVersion: metallb.io/v1beta1
kind: Community
metadata:
name: communities
spec:
communities:
{{- range .Values.Communities }}
- name: {{ .name }}
value: {{ .value }}
{{- end }}
{{- end }}
@@ -0,0 +1,14 @@
{{- range .Values.ipAddressPools }}
---
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: {{ .addressPool.name }}
spec:
addresses:
{{- range .addressPool.addresses }}
- {{ . }}
{{- end }}
autoAssign: {{ .addressPool.autoAssign | default true }}
avoidBuggyIPs: {{ .addressPool.avoidBuggyIPs | default false }}
{{- end }}
@@ -0,0 +1,19 @@
{{- range .Values.L2Advertisements }}
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: {{ .name }}
spec:
ipAddressPools:
{{- range .addressPools }}
- {{ . }}
{{- end }}
{{- if .nodeSelectors }}
{{- range .nodeSelectors }}
nodeSelectors:
- matchLabels:
kubernetes.io/hostname: {{ . }}
{{- end }}
{{- end }}
{{- end }}
@@ -0,0 +1,48 @@
{{- range .Values.Peers }}
---
apiVersion: metallb.io/v1beta2
kind: BGPPeer
metadata:
name: {{ .name }}
spec:
{{- with .password }}
password: {{ . }}
{{- end }}
{{- with .routerID }}
routerID: {{ . }}
{{- end }}
{{- with .bfdProfile }}
bfdProfile: {{ . }}
{{- end }}
{{- with .ebgpMultiHop }}
ebgpMultiHop: {{ . }}
{{- end }}
{{- with .holdTime }}
holdTime: {{ . }}
{{- end }}
{{- with .keepaliveTime }}
keepaliveTime: {{ . }}
{{- end }}
{{- with .myASN }}
myASN: {{ . }}
{{- end }}
{{- with .peerASN }}
peerASN: {{ . | int }}
{{- end }}
{{- with .peerAddress }}
peerAddress: {{ . }}
{{- end }}
{{- with .peerPort }}
peerPort: {{ . | int }}
{{- end }}
{{- with .sourceAddress }}
sourceAddress: {{ . }}
{{- end }}
{{- if .nodeSelectors }}
nodeSelectors:
{{- range .nodeSelectors }}
- matchLabels:
kubernetes.io/hostname: {{ . }}
{{- end }}
{{- end }}
{{- end }}
+41
View File
@@ -0,0 +1,41 @@
image:
repository: placeholder
tag: upstream
pullPolicy: IfNotPresent
metallb: {}
ipAddressPools: []
L2Advertisements: []
# - name: l2adv
# addressPools:
# - pool1
# nodeSelectors:
# - nodeA
BGPAdvertisements: []
# - name: bgpadv
# addressPools:
# - pool1
# aggregationLength: 24
# localpref: 100
# communities:
# - 1234:1
# peers:
# - peer1
Communities: []
# - name: community1
# value: 1234:1
Peers: []
# - name: peer1
# myASN: 1234
# password: pass
# routerID: 1234
# bfdProfile: profile
# ebgpMultiHop: false
# holdTime: 10
# keepaliveTime: 10
# peerAddress: 172.30.0.2
# peerPort: 179
# sourceAddress: 172.30.0.3
# nodeSelectors:
# - nodeA