Mandeep Khinda | b1f9efe | 2018-03-28 19:01:55 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T, ZTE |
Mandeep Khinda | b1f9efe | 2018-03-28 19:01:55 +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 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 21 | |
| 22 | ################################################################# |
| 23 | # Application configuration defaults. |
| 24 | ################################################################# |
| 25 | # application image |
MichaelMorris | de680b0 | 2023-06-06 17:23:58 +0100 | [diff] [blame] | 26 | image: onap/sdc-frontend:1.12.5 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 27 | pullPolicy: Always |
| 28 | |
Mandeep Khinda | 403c1c1 | 2018-04-19 23:15:43 +0000 | [diff] [blame] | 29 | config: |
r.bogacki | c535c93 | 2019-09-03 10:34:12 +0200 | [diff] [blame] | 30 | javaOptions: "-Xmx256m -Xms256m" |
shrikantawachar | 0c84bc3 | 2019-01-16 13:12:21 +0530 | [diff] [blame] | 31 | plugins: |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 32 | dcae_discovery_url: |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 33 | http: "http://sdc-dcae-fe:8183/dcaed/#/home" |
k.kedron | c784bbd | 2019-09-05 18:28:16 +0200 | [diff] [blame] | 34 | dcae_source_url: "https://sdc.dcae.plugin.simpledemo.onap.org:30264/dcaed/#/home" |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 35 | dcae_dt_discovery_url: |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 36 | http: "http://sdc-dcae-dt:8186/dcae/#/dcae/home" |
k.kedron | c784bbd | 2019-09-05 18:28:16 +0200 | [diff] [blame] | 37 | dcae_dt_source_url: "https://sdc.dcae.plugin.simpledemo.onap.org:30266/dcae/#/dcae/home" |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 38 | workflow_discovery_url: |
othman touijer | 2b764d0 | 2022-01-05 14:40:37 +0100 | [diff] [blame] | 39 | http: "http://sdc-wfd-fe:8080/workflows" |
IlanaP | c80bff9 | 2019-11-18 21:10:08 +0200 | [diff] [blame] | 40 | workflow_source_url: "https://sdc.workflow.plugin.simpledemo.onap.org:30256/workflows/" |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 41 | |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 42 | #environment file |
| 43 | env: |
| 44 | name: AUTO |
| 45 | |
| 46 | security: |
| 47 | disableHttp: true |
| 48 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 49 | # default number of instances |
| 50 | replicaCount: 1 |
| 51 | |
| 52 | nodeSelector: {} |
| 53 | |
| 54 | affinity: {} |
| 55 | |
| 56 | # probe configuration parameters |
| 57 | liveness: |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 58 | initialDelaySeconds: 1 |
| 59 | periodSeconds: 10 |
Brian Freeman | 6142d94 | 2019-10-02 09:50:19 -0500 | [diff] [blame] | 60 | timeoutSeconds: 15 |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 61 | successThreshold: 1 |
| 62 | failureThreshold: 3 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 63 | # necessary to disable liveness probe when setting breakpoints |
| 64 | # in debugger so K8s doesn't restart unresponsive container |
| 65 | enabled: true |
| 66 | |
| 67 | readiness: |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 68 | initialDelaySeconds: 1 |
| 69 | periodSeconds: 10 |
Brian Freeman | 6142d94 | 2019-10-02 09:50:19 -0500 | [diff] [blame] | 70 | timeoutSeconds: 15 |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 71 | successThreshold: 1 |
| 72 | failureThreshold: 3 |
| 73 | |
| 74 | startup: |
| 75 | initialDelaySeconds: 10 |
| 76 | periodSeconds: 10 |
| 77 | timeoutSeconds: 15 |
| 78 | successThreshold: 1 |
| 79 | failureThreshold: 60 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 80 | |
| 81 | service: |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 82 | type: NodePort |
| 83 | name: sdc-fe |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 84 | internalPort: 8181 |
Andreas Geissler | dd34ead | 2023-03-20 17:16:45 +0100 | [diff] [blame] | 85 | ports: |
| 86 | - name: http |
| 87 | port: 8181 |
| 88 | nodePort: '07' |
| 89 | annotations: |
| 90 | msb.onap.org/service-info: | |
| 91 | {{ if .Values.global.msbEnabled -}}[ |
| 92 | { |
| 93 | "serviceName": "sdc-ui", |
| 94 | "version": "v1", |
| 95 | "url": "/sdc1", |
| 96 | "protocol": "UI", |
| 97 | "visualRange":"0|1", |
| 98 | "port": "{{ .Values.service.internalPort }}", |
| 99 | } |
| 100 | ]{{ end }} |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 101 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 102 | ingress: |
| 103 | enabled: false |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 104 | service: |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame] | 105 | - baseaddr: "sdc-fe-ui" |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 106 | name: "sdc-fe" |
Andreas Geissler | dd34ead | 2023-03-20 17:16:45 +0100 | [diff] [blame] | 107 | port: 8181 |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 108 | config: |
| 109 | ssl: "redirect" |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 110 | |
AndrewLamb | b304a32 | 2023-04-11 17:05:54 +0100 | [diff] [blame] | 111 | serviceMesh: |
| 112 | authorizationPolicy: |
| 113 | authorizedPrincipals: |
| 114 | - serviceAccount: consul-read |
| 115 | - serviceAccount: consul-server-read |
| 116 | - serviceAccount: istio-ingress |
| 117 | namespace: istio-ingress |
| 118 | |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 119 | # Resource Limit flavor -By Default using small |
| 120 | flavor: small |
| 121 | # Segregation for Different environment (Small and Large) |
| 122 | resources: |
| 123 | small: |
| 124 | limits: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 125 | cpu: 500m |
| 126 | memory: 2Gi |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 127 | requests: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 128 | cpu: 40m |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 129 | memory: 1Gi |
| 130 | large: |
| 131 | limits: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 132 | cpu: 1 |
| 133 | memory: 4Gi |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 134 | requests: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 135 | cpu: 80m |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 136 | memory: 2Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 137 | unlimited: {} |
farida azmy | 1383b4c | 2021-04-06 12:33:31 +0200 | [diff] [blame] | 138 | |
| 139 | #Pods Service Account |
| 140 | serviceAccount: |
| 141 | nameOverride: sdc-fe |
| 142 | roles: |
| 143 | - read |
Maciej Wereski | 771ec2a | 2021-10-14 13:59:12 +0000 | [diff] [blame] | 144 | |
| 145 | #Log configuration |
| 146 | log: |
| 147 | path: /var/log/onap |
| 148 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |