rameshiyer27 | 3c3402d | 2021-09-21 15:14:39 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
| 2 | # Copyright (C) 2021 Nordix Foundation. |
| 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 | # SPDX-License-Identifier: Apache-2.0 |
| 17 | # ============LICENSE_END========================================================= |
| 18 | |
| 19 | ################################################################# |
| 20 | # Global configuration defaults. |
| 21 | ################################################################# |
| 22 | global: |
| 23 | persistence: {} |
| 24 | aafEnabled: true |
| 25 | |
| 26 | ################################################################# |
| 27 | # Secrets metaconfig |
| 28 | ################################################################# |
| 29 | secrets: |
| 30 | - uid: keystore-password |
| 31 | type: password |
| 32 | externalSecret: '{{ tpl (default "" .Values.certStores.keyStorePasswordExternalSecret) . }}' |
| 33 | password: '{{ .Values.certStores.keyStorePassword }}' |
| 34 | passwordPolicy: required |
| 35 | - uid: truststore-password |
| 36 | type: password |
| 37 | externalSecret: '{{ tpl (default "" .Values.certStores.trustStorePasswordExternalSecret) . }}' |
| 38 | password: '{{ .Values.certStores.trustStorePassword }}' |
| 39 | passwordPolicy: required |
| 40 | |
| 41 | certStores: |
| 42 | keyStorePassword: Pol1cy_0nap |
| 43 | trustStorePassword: Pol1cy_0nap |
| 44 | |
| 45 | certInitializer: |
| 46 | nameOverride: policy-clamp-cl-http-ppnt-cert-initializer |
| 47 | aafDeployFqi: deployer@people.osaaf.org |
| 48 | aafDeployPass: demo123456! |
| 49 | fqdn: policy |
| 50 | fqi: policy@policy.onap.org |
| 51 | public_fqdn: policy.onap.org |
| 52 | cadi_latitude: "0.0" |
| 53 | cadi_longitude: "0.0" |
| 54 | credsPath: /opt/app/osaaf/local |
| 55 | app_ns: org.osaaf.aaf |
| 56 | uid: 100 |
| 57 | gid: 101 |
| 58 | aaf_add_config: > |
| 59 | echo "export KEYSTORE='{{ .Values.credsPath }}/org.onap.policy.p12'" > {{ .Values.credsPath }}/.ci; |
| 60 | echo "export KEYSTORE_PASSWD='${cadi_keystore_password_p12}'" >> {{ .Values.credsPath }}/.ci; |
| 61 | chown -R {{ .Values.uid }}:{{ .Values.gid }} $(dirname {{ .Values.credsPath }}); |
| 62 | |
| 63 | |
| 64 | ################################################################# |
| 65 | # Application configuration defaults. |
| 66 | ################################################################# |
| 67 | # application image |
liamfallon | 312ab37 | 2021-12-13 14:33:33 +0000 | [diff] [blame] | 68 | image: onap/policy-clamp-cl-http-ppnt:6.2.0 |
rameshiyer27 | 3c3402d | 2021-09-21 15:14:39 +0100 | [diff] [blame] | 69 | pullPolicy: Always |
| 70 | |
| 71 | # flag to enable debugging - application support required |
| 72 | debugEnabled: false |
| 73 | |
| 74 | # default number of instances |
| 75 | replicaCount: 1 |
| 76 | |
| 77 | nodeSelector: {} |
| 78 | |
| 79 | affinity: {} |
| 80 | ingress: |
| 81 | enabled: false |
| 82 | |
| 83 | flavor: small |
| 84 | resources: |
| 85 | small: |
| 86 | limits: |
| 87 | cpu: 1 |
| 88 | memory: 4Gi |
| 89 | requests: |
| 90 | cpu: 100m |
| 91 | memory: 1Gi |
| 92 | large: |
| 93 | limits: |
| 94 | cpu: 2 |
| 95 | memory: 8Gi |
| 96 | requests: |
| 97 | cpu: 200m |
| 98 | memory: 2Gi |
| 99 | unlimited: {} |
| 100 | #Pods Service Account |
| 101 | serviceAccount: |
| 102 | nameOverride: policy-clamp-cl-http-ppnt |
| 103 | roles: |
| 104 | - read |