Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 1 | #============LICENSE_START======================================================== |
| 2 | # ================================================================================ |
Jack Lucas | c686131 | 2020-03-03 15:57:59 -0500 | [diff] [blame] | 3 | # Copyright (c) 2019-2020 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 |
| 23 | readinessRepository: oomk8s |
| 24 | readinessImage: readiness-check:2.0.0 |
| 25 | loggingRepository: docker.elastic.co |
| 26 | loggingImage: beats/filebeat:5.5.0 |
| 27 | tlsRepository: nexus3.onap.org:10001 |
Jack Lucas | c70bc7e | 2019-09-23 09:02:31 -0400 | [diff] [blame] | 28 | 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] | 29 | |
Krzysztof Opasiak | f2816a0 | 2020-05-05 11:45:03 +0200 | [diff] [blame^] | 30 | secrets: |
| 31 | - uid: pg-user-creds |
| 32 | name: &pgUserCredsSecretName '{{ include "common.release" . }}-dcae-dashboard-pg-user-creds' |
| 33 | type: basicAuth |
| 34 | externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "dcae-dashboard-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}' |
| 35 | login: '{{ .Values.postgres.config.pgUserName }}' |
| 36 | password: '{{ .Values.postgres.config.pgUserPassword }}' |
| 37 | passwordPolicy: generate |
| 38 | |
Vijay Venkatesh Kumar | a4535c9 | 2019-08-02 01:45:23 +0000 | [diff] [blame] | 39 | config: |
| 40 | logstashServiceName: log-ls |
| 41 | logstashPort: 5044 |
| 42 | dhandler_url: https://deployment-handler:8443 |
| 43 | cfy_url: https://dcae-cloudify-manager/api/v3.1 |
| 44 | inventory_url: https://inventory:8080 |
| 45 | # Addresses of other ONAP entities |
| 46 | address: |
| 47 | consul: |
| 48 | host: consul-server |
| 49 | port: 8500 |
| 50 | |
| 51 | ################################################################# |
| 52 | # Application configuration defaults. |
| 53 | ################################################################# |
| 54 | # application image |
| 55 | repository: nexus3.onap.org:10001 |
Jack Lucas | 00efe37 | 2020-03-11 13:48:20 -0400 | [diff] [blame] | 56 | image: onap/org.onap.ccsdk.dashboard.ccsdk-app-os:1.3.2 |
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: |
| 69 | initialDelaySeconds: 30 |
| 70 | periodSeconds: 30 |
| 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 | |
| 100 | # Resource Limit flavor -By Default using small |
| 101 | flavor: small |
| 102 | # Segregation for Different environment (Small and Large) |
| 103 | resources: |
| 104 | small: |
| 105 | limits: |
| 106 | cpu: 2 |
| 107 | memory: 2Gi |
| 108 | requests: |
| 109 | cpu: 1 |
| 110 | memory: 1Gi |
| 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" |