vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
jhh | 999c224 | 2021-02-24 12:10:02 -0600 | [diff] [blame] | 2 | # Modifications Copyright © 2018-2021 AT&T |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 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 | |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: # global defaults |
| 20 | nodePortPrefix: 302 |
ChrisC | 2325efd | 2020-09-11 18:39:23 +0200 | [diff] [blame] | 21 | centralizedLoggingEnabled: true |
| 22 | #AAF service |
| 23 | aafEnabled: true |
| 24 | |
| 25 | ################################################################# |
| 26 | # AAF part |
| 27 | ################################################################# |
| 28 | certInitializer: |
| 29 | permission_user: 1000 |
| 30 | permission_group: 999 |
| 31 | addconfig: true |
| 32 | keystoreFile: "org.onap.clamp.p12" |
| 33 | truststoreFile: "org.onap.clamp.trust.jks" |
| 34 | keyFile: "org.onap.clamp.keyfile" |
| 35 | truststoreFileONAP: "truststoreONAPall.jks" |
| 36 | clamp_key: "clamp.key" |
| 37 | clamp_pem: "clamp.pem" |
| 38 | clamp_ca_certs_pem: "clamp-ca-certs.pem" |
| 39 | nameOverride: clamp-cert-initializer |
| 40 | aafDeployFqi: deployer@people.osaaf.org |
| 41 | aafDeployPass: demo123456! |
| 42 | # aafDeployCredsExternalSecret: some secret |
| 43 | fqdn: clamp |
| 44 | fqi: clamp@clamp.onap.org |
| 45 | public_fqdn: clamp.onap.org |
| 46 | cadi_longitude: "0.0" |
| 47 | cadi_latitude: "0.0" |
| 48 | app_ns: org.osaaf.aaf |
| 49 | credsPath: /opt/app/osaaf/local |
| 50 | aaf_add_config: > |
ChrisC | 2325efd | 2020-09-11 18:39:23 +0200 | [diff] [blame] | 51 | cd {{ .Values.credsPath }}; |
| 52 | openssl pkcs12 -in {{ .Values.keystoreFile }} -nocerts -nodes -passin pass:$cadi_keystore_password_p12 > {{ .Values.clamp_key }}; |
| 53 | openssl pkcs12 -in {{ .Values.keystoreFile }} -clcerts -nokeys -passin pass:$cadi_keystore_password_p12 > {{ .Values.clamp_pem }}; |
| 54 | openssl pkcs12 -in {{ .Values.keystoreFile }} -cacerts -nokeys -chain -passin pass:$cadi_keystore_password_p12 > {{ .Values.clamp_ca_certs_pem }}; |
| 55 | chmod a+rx *; |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 56 | |
| 57 | subChartsOnly: |
| 58 | enabled: true |
| 59 | |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 60 | flavor: small |
| 61 | |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 62 | # application image |
saul.gill | 744ed39 | 2021-09-21 15:20:42 +0100 | [diff] [blame] | 63 | image: onap/policy-clamp-frontend:6.1.2 |
Dusan Rozman | f776f3d | 2017-09-18 13:07:56 -0400 | [diff] [blame] | 64 | pullPolicy: Always |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 65 | |
| 66 | # flag to enable debugging - application support required |
| 67 | debugEnabled: false |
| 68 | |
Sylvain Desbureaux | 8c2a162 | 2020-04-22 10:50:26 +0200 | [diff] [blame] | 69 | # log configuration |
| 70 | log: |
| 71 | path: /var/log/nginx/ |
| 72 | |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 73 | ################################################################# |
| 74 | # Application configuration defaults. |
| 75 | ################################################################# |
| 76 | config: |
ac2550 | de00989 | 2018-05-24 15:47:05 +0200 | [diff] [blame] | 77 | log: |
| 78 | logstashServiceName: log-ls |
| 79 | logstashPort: 5044 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 80 | dataRootDir: /dockerdata-nfs |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 81 | |
| 82 | # default number of instances |
| 83 | replicaCount: 1 |
| 84 | |
| 85 | nodeSelector: {} |
| 86 | |
| 87 | affinity: {} |
| 88 | |
| 89 | # probe configuration parameters |
| 90 | liveness: |
ac2550 | cfa75fe | 2018-08-07 15:36:10 +0200 | [diff] [blame] | 91 | initialDelaySeconds: 120 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 92 | periodSeconds: 10 |
sebdet | 5a13fbf | 2020-10-13 09:37:19 +0200 | [diff] [blame] | 93 | timeoutSeconds: 3 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 94 | # necessary to disable liveness probe when setting breakpoints |
| 95 | # in debugger so K8s doesn't restart unresponsive container |
| 96 | enabled: true |
| 97 | |
| 98 | readiness: |
| 99 | initialDelaySeconds: 10 |
| 100 | periodSeconds: 10 |
sebdet | 5a13fbf | 2020-10-13 09:37:19 +0200 | [diff] [blame] | 101 | timeoutSeconds: 3 |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 102 | |
| 103 | service: |
| 104 | type: NodePort |
sebdet | 5c44988 | 2021-01-13 11:35:56 +0100 | [diff] [blame] | 105 | name: policy-clamp-fe |
| 106 | portName: policy-clamp-fe |
sebdet | 93b4fd4 | 2020-03-25 09:19:34 -0700 | [diff] [blame] | 107 | internalPort: 2443 |
Determe, Sebastien (sd378r) | 346ac69 | 2019-04-29 14:52:41 +0200 | [diff] [blame] | 108 | nodePort: 58 |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 109 | |
Michael O'Brien | cd4d4eb | 2018-09-04 20:56:34 -0400 | [diff] [blame] | 110 | # as of 20180904 port 58 is reserved for clamp from log/logdemonode |
| 111 | # see https://wiki.onap.org/display/DW/OOM+NodePort+List |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 112 | |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 113 | ingress: |
| 114 | enabled: false |
Lucjan Bryndza | 9e044a5 | 2019-12-02 14:04:44 +0100 | [diff] [blame] | 115 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 116 | - baseaddr: "clamp.api" |
Lucjan Bryndza | 9e044a5 | 2019-12-02 14:04:44 +0100 | [diff] [blame] | 117 | name: "clamp" |
sebdet | 93b4fd4 | 2020-03-25 09:19:34 -0700 | [diff] [blame] | 118 | port: 2443 |
Lucjan Bryndza | 9e044a5 | 2019-12-02 14:04:44 +0100 | [diff] [blame] | 119 | config: |
| 120 | ssl: "redirect" |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 121 | |
Determe, Sebastien (sd378r) | d600a8d | 2018-06-01 11:27:49 +0200 | [diff] [blame] | 122 | #resources: {} |
vaibhav_16dec | f67e418 | 2018-03-19 05:45:47 +0000 | [diff] [blame] | 123 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 124 | # choice for the user. This also increases chances charts run on environments with little |
| 125 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 126 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 127 | # |
| 128 | # Example: |
| 129 | # Configure resource requests and limits |
| 130 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 131 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 132 | # Minimum memory for production is 4 CPU cores and 8GB memory |
Determe, Sebastien (sd378r) | d600a8d | 2018-06-01 11:27:49 +0200 | [diff] [blame] | 133 | resources: |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 134 | small: |
| 135 | limits: |
| 136 | cpu: 1 |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 137 | memory: 200Mi |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 138 | requests: |
sebdet | ac61d3c | 2020-10-23 16:06:55 +0200 | [diff] [blame] | 139 | cpu: 1m |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 140 | memory: 50Mi |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 141 | large: |
| 142 | limits: |
| 143 | cpu: 1 |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 144 | memory: 500Mi |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 145 | requests: |
| 146 | cpu: 10m |
sebdet | d85e24c | 2019-09-04 18:35:26 +0200 | [diff] [blame] | 147 | memory: 50Mi |
Sylvain Desbureaux | 45fba76 | 2018-11-23 11:35:46 +0100 | [diff] [blame] | 148 | unlimited: {} |
farida azmy | c117837 | 2021-04-11 12:55:33 +0200 | [diff] [blame] | 149 | |
| 150 | #Pods Service Account |
| 151 | serviceAccount: |
| 152 | nameOverride: policy-clamp-fe |
| 153 | roles: |
| 154 | - read |