promenade/charts/apiserver/templates/ingress-api.yaml
Aaron Sheffield 4059b11a42 Opening apiserver Via Ingress
- Adding ingress charts to the kubernetes apiserver.
- Works with using Airship in a Bottle:
curl -H 'Host: kubernetes-apiserver.kube-system.svc.cluster.local' http://HOST_IP/healthz -v
- Defaulting the apiserver ingress to off (false).

Change-Id: I9341c4c281ae993991bfcda09026ab477fdff8fe
2018-08-10 08:16:50 -05:00

22 lines
963 B
YAML

{{/*
Copyright 2017 The Openstack-Helm Authors.
Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
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 and .Values.manifests.ingress_api .Values.network.kubernetes_apiserver.ingress.public }}
{{- $ingressOpts := dict "envAll" . "backendService" "kubernetes_apiserver" "backendServiceType" "kubernetes_apiserver" "backendPort" "https" -}}
{{- $ingressOpts | include "helm-toolkit.manifests.ingress" -}}
{{- end }}