Mukul | 2b4e753 | 2018-08-03 10:41:29 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # Modifications Copyright © 2018 AT&T |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [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 | |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 21 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.0 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 23 | loggingRepository: docker.elastic.co |
| 24 | loggingImage: beats/filebeat:5.5.0 |
jmac | 99ff397 | 2018-03-29 01:02:42 +0000 | [diff] [blame] | 25 | persistence: |
| 26 | mountPath: /dockerdata-nfs |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 27 | |
| 28 | ################################################################# |
Krzysztof Opasiak | e74ed5c | 2020-01-23 11:49:25 +0100 | [diff] [blame] | 29 | # Secrets metaconfig |
| 30 | ################################################################# |
| 31 | secrets: |
| 32 | - uid: "db-root-pass" |
| 33 | externalSecret: '{{- include "common.mariadb.secret.rootPassSecretName" (dict "dot" . "chartName" (index .Values "mariadb-galera" "nameOverride")) }}' |
| 34 | type: password |
| 35 | |
| 36 | ################################################################# |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 37 | # Application configuration defaults. |
| 38 | ################################################################# |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 39 | flavor: small |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 40 | # application image |
| 41 | repository: nexus3.onap.org:10001 |
Taka Cho | 2bad60e | 2020-01-27 11:43:09 -0500 | [diff] [blame] | 42 | image: onap/appc-image:1.7.0 |
kerenj | 6ca15a7 | 2017-08-23 12:05:23 +0000 | [diff] [blame] | 43 | pullPolicy: Always |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 44 | |
| 45 | # flag to enable debugging - application support required |
| 46 | debugEnabled: false |
| 47 | |
| 48 | # application configuration |
| 49 | config: |
Taka Cho | 31eb245 | 2019-06-24 21:10:50 -0400 | [diff] [blame] | 50 | odlUid: 100 |
| 51 | odlGid: 101 |
Aaron Hay | 343e600 | 2018-08-21 13:55:00 -0400 | [diff] [blame] | 52 | ansibleServiceName: appc-ansible-server |
| 53 | ansiblePort: 8000 |
pramod | 47b1b82 | 2018-08-28 15:41:45 +0000 | [diff] [blame] | 54 | userName: my-user |
| 55 | userPassword: my-password |
| 56 | mysqlDatabase: my-database |
| 57 | mariadbGaleraSVCName: appc-dbhost |
| 58 | mariadbGaleraContName: appc-db |
Aaron Hay | a11a92a | 2018-10-29 14:17:02 -0400 | [diff] [blame] | 59 | enableAAF: true |
| 60 | enableClustering: false |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 61 | configDir: /opt/onap/appc/data/properties |
| 62 | dmaapTopic: SUCCESS |
Aaron Hay | afb0a09 | 2018-11-19 17:52:59 -0500 | [diff] [blame] | 63 | dmaapTopicEnv: AUTO |
BorislavG | 5f3b619 | 2018-03-25 18:12:38 +0300 | [diff] [blame] | 64 | logstashServiceName: log-ls |
| 65 | logstashPort: 5044 |
Aaron Hay | d46d63f | 2018-11-13 00:34:05 -0500 | [diff] [blame] | 66 | odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U |
Aaron Hay | ef1a0ec | 2018-04-30 01:25:41 -0400 | [diff] [blame] | 67 | openStackType: OpenStackProvider |
| 68 | openStackName: OpenStack |
| 69 | openStackKeyStoneUrl: http://localhost:8181/apidoc/explorer/index.html |
| 70 | openStackServiceTenantName: default |
| 71 | openStackDomain: default |
| 72 | openStackUserName: admin |
Joss Armstrong | 32e9002 | 2018-12-17 13:16:57 +0000 | [diff] [blame] | 73 | openStackEncryptedPassword: enc:LDEbHEAvTF1R |
Aaron Hay | d46d63f | 2018-11-13 00:34:05 -0500 | [diff] [blame] | 74 | odlUser: admin |
Patrick Brady | add4569 | 2019-11-06 13:52:17 -0800 | [diff] [blame] | 75 | dmaapServiceUrl: http://localhost:8080/publish |
| 76 | dmaapServiceUser: appc |
| 77 | dmaapServicePassword: onapappc |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 78 | |
Aaron Hay | 343e600 | 2018-08-21 13:55:00 -0400 | [diff] [blame] | 79 | appc-ansible-server: |
| 80 | service: |
| 81 | name: appc-ansible-server |
| 82 | internalPort: 8000 |
| 83 | config: |
| 84 | mysqlServiceName: appc-dbhost |
| 85 | |
pramod | 47b1b82 | 2018-08-28 15:41:45 +0000 | [diff] [blame] | 86 | mariadb-galera: |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 87 | nameOverride: appc-db |
| 88 | service: |
| 89 | name: appc-dbhost |
Mike Elliott | 4a9f435 | 2018-09-13 09:47:13 -0400 | [diff] [blame] | 90 | portName: appc-dbhost |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 91 | nfsprovisionerPrefix: appc |
| 92 | sdnctlPrefix: appc |
| 93 | persistence: |
| 94 | mountSubPath: appc/data |
| 95 | enabled: true |
| 96 | disableNfsProvisioner: true |
| 97 | |
| 98 | dgbuilder: |
| 99 | nameOverride: appc-dgbuilder |
jmac | 99ff397 | 2018-03-29 01:02:42 +0000 | [diff] [blame] | 100 | config: |
| 101 | dbPodName: appc-db |
| 102 | dbServiceName: appc-dbhost |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 103 | service: |
| 104 | name: appc-dgbuilder |
mayankg2703 | 41a6614 | 2018-06-06 07:53:35 +0000 | [diff] [blame] | 105 | |
Taka Cho | 3c29d5f | 2019-09-04 15:38:31 -0400 | [diff] [blame] | 106 | #passing value to cdt chart. value of nodePort4 will be same as appc.service.nodePort4. |
Patrick Brady | 1a62b66 | 2018-05-30 10:56:46 -0700 | [diff] [blame] | 107 | appc-cdt: |
Taka Cho | 3c29d5f | 2019-09-04 15:38:31 -0400 | [diff] [blame] | 108 | nodePort4: 11 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 109 | # default number of instances |
Roger Maitland | 6a06997 | 2018-05-09 18:23:58 -0400 | [diff] [blame] | 110 | replicaCount: 1 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 111 | |
| 112 | nodeSelector: {} |
| 113 | |
| 114 | affinity: {} |
| 115 | |
| 116 | # probe configuration parameters |
| 117 | liveness: |
Taka Cho | faf292a | 2019-04-24 09:59:09 -0400 | [diff] [blame] | 118 | initialDelaySeconds: 300 |
| 119 | periodSeconds: 60 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 120 | # necessary to disable liveness probe when setting breakpoints |
| 121 | # in debugger so K8s doesn't restart unresponsive container |
| 122 | enabled: true |
| 123 | |
| 124 | readiness: |
Taka Cho | faf292a | 2019-04-24 09:59:09 -0400 | [diff] [blame] | 125 | initialDelaySeconds: 300 |
| 126 | periodSeconds: 60 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 127 | |
| 128 | service: |
| 129 | type: NodePort |
| 130 | name: appc |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 131 | portName: appc |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 132 | |
Taka Cho | 3c29d5f | 2019-09-04 15:38:31 -0400 | [diff] [blame] | 133 | internalPort: 8181 |
| 134 | externalPort: 8282 |
| 135 | nodePort: "08" |
| 136 | |
| 137 | internalPort2: 8443 |
| 138 | externalPort2: 8443 |
| 139 | nodePort2: 30 |
| 140 | |
| 141 | externalPort3: 1830 |
| 142 | nodePort3: 31 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 143 | clusterPort: 2550 |
| 144 | |
Taka Cho | 3c29d5f | 2019-09-04 15:38:31 -0400 | [diff] [blame] | 145 | internalPort4: 9191 |
| 146 | externalPort4: 9090 |
| 147 | nodePort4: 11 |
Patrick Brady | 140deb9 | 2018-05-23 08:56:24 -0700 | [diff] [blame] | 148 | |
BorislavG | 3dad2f4 | 2018-04-16 10:19:45 +0000 | [diff] [blame] | 149 | ## Persist data to a persitent volume |
| 150 | persistence: |
| 151 | enabled: true |
| 152 | |
| 153 | ## A manually managed Persistent Volume and Claim |
| 154 | ## Requires persistence.enabled: true |
| 155 | ## If defined, PVC must be created manually before volume will be bound |
| 156 | # existingClaim: |
| 157 | volumeReclaimPolicy: Retain |
| 158 | |
| 159 | ## database data Persistent Volume Storage Class |
| 160 | ## If defined, storageClassName: <storageClass> |
| 161 | ## If set to "-", storageClassName: "", which disables dynamic provisioning |
| 162 | ## If undefined (the default) or set to null, no storageClassName spec is |
| 163 | ## set, choosing the default provisioner. (gp2 on AWS, standard on |
| 164 | ## GKE, AWS & OpenStack) |
| 165 | accessMode: ReadWriteOnce |
| 166 | size: 1Gi |
| 167 | mountPath: /dockerdata-nfs |
| 168 | mountSubPath: appc/mdsal |
| 169 | mdsalPath: /opt/opendaylight/current/daexim |
| 170 | |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 171 | ingress: |
| 172 | enabled: false |
Lucjan Bryndza | 684487d | 2019-12-02 12:20:10 +0100 | [diff] [blame] | 173 | service: |
| 174 | - baseaddr: appc |
| 175 | name: "appc" |
| 176 | port: 8443 |
| 177 | config: |
| 178 | ssl: "redirect" |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 179 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 180 | # Configure resource requests and limits |
| 181 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 182 | resources: |
| 183 | small: |
| 184 | limits: |
| 185 | cpu: 2 |
| 186 | memory: 4Gi |
| 187 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 188 | cpu: 1 |
| 189 | memory: 2Gi |
GregSulek | 973bfad | 2018-09-19 06:48:37 -0400 | [diff] [blame] | 190 | large: |
| 191 | limits: |
| 192 | cpu: 4 |
| 193 | memory: 8Gi |
| 194 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 195 | cpu: 2 |
| 196 | memory: 4Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 197 | unlimited: {} |