toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs, Bell Canada, AT&T |
| 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 | |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 15 | # Default values for sparky-be. |
| 16 | # This is a YAML-formatted file. |
| 17 | # Declare variables to be passed into your templates. |
| 18 | global: # global defaults |
| 19 | nodePortPrefix: 302 |
Keren Joseph | 5689d5f | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 20 | aai: |
BorislavG | 2d4426e | 2018-05-22 11:31:39 +0000 | [diff] [blame] | 21 | serviceName: aai |
Keren Joseph | 5689d5f | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 22 | aaiElasticsearch: |
| 23 | serviceName: aai-elasticsearch |
| 24 | gizmo: |
| 25 | serviceName: aai-gizmo |
| 26 | searchData: |
| 27 | serviceName: aai-search-data |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 28 | |
| 29 | # application image |
| 30 | repository: nexus3.onap.org:10001 |
Jimmy Forsyth | 594c2fd | 2018-05-30 17:40:40 -0400 | [diff] [blame] | 31 | image: onap/sparky-be:1.2.1 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 32 | pullPolicy: Always |
| 33 | restartPolicy: Always |
| 34 | |
Mandeep Khinda | 9ed6505 | 2018-04-09 21:09:51 +0000 | [diff] [blame] | 35 | dockerhubRepository: registry.hub.docker.com |
| 36 | ubuntuInitImage: oomk8s/ubuntu-init:2.0.0 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 37 | # application configuration |
| 38 | config: |
| 39 | elasticsearchHttpPort: 9200 |
| 40 | keyStorePassword: OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o |
Keren Joseph | 5689d5f | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 41 | keystoreAliasPassword: OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o |
Gary Wu | 99352e5 | 2018-06-11 09:25:34 -0700 | [diff] [blame] | 42 | gerritBranch: 2.0.0-ONAP |
Mandeep Khinda | 9ed6505 | 2018-04-09 21:09:51 +0000 | [diff] [blame] | 43 | gerritProject: http://gerrit.onap.org/r/aai/test-config |
Keren Joseph | 5689d5f | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 44 | portalUsername: aaiui |
| 45 | portalPassword: 1t2v1vfv1unz1vgz1t3b |
Mandeep Khinda | 9ed6505 | 2018-04-09 21:09:51 +0000 | [diff] [blame] | 46 | |
Keren Joseph | 5689d5f | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 47 | # ONAP Cookie Processing - During initial development, the following flag, if true, will |
| 48 | # prevent the portal interface's login processing from searching for a user |
| 49 | # specific cookie, and will instead allow passage if a valid session cookie is discovered. |
| 50 | portalOnapEnabled: true |
| 51 | # |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 52 | |
| 53 | # override chart name (sparky-be) to share a common namespace |
| 54 | # suffix with parent chart (aai) |
| 55 | nsSuffix: aai |
| 56 | |
| 57 | |
| 58 | # default number of instances |
| 59 | replicaCount: 1 |
| 60 | |
| 61 | nodeSelector: {} |
| 62 | |
| 63 | affinity: {} |
| 64 | |
| 65 | # probe configuration parameters |
| 66 | liveness: |
| 67 | initialDelaySeconds: 10 |
| 68 | periodSeconds: 10 |
| 69 | # necessary to disable liveness probe when setting breakpoints |
| 70 | # in debugger so K8s doesn't restart unresponsive container |
| 71 | enabled: true |
| 72 | |
| 73 | readiness: |
| 74 | initialDelaySeconds: 10 |
| 75 | periodSeconds: 10 |
| 76 | |
| 77 | service: |
Arul.Nambi | 89c0279 | 2018-06-20 11:40:17 -0400 | [diff] [blame] | 78 | type: NodePort |
BorislavG | 2d4426e | 2018-05-22 11:31:39 +0000 | [diff] [blame] | 79 | portName: aai-sparky-be |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 80 | internalPort: 9517 |
Arul.Nambi | 89c0279 | 2018-06-20 11:40:17 -0400 | [diff] [blame] | 81 | nodePort: 20 |
Keren Joseph | 5689d5f | 2018-04-22 15:22:46 +0300 | [diff] [blame] | 82 | internalPort2: 8000 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 83 | |
| 84 | ingress: |
| 85 | enabled: false |
| 86 | |
| 87 | resources: {} |
| 88 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 89 | # choice for the user. This also increases chances charts run on environments with little |
| 90 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 91 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 92 | # |
| 93 | # Example: |
| 94 | # Configure resource requests and limits |
| 95 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 96 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 97 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 98 | #resources: |
| 99 | # limits: |
| 100 | # cpu: 2 |
| 101 | # memory: 4Gi |
| 102 | # requests: |
| 103 | # cpu: 2 |
| 104 | # memory: 4Gi |