From ced5aa614f93b78b469aac64a4f6117b6e5e4b1c Mon Sep 17 00:00:00 2001 From: Matthias Glastra Date: Fri, 3 May 2024 18:51:17 +0200 Subject: [PATCH] fix: Fix bug cause by license check. (#260) Signed-off-by: Matthias Glastra --- .github/workflows/verify-licence.yml | 2 +- chart/templates/deployment.yaml | 14 -------------- chart/templates/ingress.yaml | 14 -------------- chart/templates/service.yaml | 14 -------------- chart/templates/serviceaccount.yaml | 14 -------------- chart/values.yaml | 1 - 6 files changed, 1 insertion(+), 58 deletions(-) diff --git a/.github/workflows/verify-licence.yml b/.github/workflows/verify-licence.yml index 8b5b9171..43f2cace 100644 --- a/.github/workflows/verify-licence.yml +++ b/.github/workflows/verify-licence.yml @@ -40,4 +40,4 @@ jobs: - name: Check license headers run: | set -e - addlicense --check -l apache -c 'The Archivista Contributors' --ignore "ent/migrate/migrations/**" --ignore "docs/**" -v ./ + addlicense --check -l apache -c 'The Archivista Contributors' --ignore "ent/migrate/migrations/**" --ignore "docs/**" --ignore "chart/**/*.yaml" -v ./ diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index 3af28706..796a3bbf 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -1,17 +1,3 @@ -# Copyright 2023 The Archivista Contributors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://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. - apiVersion: apps/v1 kind: Deployment metadata: diff --git a/chart/templates/ingress.yaml b/chart/templates/ingress.yaml index 5853101b..05681387 100644 --- a/chart/templates/ingress.yaml +++ b/chart/templates/ingress.yaml @@ -1,17 +1,3 @@ -# Copyright 2023 The Archivista Contributors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://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. - {{- if .Values.ingress.enabled -}} {{- $fullName := include "archivista.fullname" . -}} {{- $svcPort := .Values.service.port -}} diff --git a/chart/templates/service.yaml b/chart/templates/service.yaml index 52ee93f9..9e1596e5 100644 --- a/chart/templates/service.yaml +++ b/chart/templates/service.yaml @@ -1,17 +1,3 @@ -# Copyright 2023 The Archivista Contributors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://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. - apiVersion: v1 kind: Service metadata: diff --git a/chart/templates/serviceaccount.yaml b/chart/templates/serviceaccount.yaml index 72c14a0b..3fac2010 100644 --- a/chart/templates/serviceaccount.yaml +++ b/chart/templates/serviceaccount.yaml @@ -1,17 +1,3 @@ -# Copyright 2023 The Archivista Contributors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://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. - {{- if .Values.serviceAccount.create -}} apiVersion: v1 kind: ServiceAccount diff --git a/chart/values.yaml b/chart/values.yaml index 43806132..1a04ef1b 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -11,7 +11,6 @@ # 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. - replicaCount: 1 image: