aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/msb/components/kube2msb
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2024-08-13 09:59:22 +0200
committerAndreas Geissler <andreas-geissler@telekom.de>2024-08-13 13:22:12 +0200
commit8c66f85d7348b09de54b7479757878d96f1c1cd0 (patch)
treeb4d27de208bbc49ba82a33a2404cc525ca1a2059 /kubernetes/msb/components/kube2msb
parent2ce0437988709fd8af46c8f922f1d22d312e49f9 (diff)
[COMMON] Cleanup charts
- archive charts, which are not maintained anymore - archive subcharts in SDNC, MSB, DCAEGEN2-SERVICES - Cleanup environment and override files Issue-ID: OOM-3309 Issue-ID: ONAPARC-805 Change-Id: If19a807fefa574ceb9b90ac1eb84d9642729323d Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Diffstat (limited to 'kubernetes/msb/components/kube2msb')
-rw-r--r--kubernetes/msb/components/kube2msb/.helmignore21
-rw-r--r--kubernetes/msb/components/kube2msb/Chart.yaml27
-rw-r--r--kubernetes/msb/components/kube2msb/templates/deployment.yaml80
-rw-r--r--kubernetes/msb/components/kube2msb/values.yaml70
4 files changed, 0 insertions, 198 deletions
diff --git a/kubernetes/msb/components/kube2msb/.helmignore b/kubernetes/msb/components/kube2msb/.helmignore
deleted file mode 100644
index f0c1319444..0000000000
--- a/kubernetes/msb/components/kube2msb/.helmignore
+++ /dev/null
@@ -1,21 +0,0 @@
-# Patterns to ignore when building packages.
-# This supports shell glob matching, relative path matching, and
-# negation (prefixed with !). Only one pattern per line.
-.DS_Store
-# Common VCS dirs
-.git/
-.gitignore
-.bzr/
-.bzrignore
-.hg/
-.hgignore
-.svn/
-# Common backup files
-*.swp
-*.bak
-*.tmp
-*~
-# Various IDEs
-.project
-.idea/
-*.tmproj
diff --git a/kubernetes/msb/components/kube2msb/Chart.yaml b/kubernetes/msb/components/kube2msb/Chart.yaml
deleted file mode 100644
index 2e823e69b8..0000000000
--- a/kubernetes/msb/components/kube2msb/Chart.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright © 2018 Amdocs, Bell Canada , ZTE
-# 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: ONAP MicroServices Bus Kube2MSB Registrator
-name: kube2msb
-version: 13.0.0
-
-dependencies:
- - name: common
- version: ~13.x-0
- repository: '@local'
- - name: repositoryGenerator
- version: ~13.x-0
- repository: '@local'
diff --git a/kubernetes/msb/components/kube2msb/templates/deployment.yaml b/kubernetes/msb/components/kube2msb/templates/deployment.yaml
deleted file mode 100644
index b83d4c9d99..0000000000
--- a/kubernetes/msb/components/kube2msb/templates/deployment.yaml
+++ /dev/null
@@ -1,80 +0,0 @@
-{{/*
-# Copyright © 2018 Amdocs, Bell Canada , ZTE
-#
-# 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:
- name: {{ include "common.fullname" . }}
- namespace: {{ include "common.namespace" . }}
- labels:
- app: {{ include "common.name" . }}
- chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
- release: {{ include "common.release" . }}
- heritage: {{ .Release.Service }}
-spec:
- selector:
- matchLabels:
- app: {{ include "common.name" . }}
- replicas: {{ .Values.replicaCount }}
- template:
- metadata:
- labels:
- app: {{ include "common.name" . }}
- release: {{ include "common.release" . }}
- annotations:
- sidecar.istio.io/inject: "{{.Values.istioSidecar}}"
- spec:
- serviceAccountName: msb
- initContainers:
- - command:
- - /app/ready.py
- args:
- - --service-name
- - msb-discovery
- env:
- - name: NAMESPACE
- valueFrom:
- fieldRef:
- apiVersion: v1
- fieldPath: metadata.namespace
- image: {{ include "repositoryGenerator.image.readiness" . }}
- imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
- name: {{ include "common.name" . }}-readiness
- resources:
- limits:
- cpu: "100m"
- memory: "500Mi"
- requests:
- cpu: "3m"
- memory: "20Mi"
- containers:
- - name: {{ include "common.name" . }}
- image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
- imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
- env:
- - name: KUBE_MASTER_URL
- value: {{ .Values.config.kubeMasterUrl }}
- - name: MSB_URL
- value: {{tpl $.Values.config.discoveryUrl .}}
- resources: {{ include "common.resources" . | nindent 12 }}
- {{- if .Values.nodeSelector }}
- nodeSelector:
-{{ toYaml .Values.nodeSelector | indent 10 }}
- {{- end -}}
- {{- if .Values.affinity }}
- affinity:
-{{ toYaml .Values.affinity | indent 10 }}
- {{- end }}
- {{- include "common.imagePullSecrets" . | nindent 6 }}
diff --git a/kubernetes/msb/components/kube2msb/values.yaml b/kubernetes/msb/components/kube2msb/values.yaml
deleted file mode 100644
index bdc7c06b3b..0000000000
--- a/kubernetes/msb/components/kube2msb/values.yaml
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright © 2018 Amdocs, Bell Canada , ZTE
-#
-# 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.
-#################################################################
-# Global configuration defaults.
-#################################################################
-global:
- nodePortPrefix: 302
-
-#################################################################
-# Application configuration defaults.
-#################################################################
-# application image
-image: onap/oom/kube2msb:1.2.6
-pullPolicy: Always
-istioSidecar: true
-
-# application configuration
-config:
- routeLabels: "visualRange:1"
- kubeMasterUrl: https://kubernetes.default:443
- discoveryUrl: http://msb-discovery.{{include "common.namespace" .}}:10081
-
-# default number of instances
-replicaCount: 1
-
-nodeSelector: {}
-
-affinity: {}
-
-# probe configuration parameters
-liveness: {}
-
-readiness: {}
-
-service: {}
-
-ingress:
- enabled: false
-
-# Resource Limit flavor -By Default using small
-flavor: small
-
-# Configure resource requests and limits
-resources:
- small:
- limits:
- cpu: "1"
- memory: "500Mi"
- requests:
- cpu: "0.5"
- memory: "500Mi"
- large:
- limits:
- cpu: "2"
- memory: "1Gi"
- requests:
- cpu: "1"
- memory: "1Gi"
- unlimited: {}