MichaelMorris | 74fda38 | 2019-03-17 09:36:27 +0000 | [diff] [blame] | 1 | # Copyright © 2019 Nordix Foundation |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 2 | # Copyright © 2020 Huawei |
MichaelMorris | 74fda38 | 2019-03-17 09:36:27 +0000 | [diff] [blame] | 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 |
MichaelMorris | 74fda38 | 2019-03-17 09:36:27 +0000 | [diff] [blame] | 19 | persistence: |
| 20 | mountPath: /dockerdata-nfs |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 21 | security: |
| 22 | aaf: |
| 23 | enabled: false |
| 24 | aaf: |
| 25 | auth: |
| 26 | header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo= |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 27 | |
| 28 | ################################################################# |
MichaelMorris | 74fda38 | 2019-03-17 09:36:27 +0000 | [diff] [blame] | 29 | # Application configuration defaults. |
| 30 | ################################################################# |
Lukasz Rajewski | b686124 | 2022-09-06 13:32:58 +0200 | [diff] [blame] | 31 | image: onap/so/so-etsi-sol003-adapter:1.9.0 |
MichaelMorris | 74fda38 | 2019-03-17 09:36:27 +0000 | [diff] [blame] | 32 | pullPolicy: Always |
| 33 | |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 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 | |
MichaelMorris | 74fda38 | 2019-03-17 09:36:27 +0000 | [diff] [blame] | 47 | replicaCount: 1 |
| 48 | minReadySeconds: 10 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 49 | containerPort: &containerPort 9092 |
Sylvain Desbureaux | 1eff56b | 2021-02-25 14:13:01 +0100 | [diff] [blame] | 50 | logPath: ./logs/etsi-sol003-adapter/ |
| 51 | app: etsi-sol003-adapter |
MichaelMorris | 74fda38 | 2019-03-17 09:36:27 +0000 | [diff] [blame] | 52 | service: |
Andreas Geissler | ad61ccf | 2023-02-23 09:17:36 +0100 | [diff] [blame] | 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 | |
MichaelMorris | 74fda38 | 2019-03-17 09:36:27 +0000 | [diff] [blame] | 72 | updateStrategy: |
Andreas Geissler | ad61ccf | 2023-02-23 09:17:36 +0100 | [diff] [blame] | 73 | type: RollingUpdate |
| 74 | maxUnavailable: 1 |
| 75 | maxSurge: 1 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 76 | |
| 77 | ################################################################# |
| 78 | # soHelpers part |
| 79 | ################################################################# |
| 80 | soHelpers: |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 81 | containerPort: *containerPort |
| 82 | |
MichaelMorris | 74fda38 | 2019-03-17 09:36:27 +0000 | [diff] [blame] | 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: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 89 | cpu: "1" |
| 90 | memory: "1Gi" |
MichaelMorris | 74fda38 | 2019-03-17 09:36:27 +0000 | [diff] [blame] | 91 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 92 | cpu: "0.5" |
| 93 | memory: "1Gi" |
MichaelMorris | 74fda38 | 2019-03-17 09:36:27 +0000 | [diff] [blame] | 94 | large: |
| 95 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 96 | cpu: "2" |
| 97 | memory: "2Gi" |
MichaelMorris | 74fda38 | 2019-03-17 09:36:27 +0000 | [diff] [blame] | 98 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 99 | cpu: "1" |
| 100 | memory: "2Gi" |
MichaelMorris | 74fda38 | 2019-03-17 09:36:27 +0000 | [diff] [blame] | 101 | unlimited: {} |
| 102 | livenessProbe: |
Andreas Geissler | ad61ccf | 2023-02-23 09:17:36 +0100 | [diff] [blame] | 103 | port: 9092 |
| 104 | initialDelaySeconds: 600 |
| 105 | periodSeconds: 60 |
| 106 | timeoutSeconds: 10 |
| 107 | successThreshold: 1 |
| 108 | failureThreshold: 3 |
MichaelMorris | 74fda38 | 2019-03-17 09:36:27 +0000 | [diff] [blame] | 109 | ingress: |
| 110 | enabled: false |
Lucjan Bryndza | 426a82c | 2019-08-14 09:14:12 +0200 | [diff] [blame] | 111 | service: |
Andreas Geissler | ad61ccf | 2023-02-23 09:17:36 +0100 | [diff] [blame] | 112 | - baseaddr: "so-etsi-sol003-adapter-api" |
| 113 | name: "so-etsi-sol003-adapter" |
| 114 | port: 9092 |
Lucjan Bryndza | 426a82c | 2019-08-14 09:14:12 +0200 | [diff] [blame] | 115 | config: |
| 116 | ssl: "redirect" |
AndrewLamb | ab2704a | 2023-04-05 14:45:11 +0100 | [diff] [blame] | 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 |
MichaelMorris | 74fda38 | 2019-03-17 09:36:27 +0000 | [diff] [blame] | 126 | nodeSelector: {} |
| 127 | tolerations: [] |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 128 | affinity: {} |
farida azmy | 87f4622 | 2021-04-06 15:25:15 +0200 | [diff] [blame] | 129 | |
| 130 | #Pods Service Account |
| 131 | serviceAccount: |
| 132 | nameOverride: so-etsi-sol003-adapter |
| 133 | roles: |
| 134 | - read |