[helm-toolkit] Update toolkit to support fqdn alias
This change add the ability to add fqdn alias to namespace and cluster ingress resources. This change is specifically required for keystone so HA of backup solution can be implemented.This change allows user to specify alias_fqdn in the endpoints section, and user can have alias configued. This change is backward compatible, so without specifying this option in charts gives one fqdn ingress rule without cname alias as default behaviour. Change-Id: Ib1c60524e2f247bb057318b1143bfbc3bde5b73a
This commit is contained in:
parent
7086815c74
commit
f361feb69a
@ -15,7 +15,7 @@ apiVersion: v1
|
|||||||
appVersion: v1.0.0
|
appVersion: v1.0.0
|
||||||
description: OpenStack-Helm Helm-Toolkit
|
description: OpenStack-Helm Helm-Toolkit
|
||||||
name: helm-toolkit
|
name: helm-toolkit
|
||||||
version: 0.2.75
|
version: 0.2.76
|
||||||
home: https://docs.openstack.org/openstack-helm
|
home: https://docs.openstack.org/openstack-helm
|
||||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/OpenStack-Helm/OpenStack_Project_OpenStackHelm_vertical.png
|
icon: https://www.openstack.org/themes/openstack/images/project-mascots/OpenStack-Helm/OpenStack_Project_OpenStackHelm_vertical.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -708,6 +708,10 @@ spec:
|
|||||||
{{- range $v := without (index $endpointHost.tls "dnsNames" | default list) $hostNameFull }}
|
{{- range $v := without (index $endpointHost.tls "dnsNames" | default list) $hostNameFull }}
|
||||||
{{- $vHosts = append $vHosts $v }}
|
{{- $vHosts = append $vHosts $v }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if hasKey $envAll.Values.endpoints "alias_fqdn" }}
|
||||||
|
{{- $alias_host := $envAll.Values.endpoints.alias_fqdn }}
|
||||||
|
{{- $vHosts = append $vHosts $alias_host }}
|
||||||
|
{{- end }}
|
||||||
{{- $secretName := index $envAll.Values.secrets "tls" ( $backendServiceType | replace "-" "_" ) $backendService $endpoint }}
|
{{- $secretName := index $envAll.Values.secrets "tls" ( $backendServiceType | replace "-" "_" ) $backendService $endpoint }}
|
||||||
{{- $_ := required "You need to specify a secret in your values for the endpoint" $secretName }}
|
{{- $_ := required "You need to specify a secret in your values for the endpoint" $secretName }}
|
||||||
tls:
|
tls:
|
||||||
|
@ -82,4 +82,5 @@ helm-toolkit:
|
|||||||
- 0.2.73 Add ability to get multiple hosts endpoint
|
- 0.2.73 Add ability to get multiple hosts endpoint
|
||||||
- 0.2.74 Remove trailing slash in endpoinds
|
- 0.2.74 Remove trailing slash in endpoinds
|
||||||
- 0.2.75 Add daemonset_overrides_root util
|
- 0.2.75 Add daemonset_overrides_root util
|
||||||
|
- 0.2.76 update tookit to support fqdn alias
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user