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 |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 21 | |
| 22 | ################################################################# |
| 23 | # Application configuration defaults. |
| 24 | ################################################################# |
| 25 | # application image |
vasraz | 8b1f085 | 2023-03-23 13:22:11 +0000 | [diff] [blame] | 26 | image: onap/sdc-workflow-frontend:1.12.0 |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 27 | pullPolicy: Always |
| 28 | |
| 29 | # flag to enable debugging - application support required |
| 30 | debugEnabled: false |
| 31 | |
| 32 | config: |
r.bogacki | 861f507 | 2019-09-03 10:16:59 +0200 | [diff] [blame] | 33 | javaOptions: "-Xmx256m -Xms256m" |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 34 | backendServerURL: |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 35 | http: "http://sdc-wfd-be:8080" |
IlanaP | c80bff9 | 2019-11-18 21:10:08 +0200 | [diff] [blame] | 36 | # following flag decides whether to check the certificate on the outgoing proxy request or whether to trust all parties |
| 37 | isTrustAll: true |
dfx1971 | b2734ed | 2019-05-07 10:35:58 +0300 | [diff] [blame] | 38 | # 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] | 39 | |
| 40 | #environment file |
| 41 | env: |
| 42 | name: AUTO |
| 43 | |
dfx1971 | b2734ed | 2019-05-07 10:35:58 +0300 | [diff] [blame] | 44 | security: |
r.bogacki | 08a72d6 | 2019-10-01 08:43:44 +0200 | [diff] [blame] | 45 | isDefaultStore: false |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 46 | |
| 47 | # default number of instances |
| 48 | replicaCount: 1 |
| 49 | |
| 50 | nodeSelector: {} |
| 51 | |
| 52 | affinity: {} |
| 53 | |
| 54 | # probe configuration parameters |
| 55 | liveness: |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 56 | initialDelaySeconds: 1 |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 57 | periodSeconds: 10 |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 58 | successThreshold: 1 |
| 59 | failureThreshold: 3 |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 60 | # necessary to disable liveness probe when setting breakpoints |
| 61 | # in debugger so K8s doesn't restart unresponsive container |
| 62 | enabled: true |
| 63 | |
| 64 | readiness: |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 65 | initialDelaySeconds: 1 |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 66 | periodSeconds: 10 |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 67 | successThreshold: 1 |
| 68 | failureThreshold: 3 |
| 69 | |
| 70 | startup: |
| 71 | initialDelaySeconds: 10 |
| 72 | periodSeconds: 10 |
| 73 | successThreshold: 1 |
| 74 | failureThreshold: 60 |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 75 | |
| 76 | service: |
| 77 | type: NodePort |
| 78 | internalPort: 8080 |
Andreas Geissler | dd34ead | 2023-03-20 17:16:45 +0100 | [diff] [blame] | 79 | ports: |
| 80 | - name: http |
| 81 | port: 8080 |
| 82 | port_protocol: http |
| 83 | nodePort: '56' |
| 84 | annotations: |
| 85 | msb.onap.org/service-info: | |
| 86 | {{ if .Values.global.msbEnabled -}}[ |
| 87 | { |
| 88 | "serviceName": "wf-gui", |
| 89 | "version": "v1", |
| 90 | "url": "/", |
| 91 | "protocol": "UI", |
| 92 | "port": "{{ .Values.service.internalPort }}", |
| 93 | "visualRange":"0|1" |
| 94 | } |
| 95 | ]{{ end }} |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 96 | |
| 97 | ingress: |
| 98 | enabled: false |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 99 | service: |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame] | 100 | - baseaddr: "sdc-wfd-fe-ui" |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 101 | name: "sdc-wfd-fe" |
Andreas Geissler | dd34ead | 2023-03-20 17:16:45 +0100 | [diff] [blame] | 102 | port: 8080 |
priyanshua | 1b06139 | 2018-05-29 12:50:14 +0530 | [diff] [blame] | 103 | |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 104 | # Resource Limit flavor -By Default using small |
| 105 | # Segregation for Different environment (Small and Large) |
| 106 | flavor: small |
| 107 | resources: |
| 108 | small: |
| 109 | limits: |
| 110 | cpu: 500m |
| 111 | memory: 2Gi |
| 112 | requests: |
| 113 | cpu: 40m |
| 114 | memory: 1Gi |
| 115 | large: |
| 116 | limits: |
| 117 | cpu: 1 |
| 118 | memory: 4Gi |
| 119 | requests: |
| 120 | cpu: 80m |
| 121 | memory: 2Gi |
| 122 | unlimited: {} |
farida azmy | 1383b4c | 2021-04-06 12:33:31 +0200 | [diff] [blame] | 123 | |
| 124 | #Pods Service Account |
| 125 | serviceAccount: |
| 126 | nameOverride: sdc-wfd-fe |
| 127 | roles: |
| 128 | - read |
Maciej Wereski | 771ec2a | 2021-10-14 13:59:12 +0000 | [diff] [blame] | 129 | |
| 130 | #Log configuration |
| 131 | log: |
| 132 | path: /var/log/onap |
| 133 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |