Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / so / components / so-etsi-sol003-adapter / values.yaml
1 # Copyright © 2019 Nordix Foundation
2 # Copyright © 2020 Huawei
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 # Global configuration defaults.
16 #################################################################
17 global:
18   nodePortPrefixExt: 304
19   persistence:
20     mountPath: /dockerdata-nfs
21   security:
22     aaf:
23       enabled: false
24   aaf:
25     auth:
26       header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
27
28 #################################################################
29 # Application configuration defaults.
30 #################################################################
31 image: onap/so/so-etsi-sol003-adapter:1.9.0
32 pullPolicy: Always
33
34 aaf:
35   auth:
36     username: so@so.onap.org
37     password: 8DB1C939BFC6A35C3832D0E52E452D0E05AE2537AF142CECD125FF827C05A972FDD0F4700547DA
38 aai:
39   auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
40 mso:
41   key: 07a7159d3bf51a0e53be7a8f89699be7
42 sdc:
43   username: mso
44   password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F
45   key: 566B754875657232314F5548556D3665
46
47 replicaCount: 1
48 minReadySeconds: 10
49 containerPort: &containerPort 9092
50 logPath: ./logs/etsi-sol003-adapter/
51 app: etsi-sol003-adapter
52 service:
53   type: NodePort
54   annotations:
55     service.alpha.kubernetes.io/tolerate-unready-endpoints: 'true'
56     msb.onap.org/service-info: |
57       {{ if .Values.global.msbEnabled -}}[
58         {
59           "serviceName": "{{ include "common.servicename" . }}",
60           "version": "v1",
61           "url": "/so/vnfm-adapter/v1",
62           "protocol": "REST",
63           "port": "{{.Values.containerPort}}",
64           "visualRange":"1"
65         }
66       ]{{ end }}
67   ports:
68     - name: http
69       port: *containerPort
70       nodePort: "06"
71
72 updateStrategy:
73   type: RollingUpdate
74   maxUnavailable: 1
75   maxSurge: 1
76
77 #################################################################
78 # soHelpers part
79 #################################################################
80 soHelpers:
81   containerPort: *containerPort
82
83 # Resource Limit flavor -By Default using small
84 flavor: small
85 # Segregation for Different environment (Small and Large)
86 resources:
87   small:
88     limits:
89       cpu: "1"
90       memory: "1Gi"
91     requests:
92       cpu: "0.5"
93       memory: "1Gi"
94   large:
95     limits:
96       cpu: "2"
97       memory: "2Gi"
98     requests:
99       cpu: "1"
100       memory: "2Gi"
101   unlimited: {}
102 livenessProbe:
103   port: 9092
104   initialDelaySeconds: 600
105   periodSeconds: 60
106   timeoutSeconds: 10
107   successThreshold: 1
108   failureThreshold: 3
109 ingress:
110   enabled: false
111   service:
112   - baseaddr: "so-etsi-sol003-adapter-api"
113     name: "so-etsi-sol003-adapter"
114     port: 9092
115   config:
116     ssl: "redirect"
117 serviceMesh:
118   authorizationPolicy:
119     authorizedPrincipals:
120       - serviceAccount: robot-read
121       - serviceAccount: so-bpmn-infra-read
122       - serviceAccount: so-etsi-nfvo-ns-lcm-read
123       - serviceAccount: so-read
124       - serviceAccount: istio-ingress
125         namespace: istio-ingress
126 nodeSelector: {}
127 tolerations: []
128 affinity: {}
129
130 #Pods Service Account
131 serviceAccount:
132   nameOverride: so-etsi-sol003-adapter
133   roles:
134     - read