Honor manifests:ingress_registry flag

The patch fixes issue when ingress for glance registry is created
when manifests:ingress_registry is set to false.

Change-Id: I8e54c73b3924ea292e18aa1e837d0e10b51e3876
This commit is contained in:
Vasyl Saienko 2019-08-15 08:48:01 +00:00
parent a66ecbf7ad
commit 1005769100

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/}}
{{- if and .Values.manifests.ingress_api .Values.network.registry.ingress.public }}
{{- if and .Values.manifests.ingress_registry .Values.network.registry.ingress.public }}
{{- $ingressOpts := dict "envAll" . "backendService" "registry" "backendServiceType" "image_registry" "backendPort" "g-reg" -}}
{{ $ingressOpts | include "helm-toolkit.manifests.ingress" }}
{{- end }}