diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-05-05 14:22:50 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-05-05 14:54:43 +0200 |
commit | 32ffb5c8f5487cd99e84f47cebd4e0997d0a1fa0 (patch) | |
tree | 31383940ea5daefb15b339806ff26ca10e1cb21b /k8s/metallb-config | |
parent | k8s: add kafka-ui config (diff) | |
download | fs-tracer-backend-32ffb5c8f5487cd99e84f47cebd4e0997d0a1fa0.tar.gz fs-tracer-backend-32ffb5c8f5487cd99e84f47cebd4e0997d0a1fa0.tar.bz2 fs-tracer-backend-32ffb5c8f5487cd99e84f47cebd4e0997d0a1fa0.zip |
k8s: fix metallb config resources not being applied
Diffstat (limited to 'k8s/metallb-config')
-rw-r--r-- | k8s/metallb-config/Chart.yaml | 24 | ||||
-rw-r--r-- | k8s/metallb-config/templates/metallb.yml | 14 |
2 files changed, 38 insertions, 0 deletions
diff --git a/k8s/metallb-config/Chart.yaml b/k8s/metallb-config/Chart.yaml new file mode 100644 index 0000000..1254f93 --- /dev/null +++ b/k8s/metallb-config/Chart.yaml @@ -0,0 +1,24 @@ +apiVersion: v2 +name: metallb-config +description: A Helm chart for Kubernetes + +# A chart can be either an 'application' or a 'library' chart. +# +# Application charts are a collection of templates that can be packaged into versioned archives +# to be deployed. +# +# Library charts provide useful utilities or functions for the chart developer. They're included as +# a dependency of application charts to inject those utilities and functions into the rendering +# pipeline. Library charts do not define any templates and therefore cannot be deployed. +type: application + +# This is the chart version. This version number should be incremented each time you make changes +# to the chart and its templates, including the app version. +# Versions are expected to follow Semantic Versioning (https://semver.org/) +version: 0.1.0 + +# 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. +# It is recommended to use it with quotes. +appVersion: "1.16.0" diff --git a/k8s/metallb-config/templates/metallb.yml b/k8s/metallb-config/templates/metallb.yml new file mode 100644 index 0000000..9dee7ef --- /dev/null +++ b/k8s/metallb-config/templates/metallb.yml @@ -0,0 +1,14 @@ +apiVersion: metallb.io/v1beta1 +kind: IPAddressPool +metadata: + name: prod-pool + namespace: metallb-system +spec: + addresses: + - 192.168.11.0/24 +--- +apiVersion: metallb.io/v1beta1 +kind: L2Advertisement +metadata: + name: simplel2 + namespace: metallb-system |