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 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 21 | readinessImage: onap/oom/readiness:3.0.1 |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 22 | loggingRepository: docker.elastic.co |
| 23 | loggingImage: beats/filebeat:5.5.0 |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 24 | aafEnabled: true |
| 25 | |
| 26 | ################################################################# |
| 27 | # AAF Part |
| 28 | ################################################################# |
| 29 | certInitializer: |
| 30 | nameOverride: sdc-wfd-fe-cert-init |
| 31 | aafDeployFqi: deployer@people.osaaf.org |
| 32 | aafDeployPass: demo123456! |
| 33 | fqdn: sdc |
| 34 | fqi: sdc@sdc.onap.org |
| 35 | public_fqdn: sdc.onap.org |
| 36 | cadi_longitude: "0.0" |
| 37 | cadi_latitude: "0.0" |
| 38 | app_ns: org.osaaf.aaf |
| 39 | credsPath: /opt/app/osaaf/local |
| 40 | addconfig: true |
| 41 | keystoreFile: "org.onap.sdc.p12" |
| 42 | truststoreFile: "org.onap.sdc.trust.jks" |
| 43 | permission_user: 352070 |
| 44 | permission_group: 35953 |
| 45 | aaf_add_config: > |
| 46 | /opt/app/aaf_config/bin/agent.sh local showpass |
| 47 | {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 48 | |
| 49 | ################################################################# |
| 50 | # Application configuration defaults. |
| 51 | ################################################################# |
| 52 | # application image |
| 53 | repository: nexus3.onap.org:10001 |
ChrisC | 7ab5731 | 2020-08-12 16:24:38 +0200 | [diff] [blame] | 54 | image: onap/sdc-workflow-frontend:1.7.0 |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 55 | pullPolicy: Always |
| 56 | |
| 57 | # flag to enable debugging - application support required |
| 58 | debugEnabled: false |
| 59 | |
| 60 | config: |
r.bogacki | 861f507 | 2019-09-03 10:16:59 +0200 | [diff] [blame] | 61 | javaOptions: "-Xmx256m -Xms256m" |
IlanaP | c80bff9 | 2019-11-18 21:10:08 +0200 | [diff] [blame] | 62 | backendServerURL: "https://sdc-wfd-be:8443" |
dfx1971 | e8246b5 | 2019-05-23 12:07:39 +0300 | [diff] [blame] | 63 | isHttpsEnabled: true |
IlanaP | c80bff9 | 2019-11-18 21:10:08 +0200 | [diff] [blame] | 64 | # following flag decides whether to check the certificate on the outgoing proxy request or whether to trust all parties |
| 65 | isTrustAll: true |
dfx1971 | b2734ed | 2019-05-07 10:35:58 +0300 | [diff] [blame] | 66 | # 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] | 67 | |
| 68 | #environment file |
| 69 | env: |
| 70 | name: AUTO |
| 71 | |
dfx1971 | b2734ed | 2019-05-07 10:35:58 +0300 | [diff] [blame] | 72 | security: |
r.bogacki | 08a72d6 | 2019-10-01 08:43:44 +0200 | [diff] [blame] | 73 | isDefaultStore: false |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 74 | |
| 75 | # default number of instances |
| 76 | replicaCount: 1 |
| 77 | |
| 78 | nodeSelector: {} |
| 79 | |
| 80 | affinity: {} |
| 81 | |
| 82 | # probe configuration parameters |
| 83 | liveness: |
| 84 | initialDelaySeconds: 60 |
| 85 | periodSeconds: 10 |
| 86 | # necessary to disable liveness probe when setting breakpoints |
| 87 | # in debugger so K8s doesn't restart unresponsive container |
| 88 | enabled: true |
| 89 | |
| 90 | readiness: |
| 91 | initialDelaySeconds: 60 |
| 92 | periodSeconds: 10 |
| 93 | |
| 94 | service: |
| 95 | type: NodePort |
| 96 | internalPort: 8080 |
| 97 | externalPort: 8080 |
dfx1971 | b2734ed | 2019-05-07 10:35:58 +0300 | [diff] [blame] | 98 | internalPort2: 8443 |
| 99 | externalPort2: 8443 |
IlanaP | c80bff9 | 2019-11-18 21:10:08 +0200 | [diff] [blame] | 100 | portName: sdc-wfd-fe |
| 101 | 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] | 102 | |
| 103 | ingress: |
| 104 | enabled: false |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 105 | service: |
| 106 | - baseaddr: "sdcwfdfe" |
| 107 | name: "sdc-wfd-fe" |
| 108 | port: 8443 |
priyanshu | 54a0a8a | 2019-02-28 10:08:52 +0530 | [diff] [blame] | 109 | annotations: |
| 110 | ingress.kubernetes.io/secure-backends: "false" |
| 111 | nginx.ingress.kubernetes.io/secure-backends: "false" |
| 112 | nginx.ingress.kubernetes.io/proxy-body-size: "0" |
| 113 | nginx.ingress.kubernetes.io/ssl-redirect: "true" |
| 114 | nginx.ingress.kubernetes.io/backend-protocol: "HTTP" |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 115 | nginx.ingress.kubernetes.io/rewrite-target: "/workflows/" |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 116 | |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 117 | # Resource Limit flavor -By Default using small |
| 118 | # Segregation for Different environment (Small and Large) |
| 119 | flavor: small |
| 120 | resources: |
| 121 | small: |
| 122 | limits: |
| 123 | cpu: 500m |
| 124 | memory: 2Gi |
| 125 | requests: |
| 126 | cpu: 40m |
| 127 | memory: 1Gi |
| 128 | large: |
| 129 | limits: |
| 130 | cpu: 1 |
| 131 | memory: 4Gi |
| 132 | requests: |
| 133 | cpu: 80m |
| 134 | memory: 2Gi |
| 135 | unlimited: {} |