Gnocchi: Add TLS support for public endpoint

This commit adds the capability for Gnocchi chart to
support TLS on overriden fqdn for public endpoint.

Change-Id: Ic008934641540968927f5961783ed45b835e4d34
Signed-off-by: Angie Wang <angie.wang@windriver.com>
This commit is contained in:
Angie Wang 2019-07-10 12:23:18 -04:00 committed by Chris Wedgwood
parent 7a165f5772
commit 9090278f46
2 changed files with 31 additions and 0 deletions

View File

@ -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 }}

View File

@ -472,6 +472,10 @@ secrets:
admin: gnocchi-db-indexer-admin admin: gnocchi-db-indexer-admin
gnocchi: gnocchi-db-indexer-user gnocchi: gnocchi-db-indexer-user
rbd: gnocchi-rbd-keyring rbd: gnocchi-rbd-keyring
tls:
metric:
api:
public: gnocchi-tls-public
bootstrap: bootstrap:
enabled: false enabled: false
@ -538,6 +542,13 @@ endpoints:
public: gnocchi public: gnocchi
host_fqdn_override: host_fqdn_override:
default: null 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: path:
default: null default: null
scheme: scheme:
@ -633,6 +644,7 @@ manifests:
pod_gnocchi_test: true pod_gnocchi_test: true
secret_db: true secret_db: true
secret_keystone: true secret_keystone: true
secret_ingress_tls: true
service_api: true service_api: true
service_ingress_api: true service_ingress_api: true
service_statsd: true service_statsd: true