Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 1 | #============LICENSE_START======================================================== |
| 2 | # ================================================================================ |
vv770d | 46d5377 | 2021-06-01 21:10:09 +0000 | [diff] [blame] | 3 | # Copyright (c) 2019-2021 AT&T Intellectual Property. All rights reserved. |
Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 4 | # ================================================================================ |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # ============LICENSE_END========================================================= |
| 17 | |
| 18 | ################################################################# |
| 19 | # Global configuration defaults. |
| 20 | ################################################################# |
| 21 | global: |
| 22 | nodePortPrefixExt: 304 |
Jack Lucas | c70bc7e | 2019-09-23 09:02:31 -0400 | [diff] [blame] | 23 | tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0 |
Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 24 | |
Krzysztof Opasiak | f2816a0 | 2020-05-05 11:45:03 +0200 | [diff] [blame] | 25 | secrets: |
| 26 | - uid: pg-user-creds |
| 27 | name: &pgUserCredsSecretName '{{ include "common.release" . }}-dcae-dashboard-pg-user-creds' |
| 28 | type: basicAuth |
| 29 | externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "dcae-dashboard-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}' |
| 30 | login: '{{ .Values.postgres.config.pgUserName }}' |
| 31 | password: '{{ .Values.postgres.config.pgUserPassword }}' |
| 32 | passwordPolicy: generate |
Schmalzried, Terry (ts862m) | 12db789 | 2020-08-21 20:42:33 -0400 | [diff] [blame] | 33 | - uid: 'cm-pass' |
| 34 | type: password |
| 35 | externalSecret: '{{ tpl (default "" .Values.config.cloudifyManagerPasswordExternalSecret) . }}' |
| 36 | password: '{{ .Values.config.cloudifyManagerPassword }}' |
| 37 | policy: required |
Krzysztof Opasiak | f2816a0 | 2020-05-05 11:45:03 +0200 | [diff] [blame] | 38 | |
Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 39 | config: |
Schmalzried, Terry (ts862m) | 12db789 | 2020-08-21 20:42:33 -0400 | [diff] [blame] | 40 | cloudifyManagerPassword: "override me" |
Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 41 | logstashServiceName: log-ls |
| 42 | logstashPort: 5044 |
| 43 | dhandler_url: https://deployment-handler:8443 |
| 44 | cfy_url: https://dcae-cloudify-manager/api/v3.1 |
| 45 | inventory_url: https://inventory:8080 |
| 46 | # Addresses of other ONAP entities |
| 47 | address: |
| 48 | consul: |
| 49 | host: consul-server |
| 50 | port: 8500 |
| 51 | |
| 52 | ################################################################# |
| 53 | # Application configuration defaults. |
| 54 | ################################################################# |
| 55 | # application image |
vv770d | 4c64ef1 | 2021-06-21 15:06:40 +0000 | [diff] [blame^] | 56 | image: onap/org.onap.ccsdk.dashboard.ccsdk-app-os:1.4.4 |
Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 57 | pullPolicy: Always |
| 58 | |
| 59 | # probe configuration parameters |
| 60 | liveness: |
| 61 | initialDelaySeconds: 10 |
| 62 | periodSeconds: 10 |
| 63 | # necessary to disable liveness probe when setting breakpoints |
| 64 | # in debugger so K8s doesn't restart unresponsive container |
| 65 | # liveness not desirable for Cloudify Manager container |
| 66 | enabled: false |
| 67 | |
| 68 | readiness: |
vv770d | 42cccf2 | 2021-03-29 19:42:55 +0000 | [diff] [blame] | 69 | initialDelaySeconds: 300 |
| 70 | periodSeconds: 90 |
Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 71 | path: /ccsdk-app/health |
Vijay Venkatesh Kumar | 694394b | 2020-02-20 21:50:14 +0000 | [diff] [blame] | 72 | scheme: HTTPS |
Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 73 | |
| 74 | service: |
| 75 | type: NodePort |
| 76 | name: dashboard |
Vijay Venkatesh Kumar | 694394b | 2020-02-20 21:50:14 +0000 | [diff] [blame] | 77 | externalPort: 8443 |
| 78 | internalPort: 8443 |
Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 79 | nodePort: 18 |
| 80 | # application configuration override for postgres |
| 81 | postgres: |
| 82 | nameOverride: dcae-dashboard-pg |
| 83 | service: |
| 84 | name: dcae-dashboard-postgres |
| 85 | name2: dcae-dashboard-pg-primary |
| 86 | name3: dcae-dashboard-pg-replica |
| 87 | container: |
| 88 | name: |
| 89 | primary: dcae-dashboard-pg-primary |
| 90 | replica: dcae-dashboard-pg-replica |
| 91 | config: |
| 92 | pgUserName: dashboard_pg_admin |
Krzysztof Opasiak | f2816a0 | 2020-05-05 11:45:03 +0200 | [diff] [blame] | 93 | pgUserExternalSecret: *pgUserCredsSecretName |
Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 94 | pgDatabase: dashboard_pg_db_common |
Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 95 | pgPort: "5432" |
| 96 | persistence: |
| 97 | mountSubPath: dcae-dashboard/data |
| 98 | mountInitPath: dcae-dashboard |
Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 99 | |
vv770d | 4c64ef1 | 2021-06-21 15:06:40 +0000 | [diff] [blame^] | 100 | #Resource Limit flavor -By Default using small |
Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 101 | flavor: small |
vv770d | 4c64ef1 | 2021-06-21 15:06:40 +0000 | [diff] [blame^] | 102 | #Segregation for Different environment (Small and Large) |
Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 103 | resources: |
| 104 | small: |
| 105 | limits: |
vv770d | 4c64ef1 | 2021-06-21 15:06:40 +0000 | [diff] [blame^] | 106 | cpu: 2 |
| 107 | memory: 2Gi |
vv770d | 42cccf2 | 2021-03-29 19:42:55 +0000 | [diff] [blame] | 108 | requests: |
vv770d | 4c64ef1 | 2021-06-21 15:06:40 +0000 | [diff] [blame^] | 109 | cpu: 1 |
Sylvain Desbureaux | d985860 | 2021-05-04 08:09:27 +0200 | [diff] [blame] | 110 | memory: 1Gi |
Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 111 | large: |
| 112 | limits: |
| 113 | cpu: 4 |
| 114 | memory: 4Gi |
| 115 | requests: |
| 116 | cpu: 2 |
| 117 | memory: 2Gi |
| 118 | unlimited: {} |
| 119 | # Kubernetes namespace for components deployed via Cloudify manager |
| 120 | # If empty, use the common namespace |
| 121 | # dcae_ns: "dcae" |