From 8f4b6ef8866c8da748916ad7e49f79abb03b2da8 Mon Sep 17 00:00:00 2001 From: Andreas Geissler Date: Tue, 8 Aug 2023 15:07:37 +0200 Subject: [COMMON] Cleanup charts from unsupported parts Remove common charts (cert-wrapper, certInitializer, music) which are not needed anymore wor unsupported Issue-ID: OOM-3114 Change-Id: Iec3a49fd4f08b207961ddc572e2de873ee1480d5 Signed-off-by: Andreas Geissler --- kubernetes/common/certInitializer/Chart.yaml | 34 --- .../certInitializer/resources/ingress/onboard.sh | 35 --- .../resources/retrieval/retrieval_check.sh | 27 --- .../resources/retrieval/tls_certs_configure.sh | 32 --- .../templates/_certInitializer.yaml | 253 --------------------- .../certInitializer/templates/configmap.yaml | 39 ---- .../common/certInitializer/templates/job.yaml | 49 ---- .../common/certInitializer/templates/secret.yaml | 17 -- kubernetes/common/certInitializer/values.yaml | 78 ------- 9 files changed, 564 deletions(-) delete mode 100644 kubernetes/common/certInitializer/Chart.yaml delete mode 100644 kubernetes/common/certInitializer/resources/ingress/onboard.sh delete mode 100644 kubernetes/common/certInitializer/resources/retrieval/retrieval_check.sh delete mode 100644 kubernetes/common/certInitializer/resources/retrieval/tls_certs_configure.sh delete mode 100644 kubernetes/common/certInitializer/templates/_certInitializer.yaml delete mode 100644 kubernetes/common/certInitializer/templates/configmap.yaml delete mode 100644 kubernetes/common/certInitializer/templates/job.yaml delete mode 100644 kubernetes/common/certInitializer/templates/secret.yaml delete mode 100644 kubernetes/common/certInitializer/values.yaml (limited to 'kubernetes/common/certInitializer') diff --git a/kubernetes/common/certInitializer/Chart.yaml b/kubernetes/common/certInitializer/Chart.yaml deleted file mode 100644 index d70b1de52b..0000000000 --- a/kubernetes/common/certInitializer/Chart.yaml +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright © 2017 Amdocs, Bell Canada -# Modifications Copyright © 2021 Orange -# Modifications Copyright © 2021 Nordix Foundation -# -# 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: v2 -description: Template used to obtain certificates in onap -name: certInitializer -version: 13.0.0 - -dependencies: - - name: common - version: ~13.x-0 - repository: 'file://../common' - - name: readinessCheck - version: ~13.x-0 - repository: 'file://../readinessCheck' - - name: repositoryGenerator - version: ~13.x-0 - repository: 'file://../repositoryGenerator' - - name: serviceAccount - version: ~13.x-0 - repository: '@local' diff --git a/kubernetes/common/certInitializer/resources/ingress/onboard.sh b/kubernetes/common/certInitializer/resources/ingress/onboard.sh deleted file mode 100644 index 9cc5ec580e..0000000000 --- a/kubernetes/common/certInitializer/resources/ingress/onboard.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh - -{{/* -# Copyright © 2020 Orange -# -# 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. -*/ -}} - -echo "*** retrieving certificates and keys" -export CRT=$(cat {{ .Values.credsPath }}/certs/tls.crt | base64 -w 0) -export KEY=$(cat {{ .Values.credsPath }}/certs/tls.key | base64 -w 0) -export CACERT=$(cat {{ .Values.credsPath }}/certs/cacert.pem | base64 -w 0) -echo "*** creating tls secret" -cat <