From 0de302ad6212185c842ce7232319e19d994dd520 Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Fri, 5 Jun 2020 15:19:22 +0200 Subject: [AAF SMS] Use certInitializer for certificates AAF SMS was hardcoding its certificates in the container. This patch makes use of certInitializer in order to retrieve "fresh" certificates. In order to use certInitiliazer in a sub component, we had to move charts to component and add the right requirements. Issue-ID: AAF-1159 Signed-off-by: Sylvain Desbureaux Change-Id: I6ec55eddffd54dd56b03cea1a6f0b437f8bfa299 --- .../aaf/components/aaf-service/templates/deployment.yaml | 16 ++++++++++++++++ .../aaf/components/aaf-service/templates/ingress.yaml | 4 ++++ .../aaf/components/aaf-service/templates/service.yaml | 16 ++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 kubernetes/aaf/components/aaf-service/templates/deployment.yaml create mode 100644 kubernetes/aaf/components/aaf-service/templates/ingress.yaml create mode 100644 kubernetes/aaf/components/aaf-service/templates/service.yaml (limited to 'kubernetes/aaf/components/aaf-service/templates') diff --git a/kubernetes/aaf/components/aaf-service/templates/deployment.yaml b/kubernetes/aaf/components/aaf-service/templates/deployment.yaml new file mode 100644 index 0000000000..5074c8bc08 --- /dev/null +++ b/kubernetes/aaf/components/aaf-service/templates/deployment.yaml @@ -0,0 +1,16 @@ +# Copyright © 2017 Amdocs +# Modifications © 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. + +{{ include "aaf.deployment" . }} diff --git a/kubernetes/aaf/components/aaf-service/templates/ingress.yaml b/kubernetes/aaf/components/aaf-service/templates/ingress.yaml new file mode 100644 index 0000000000..40b4bba0ce --- /dev/null +++ b/kubernetes/aaf/components/aaf-service/templates/ingress.yaml @@ -0,0 +1,4 @@ + +{{ include "common.ingress" . }} + + diff --git a/kubernetes/aaf/components/aaf-service/templates/service.yaml b/kubernetes/aaf/components/aaf-service/templates/service.yaml new file mode 100644 index 0000000000..e54c4f3057 --- /dev/null +++ b/kubernetes/aaf/components/aaf-service/templates/service.yaml @@ -0,0 +1,16 @@ +# Copyright © 2017 Amdocs, Orange +# Modifications © 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. + +{{ include "common.service" . }} -- cgit 1.2.3-korg