ktimoney | b3aef7b | 2021-09-13 08:27:58 +0100 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
danielhanrahan | 8832664 | 2022-02-28 14:08:08 +0000 | [diff] [blame] | 2 | # Copyright (C) 2021-2022 Nordix Foundation. |
ktimoney | b3aef7b | 2021-09-13 08:27:58 +0100 | [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 | # |
| 16 | # SPDX-License-Identifier: Apache-2.0 |
| 17 | # ============LICENSE_END========================================================= |
| 18 | |
| 19 | ################################################################# |
| 20 | # Global configuration defaults. |
| 21 | ################################################################# |
| 22 | global: # global defaults |
| 23 | nodePortPrefix: 304 |
| 24 | centralizedLoggingEnabled: true |
ktimoney | b3aef7b | 2021-09-13 08:27:58 +0100 | [diff] [blame] | 25 | |
| 26 | subChartsOnly: |
| 27 | enabled: true |
| 28 | |
| 29 | flavor: small |
| 30 | |
| 31 | # application image |
saul.gill | 9964927 | 2023-12-12 16:14:52 +0000 | [diff] [blame] | 32 | image: onap/policy-gui:3.1.0 |
ktimoney | b3aef7b | 2021-09-13 08:27:58 +0100 | [diff] [blame] | 33 | pullPolicy: Always |
| 34 | |
| 35 | # flag to enable debugging - application support required |
| 36 | debugEnabled: false |
| 37 | |
| 38 | # log configuration |
| 39 | log: |
danielhanrahan | 8832664 | 2022-02-28 14:08:08 +0000 | [diff] [blame] | 40 | path: /var/log/onap/policy/gui |
ktimoney | b3aef7b | 2021-09-13 08:27:58 +0100 | [diff] [blame] | 41 | |
| 42 | ################################################################# |
| 43 | # Application configuration defaults. |
| 44 | ################################################################# |
| 45 | config: |
| 46 | log: |
| 47 | logstashServiceName: log-ls |
| 48 | logstashPort: 5044 |
| 49 | dataRootDir: /dockerdata-nfs |
| 50 | |
| 51 | # default number of instances |
| 52 | replicaCount: 1 |
| 53 | |
| 54 | nodeSelector: {} |
| 55 | |
| 56 | affinity: {} |
| 57 | |
| 58 | # probe configuration parameters |
| 59 | liveness: |
| 60 | initialDelaySeconds: 120 |
| 61 | periodSeconds: 10 |
| 62 | timeoutSeconds: 3 |
| 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: |
| 68 | initialDelaySeconds: 10 |
| 69 | periodSeconds: 10 |
| 70 | timeoutSeconds: 3 |
| 71 | |
| 72 | service: |
| 73 | type: NodePort |
| 74 | name: policy-gui |
ktimoney | b3aef7b | 2021-09-13 08:27:58 +0100 | [diff] [blame] | 75 | internalPort: 2443 |
Andreas Geissler | f10c555 | 2023-03-21 18:09:46 +0100 | [diff] [blame] | 76 | ports: |
| 77 | - name: http |
| 78 | port: 2443 |
| 79 | nodePort: 43 |
ktimoney | b3aef7b | 2021-09-13 08:27:58 +0100 | [diff] [blame] | 80 | |
| 81 | # see https://wiki.onap.org/display/DW/OOM+NodePort+List |
| 82 | |
| 83 | ingress: |
| 84 | enabled: false |
| 85 | service: |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame] | 86 | - baseaddr: "policy-ui" |
Andreas Geissler | ef27b9d | 2023-04-19 10:27:31 +0200 | [diff] [blame] | 87 | name: "policy-gui" |
ktimoney | b3aef7b | 2021-09-13 08:27:58 +0100 | [diff] [blame] | 88 | port: 2443 |
| 89 | config: |
| 90 | ssl: "redirect" |
| 91 | |
AndrewLamb | 7ef78ae | 2023-04-20 16:24:13 +0100 | [diff] [blame] | 92 | serviceMesh: |
| 93 | authorizationPolicy: |
| 94 | authorizedPrincipals: |
| 95 | - serviceAccount: istio-ingress |
| 96 | namespace: istio-ingress |
| 97 | |
| 98 | #resources: {} |
ktimoney | b3aef7b | 2021-09-13 08:27:58 +0100 | [diff] [blame] | 99 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 100 | # choice for the user. This also increases chances charts run on environments with little |
| 101 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 102 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 103 | # |
| 104 | # Example: |
| 105 | # Configure resource requests and limits |
| 106 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 107 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 108 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 109 | resources: |
| 110 | small: |
| 111 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 112 | cpu: "1" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame] | 113 | memory: "700Mi" |
ktimoney | b3aef7b | 2021-09-13 08:27:58 +0100 | [diff] [blame] | 114 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 115 | cpu: "0.5" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame] | 116 | memory: "700Mi" |
ktimoney | b3aef7b | 2021-09-13 08:27:58 +0100 | [diff] [blame] | 117 | large: |
| 118 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 119 | cpu: "2" |
| 120 | memory: "1.4Gi" |
ktimoney | b3aef7b | 2021-09-13 08:27:58 +0100 | [diff] [blame] | 121 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 122 | cpu: "1" |
| 123 | memory: "1.4Gi" |
ktimoney | b3aef7b | 2021-09-13 08:27:58 +0100 | [diff] [blame] | 124 | unlimited: {} |
| 125 | |
| 126 | #Pods Service Account |
| 127 | serviceAccount: |
| 128 | nameOverride: policy-gui |
| 129 | roles: |
| 130 | - read |