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