Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 1 | # Copyright © 2018 Orange |
| 2 | # Modifications Copyright © 2018 Amdocs, Bell Canada |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefixExt: 304 |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 21 | |
| 22 | subChartsOnly: |
| 23 | enabled: true |
| 24 | |
Sylvain Desbureaux | 1d7647e | 2021-02-08 15:29:05 +0100 | [diff] [blame] | 25 | ################################################################# |
| 26 | # AAF part |
| 27 | ################################################################# |
| 28 | certInitializer: |
| 29 | nameOverride: cds-cert-initializer |
| 30 | aafDeployFqi: deployer@people.osaaf.org |
| 31 | aafDeployPass: demo123456! |
| 32 | # aafDeployCredsExternalSecret: some secret |
| 33 | fqdn: sdnc-cds |
| 34 | fqi: sdnc-cds@sdnc-cds.onap.org |
| 35 | public_fqdn: sdnc-cds.onap.org |
| 36 | cadi_longitude: "0.0" |
| 37 | cadi_latitude: "0.0" |
| 38 | app_ns: org.osaaf.aaf |
| 39 | credsPath: /opt/app/osaaf/local |
| 40 | fqi_namespace: org.onap.sdnc-cds |
| 41 | aaf_add_config: > |
| 42 | /opt/app/aaf_config/bin/agent.sh; |
| 43 | /opt/app/aaf_config/bin/agent.sh local showpass |
| 44 | {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop |
| 45 | |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 46 | # application image |
Jozsef Csongvai | 08515b7 | 2021-04-28 17:04:57 -0400 | [diff] [blame] | 47 | image: onap/ccsdk-cds-ui-server:1.1.4 |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 48 | pullPolicy: Always |
| 49 | |
| 50 | # application configuration |
| 51 | config: |
Nirvan Ramjuttun | 4603e7e | 2019-05-30 14:26:27 -0400 | [diff] [blame] | 52 | app: |
| 53 | action: |
| 54 | deployBlueprint: |
| 55 | grpcEnabled: true |
Nirvan Ramjuttun | e7a4aa7 | 2019-05-07 12:19:50 -0400 | [diff] [blame] | 56 | api: |
| 57 | controller: |
Nirvan Ramjuttun | 4603e7e | 2019-05-30 14:26:27 -0400 | [diff] [blame] | 58 | http: |
Abdelmuhaimen Seaudi | eb727eb | 2019-11-14 15:02:38 +0000 | [diff] [blame] | 59 | baseUrl: http://cds-blueprints-processor-http:8081/api/v1 |
Nirvan Ramjuttun | 4603e7e | 2019-05-30 14:26:27 -0400 | [diff] [blame] | 60 | authToken: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw== |
Nirvan Ramjuttun | e7a4aa7 | 2019-05-07 12:19:50 -0400 | [diff] [blame] | 61 | processor: |
Nirvan Ramjuttun | 4603e7e | 2019-05-30 14:26:27 -0400 | [diff] [blame] | 62 | http: |
| 63 | baseUrl: http://cds-blueprints-processor-http:8080/api/v1 |
| 64 | authToken: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw== |
| 65 | grpc: |
| 66 | host: cds-blueprints-processor-grpc |
| 67 | port: 9111 |
| 68 | authToken: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw== |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 69 | |
| 70 | # default number of instances |
| 71 | replicaCount: 1 |
| 72 | |
| 73 | nodeSelector: {} |
| 74 | |
| 75 | affinity: {} |
| 76 | |
| 77 | # probe configuration parameters |
| 78 | liveness: |
| 79 | httpGet: |
| 80 | path: / |
| 81 | port: 3000 |
| 82 | initialDelaySeconds: 30 |
| 83 | periodSeconds: 10 |
| 84 | # necessary to disable liveness probe when setting breakpoints |
| 85 | # in debugger so K8s doesn't restart unresponsive container |
| 86 | enabled: true |
| 87 | |
| 88 | readiness: |
| 89 | httpGet: |
| 90 | path: /ping |
| 91 | port: 3000 |
| 92 | initialDelaySeconds: 30 |
| 93 | periodSeconds: 10 |
| 94 | |
| 95 | service: |
| 96 | type: NodePort |
Nirvan Ramjuttun | e7a4aa7 | 2019-05-07 12:19:50 -0400 | [diff] [blame] | 97 | portName: cds-ui |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 98 | name: cds-ui |
| 99 | nodePort: 97 |
| 100 | internalPort: 3000 |
| 101 | |
| 102 | ingress: |
| 103 | enabled: false |
Lucjan Bryndza | 33315d4 | 2019-11-27 14:07:58 +0100 | [diff] [blame] | 104 | service: |
| 105 | - baseaddr: "cdsui" |
| 106 | name: "cds-ui" |
Sylvain Desbureaux | e2e9f07 | 2020-05-06 15:19:52 +0200 | [diff] [blame] | 107 | port: 3000 |
| 108 | config: |
| 109 | ssl: "redirect" |
Lucjan Bryndza | 33315d4 | 2019-11-27 14:07:58 +0100 | [diff] [blame] | 110 | |
Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 111 | # Resource Limit flavor -By Default using small |
| 112 | flavor: small |
| 113 | # Segregation for Different environment (Small and Large) |
| 114 | resources: |
| 115 | small: |
| 116 | limits: |
| 117 | cpu: 1 |
| 118 | memory: 1Gi |
| 119 | requests: |
| 120 | cpu: 10m |
| 121 | memory: 100Mi |
| 122 | large: |
| 123 | limits: |
| 124 | cpu: 2 |
| 125 | memory: 2Gi |
| 126 | requests: |
| 127 | cpu: 200m |
| 128 | memory: 200Mi |
| 129 | unlimited: {} |
farida azmy | ffad032 | 2021-04-09 14:18:14 +0200 | [diff] [blame] | 130 | |
| 131 | #Pods Service Account |
| 132 | serviceAccount: |
| 133 | nameOverride: cds-ui |
| 134 | roles: |
| 135 | - read |