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 | 63fa494 | 2021-07-01 14:31:05 -0400 | [diff] [blame] | 4 | # Copyright (c) 2021 J. F. Lucas. All rights reserved. |
Jack Lucas | 332b5e7 | 2019-02-06 16:03:13 -0500 | [diff] [blame] | 5 | # ================================================================================ |
| 6 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | # you may not use this file except in compliance with the License. |
| 8 | # You may obtain a copy of the License at |
| 9 | # |
| 10 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | # |
| 12 | # Unless required by applicable law or agreed to in writing, software |
| 13 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | # See the License for the specific language governing permissions and |
| 16 | # limitations under the License. |
| 17 | # ============LICENSE_END========================================================= |
| 18 | |
| 19 | ################################################################# |
| 20 | # Global configuration defaults. |
| 21 | ################################################################# |
| 22 | global: |
| 23 | nodePortPrefix: 302 |
Jack Lucas | c70bc7e | 2019-09-23 09:02:31 -0400 | [diff] [blame] | 24 | tlsImage: onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0 |
Jack Lucas | d263e69 | 2021-08-16 16:02:23 -0400 | [diff] [blame] | 25 | consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.1.1 |
Schmalzried, Terry (ts862m) | 12db789 | 2020-08-21 20:42:33 -0400 | [diff] [blame] | 26 | secrets: |
| 27 | - uid: 'cm-pass' |
| 28 | type: password |
| 29 | externalSecret: '{{ tpl (default "" .Values.config.cloudifyManagerPasswordExternalSecret) . }}' |
| 30 | password: '{{ .Values.config.cloudifyManagerPassword }}' |
| 31 | policy: required |
| 32 | |
Jack Lucas | 332b5e7 | 2019-02-06 16:03:13 -0500 | [diff] [blame] | 33 | config: |
Schmalzried, Terry (ts862m) | 12db789 | 2020-08-21 20:42:33 -0400 | [diff] [blame] | 34 | cloudifyManagerPassword: "override me" |
Jack Lucas | 332b5e7 | 2019-02-06 16:03:13 -0500 | [diff] [blame] | 35 | logstashServiceName: log-ls |
| 36 | logstashPort: 5044 |
| 37 | # Addresses of other ONAP entities |
| 38 | address: |
| 39 | consul: |
| 40 | host: consul-server |
| 41 | port: 8500 |
Vijay Venkatesh Kumar | 4112d5c | 2019-05-07 20:34:39 +0000 | [diff] [blame] | 42 | policy_xacml_pdp: policy-xacml-pdp |
Jack Lucas | 332b5e7 | 2019-02-06 16:03:13 -0500 | [diff] [blame] | 43 | |
| 44 | ################################################################# |
| 45 | # Application configuration defaults. |
| 46 | ################################################################# |
| 47 | # application image |
Jack Lucas | 63fa494 | 2021-07-01 14:31:05 -0400 | [diff] [blame] | 48 | image: onap/org.onap.dcaegen2.platform.policy-handler:5.1.3 |
Jack Lucas | 332b5e7 | 2019-02-06 16:03:13 -0500 | [diff] [blame] | 49 | pullPolicy: Always |
| 50 | |
| 51 | # probe configuration parameters |
| 52 | liveness: |
| 53 | initialDelaySeconds: 10 |
| 54 | periodSeconds: 10 |
| 55 | # necessary to disable liveness probe when setting breakpoints |
| 56 | # in debugger so K8s doesn't restart unresponsive container |
| 57 | # liveness not desirable for Cloudify Manager container |
| 58 | enabled: false |
| 59 | |
| 60 | readiness: |
| 61 | initialDelaySeconds: 60 |
| 62 | periodSeconds: 300 |
| 63 | path: /healthcheck |
| 64 | scheme: HTTP |
| 65 | |
| 66 | service: |
| 67 | type: ClusterIP |
| 68 | name: policy-handler |
Alex Shatov | 32f9919 | 2020-02-25 15:24:02 -0500 | [diff] [blame] | 69 | externalPort: 80 |
Jack Lucas | 332b5e7 | 2019-02-06 16:03:13 -0500 | [diff] [blame] | 70 | internalPort: 25577 |
| 71 | |
| 72 | |
| 73 | # Resource Limit flavor -By Default using small |
| 74 | flavor: small |
| 75 | # Segregation for Different environment (Small and Large) |
| 76 | resources: |
| 77 | small: |
| 78 | limits: |
| 79 | cpu: 2 |
| 80 | memory: 2Gi |
| 81 | requests: |
| 82 | cpu: 1 |
| 83 | memory: 1Gi |
| 84 | large: |
| 85 | limits: |
| 86 | cpu: 4 |
| 87 | memory: 4Gi |
| 88 | requests: |
| 89 | cpu: 2 |
| 90 | memory: 2Gi |
| 91 | unlimited: {} |
| 92 | # Kubernetes namespace for components deployed via Cloudify manager |
| 93 | # If empty, use the common namespace |
| 94 | # dcae_ns: "dcae" |
farida azmy | 3748180 | 2021-04-11 15:41:32 +0200 | [diff] [blame^] | 95 | |
| 96 | #Pods Service Account |
| 97 | serviceAccount: |
| 98 | nameOverride: dcae-policy-handler |
| 99 | roles: |
| 100 | - read |