blob: bea0a28051e761875dd3d640e8b28008ebedf44e [file] [log] [blame]
MichaelMorris74fda382019-03-17 09:36:27 +00001# Copyright © 2019 Nordix Foundation
seshukm0df1f8e2020-08-17 21:45:49 +05302# Copyright © 2020 Huawei
MichaelMorris74fda382019-03-17 09:36:27 +00003# 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#################################################################
17global:
18 nodePortPrefixExt: 304
MichaelMorris74fda382019-03-17 09:36:27 +000019 persistence:
20 mountPath: /dockerdata-nfs
seshukm0df1f8e2020-08-17 21:45:49 +053021 security:
22 aaf:
23 enabled: false
24 aaf:
25 auth:
26 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010027
28#################################################################
MichaelMorris74fda382019-03-17 09:36:27 +000029# Application configuration defaults.
30#################################################################
Lukasz Rajewskib6861242022-09-06 13:32:58 +020031image: onap/so/so-etsi-sol003-adapter:1.9.0
MichaelMorris74fda382019-03-17 09:36:27 +000032pullPolicy: Always
33
seshukm0df1f8e2020-08-17 21:45:49 +053034aaf:
35 auth:
36 username: so@so.onap.org
37 password: 8DB1C939BFC6A35C3832D0E52E452D0E05AE2537AF142CECD125FF827C05A972FDD0F4700547DA
38aai:
39 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
40mso:
41 key: 07a7159d3bf51a0e53be7a8f89699be7
42sdc:
43 username: mso
44 password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F
45 key: 566B754875657232314F5548556D3665
46
MichaelMorris74fda382019-03-17 09:36:27 +000047replicaCount: 1
48minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053049containerPort: &containerPort 9092
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +010050logPath: ./logs/etsi-sol003-adapter/
51app: etsi-sol003-adapter
MichaelMorris74fda382019-03-17 09:36:27 +000052service:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +010053 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
MichaelMorris74fda382019-03-17 09:36:27 +000072updateStrategy:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +010073 type: RollingUpdate
74 maxUnavailable: 1
75 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +053076
77#################################################################
78# soHelpers part
79#################################################################
80soHelpers:
seshukm0df1f8e2020-08-17 21:45:49 +053081 containerPort: *containerPort
82
MichaelMorris74fda382019-03-17 09:36:27 +000083# Resource Limit flavor -By Default using small
84flavor: small
85# Segregation for Different environment (Small and Large)
86resources:
87 small:
88 limits:
Andreas Geissler47537432024-02-27 08:55:23 +010089 cpu: "1"
90 memory: "1Gi"
MichaelMorris74fda382019-03-17 09:36:27 +000091 requests:
Andreas Geissler47537432024-02-27 08:55:23 +010092 cpu: "0.5"
93 memory: "1Gi"
MichaelMorris74fda382019-03-17 09:36:27 +000094 large:
95 limits:
Andreas Geissler47537432024-02-27 08:55:23 +010096 cpu: "2"
97 memory: "2Gi"
MichaelMorris74fda382019-03-17 09:36:27 +000098 requests:
Andreas Geissler47537432024-02-27 08:55:23 +010099 cpu: "1"
100 memory: "2Gi"
MichaelMorris74fda382019-03-17 09:36:27 +0000101 unlimited: {}
102livenessProbe:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100103 port: 9092
104 initialDelaySeconds: 600
105 periodSeconds: 60
106 timeoutSeconds: 10
107 successThreshold: 1
108 failureThreshold: 3
MichaelMorris74fda382019-03-17 09:36:27 +0000109ingress:
110 enabled: false
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200111 service:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100112 - baseaddr: "so-etsi-sol003-adapter-api"
113 name: "so-etsi-sol003-adapter"
114 port: 9092
Lucjan Bryndza426a82c2019-08-14 09:14:12 +0200115 config:
116 ssl: "redirect"
AndrewLambab2704a2023-04-05 14:45:11 +0100117serviceMesh:
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
MichaelMorris74fda382019-03-17 09:36:27 +0000126nodeSelector: {}
127tolerations: []
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +0100128affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200129
130#Pods Service Account
131serviceAccount:
132 nameOverride: so-etsi-sol003-adapter
133 roles:
134 - read