From 2e92f69c0c7dcf26055c1ef8069cdb36c6600c39 Mon Sep 17 00:00:00 2001 From: Nico Koprowski Date: Thu, 4 May 2023 15:15:56 +0200 Subject: [PATCH 1/2] fix(helm): add license headers to ingress template files updates eclipse-tractusx/bpdm#113 --- charts/gate/templates/ingress.yaml | 18 ++++++++++++++++++ charts/pool/templates/ingress.yaml | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/charts/gate/templates/ingress.yaml b/charts/gate/templates/ingress.yaml index 9cf69d33a..f39f70bfb 100644 --- a/charts/gate/templates/ingress.yaml +++ b/charts/gate/templates/ingress.yaml @@ -1,4 +1,22 @@ {{- if .Values.ingress.enabled -}} +################################################################################ +# Copyright (c) 2021,2023 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License, Version 2.0 which is available at +# https://www.apache.org/licenses/LICENSE-2.0. +# +# 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. +# +# SPDX-License-Identifier: Apache-2.0 +################################################################################ {{- $fullName := include "bpdm.fullname" . -}} {{- $svcPort := .Values.service.port -}} {{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }} diff --git a/charts/pool/templates/ingress.yaml b/charts/pool/templates/ingress.yaml index 9cf69d33a..f39f70bfb 100644 --- a/charts/pool/templates/ingress.yaml +++ b/charts/pool/templates/ingress.yaml @@ -1,4 +1,22 @@ {{- if .Values.ingress.enabled -}} +################################################################################ +# Copyright (c) 2021,2023 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License, Version 2.0 which is available at +# https://www.apache.org/licenses/LICENSE-2.0. +# +# 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. +# +# SPDX-License-Identifier: Apache-2.0 +################################################################################ {{- $fullName := include "bpdm.fullname" . -}} {{- $svcPort := .Values.service.port -}} {{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }} From e0fe6169194d240a9139ccd50a20b2e8a94d9201 Mon Sep 17 00:00:00 2001 From: Nico Koprowski Date: Mon, 8 May 2023 13:55:58 +0200 Subject: [PATCH 2/2] version(helm): increase alpha version for helm chart files --- charts/gate/CHANGELOG.md | 3 +++ charts/gate/Chart.yaml | 2 +- charts/pool/CHANGELOG.md | 1 + charts/pool/Chart.yaml | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/charts/gate/CHANGELOG.md b/charts/gate/CHANGELOG.md index 7e2bab65b..6d506d0eb 100644 --- a/charts/gate/CHANGELOG.md +++ b/charts/gate/CHANGELOG.md @@ -6,7 +6,10 @@ The format is based on Keep a Changelog (https://keepachangelog.com/en/1.0.0/), ## [4.0.0] - tbd +### Changed + - increase to app version 4.0.0 +- add missing license headers to ingress templates ## [3.3.0] - 2023-03-17 diff --git a/charts/gate/Chart.yaml b/charts/gate/Chart.yaml index 7c98d4357..0a6a4bbec 100644 --- a/charts/gate/Chart.yaml +++ b/charts/gate/Chart.yaml @@ -22,7 +22,7 @@ apiVersion: v2 type: application name: bpdm-gate appVersion: "4.0.0-alpha.1" -version: 4.0.0-alpha.1 +version: 4.0.0-alpha.2 description: A Helm chart for deploying the BPDM gate service home: https://eclipse-tractusx.github.io/docs/kits/Business%20Partner%20Kit/Adoption%20View sources: diff --git a/charts/pool/CHANGELOG.md b/charts/pool/CHANGELOG.md index 6254f5cf1..abe309ca0 100644 --- a/charts/pool/CHANGELOG.md +++ b/charts/pool/CHANGELOG.md @@ -7,6 +7,7 @@ The format is based on Keep a Changelog (https://keepachangelog.com/en/1.0.0/), ## [5.0.0] - tbd - increase to app version 4.0.0 +- add missing license headers to ingress templates ## [4.3.0] - 2023-03-17 diff --git a/charts/pool/Chart.yaml b/charts/pool/Chart.yaml index 61691eed1..aa1f68d3a 100644 --- a/charts/pool/Chart.yaml +++ b/charts/pool/Chart.yaml @@ -22,7 +22,7 @@ apiVersion: v2 type: application name: bpdm-pool appVersion: "4.0.0-alpha.1" -version: 5.0.0-alpha.1 +version: 5.0.0-alpha.2 description: A Helm chart for deploying the BPDM pool service home: https://eclipse-tractusx.github.io/docs/kits/Business%20Partner%20Kit/Adoption%20View sources: