Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 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 | # Default values for mariadb. |
| 16 | # This is a YAML-formatted file. |
| 17 | # Declare variables to be passed into your templates. |
| 18 | global: # global defaults |
| 19 | nodePortPrefix: 302 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 20 | persistence: {} |
Mandeep Khinda | 06ad9b7 | 2018-04-10 21:35:54 -0400 | [diff] [blame] | 21 | readinessRepository: oomk8s |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 22 | |
| 23 | |
| 24 | # application image |
| 25 | repository: nexus3.onap.org:10001 |
Gary Wu | ad133f1 | 2018-06-05 17:53:30 -0700 | [diff] [blame] | 26 | image: onap/portal-db:2.2.0 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 27 | pullPolicy: Always |
| 28 | |
Gary Wu | bf4b4d8 | 2018-05-11 13:26:30 -0700 | [diff] [blame] | 29 | readinessImage: readiness-check:2.0.0 |
Mandeep Khinda | 06ad9b7 | 2018-04-10 21:35:54 -0400 | [diff] [blame] | 30 | mariadbInitImage: "mariadb-client-init:2.0.0" |
Mandeep Khinda | 1db773e | 2018-04-05 18:26:07 +0000 | [diff] [blame] | 31 | |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 32 | # application configuration |
| 33 | config: |
Mandeep Khinda | 1db773e | 2018-04-05 18:26:07 +0000 | [diff] [blame] | 34 | mariadbUser: root |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 35 | mariadbRootPassword: Aa123456 |
Mandeep Khinda | 1db773e | 2018-04-05 18:26:07 +0000 | [diff] [blame] | 36 | #The directory where sql files are found in the projects gerrit repo. |
| 37 | sqlSourceDirectory: portal/deliveries |
Mandeep Khinda | 789ee4a | 2018-04-30 20:20:45 +0000 | [diff] [blame] | 38 | # sdc frontend assignment for port 8181 |
| 39 | sdcFePort: "30206" |
| 40 | # application's front end hostname. Must be resolvable on the client side environment |
| 41 | sdcFeHostName: "sdc.api.fe.simpledemo.onap.org" |
| 42 | # policy pap ui assignment for port 8443 |
| 43 | papPort: "30219" |
| 44 | # application's front end hostname. Must be resolvable on the client side environment |
| 45 | papHostName: "policy.api.simpledemo.onap.org" |
| 46 | # vid ui assignment for port 8080 |
| 47 | vidPort: "30200" |
| 48 | # application's front end hostname. Must be resolvable on the client side environment |
| 49 | vidHostName: "vid.api.simpledemo.onap.org" |
| 50 | # aai sparky ui assignment for port 8080 |
Arul.Nambi | 89c0279 | 2018-06-20 11:40:17 -0400 | [diff] [blame] | 51 | aaiSparkyPort: "30220" |
Mandeep Khinda | 789ee4a | 2018-04-30 20:20:45 +0000 | [diff] [blame] | 52 | # application's front end hostname. Must be resolvable on the client side environment |
| 53 | aaiSparkyHostName: "aai.api.sparky.simpledemo.onap.org" |
| 54 | # cli ui assignment for port 8080 |
| 55 | cliPort: "30260" |
| 56 | # application's front end hostname. Must be resolvable on the client side environment |
| 57 | cliHostName: "cli.api.simpledemo.onap.org" |
| 58 | # portal sdk (demo app) ui assignment for port 8990 |
hb123f | b53c6a3 | 2018-07-12 14:21:16 -0400 | [diff] [blame] | 59 | portalSdkPort: "30235" |
Mandeep Khinda | 789ee4a | 2018-04-30 20:20:45 +0000 | [diff] [blame] | 60 | # application's front end hostname. Must be resolvable on the client side environment |
| 61 | portalSdkHostName: "portal-sdk.simpledemo.onap.org" |
| 62 | # dmaap bus controller ui assignment for port ? |
| 63 | dmaapBcPort: "" # TODO: populate with |
| 64 | # application's front end hostname. Must be resolvable on the client side environment |
| 65 | dmaapBcHostName: "dmaap-bc.simpledemo.onap.org" |
| 66 | # msb discovery ui assignment for port ? |
| 67 | msbDiscoveryPort: "30281" |
| 68 | # application's front end hostname. Must be resolvable on the client side environment |
| 69 | msbDiscoveryHostName: "msb.api.discovery.simpledemo.onap.org" |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 70 | |
| 71 | # default number of instances |
| 72 | replicaCount: 1 |
| 73 | |
| 74 | nodeSelector: {} |
| 75 | |
| 76 | affinity: {} |
| 77 | |
| 78 | # probe configuration parameters |
| 79 | liveness: |
Gary Wu | d3316b2 | 2018-05-17 11:57:51 -0700 | [diff] [blame] | 80 | initialDelaySeconds: 450 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 81 | periodSeconds: 10 |
| 82 | # necessary to disable liveness probe when setting breakpoints |
| 83 | # in debugger so K8s doesn't restart unresponsive container |
| 84 | enabled: true |
| 85 | |
| 86 | readiness: |
Gary Wu | d3316b2 | 2018-05-17 11:57:51 -0700 | [diff] [blame] | 87 | initialDelaySeconds: 450 |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 88 | periodSeconds: 10 |
| 89 | |
| 90 | ## Persist data to a persitent volume |
| 91 | persistence: |
| 92 | enabled: true |
| 93 | |
| 94 | ## A manually managed Persistent Volume and Claim |
| 95 | ## Requires persistence.enabled: true |
| 96 | ## If defined, PVC must be created manually before volume will be bound |
| 97 | # existingClaim: |
| 98 | volumeReclaimPolicy: Retain |
| 99 | |
| 100 | ## database data Persistent Volume Storage Class |
| 101 | ## If defined, storageClassName: <storageClass> |
| 102 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 103 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 104 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 105 | ## GKE, AWS & OpenStack) |
| 106 | ## |
| 107 | # storageClass: "-" |
| 108 | accessMode: ReadWriteMany |
| 109 | size: 2Gi |
| 110 | mountPath: /dockerdata-nfs |
| 111 | mountSubPath: portal/mariadb/data |
| 112 | |
| 113 | service: |
| 114 | type: ClusterIP |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 115 | name: portal-db |
| 116 | portName: portal-db |
Mandeep Khinda | 1d12388 | 2018-03-27 01:26:59 +0000 | [diff] [blame] | 117 | externalPort: 3306 |
| 118 | internalPort: 3306 |
| 119 | |
| 120 | ingress: |
| 121 | enabled: false |
| 122 | |
| 123 | resources: {} |
| 124 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 125 | # choice for the user. This also increases chances charts run on environments with little |
| 126 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 127 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 128 | # |
| 129 | # Example: |
| 130 | # Configure resource requests and limits |
| 131 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 132 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 133 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 134 | #resources: |
| 135 | # limits: |
| 136 | # cpu: 2 |
| 137 | # memory: 4Gi |
| 138 | # requests: |
| 139 | # cpu: 2 |
| 140 | # memory: 4Gi |