diff --git a/enterprise/metallb-config/1.0.1/app-changelog.md b/enterprise/metallb-config/1.0.1/app-changelog.md deleted file mode 100644 index 60f131f8902..00000000000 --- a/enterprise/metallb-config/1.0.1/app-changelog.md +++ /dev/null @@ -1,4 +0,0 @@ - - -## [metallb-config-1.0.1](https://github.com/truecharts/charts/compare/metallb-config-1.0.0...metallb-config-1.0.1) (2023-05-30) - diff --git a/enterprise/metallb-config/1.0.1/charts/common-12.10.4.tgz b/enterprise/metallb-config/1.0.1/charts/common-12.10.4.tgz deleted file mode 100644 index 66771bb2ec5..00000000000 Binary files a/enterprise/metallb-config/1.0.1/charts/common-12.10.4.tgz and /dev/null differ diff --git a/enterprise/metallb-config/1.0.1/CHANGELOG.md b/enterprise/metallb-config/1.1.0/CHANGELOG.md similarity index 61% rename from enterprise/metallb-config/1.0.1/CHANGELOG.md rename to enterprise/metallb-config/1.1.0/CHANGELOG.md index a44ee889fd7..3ae0686283b 100644 --- a/enterprise/metallb-config/1.0.1/CHANGELOG.md +++ b/enterprise/metallb-config/1.1.0/CHANGELOG.md @@ -4,6 +4,15 @@ +## [metallb-config-1.1.0](https://github.com/truecharts/charts/compare/metallb-config-1.0.1...metallb-config-1.1.0) (2023-05-30) + +### Feat + +- add compatibility with new operator design ([#9298](https://github.com/truecharts/charts/issues/9298)) + + + + ## [metallb-config-1.0.1](https://github.com/truecharts/charts/compare/metallb-config-1.0.0...metallb-config-1.0.1) (2023-05-30) diff --git a/enterprise/metallb-config/1.0.1/Chart.yaml b/enterprise/metallb-config/1.1.0/Chart.yaml similarity index 95% rename from enterprise/metallb-config/1.0.1/Chart.yaml rename to enterprise/metallb-config/1.1.0/Chart.yaml index 37a453adc3e..7cbef056294 100644 --- a/enterprise/metallb-config/1.0.1/Chart.yaml +++ b/enterprise/metallb-config/1.1.0/Chart.yaml @@ -10,7 +10,7 @@ keywords: dependencies: - name: common repository: https://library-charts.truecharts.org - version: 12.10.4 + version: 12.10.9 kubeVersion: ">=1.16.0-0" maintainers: - email: info@truecharts.org @@ -22,7 +22,7 @@ sources: - https://github.com/metallb/metallb - https://metallb.universe.tf type: application -version: 1.0.1 +version: 1.1.0 annotations: truecharts.org/catagories: | - core diff --git a/enterprise/metallb-config/1.0.1/LICENSE b/enterprise/metallb-config/1.1.0/LICENSE similarity index 100% rename from enterprise/metallb-config/1.0.1/LICENSE rename to enterprise/metallb-config/1.1.0/LICENSE diff --git a/enterprise/metallb-config/1.0.1/README.md b/enterprise/metallb-config/1.1.0/README.md similarity index 100% rename from enterprise/metallb-config/1.0.1/README.md rename to enterprise/metallb-config/1.1.0/README.md diff --git a/enterprise/metallb-config/1.1.0/app-changelog.md b/enterprise/metallb-config/1.1.0/app-changelog.md new file mode 100644 index 00000000000..8407f1940cc --- /dev/null +++ b/enterprise/metallb-config/1.1.0/app-changelog.md @@ -0,0 +1,9 @@ + + +## [metallb-config-1.1.0](https://github.com/truecharts/charts/compare/metallb-config-1.0.1...metallb-config-1.1.0) (2023-05-30) + +### Feat + +- add compatibility with new operator design ([#9298](https://github.com/truecharts/charts/issues/9298)) + + \ No newline at end of file diff --git a/enterprise/metallb-config/1.0.1/app-readme.md b/enterprise/metallb-config/1.1.0/app-readme.md similarity index 100% rename from enterprise/metallb-config/1.0.1/app-readme.md rename to enterprise/metallb-config/1.1.0/app-readme.md diff --git a/enterprise/metallb-config/1.1.0/charts/common-12.10.9.tgz b/enterprise/metallb-config/1.1.0/charts/common-12.10.9.tgz new file mode 100644 index 00000000000..c19226845ea Binary files /dev/null and b/enterprise/metallb-config/1.1.0/charts/common-12.10.9.tgz differ diff --git a/enterprise/metallb-config/1.0.1/ix_values.yaml b/enterprise/metallb-config/1.1.0/ix_values.yaml similarity index 100% rename from enterprise/metallb-config/1.0.1/ix_values.yaml rename to enterprise/metallb-config/1.1.0/ix_values.yaml diff --git a/enterprise/metallb-config/1.0.1/questions.yaml b/enterprise/metallb-config/1.1.0/questions.yaml similarity index 100% rename from enterprise/metallb-config/1.0.1/questions.yaml rename to enterprise/metallb-config/1.1.0/questions.yaml diff --git a/enterprise/metallb-config/1.0.1/templates/NOTES.txt b/enterprise/metallb-config/1.1.0/templates/NOTES.txt similarity index 100% rename from enterprise/metallb-config/1.0.1/templates/NOTES.txt rename to enterprise/metallb-config/1.1.0/templates/NOTES.txt diff --git a/enterprise/metallb-config/1.0.1/templates/_bgpadvertisement.tpl b/enterprise/metallb-config/1.1.0/templates/_bgpadvertisement.tpl similarity index 93% rename from enterprise/metallb-config/1.0.1/templates/_bgpadvertisement.tpl rename to enterprise/metallb-config/1.1.0/templates/_bgpadvertisement.tpl index 1ce8b9a7550..27790c0e17d 100644 --- a/enterprise/metallb-config/1.0.1/templates/_bgpadvertisement.tpl +++ b/enterprise/metallb-config/1.1.0/templates/_bgpadvertisement.tpl @@ -5,7 +5,7 @@ apiVersion: metallb.io/v1beta1 kind: BGPAdvertisement metadata: name: {{ .name }} - namespace: metallb-system + namespace: {{ $.Values.operatorNamespace }} spec: ipAddressPools: {{- range .addressPools }} diff --git a/enterprise/metallb-config/1.0.1/templates/_community.tpl b/enterprise/metallb-config/1.1.0/templates/_community.tpl similarity index 86% rename from enterprise/metallb-config/1.0.1/templates/_community.tpl rename to enterprise/metallb-config/1.1.0/templates/_community.tpl index 24aed9168b4..3cd66f96e98 100644 --- a/enterprise/metallb-config/1.0.1/templates/_community.tpl +++ b/enterprise/metallb-config/1.1.0/templates/_community.tpl @@ -5,7 +5,7 @@ apiVersion: metallb.io/v1beta1 kind: Community metadata: name: communities - namespace: metallb-system + namespace: {{ $.Values.operatorNamespace }} spec: communities: {{- range .Values.Communities }} diff --git a/enterprise/metallb-config/1.0.1/templates/_ipaddresspool.tpl b/enterprise/metallb-config/1.1.0/templates/_ipaddresspool.tpl similarity index 88% rename from enterprise/metallb-config/1.0.1/templates/_ipaddresspool.tpl rename to enterprise/metallb-config/1.1.0/templates/_ipaddresspool.tpl index e4b04e4d796..f4c020920f0 100644 --- a/enterprise/metallb-config/1.0.1/templates/_ipaddresspool.tpl +++ b/enterprise/metallb-config/1.1.0/templates/_ipaddresspool.tpl @@ -5,7 +5,7 @@ apiVersion: metallb.io/v1beta1 kind: IPAddressPool metadata: name: {{ .name }} - namespace: metallb-system + namespace: {{ $.Values.operatorNamespace }} spec: addresses: {{- range .addresses }} diff --git a/enterprise/metallb-config/1.0.1/templates/_l2advertisement.tpl b/enterprise/metallb-config/1.1.0/templates/_l2advertisement.tpl similarity index 90% rename from enterprise/metallb-config/1.0.1/templates/_l2advertisement.tpl rename to enterprise/metallb-config/1.1.0/templates/_l2advertisement.tpl index 651b0b0d79a..beef850b9a6 100644 --- a/enterprise/metallb-config/1.0.1/templates/_l2advertisement.tpl +++ b/enterprise/metallb-config/1.1.0/templates/_l2advertisement.tpl @@ -5,7 +5,7 @@ apiVersion: metallb.io/v1beta1 kind: L2Advertisement metadata: name: {{ .name }} - namespace: metallb-system + namespace: {{ $.Values.operatorNamespace }} spec: ipAddressPools: {{- range .addressPools }} diff --git a/enterprise/metallb-config/1.0.1/templates/_peers.tpl b/enterprise/metallb-config/1.1.0/templates/_peers.tpl similarity index 95% rename from enterprise/metallb-config/1.0.1/templates/_peers.tpl rename to enterprise/metallb-config/1.1.0/templates/_peers.tpl index 44c8feeffc1..848e72462ae 100644 --- a/enterprise/metallb-config/1.0.1/templates/_peers.tpl +++ b/enterprise/metallb-config/1.1.0/templates/_peers.tpl @@ -5,7 +5,7 @@ apiVersion: metallb.io/v1beta2 kind: BGPPeer metadata: name: {{ .name }} - namespace: metallb-system + namespace: {{ $.Values.operatorNamespace }} spec: {{- with .password }} password: {{ . }} diff --git a/enterprise/metallb-config/1.0.1/templates/common.yaml b/enterprise/metallb-config/1.1.0/templates/common.yaml similarity index 57% rename from enterprise/metallb-config/1.0.1/templates/common.yaml rename to enterprise/metallb-config/1.1.0/templates/common.yaml index 1f706680e0e..05373874e9e 100644 --- a/enterprise/metallb-config/1.0.1/templates/common.yaml +++ b/enterprise/metallb-config/1.1.0/templates/common.yaml @@ -1,6 +1,12 @@ {{/* Make sure all variables are set properly */}} {{- include "tc.v1.common.loader.init" . }} +{{- $operatorNamespace := "metallb-system" -}} +{{- if .Values.operator.metallb -}} +{{ $operatorNamespace = ( $.Values.operator.metallb.namespace | default "metallb-system") }} +{{- end -}} +{{- $_ := set $.Values "operatorNamespace" $operatorNamespace -}} + {{/* Render the templates */}} {{ include "tc.v1.common.loader.apply" . }} diff --git a/enterprise/metallb-config/1.0.1/values.yaml b/enterprise/metallb-config/1.1.0/values.yaml similarity index 100% rename from enterprise/metallb-config/1.0.1/values.yaml rename to enterprise/metallb-config/1.1.0/values.yaml