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 | |
AndrewLamb | b304a32 | 2023-04-11 17:05:54 +0100 | [diff] [blame] | 104 | serviceMesh: |
| 105 | authorizationPolicy: |
| 106 | authorizedPrincipals: |
| 107 | - serviceAccount: sdc-fe-read |
| 108 | - serviceAccount: istio-ingress |
| 109 | namespace: istio-ingress |
| 110 | |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 111 | # Resource Limit flavor -By Default using small |
| 112 | # Segregation for Different environment (Small and Large) |
| 113 | flavor: small |
| 114 | resources: |
| 115 | small: |
| 116 | limits: |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame] | 117 | cpu: 999 |
| 118 | memory: 1Gi |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 119 | requests: |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame] | 120 | cpu: 0.5 |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 121 | memory: 1Gi |
| 122 | large: |
| 123 | limits: |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame] | 124 | cpu: 999 |
| 125 | memory: 2Gi |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 126 | requests: |
Andreas Geissler | 555db9c | 2023-06-20 11:38:39 +0200 | [diff] [blame] | 127 | cpu: 1 |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 128 | memory: 2Gi |
| 129 | unlimited: {} |
farida azmy | 1383b4c | 2021-04-06 12:33:31 +0200 | [diff] [blame] | 130 | |
| 131 | #Pods Service Account |
| 132 | serviceAccount: |
| 133 | nameOverride: sdc-wfd-fe |
| 134 | roles: |
| 135 | - read |
Maciej Wereski | 771ec2a | 2021-10-14 13:59:12 +0000 | [diff] [blame] | 136 | |
| 137 | #Log configuration |
| 138 | log: |
| 139 | path: /var/log/onap |
| 140 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |