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 | 9f2a577 | 2022-12-19 11:48:50 -0500 | [diff] [blame] | 25 | image: "onap/sdnc-web-image:2.4.2" |
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" |
Andreas Geissler | 2af5079 | 2023-03-27 17:11:27 +0200 | [diff] [blame] | 34 | sdnrPort: "8080" |
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 | |
| 84 | #Resource limit flavor -By default using small |
| 85 | flavor: small |
| 86 | #segregation for different environment (small and large) |
| 87 | resources: |
| 88 | small: |
| 89 | limits: |
| 90 | cpu: 1 |
| 91 | memory: 1Gi |
| 92 | requests: |
| 93 | cpu: 0.5 |
| 94 | memory: 500Mi |
| 95 | large: |
| 96 | limits: |
| 97 | cpu: 2 |
| 98 | memory: 2Gi |
| 99 | requests: |
| 100 | cpu: 1 |
| 101 | memory: 1Gi |
| 102 | unlimited: {} |
farida azmy | 32c5ed8 | 2021-08-04 14:46:09 +0200 | [diff] [blame] | 103 | |
| 104 | #Pods Service Account |
| 105 | serviceAccount: |
| 106 | nameOverride: sdnc-web |
| 107 | roles: |
| 108 | - read |