From 638dc9e45a55ada309f759368de3677b54da69ed Mon Sep 17 00:00:00 2001 From: vmignot Date: Fri, 28 Jun 2024 11:16:17 +0200 Subject: [PATCH] [bitnami/schema-registry] Add labels to service (#27528) * [bitnami/schema-registry] Add labels for service Signed-off-by: Victor Mignot * bump version Signed-off-by: VICTOR MIGNOT Signed-off-by: Victor Mignot * generate readme Signed-off-by: Victor Mignot * Update CHANGELOG.md Signed-off-by: Bitnami Containers * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers --------- Signed-off-by: Victor Mignot Signed-off-by: VICTOR MIGNOT Signed-off-by: Bitnami Containers Co-authored-by: VICTOR MIGNOT Co-authored-by: Bitnami Containers --- bitnami/schema-registry/CHANGELOG.md | 8 ++++++-- bitnami/schema-registry/Chart.yaml | 2 +- bitnami/schema-registry/README.md | 3 ++- bitnami/schema-registry/templates/service.yaml | 3 ++- bitnami/schema-registry/values.yaml | 3 +++ 5 files changed, 14 insertions(+), 5 deletions(-) diff --git a/bitnami/schema-registry/CHANGELOG.md b/bitnami/schema-registry/CHANGELOG.md index e6dc528a94..86959e7548 100644 --- a/bitnami/schema-registry/CHANGELOG.md +++ b/bitnami/schema-registry/CHANGELOG.md @@ -1,8 +1,12 @@ # Changelog -## 19.1.7 (2024-06-21) +## 19.2.0 (2024-06-28) -* [bitnami/schema-registry] Release 19.1.7 ([#27414](https://github.com/bitnami/charts/pull/27414)) +* [bitnami/schema-registry] Add labels to service ([#27528](https://github.com/bitnami/charts/pull/27528)) + +## 19.1.7 (2024-06-21) + +* [bitnami/schema-registry] Release 19.1.7 (#27414) ([bbeca45](https://github.com/bitnami/charts/commit/bbeca45e5660f575ee0ca3c57992d11dde7beca0)), closes [#27414](https://github.com/bitnami/charts/issues/27414) ## 19.1.6 (2024-06-17) diff --git a/bitnami/schema-registry/Chart.yaml b/bitnami/schema-registry/Chart.yaml index 03dcfddca7..a945fa6dbe 100644 --- a/bitnami/schema-registry/Chart.yaml +++ b/bitnami/schema-registry/Chart.yaml @@ -34,4 +34,4 @@ maintainers: name: schema-registry sources: - https://github.com/bitnami/charts/tree/main/bitnami/schema-registry -version: 19.1.7 +version: 19.2.0 diff --git a/bitnami/schema-registry/README.md b/bitnami/schema-registry/README.md index 21dfef3338..23c01ba712 100644 --- a/bitnami/schema-registry/README.md +++ b/bitnami/schema-registry/README.md @@ -342,6 +342,7 @@ For annotations, please see [this document](https://github.com/kubernetes/ingres | `service.loadBalancerIP` | loadBalancerIP if service type is LoadBalancer | `""` | | `service.loadBalancerSourceRanges` | Address that are allowed when service is LoadBalancer | `[]` | | `service.annotations` | Annotations for Schema Registry service | `{}` | +| `service.labels` | Labels for Schema Registry service | `{}` | | `service.extraPorts` | Extra ports to expose in Schema Registry service (normally used with the `sidecars` value) | `[]` | | `service.sessionAffinity` | Control where client requests go, to the same pod or round-robin | `None` | | `service.sessionAffinityConfig` | Additional settings for the sessionAffinity | `{}` | @@ -533,4 +534,4 @@ Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and -limitations under the License. \ No newline at end of file +limitations under the License. diff --git a/bitnami/schema-registry/templates/service.yaml b/bitnami/schema-registry/templates/service.yaml index 7135136548..c2525291a2 100644 --- a/bitnami/schema-registry/templates/service.yaml +++ b/bitnami/schema-registry/templates/service.yaml @@ -8,7 +8,8 @@ kind: Service metadata: name: {{ include "common.names.fullname" . }} namespace: {{ include "common.names.namespace" . | quote }} - labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }} + {{- $labels := include "common.tplvalues.merge" ( dict "values" ( list $.Values.service.labels $.Values.commonLabels ) "context" $ ) }} + labels: {{- include "common.labels.standard" ( dict "customLabels" $labels "context" $ ) | nindent 4 }} {{- if or .Values.service.annotations .Values.commonAnnotations }} {{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.service.annotations .Values.commonAnnotations ) "context" . ) }} annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }} diff --git a/bitnami/schema-registry/values.yaml b/bitnami/schema-registry/values.yaml index 47b2c241a6..420f0355f0 100644 --- a/bitnami/schema-registry/values.yaml +++ b/bitnami/schema-registry/values.yaml @@ -517,6 +517,9 @@ service: ## @param service.annotations Annotations for Schema Registry service ## annotations: {} + ## @param service.labels Labels for Schema Registry service + ## + labels: {} ## @param service.extraPorts Extra ports to expose in Schema Registry service (normally used with the `sidecars` value) ## extraPorts: []