summaryrefslogtreecommitdiff
path: root/charts/apiserver-webhook/templates/service-ingress-api.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'charts/apiserver-webhook/templates/service-ingress-api.yaml')
-rw-r--r--charts/apiserver-webhook/templates/service-ingress-api.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/charts/apiserver-webhook/templates/service-ingress-api.yaml b/charts/apiserver-webhook/templates/service-ingress-api.yaml
new file mode 100644
index 0000000..256107f
--- /dev/null
+++ b/charts/apiserver-webhook/templates/service-ingress-api.yaml
@@ -0,0 +1,21 @@
1{{/*
2Copyright 2017 The Openstack-Helm Authors.
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/}}
16
17{{- if and .Values.manifests.ingress_api .Values.network.api.ingress.public }}
18{{- $serviceIngressOpts := dict "envAll" . "backendServiceType" "webhook_apiserver" -}}
19{{ $serviceIngressOpts | include "helm-toolkit.manifests.service_ingress" }}
20{{- end }}
21