Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 1 | # Copyright (c) 2018 Amdocs, Bell Canada, AT&T |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 2 | # Modifications Copyright (c) 2020 Nokia, Orange |
efiacor | d12c167 | 2023-03-23 12:10:50 +0000 | [diff] [blame] | 3 | # Modifications Copyright © 2023 Nordix Foundation |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
| 17 | # Default values for sparky-be. |
| 18 | # This is a YAML-formatted file. |
| 19 | # Declare variables to be passed into your templates. |
| 20 | global: # global defaults |
| 21 | nodePortPrefix: 302 |
| 22 | aai: |
| 23 | serviceName: aai |
| 24 | aaiElasticsearch: |
| 25 | serviceName: aai-elasticsearch |
| 26 | gizmo: |
| 27 | serviceName: aai-gizmo |
| 28 | searchData: |
| 29 | serviceName: aai-search-data |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 30 | |
| 31 | # application image |
Harish Venkata Kajur | 2fbdf67 | 2021-02-25 09:11:57 -0500 | [diff] [blame] | 32 | image: onap/sparky-be:2.0.3 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 33 | pullPolicy: Always |
| 34 | restartPolicy: Always |
| 35 | flavor: small |
| 36 | flavorOverride: small |
| 37 | dockerhubRepository: registry.hub.docker.com |
| 38 | ubuntuInitImage: oomk8s/ubuntu-init:2.0.0 |
| 39 | # application configuration |
| 40 | config: |
| 41 | elasticsearchHttpPort: 9200 |
| 42 | gerritBranch: 3.0.0-ONAP |
| 43 | gerritProject: http://gerrit.onap.org/r/aai/test-config |
| 44 | portalUsername: aaiui |
Sylvain Desbureaux | 1e99719 | 2021-02-28 14:59:22 +0100 | [diff] [blame] | 45 | portalPassword: OBF:1t2v1vfv1unz1vgz1t3b # aaiui |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 46 | portalCookieName: UserId |
| 47 | portalAppRoles: ui_view |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 48 | cookieDecryptorClass: org.onap.aai.sparky.security.BaseCookieDecryptor |
| 49 | |
| 50 | # ONAP Cookie Processing - During initial development, the following flag, if true, will |
| 51 | # prevent the portal interface's login processing from searching for a user |
| 52 | # specific cookie, and will instead allow passage if a valid session cookie is discovered. |
| 53 | portalOnapEnabled: true |
| 54 | # |
| 55 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 56 | # default number of instances |
| 57 | replicaCount: 1 |
| 58 | |
Rommel Pawar | 63db716 | 2022-11-16 10:11:24 -0800 | [diff] [blame] | 59 | updateStrategy: |
| 60 | type: RollingUpdate |
| 61 | maxUnavailable: 0 |
| 62 | maxSurge: 1 |
| 63 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 64 | nodeSelector: {} |
| 65 | |
| 66 | affinity: {} |
| 67 | |
| 68 | # probe configuration parameters |
| 69 | liveness: |
| 70 | initialDelaySeconds: 10 |
| 71 | periodSeconds: 10 |
| 72 | # necessary to disable liveness probe when setting breakpoints |
| 73 | # in debugger so K8s doesn't restart unresponsive container |
| 74 | enabled: true |
| 75 | |
| 76 | readiness: |
| 77 | initialDelaySeconds: 10 |
| 78 | periodSeconds: 10 |
| 79 | |
| 80 | service: |
| 81 | type: NodePort |
Andreas Geissler | 5846a6e | 2023-03-30 17:26:14 +0200 | [diff] [blame] | 82 | internalPort: 9517 |
| 83 | ports: |
| 84 | - name: http |
| 85 | port: 8000 |
| 86 | internal_port: 9517 |
| 87 | nodePort: 20 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 88 | |
| 89 | ingress: |
| 90 | enabled: false |
| 91 | service: |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame] | 92 | - baseaddr: "aai-sparkybe-api" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 93 | name: "aai-sparky-be" |
| 94 | port: 8000 |
| 95 | config: |
| 96 | ssl: "redirect" |
| 97 | |
AndrewLamb | 0e7c7fe | 2023-05-17 14:13:54 +0100 | [diff] [blame] | 98 | serviceMesh: |
| 99 | authorizationPolicy: |
| 100 | authorizedPrincipals: |
| 101 | - serviceAccount: istio-ingress |
| 102 | namespace: istio-ingress |
| 103 | |
Andreas Geissler | 5846a6e | 2023-03-30 17:26:14 +0200 | [diff] [blame] | 104 | podAnnotations: |
| 105 | sidecar.istio.io/rewriteAppHTTPProbers: "false" |
| 106 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 107 | # Configure resource requests and limits |
| 108 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 109 | resources: |
| 110 | small: |
| 111 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 112 | cpu: "0.5" |
| 113 | memory: "4Gi" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 114 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 115 | cpu: "0.25" |
| 116 | memory: "1Gi" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 117 | large: |
| 118 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 119 | cpu: "1" |
| 120 | memory: "8Gi" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 121 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 122 | cpu: "0.5" |
| 123 | memory: "2Gi" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 124 | unlimited: {} |
farida azmy | d893733 | 2021-03-09 12:20:42 +0200 | [diff] [blame] | 125 | |
| 126 | #Pods Service Account |
| 127 | serviceAccount: |
| 128 | nameOverride: aai-sparky-be |
| 129 | roles: |
| 130 | - read |
Maciej Wereski | d523d12 | 2021-09-21 11:22:13 +0200 | [diff] [blame] | 131 | |
| 132 | #Log configuration |
| 133 | log: |
| 134 | path: /var/log/onap |
| 135 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |