From 7db71adaf139e54f2186cfd19d468f5a1123835d Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Fri, 16 Jul 2021 20:38:55 +0000 Subject: Refactor cds-mockserver helm chart I did some changes to run that helm chart in integration tests using multicloud-k8s. * I renamed helm/ directory into cds-mockserver/ based on "helm lint" * I changed Deployment apiVersion to "apps/v1" due to "extensions/v1beta1" deprecation [1] * I added "selector" into Deployment because it's required for "apps/v1" version [2] Add missing .coafile, .yamllint and tox.ini files [1] https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/ [2] https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#label-selector-updates Signed-off-by: Michal Jagiello Issue-ID: TEST-291 Change-Id: Ibe1fc564f3db9933071a9374d0c583724fbcf08d --- cds-mockserver/values.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 cds-mockserver/values.yaml (limited to 'cds-mockserver/values.yaml') diff --git a/cds-mockserver/values.yaml b/cds-mockserver/values.yaml new file mode 100644 index 0000000..8418963 --- /dev/null +++ b/cds-mockserver/values.yaml @@ -0,0 +1,29 @@ +# Copyright (c) 2020 Bell Canada +# +# 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. + +image: mockserver/mockserver + +global: + name: cds-regression-mockserver + repository: nexus3.onap.org:10001 + pullPolicy: Always + replicas: 1 + terminationGracePeriodSeconds: 10 + +service: + mockserver: + type: ClusterIP + portName: cds-regression-mockserver + port: 80 + internalPort: 1080 -- cgit 1.2.3-korg