Shane Daniel | b36bfcc | 2018-06-26 20:30:18 +0000 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs |
| 2 | # |
| 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 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
Shane Daniel | b36bfcc | 2018-06-26 20:30:18 +0000 | [diff] [blame] | 20 | |
| 21 | ################################################################# |
| 22 | # Application configuration defaults. |
| 23 | ################################################################# |
| 24 | # application image |
Prudence Au | ccc93ea | 2019-09-13 13:26:11 +0000 | [diff] [blame] | 25 | image: onap/pomba-sdnc-context-builder:1.5.1 |
Shane Daniel | b36bfcc | 2018-06-26 20:30:18 +0000 | [diff] [blame] | 26 | pullPolicy: Always |
| 27 | |
| 28 | # flag to enable debugging - application support required |
| 29 | debugEnabled: false |
| 30 | |
| 31 | # application configuration |
| 32 | # Example: |
| 33 | config: |
| 34 | # AAI Rest Client Connection |
| 35 | aaiServiceName: aai |
| 36 | aaiPort: 8443 |
| 37 | aaiUsername: AAI |
| 38 | aaiPassword: OBF:1gfr1ev31gg7 |
| 39 | aaiHttpProtocol: https |
| 40 | aaiAuthentication: basic_auth |
| 41 | aaiTrustStorePath: n/a |
| 42 | aaiKeyStorePath: n/a |
| 43 | aaiKeyStorePassword: n/a |
| 44 | aaiConnectionTimeout: 5000 |
Norm Traxler | 2f22039 | 2018-12-20 15:55:50 +0000 | [diff] [blame] | 45 | aaiReadTimeout: 5000 |
Shane Daniel | b36bfcc | 2018-06-26 20:30:18 +0000 | [diff] [blame] | 46 | # HTTP Basic Authorization credentials for Rest Service API |
| 47 | aaiHttpUserId: admin |
| 48 | aaiHttpPassword: OBF:1u2a1toa1w8v1tok1u30 |
| 49 | sdncCtxBuilderUserId: admin |
| 50 | sdncCtxBuilderPassword: OBF:1u2a1toa1w8v1tok1u30 |
| 51 | |
| 52 | # SDNC Rest Client Connection |
| 53 | sdncServiceName: sdnc |
Norm Traxler | 2f22039 | 2018-12-20 15:55:50 +0000 | [diff] [blame] | 54 | sdncPort: 8282 |
| 55 | sdncUsername: admin |
| 56 | sdncPassword: OBF:1ks51l8d1o3i1pcc1r2r1e211r391kls1pyj1z7u1njf1lx51go21hnj1y0k1mli1sop1k8o1j651vu91mxw1vun1mze1vv11j8x1k5i1sp11mjc1y161hlr1gm41m111nkj1z781pw31kku1r4p1e391r571pbm1o741l4x1ksp |
| 57 | sdncHttpProtocol: http |
Shane Daniel | b36bfcc | 2018-06-26 20:30:18 +0000 | [diff] [blame] | 58 | sdncConnectionTimeout: 5000 |
Norm Traxler | 2f22039 | 2018-12-20 15:55:50 +0000 | [diff] [blame] | 59 | sdncReadTimeout: 5000 |
Shane Daniel | b36bfcc | 2018-06-26 20:30:18 +0000 | [diff] [blame] | 60 | |
| 61 | # default number of instances |
| 62 | replicaCount: 1 |
| 63 | |
| 64 | nodeSelector: {} |
| 65 | |
| 66 | affinity: {} |
| 67 | |
| 68 | # probe configuration parameters |
| 69 | liveness: |
Norm Traxler | 2f22039 | 2018-12-20 15:55:50 +0000 | [diff] [blame] | 70 | initialDelaySeconds: 60 |
| 71 | periodSeconds: 30 |
Shane Daniel | b36bfcc | 2018-06-26 20:30:18 +0000 | [diff] [blame] | 72 | # necessary to disable liveness probe when setting breakpoints |
| 73 | # in debugger so K8s doesn't restart unresponsive container |
| 74 | enabled: true |
| 75 | |
| 76 | readiness: |
Norm Traxler | 2f22039 | 2018-12-20 15:55:50 +0000 | [diff] [blame] | 77 | initialDelaySeconds: 60 |
| 78 | periodSeconds: 30 |
Shane Daniel | b36bfcc | 2018-06-26 20:30:18 +0000 | [diff] [blame] | 79 | |
| 80 | #Example service definition with external, internal and node ports. |
| 81 | service: |
| 82 | # The default service name (exposed in the service.yaml) will be the same |
| 83 | # name as the chart. If the service name needs to be overriden (such as |
| 84 | # when a subchart is shared), uncomment the value below. |
| 85 | #name: <service-name-override> |
| 86 | |
| 87 | #Services may use any combination of ports depending on the 'type' of |
| 88 | #service being defined. |
| 89 | type: ClusterIP |
| 90 | externalPort: 9530 |
| 91 | internalPort: 8080 |
| 92 | # nodePort: <replace with unused node port suffix eg. 23> |
| 93 | # optional port name override - default can be defined in service.yaml |
| 94 | #portName: http |
| 95 | |
| 96 | ingress: |
| 97 | enabled: false |
| 98 | |
| 99 | # Resource Limit flavor -By Default using small |
| 100 | flavor: small |
| 101 | # Segregation for Different environment (Small and Large) |
| 102 | resources: |
| 103 | small: |
| 104 | limits: |
| 105 | cpu: 1 |
| 106 | memory: 800Mi |
| 107 | requests: |
| 108 | cpu: 100m |
| 109 | memory: 400Mi |
| 110 | large: |
| 111 | limits: |
| 112 | cpu: 2 |
| 113 | memory: 1600Mi |
| 114 | requests: |
| 115 | cpu: 200m |
| 116 | memory: 800Mi |
Norm Traxler | 2f22039 | 2018-12-20 15:55:50 +0000 | [diff] [blame] | 117 | unlimited: {} |