From 2403a26d69bf07c8a380451fc4e2c54cf2945446 Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Wed, 6 May 2020 15:24:57 +0200 Subject: [SDNC] Fix Ingress Configuration Set redirect to true when backend is HTTPS. Issue-ID: OOM-2188 Signed-off-by: Sylvain Desbureaux Change-Id: I787d5723b9e301f644aa0d6271980e3f58292cc2 --- kubernetes/sdnc/charts/sdnc-portal/templates/ingress.yaml | 15 +++++++++++++++ kubernetes/sdnc/charts/sdnc-portal/values.yaml | 6 ++++++ 2 files changed, 21 insertions(+) create mode 100644 kubernetes/sdnc/charts/sdnc-portal/templates/ingress.yaml (limited to 'kubernetes') diff --git a/kubernetes/sdnc/charts/sdnc-portal/templates/ingress.yaml b/kubernetes/sdnc/charts/sdnc-portal/templates/ingress.yaml new file mode 100644 index 0000000000..0cd8cfbd36 --- /dev/null +++ b/kubernetes/sdnc/charts/sdnc-portal/templates/ingress.yaml @@ -0,0 +1,15 @@ +# Copyright © 2020 Samsung, 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. + +{{ include "common.ingress" . }} diff --git a/kubernetes/sdnc/charts/sdnc-portal/values.yaml b/kubernetes/sdnc/charts/sdnc-portal/values.yaml index 280a2af5e9..2fa7071827 100644 --- a/kubernetes/sdnc/charts/sdnc-portal/values.yaml +++ b/kubernetes/sdnc/charts/sdnc-portal/values.yaml @@ -133,6 +133,12 @@ service: ingress: enabled: false + service: + - baseaddr: "sdnc-portal.api" + name: "sdnc-portal" + port: 8443 + config: + ssl: "redirect" #Resource limit flavor -By default using small flavor: small -- cgit 1.2.3-korg