Merge "Support ingress creation for keystone admin endpoint"
This commit is contained in:
commit
3c0120006b
|
@ -5,4 +5,4 @@ TAR="$TAR_NAME-$SHA.tar.gz"
|
|||
|
||||
COPY_LIST="${CGCS_BASE}/downloads/$TAR $PKG_BASE/files/* "
|
||||
|
||||
TIS_PATCH_VER=22
|
||||
TIS_PATCH_VER=23
|
||||
|
|
|
@ -25,6 +25,7 @@ Patch03: 0003-Nova-console-ip-address-search-optionality.patch
|
|||
Patch04: 0004-Nova-chart-Support-ephemeral-pool-creation.patch
|
||||
Patch05: 0005-Nova-Add-support-for-disabling-Readiness-Liveness-pr.patch
|
||||
Patch06: 0006-Add-Placement-Chart.patch
|
||||
Patch07: 0007-Support-ingress-creation-for-keystone-admin-endpoint.patch
|
||||
|
||||
BuildRequires: helm
|
||||
BuildRequires: openstack-helm-infra
|
||||
|
@ -41,6 +42,7 @@ Openstack Helm charts
|
|||
%patch04 -p1
|
||||
%patch05 -p1
|
||||
%patch06 -p1
|
||||
%patch07 -p1
|
||||
|
||||
%build
|
||||
# initialize helm and build the toolkit
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
From db7a5422e48b963966c5e830d6f4391006a42578 Mon Sep 17 00:00:00 2001
|
||||
From: Andy Ning <andy.ning@windriver.com>
|
||||
Date: Wed, 4 Dec 2019 13:35:44 -0500
|
||||
Subject: [PATCH] Support ingress creation for keystone admin endpoint
|
||||
|
||||
This update added support to create ingress for custom keystone admin
|
||||
endpoint. It can be used by deployment to expose keytone admin endpoint
|
||||
to outside of the cluster by ingress.
|
||||
|
||||
Story: 2006588
|
||||
Task: 37747
|
||||
Signed-off-by: Andy Ning <andy.ning@windriver.com>
|
||||
---
|
||||
keystone/templates/ingress-api.yaml | 9 +++++++++
|
||||
1 file changed, 9 insertions(+)
|
||||
|
||||
diff --git a/keystone/templates/ingress-api.yaml b/keystone/templates/ingress-api.yaml
|
||||
index de36571..37c3013 100644
|
||||
--- a/keystone/templates/ingress-api.yaml
|
||||
+++ b/keystone/templates/ingress-api.yaml
|
||||
@@ -18,3 +18,12 @@ limitations under the License.
|
||||
{{- $ingressOpts := dict "envAll" . "backendServiceType" "identity" "backendPort" "ks-pub" -}}
|
||||
{{ $ingressOpts | include "helm-toolkit.manifests.ingress" }}
|
||||
{{- end }}
|
||||
+
|
||||
+{{- if and .Values.manifests.ingress_api .Values.network.api.ingress.admin }}
|
||||
+{{ $ingressNamePublic := tuple "identity" "public" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
|
||||
+{{ $ingressNameAdmin := tuple "identity" "admin" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
|
||||
+{{- if not (eq $ingressNamePublic $ingressNameAdmin) }}
|
||||
+{{- $ingressOpts := dict "envAll" . "backendServiceType" "identity" "backendPort" "ks-pub" "endpoint" "admin" -}}
|
||||
+{{ $ingressOpts | include "helm-toolkit.manifests.ingress" }}
|
||||
+{{- end }}
|
||||
+{{- end }}
|
||||
--
|
||||
1.8.3.1
|
||||
|
Loading…
Reference in New Issue