Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 1 | # Copyright © 2020 highstreet technologies GmbH |
| 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: |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 19 | nodePortPrefix: 322 |
Andreas Geissler | 2af5079 | 2023-03-27 17:11:27 +0200 | [diff] [blame] | 20 | |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 21 | ################################################################# |
| 22 | # Application configuration defaults. |
| 23 | ################################################################# |
| 24 | # application image |
Dan Timoney | c614482 | 2023-04-27 10:17:20 -0400 | [diff] [blame] | 25 | image: "onap/sdnc-web-image:2.5.5" |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 26 | pullPolicy: Always |
| 27 | |
| 28 | config: |
| 29 | sdncChartName: sdnc |
Andreas Geissler | 2af5079 | 2023-03-27 17:11:27 +0200 | [diff] [blame] | 30 | webProtocol: HTTP |
| 31 | webPort: 8080 |
| 32 | sdnrProtocol: http |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 33 | sdnrHost: "sdnc" |
demskeq8 | 95bf73a | 2023-05-09 12:31:07 +0000 | [diff] [blame] | 34 | sdnrPort: "8282" |
demskeq8 | b43e92c | 2021-02-12 15:43:48 +0100 | [diff] [blame] | 35 | oauth: |
| 36 | enabled: false |
| 37 | odluxRbac: |
| 38 | enabled: false |
Alexander Dehn | 8789a72 | 2020-10-16 14:29:05 +0000 | [diff] [blame] | 39 | transportpce: |
| 40 | enabled: false |
| 41 | transportpceUrl: http://transportpce.transportpce:8181 |
| 42 | topologyserver: |
| 43 | enabled: false |
| 44 | topologyserverUrl: http://toplogy-api-service.topology:3001 |
| 45 | tileserverUrl: https://tile.openstreetmap.org |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 46 | |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 47 | # default number of instances |
| 48 | replicaCount: 1 |
| 49 | |
| 50 | nodeSelector: {} |
| 51 | |
| 52 | affinity: {} |
| 53 | |
| 54 | # probe configuration parameters |
| 55 | liveness: |
| 56 | initialDelaySeconds: 180 |
| 57 | periodSeconds: 10 |
| 58 | # necessary to disable liveness probe when setting breakpoints |
| 59 | # in debugger so K8s doesn't restart unresponsive container |
| 60 | enabled: true |
| 61 | |
| 62 | readiness: |
| 63 | initialDelaySeconds: 60 |
| 64 | periodSeconds: 10 |
| 65 | |
| 66 | service: |
| 67 | name: sdnc-web |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 68 | type: NodePort |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 69 | # for liveness and readiness probe only |
| 70 | # internalPort: |
Andreas Geissler | 2af5079 | 2023-03-27 17:11:27 +0200 | [diff] [blame] | 71 | internalPort: 8080 |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 72 | ports: |
Andreas Geissler | 2af5079 | 2023-03-27 17:11:27 +0200 | [diff] [blame] | 73 | - name: http |
| 74 | port: "8080" |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 75 | nodePort: "05" |
| 76 | |
Andreas Geissler | 2af5079 | 2023-03-27 17:11:27 +0200 | [diff] [blame] | 77 | ingress: |
| 78 | enabled: false |
| 79 | service: |
| 80 | - baseaddr: "sdnc-web-ui" |
| 81 | name: "sdnc-web" |
| 82 | port: 8080 |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 83 | |
AndrewLamb | 7709c17 | 2023-05-12 15:37:14 +0100 | [diff] [blame] | 84 | serviceMesh: |
| 85 | authorizationPolicy: |
| 86 | authorizedPrincipals: |
| 87 | - serviceAccount: istio-ingress |
| 88 | namespace: istio-ingress |
| 89 | |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 90 | #Resource limit flavor -By default using small |
| 91 | flavor: small |
| 92 | #segregation for different environment (small and large) |
| 93 | resources: |
| 94 | small: |
| 95 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 96 | cpu: "1" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame] | 97 | memory: "500Mi" |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 98 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 99 | cpu: "0.5" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame] | 100 | memory: "500Mi" |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 101 | large: |
| 102 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 103 | cpu: "2" |
| 104 | memory: "1Gi" |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 105 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 106 | cpu: "1" |
| 107 | memory: "1Gi" |
Alexander Dehn | 9b797d6 | 2020-04-21 09:53:50 +0000 | [diff] [blame] | 108 | unlimited: {} |
farida azmy | 32c5ed8 | 2021-08-04 14:46:09 +0200 | [diff] [blame] | 109 | |
| 110 | #Pods Service Account |
| 111 | serviceAccount: |
| 112 | nameOverride: sdnc-web |
| 113 | roles: |
| 114 | - read |