Jack Lucas | 332b5e7 | 2019-02-06 16:03:13 -0500 | [diff] [blame] | 1 | #============LICENSE_START======================================================== |
| 2 | # ================================================================================ |
Alex Shatov | 32f9919 | 2020-02-25 15:24:02 -0500 | [diff] [blame] | 3 | # Copyright (c) 2019-2020 AT&T Intellectual Property. All rights reserved. |
Jack Lucas | 332b5e7 | 2019-02-06 16:03:13 -0500 | [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 | nodePortPrefix: 302 |
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 |
Jack Lucas | f90784c | 2021-02-08 12:47:49 -0500 | [diff] [blame] | 24 | consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.0 |
Schmalzried, Terry (ts862m) | 12db789 | 2020-08-21 20:42:33 -0400 | [diff] [blame] | 25 | secrets: |
| 26 | - uid: 'cm-pass' |
| 27 | type: password |
| 28 | externalSecret: '{{ tpl (default "" .Values.config.cloudifyManagerPasswordExternalSecret) . }}' |
| 29 | password: '{{ .Values.config.cloudifyManagerPassword }}' |
| 30 | policy: required |
| 31 | |
Jack Lucas | 332b5e7 | 2019-02-06 16:03:13 -0500 | [diff] [blame] | 32 | config: |
Schmalzried, Terry (ts862m) | 12db789 | 2020-08-21 20:42:33 -0400 | [diff] [blame] | 33 | cloudifyManagerPassword: "override me" |
Jack Lucas | 332b5e7 | 2019-02-06 16:03:13 -0500 | [diff] [blame] | 34 | logstashServiceName: log-ls |
| 35 | logstashPort: 5044 |
| 36 | # Addresses of other ONAP entities |
| 37 | address: |
| 38 | consul: |
| 39 | host: consul-server |
| 40 | port: 8500 |
Vijay Venkatesh Kumar | 4112d5c | 2019-05-07 20:34:39 +0000 | [diff] [blame] | 41 | policy_xacml_pdp: policy-xacml-pdp |
Jack Lucas | 332b5e7 | 2019-02-06 16:03:13 -0500 | [diff] [blame] | 42 | |
| 43 | ################################################################# |
| 44 | # Application configuration defaults. |
| 45 | ################################################################# |
| 46 | # application image |
vv770d | e1d9821 | 2021-02-24 17:42:04 +0000 | [diff] [blame] | 47 | image: onap/org.onap.dcaegen2.platform.policy-handler:5.1.1 |
Jack Lucas | 332b5e7 | 2019-02-06 16:03:13 -0500 | [diff] [blame] | 48 | pullPolicy: Always |
| 49 | |
| 50 | # probe configuration parameters |
| 51 | liveness: |
| 52 | initialDelaySeconds: 10 |
| 53 | periodSeconds: 10 |
| 54 | # necessary to disable liveness probe when setting breakpoints |
| 55 | # in debugger so K8s doesn't restart unresponsive container |
| 56 | # liveness not desirable for Cloudify Manager container |
| 57 | enabled: false |
| 58 | |
| 59 | readiness: |
| 60 | initialDelaySeconds: 60 |
| 61 | periodSeconds: 300 |
| 62 | path: /healthcheck |
| 63 | scheme: HTTP |
| 64 | |
| 65 | service: |
| 66 | type: ClusterIP |
| 67 | name: policy-handler |
Alex Shatov | 32f9919 | 2020-02-25 15:24:02 -0500 | [diff] [blame] | 68 | externalPort: 80 |
Jack Lucas | 332b5e7 | 2019-02-06 16:03:13 -0500 | [diff] [blame] | 69 | internalPort: 25577 |
| 70 | |
| 71 | |
| 72 | # Resource Limit flavor -By Default using small |
| 73 | flavor: small |
| 74 | # Segregation for Different environment (Small and Large) |
| 75 | resources: |
| 76 | small: |
| 77 | limits: |
| 78 | cpu: 2 |
| 79 | memory: 2Gi |
| 80 | requests: |
| 81 | cpu: 1 |
| 82 | memory: 1Gi |
| 83 | large: |
| 84 | limits: |
| 85 | cpu: 4 |
| 86 | memory: 4Gi |
| 87 | requests: |
| 88 | cpu: 2 |
| 89 | memory: 2Gi |
| 90 | unlimited: {} |
| 91 | # Kubernetes namespace for components deployed via Cloudify manager |
| 92 | # If empty, use the common namespace |
| 93 | # dcae_ns: "dcae" |