Remigiusz Janeczek | dccdd2b | 2021-03-24 12:31:00 +0100 | [diff] [blame] | 1 | # ===========LICENSE_START======================================================== |
| 2 | # Copyright (c) 2021 Nokia. All rights reserved. |
| 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 | # ============LICENSE_END========================================================= |
| 16 | |
| 17 | # Global values |
| 18 | global: |
| 19 | pullPolicy: Always |
| 20 | |
Tomasz Wrobel | 4982ac3 | 2022-02-22 15:39:40 +0100 | [diff] [blame] | 21 | image: onap/sdc-helm-validator:1.3.1 |
Remigiusz Janeczek | dccdd2b | 2021-03-24 12:31:00 +0100 | [diff] [blame] | 22 | containerPort: &svc_port 8080 |
| 23 | |
| 24 | config: |
| 25 | loggingLevel: INFO |
| 26 | |
| 27 | service: |
| 28 | type: ClusterIP |
| 29 | ports: |
| 30 | - name: &port http |
| 31 | port: *svc_port |
| 32 | |
AndrewLamb | b304a32 | 2023-04-11 17:05:54 +0100 | [diff] [blame] | 33 | serviceMesh: |
| 34 | authorizationPolicy: |
| 35 | authorizedPrincipals: |
| 36 | - serviceAccount: sdc-be-read |
| 37 | |
Remigiusz Janeczek | dccdd2b | 2021-03-24 12:31:00 +0100 | [diff] [blame] | 38 | liveness: |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 39 | initialDelaySeconds: 1 |
| 40 | periodSeconds: 10 |
Remigiusz Janeczek | dccdd2b | 2021-03-24 12:31:00 +0100 | [diff] [blame] | 41 | path: /actuator/health |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 42 | successThreshold: 1 |
| 43 | failureThreshold: 3 |
Remigiusz Janeczek | dccdd2b | 2021-03-24 12:31:00 +0100 | [diff] [blame] | 44 | port: *port |
| 45 | # necessary to disable liveness probe when setting breakpoints |
| 46 | # in debugger so K8s doesn't restart unresponsive container |
| 47 | enabled: true |
| 48 | |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 49 | startup: |
| 50 | initialDelaySeconds: 10 |
| 51 | periodSeconds: 10 |
| 52 | path: /actuator/health |
| 53 | successThreshold: 1 |
| 54 | failureThreshold: 12 |
| 55 | port: *port |
| 56 | |
Remigiusz Janeczek | dccdd2b | 2021-03-24 12:31:00 +0100 | [diff] [blame] | 57 | flavor: small |
| 58 | resources: |
| 59 | small: |
| 60 | limits: |
| 61 | cpu: 1 |
Andreas Geissler | 79f4684 | 2023-06-15 17:00:50 +0200 | [diff] [blame] | 62 | memory: 0.5Gi |
Remigiusz Janeczek | dccdd2b | 2021-03-24 12:31:00 +0100 | [diff] [blame] | 63 | requests: |
Andreas Geissler | 79f4684 | 2023-06-15 17:00:50 +0200 | [diff] [blame] | 64 | cpu: 0.5 |
| 65 | memory: 0.5Gi |
Remigiusz Janeczek | dccdd2b | 2021-03-24 12:31:00 +0100 | [diff] [blame] | 66 | large: |
| 67 | limits: |
| 68 | cpu: 2 |
| 69 | memory: 1Gi |
| 70 | requests: |
| 71 | cpu: 1 |
Andreas Geissler | 79f4684 | 2023-06-15 17:00:50 +0200 | [diff] [blame] | 72 | memory: 1Gi |
Remigiusz Janeczek | dccdd2b | 2021-03-24 12:31:00 +0100 | [diff] [blame] | 73 | unlimited: {} |