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 | ################################################################# |
Sylvain Desbureaux | 1eff56b | 2021-02-25 14:13:01 +0100 | [diff] [blame] | 31 | image: onap/so/so-etsi-sol003-adapter:1.8.2 |
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: |
| 53 | type: NodePort |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 54 | internalPort: *containerPort |
| 55 | externalPort: *containerPort |
MichaelMorris | 74fda38 | 2019-03-17 09:36:27 +0000 | [diff] [blame] | 56 | nodePort: "06" |
Sylvain Desbureaux | 1eff56b | 2021-02-25 14:13:01 +0100 | [diff] [blame] | 57 | portName: http |
MichaelMorris | 74fda38 | 2019-03-17 09:36:27 +0000 | [diff] [blame] | 58 | updateStrategy: |
| 59 | type: RollingUpdate |
| 60 | maxUnavailable: 1 |
| 61 | maxSurge: 1 |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 62 | |
| 63 | ################################################################# |
| 64 | # soHelpers part |
| 65 | ################################################################# |
| 66 | soHelpers: |
Sylvain Desbureaux | 1eff56b | 2021-02-25 14:13:01 +0100 | [diff] [blame] | 67 | nameOverride: so-etsi-sol003-cert-init |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 68 | certInitializer: |
Sylvain Desbureaux | 1eff56b | 2021-02-25 14:13:01 +0100 | [diff] [blame] | 69 | nameOverride: so-etsi-sol003-cert-init |
seshukm | 0df1f8e | 2020-08-17 21:45:49 +0530 | [diff] [blame] | 70 | credsPath: /opt/app/osaaf/local |
| 71 | cadi: |
| 72 | apiEnforcement: org.onap.so.vnfmAdapterPerm |
| 73 | containerPort: *containerPort |
| 74 | |
MichaelMorris | 74fda38 | 2019-03-17 09:36:27 +0000 | [diff] [blame] | 75 | # Resource Limit flavor -By Default using small |
| 76 | flavor: small |
| 77 | # Segregation for Different environment (Small and Large) |
| 78 | resources: |
| 79 | small: |
| 80 | limits: |
| 81 | memory: 4Gi |
| 82 | cpu: 2000m |
| 83 | requests: |
| 84 | memory: 1Gi |
| 85 | cpu: 500m |
| 86 | large: |
| 87 | limits: |
| 88 | memory: 8Gi |
| 89 | cpu: 4000m |
| 90 | requests: |
| 91 | memory: 2Gi |
| 92 | cpu: 1000m |
| 93 | unlimited: {} |
| 94 | livenessProbe: |
| 95 | port: 9092 |
| 96 | initialDelaySeconds: 600 |
| 97 | periodSeconds: 60 |
| 98 | timeoutSeconds: 10 |
| 99 | successThreshold: 1 |
| 100 | failureThreshold: 3 |
| 101 | ingress: |
| 102 | enabled: false |
Lucjan Bryndza | 426a82c | 2019-08-14 09:14:12 +0200 | [diff] [blame] | 103 | service: |
Sylvain Desbureaux | 1eff56b | 2021-02-25 14:13:01 +0100 | [diff] [blame] | 104 | - baseaddr: "soetsisol003adapter" |
| 105 | name: "so-etsi-sol003-adapter" |
Lucjan Bryndza | 426a82c | 2019-08-14 09:14:12 +0200 | [diff] [blame] | 106 | port: 9092 |
| 107 | config: |
| 108 | ssl: "redirect" |
MichaelMorris | 74fda38 | 2019-03-17 09:36:27 +0000 | [diff] [blame] | 109 | nodeSelector: {} |
| 110 | tolerations: [] |
Sylvain Desbureaux | aadf545 | 2020-03-18 18:13:51 +0100 | [diff] [blame] | 111 | affinity: {} |
farida azmy | 87f4622 | 2021-04-06 15:25:15 +0200 | [diff] [blame] | 112 | |
| 113 | #Pods Service Account |
| 114 | serviceAccount: |
| 115 | nameOverride: so-etsi-sol003-adapter |
| 116 | roles: |
| 117 | - read |