X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-flock%2Fstx-openstack-armada-app%2Fopenstack-helm-infra%2F0005-Add-TLS-support-for-Gnocchi-public-endpoint.patch;fp=meta-starlingx%2Fmeta-stx-flock%2Fstx-openstack-armada-app%2Fopenstack-helm-infra%2F0005-Add-TLS-support-for-Gnocchi-public-endpoint.patch;h=0000000000000000000000000000000000000000;hb=6fc6934434f70595536a387ece31bc30141cafb5;hp=45835dcad5ac5155300309224c7d99c865ac9728;hpb=eb1e26510491ba49de693ab3b0498edcb06be6c5;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-flock/stx-openstack-armada-app/openstack-helm-infra/0005-Add-TLS-support-for-Gnocchi-public-endpoint.patch b/meta-starlingx/meta-stx-flock/stx-openstack-armada-app/openstack-helm-infra/0005-Add-TLS-support-for-Gnocchi-public-endpoint.patch deleted file mode 100644 index 45835dc..0000000 --- a/meta-starlingx/meta-stx-flock/stx-openstack-armada-app/openstack-helm-infra/0005-Add-TLS-support-for-Gnocchi-public-endpoint.patch +++ /dev/null @@ -1,77 +0,0 @@ -From e2e9b3c707599b4074ebf504f6a2fa5c185481e2 Mon Sep 17 00:00:00 2001 -From: Angie Wang -Date: Tue, 9 Jul 2019 13:37:29 -0400 -Subject: [PATCH 1/1] Add TLS support for Gnocchi public endpoint - -Signed-off-by: Angie Wang ---- - gnocchi/templates/secret-ingress-tls.yaml | 19 +++++++++++++++++++ - gnocchi/values.yaml | 12 ++++++++++++ - 2 files changed, 31 insertions(+) - create mode 100644 gnocchi/templates/secret-ingress-tls.yaml - -diff --git a/gnocchi/templates/secret-ingress-tls.yaml b/gnocchi/templates/secret-ingress-tls.yaml -new file mode 100644 -index 0000000..fc279cd ---- /dev/null -+++ b/gnocchi/templates/secret-ingress-tls.yaml -@@ -0,0 +1,19 @@ -+{{/* -+Copyright 2019 Wind River Systems, Inc. -+ -+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. -+*/}} -+ -+{{- if .Values.manifests.secret_ingress_tls }} -+{{- include "helm-toolkit.manifests.secret_ingress_tls" ( dict "envAll" . "backendServiceType" "metric" ) }} -+{{- end }} -diff --git a/gnocchi/values.yaml b/gnocchi/values.yaml -index a4496b7..394e82a 100644 ---- a/gnocchi/values.yaml -+++ b/gnocchi/values.yaml -@@ -472,6 +472,10 @@ secrets: - admin: gnocchi-db-indexer-admin - gnocchi: gnocchi-db-indexer-user - rbd: gnocchi-rbd-keyring -+ tls: -+ metric: -+ api: -+ public: gnocchi-tls-public - - bootstrap: - enabled: false -@@ -538,6 +542,13 @@ endpoints: - public: gnocchi - host_fqdn_override: - default: null -+ # NOTE: this chart supports TLS for fqdn over-ridden public -+ # endpoints using the following format: -+ # public: -+ # host: null -+ # tls: -+ # crt: null -+ # key: null - path: - default: null - scheme: -@@ -633,6 +644,7 @@ manifests: - pod_gnocchi_test: true - secret_db: true - secret_keystone: true -+ secret_ingress_tls: true - service_api: true - service_ingress_api: true - service_statsd: true --- -2.7.4 -