Fix spacing issues in YAML files in vnfs
[demo.git] / vnfs / DAaaS / deploy / 00-init / istio / istio-instance / templates / istio-sds.yaml
1 #/*Copyright 2019 Intel Corporation, Inc
2 # *
3 # * Licensed under the Apache License, Version 2.0 (the "License");
4 # * you may not use this file except in compliance with the License.
5 # * You may obtain a copy of the License at
6 # *
7 # *     http://www.apache.org/licenses/LICENSE-2.0
8 # *
9 # * Unless required by applicable law or agreed to in writing, software
10 # * distributed under the License is distributed on an "AS IS" BASIS,
11 # * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # * See the License for the specific language governing permissions and
13 # * limitations under the License.
14 # */
15 apiVersion: istio.banzaicloud.io/v1beta1
16 kind: Istio
17 metadata:
18   labels:
19     controller-tools.k8s.io: "1.0"
20   name: {{ .Values.metadata.name }}
21 spec:
22   version: {{ .Values.spec.version | quote }}
23   mtls: {{ .Values.spec.mtls }}
24   autoInjectionNamespaces: {{- range .Values.spec.autoInjectionNamespaces }}
25   - {{ . | quote  }}
26   {{- end }}
27   sds:
28     enabled: {{ .Values.spec.sds.enabled }}
29     udsPath: {{ .Values.spec.sds.udsPath | quote }}
30     useTrustworthyJwt: {{ .Values.spec.sds.useTrustworthyJwt }}
31     useNormalJwt: {{ .Values.spec.sds.useNormalJwt }}
32   gateways:
33     enabled: {{ .Values.spec.gateways.enabled }}
34     ingress:
35       enabled: {{ .Values.spec.gateways.ingress.enabled }}
36       sds:
37         enabled: {{ .Values.spec.gateways.ingress.sds.enabled }}
38         image: {{ .Values.spec.gateways.ingress.sds.image | quote }}
39         resources: {}
40         #  requests:
41         #    cpu: 100m
42         #    memory: 128Mi
43         #  limits:
44         #    cpu: 2000m
45         #    memory: 1024Mi
46   nodeAgent:
47     enabled: {{ .Values.spec.nodeAgent.enabled }}
48     image: {{ .Values.spec.nodeAgent.image | quote }}