priyanshu | 3af9db6 | 2018-08-16 16:23:52 +0530 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs, Bell Canada |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
dfx1971 | b2734ed | 2019-05-07 10:35:58 +0300 | [diff] [blame] | 20 | nodePortPrefixExt: 304 |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 21 | aafEnabled: true |
| 22 | |
| 23 | ################################################################# |
| 24 | # AAF Part |
| 25 | ################################################################# |
| 26 | certInitializer: |
| 27 | nameOverride: sdc-wfd-fe-cert-init |
| 28 | aafDeployFqi: deployer@people.osaaf.org |
| 29 | aafDeployPass: demo123456! |
| 30 | fqdn: sdc |
| 31 | fqi: sdc@sdc.onap.org |
| 32 | public_fqdn: sdc.onap.org |
| 33 | cadi_longitude: "0.0" |
| 34 | cadi_latitude: "0.0" |
| 35 | app_ns: org.osaaf.aaf |
| 36 | credsPath: /opt/app/osaaf/local |
| 37 | addconfig: true |
| 38 | keystoreFile: "org.onap.sdc.p12" |
| 39 | truststoreFile: "org.onap.sdc.trust.jks" |
| 40 | permission_user: 352070 |
| 41 | permission_group: 35953 |
Sylvain Desbureaux | 575743d | 2021-02-23 16:38:07 +0100 | [diff] [blame] | 42 | aaf_add_config: | |
| 43 | echo "cadi_keystore_password_p12=$cadi_keystore_password_p12" > {{ .Values.credsPath }}/mycreds.prop |
| 44 | echo "cadi_truststore_password=$cadi_truststore_password" >> {{ .Values.credsPath }}/mycreds.prop |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 45 | |
| 46 | ################################################################# |
| 47 | # Application configuration defaults. |
| 48 | ################################################################# |
| 49 | # application image |
vasraz | cd73ca6 | 2022-03-17 15:18:51 +0000 | [diff] [blame] | 50 | image: onap/sdc-workflow-frontend:1.11.1 |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 51 | pullPolicy: Always |
| 52 | |
| 53 | # flag to enable debugging - application support required |
| 54 | debugEnabled: false |
| 55 | |
| 56 | config: |
r.bogacki | 861f507 | 2019-09-03 10:16:59 +0200 | [diff] [blame] | 57 | javaOptions: "-Xmx256m -Xms256m" |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 58 | backendServerURL: |
| 59 | https: "https://sdc-wfd-be:8443" |
| 60 | http: "http://sdc-wfd-be:8080" |
IlanaP | c80bff9 | 2019-11-18 21:10:08 +0200 | [diff] [blame] | 61 | # following flag decides whether to check the certificate on the outgoing proxy request or whether to trust all parties |
| 62 | isTrustAll: true |
dfx1971 | b2734ed | 2019-05-07 10:35:58 +0300 | [diff] [blame] | 63 | # https relevant settings. Change in case you have other trust files then default ones. |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 64 | |
| 65 | #environment file |
| 66 | env: |
| 67 | name: AUTO |
| 68 | |
dfx1971 | b2734ed | 2019-05-07 10:35:58 +0300 | [diff] [blame] | 69 | security: |
r.bogacki | 08a72d6 | 2019-10-01 08:43:44 +0200 | [diff] [blame] | 70 | isDefaultStore: false |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 71 | |
| 72 | # default number of instances |
| 73 | replicaCount: 1 |
| 74 | |
| 75 | nodeSelector: {} |
| 76 | |
| 77 | affinity: {} |
| 78 | |
| 79 | # probe configuration parameters |
| 80 | liveness: |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 81 | initialDelaySeconds: 1 |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 82 | periodSeconds: 10 |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 83 | successThreshold: 1 |
| 84 | failureThreshold: 3 |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 85 | # necessary to disable liveness probe when setting breakpoints |
| 86 | # in debugger so K8s doesn't restart unresponsive container |
| 87 | enabled: true |
| 88 | |
| 89 | readiness: |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 90 | initialDelaySeconds: 1 |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 91 | periodSeconds: 10 |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 92 | successThreshold: 1 |
| 93 | failureThreshold: 3 |
| 94 | |
| 95 | startup: |
| 96 | initialDelaySeconds: 10 |
| 97 | periodSeconds: 10 |
| 98 | successThreshold: 1 |
| 99 | failureThreshold: 60 |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 100 | |
| 101 | service: |
| 102 | type: NodePort |
| 103 | internalPort: 8080 |
| 104 | externalPort: 8080 |
dfx1971 | b2734ed | 2019-05-07 10:35:58 +0300 | [diff] [blame] | 105 | internalPort2: 8443 |
| 106 | externalPort2: 8443 |
IlanaP | c80bff9 | 2019-11-18 21:10:08 +0200 | [diff] [blame] | 107 | portName: sdc-wfd-fe |
| 108 | nodePort: "56" # only one node port. set to http or https port depending on isHttpsEnabled property |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 109 | |
| 110 | ingress: |
| 111 | enabled: false |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 112 | service: |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame^] | 113 | - baseaddr: "sdc-wfd-fe-ui" |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 114 | name: "sdc-wfd-fe" |
| 115 | port: 8443 |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame^] | 116 | plain_port: 8080 |
priyanshu | 54a0a8a | 2019-02-28 10:08:52 +0530 | [diff] [blame] | 117 | annotations: |
| 118 | ingress.kubernetes.io/secure-backends: "false" |
| 119 | nginx.ingress.kubernetes.io/secure-backends: "false" |
| 120 | nginx.ingress.kubernetes.io/proxy-body-size: "0" |
| 121 | nginx.ingress.kubernetes.io/ssl-redirect: "true" |
| 122 | nginx.ingress.kubernetes.io/backend-protocol: "HTTP" |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 123 | nginx.ingress.kubernetes.io/rewrite-target: "/workflows/" |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 124 | |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 125 | # Resource Limit flavor -By Default using small |
| 126 | # Segregation for Different environment (Small and Large) |
| 127 | flavor: small |
| 128 | resources: |
| 129 | small: |
| 130 | limits: |
| 131 | cpu: 500m |
| 132 | memory: 2Gi |
| 133 | requests: |
| 134 | cpu: 40m |
| 135 | memory: 1Gi |
| 136 | large: |
| 137 | limits: |
| 138 | cpu: 1 |
| 139 | memory: 4Gi |
| 140 | requests: |
| 141 | cpu: 80m |
| 142 | memory: 2Gi |
| 143 | unlimited: {} |
farida azmy | 1383b4c | 2021-04-06 12:33:31 +0200 | [diff] [blame] | 144 | |
| 145 | #Pods Service Account |
| 146 | serviceAccount: |
| 147 | nameOverride: sdc-wfd-fe |
| 148 | roles: |
| 149 | - read |
Maciej Wereski | 771ec2a | 2021-10-14 13:59:12 +0000 | [diff] [blame] | 150 | |
| 151 | #Log configuration |
| 152 | log: |
| 153 | path: /var/log/onap |
| 154 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |