1 From e2e9b3c707599b4074ebf504f6a2fa5c185481e2 Mon Sep 17 00:00:00 2001
2 From: Angie Wang <angie.wang@windriver.com>
3 Date: Tue, 9 Jul 2019 13:37:29 -0400
4 Subject: [PATCH 1/1] Add TLS support for Gnocchi public endpoint
6 Signed-off-by: Angie Wang <angie.wang@windriver.com>
8 gnocchi/templates/secret-ingress-tls.yaml | 19 +++++++++++++++++++
9 gnocchi/values.yaml | 12 ++++++++++++
10 2 files changed, 31 insertions(+)
11 create mode 100644 gnocchi/templates/secret-ingress-tls.yaml
13 diff --git a/gnocchi/templates/secret-ingress-tls.yaml b/gnocchi/templates/secret-ingress-tls.yaml
15 index 0000000..fc279cd
17 +++ b/gnocchi/templates/secret-ingress-tls.yaml
20 +Copyright 2019 Wind River Systems, Inc.
22 +Licensed under the Apache License, Version 2.0 (the "License");
23 +you may not use this file except in compliance with the License.
24 +You may obtain a copy of the License at
26 + http://www.apache.org/licenses/LICENSE-2.0
28 +Unless required by applicable law or agreed to in writing, software
29 +distributed under the License is distributed on an "AS IS" BASIS,
30 +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31 +See the License for the specific language governing permissions and
32 +limitations under the License.
35 +{{- if .Values.manifests.secret_ingress_tls }}
36 +{{- include "helm-toolkit.manifests.secret_ingress_tls" ( dict "envAll" . "backendServiceType" "metric" ) }}
38 diff --git a/gnocchi/values.yaml b/gnocchi/values.yaml
39 index a4496b7..394e82a 100644
40 --- a/gnocchi/values.yaml
41 +++ b/gnocchi/values.yaml
42 @@ -472,6 +472,10 @@ secrets:
43 admin: gnocchi-db-indexer-admin
44 gnocchi: gnocchi-db-indexer-user
45 rbd: gnocchi-rbd-keyring
49 + public: gnocchi-tls-public
53 @@ -538,6 +542,13 @@ endpoints:
57 + # NOTE: this chart supports TLS for fqdn over-ridden public
58 + # endpoints using the following format:
67 @@ -633,6 +644,7 @@ manifests:
68 pod_gnocchi_test: true
71 + secret_ingress_tls: true
73 service_ingress_api: true