Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 1 | # Copyright (c) 2018 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 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | # Change to an unused port prefix range to prevent port conflicts |
| 20 | # with other instances running within the same k8s cluster |
| 21 | nodePortPrefix: 302 |
| 22 | |
| 23 | # image repositories |
| 24 | repository: nexus3.onap.org:10001 |
| 25 | |
| 26 | # readiness check |
| 27 | readinessRepository: oomk8s |
| 28 | readinessImage: readiness-check:2.0.0 |
| 29 | |
| 30 | # image pull policy |
| 31 | pullPolicy: Always |
| 32 | |
| 33 | persistence: |
| 34 | mountPath: /dockerdata-nfs |
| 35 | |
| 36 | ################################################################# |
| 37 | # Application configuration defaults. |
| 38 | ################################################################# |
| 39 | # application image |
| 40 | repository: nexus3.onap.org:10001 |
| 41 | image: onap/ccsdk-controllerblueprints:latest |
| 42 | pullPolicy: Always |
| 43 | |
| 44 | # flag to enable debugging - application support required |
| 45 | debugEnabled: false |
| 46 | |
| 47 | # application configuration |
| 48 | config: |
| 49 | applicationName: ControllerBluePrints |
| 50 | bundleVersion: 1.0.0 |
| 51 | appConfigDir: /opt/app/onap/config |
| 52 | dbUrl: jdbc:mysql://controller-blueprints-db:3306/sdnctl |
| 53 | initDataLoad: true |
| 54 | stickySelectorKey: |
| 55 | envContext: DEV |
Alexis de Talhouƫt | 43c67e0 | 2018-09-20 16:49:16 -0400 | [diff] [blame] | 56 | restUser: ccsdkapps |
| 57 | restPassword: ccsdkapps |
Mike Elliott | 37cae25 | 2018-09-12 14:45:40 -0400 | [diff] [blame] | 58 | |
| 59 | mariadb-galera: |
| 60 | config: |
| 61 | userName: sdnctl |
| 62 | userPassword: sdnctl |
| 63 | mariadbRootPassword: sdnctl |
| 64 | mysqlDatabase: sdnctl |
| 65 | nameOverride: controller-blueprints-db |
| 66 | service: |
| 67 | name: controller-blueprints-db |
| 68 | portName: cb-db |
| 69 | replicaCount: 1 |
| 70 | persistence: |
| 71 | enabled: true |
| 72 | mountSubPath: controller-blueprints/data |
| 73 | |
| 74 | # default number of instances |
| 75 | replicaCount: 1 |
| 76 | |
| 77 | nodeSelector: {} |
| 78 | |
| 79 | affinity: {} |
| 80 | |
| 81 | # probe configuration parameters |
| 82 | liveness: |
| 83 | initialDelaySeconds: 10 |
| 84 | periodSeconds: 10 |
| 85 | # necessary to disable liveness probe when setting breakpoints |
| 86 | # in debugger so K8s doesn't restart unresponsive container |
| 87 | enabled: true |
| 88 | |
| 89 | readiness: |
| 90 | initialDelaySeconds: 10 |
| 91 | periodSeconds: 10 |
| 92 | |
| 93 | service: |
| 94 | type: ClusterIP |
| 95 | portName: controller-blueprints |
| 96 | internalPort: 8080 |
| 97 | externalPort: 8080 |
| 98 | |
| 99 | persistence: |
| 100 | enabled: true |
| 101 | |
| 102 | ingress: |
| 103 | enabled: false |
| 104 | |
| 105 | resources: {} |
| 106 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 107 | # choice for the user. This also increases chances charts run on environments with little |
| 108 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 109 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 110 | # |
| 111 | # Example: |
| 112 | # Configure resource requests and limits |
| 113 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 114 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 115 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 116 | #resources: |
| 117 | # limits: |
| 118 | # cpu: 2 |
| 119 | # memory: 4Gi |
| 120 | # requests: |
| 121 | # cpu: 2 |
| 122 | # memory: 4Gi |