vaibhavjayas | ea9aee0 | 2018-08-31 06:22:26 +0000 | [diff] [blame] | 1 | # Copyright © 2018 AT&T, 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 | |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 15 | # Global configuration default values that can be inherited by |
| 16 | # all subcharts. |
| 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 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 25 | |
| 26 | # readiness check |
| 27 | readinessRepository: oomk8s |
BorislavG | 3d6f937 | 2018-04-15 11:55:39 +0000 | [diff] [blame] | 28 | readinessImage: readiness-check:2.0.0 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 29 | |
| 30 | # logging agent |
| 31 | loggingRepository: docker.elastic.co |
| 32 | loggingImage: beats/filebeat:5.5.0 |
| 33 | |
Krzysztof Opasiak | acdd90c | 2020-02-17 22:05:51 +0100 | [diff] [blame] | 34 | # envsusbt |
| 35 | envsubstImage: dibi/envsubst |
| 36 | |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 37 | # image pull policy |
| 38 | pullPolicy: Always |
| 39 | |
| 40 | # default mount path root directory referenced |
| 41 | # by persistent volumes and log files |
| 42 | persistence: |
| 43 | mountPath: /dockerdata-nfs |
| 44 | |
| 45 | # flag to enable debugging - application support required |
| 46 | debugEnabled: true |
jmac | 4f76af4 | 2018-03-28 20:36:47 +0000 | [diff] [blame] | 47 | |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 48 | ################################################################# |
Krzysztof Opasiak | acdd90c | 2020-02-17 22:05:51 +0100 | [diff] [blame] | 49 | # Secrets metaconfig |
| 50 | ################################################################# |
| 51 | secrets: |
| 52 | - uid: 'db-root-password' |
| 53 | type: password |
| 54 | externalSecret: '{{ tpl (default "" .Values.config.db.rootPasswordExternalSecret) . }}' |
Krzysztof Opasiak | 67b5d86 | 2020-04-24 20:41:24 +0200 | [diff] [blame] | 55 | password: '{{ .Values.config.db.rootPassword }}' |
Krzysztof Opasiak | acdd90c | 2020-02-17 22:05:51 +0100 | [diff] [blame] | 56 | - uid: 'db-user-creds' |
| 57 | type: basicAuth |
| 58 | externalSecret: '{{ tpl (default "" .Values.config.db.userCredentialsExternalSecret) . }}' |
| 59 | login: '{{ .Values.config.db.userName }}' |
Krzysztof Opasiak | 67b5d86 | 2020-04-24 20:41:24 +0200 | [diff] [blame] | 60 | password: '{{ .Values.config.db.userPassword }}' |
Krzysztof Opasiak | acdd90c | 2020-02-17 22:05:51 +0100 | [diff] [blame] | 61 | - uid: 'http-user-creds' |
| 62 | type: basicAuth |
| 63 | externalSecret: '{{ tpl (default "" .Values.config.httpCredsExternalSecret) . }}' |
| 64 | login: '{{ .Values.config.httpUser }}' |
| 65 | password: '{{ .Values.config.dgUserPassword }}' |
| 66 | - uid: 'admin-creds' |
| 67 | type: basicAuth |
| 68 | externalSecret: '{{ tpl (default "" .Values.config.adminCredsExternalSecret) . }}' |
| 69 | login: '{{ .Values.config.adminUser }}' |
| 70 | password: '{{ .Values.config.dgUserPassword }}' |
| 71 | - uid: 'node-creds' |
| 72 | type: basicAuth |
| 73 | externalSecret: '{{ tpl (default "" .Values.config.nodeCredsExternalSecret) . }}' |
| 74 | login: '{{ .Values.config.nodeUser }}' |
| 75 | password: '{{ .Values.config.dgUserPassword }}' |
| 76 | - uid: 'restconf-creds' |
| 77 | type: basicAuth |
| 78 | externalSecret: '{{ tpl (default "" .Values.config.restconfCredsExternalSecret) . }}' |
| 79 | login: '{{ .Values.config.restconfUser }}' |
| 80 | password: '{{ .Values.config.restconfPassword }}' |
| 81 | |
| 82 | ################################################################# |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 83 | # Application configuration defaults. |
| 84 | ################################################################# |
| 85 | # application image |
| 86 | repository: nexus3.onap.org:10001 |
Dan Timoney | d0f6ad7 | 2020-03-06 11:58:23 -0500 | [diff] [blame] | 87 | image: onap/ccsdk-dgbuilder-image:0.7.2 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 88 | pullPolicy: Always |
| 89 | |
| 90 | # flag to enable debugging - application support required |
| 91 | debugEnabled: false |
| 92 | |
| 93 | # application configuration |
| 94 | config: |
Krzysztof Opasiak | acdd90c | 2020-02-17 22:05:51 +0100 | [diff] [blame] | 95 | db: |
| 96 | dbName: sdnctl |
| 97 | # unused for now to preserve the API |
| 98 | rootPassword: openECOMP1.0 |
| 99 | # rootPasswordExternalSecret: some secret |
| 100 | userName: sdnctl |
| 101 | # unused for now to preserve the API |
| 102 | userPassword: gamma |
| 103 | # userCredentialsExternalSecret: some secret |
| 104 | httpUser: dguser |
| 105 | # unused for now to preserve the API |
| 106 | httpPassword: cc03e747a6afbbcbf8be7668acfebee5 |
| 107 | # httpCredsExternalSecret: some secret |
| 108 | adminUser: dguser |
| 109 | # unused for now to preserve the API |
| 110 | adminPassword: cc03e747a6afbbcbf8be7668acfebee5 |
| 111 | # adminCredsExternalSecret: some secret |
| 112 | nodeUser: dguser |
| 113 | # unused for now to preserve the API |
| 114 | nodePassword: cc03e747a6afbbcbf8be7668acfebee5 |
| 115 | # nodeCredsExternalSecret: some secret |
| 116 | restconfUser: admin |
| 117 | # unused for now to preserve the API |
| 118 | restconfPassword: admin |
| 119 | # restconfCredsExternalSecret: some secret |
| 120 | |
jmac | 4f76af4 | 2018-03-28 20:36:47 +0000 | [diff] [blame] | 121 | dbPodName: mysql-db |
| 122 | dbServiceName: sdnc-dbhost |
jmac | 70863e1 | 2018-05-16 14:53:03 +0000 | [diff] [blame] | 123 | # MD5 hash of dguser password ( default: test123 ) |
| 124 | dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5 |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 125 | |
| 126 | # default number of instances |
| 127 | replicaCount: 1 |
| 128 | |
| 129 | nodeSelector: {} |
| 130 | |
| 131 | affinity: {} |
| 132 | |
| 133 | # probe configuration parameters |
| 134 | liveness: |
| 135 | initialDelaySeconds: 10 |
| 136 | periodSeconds: 10 |
| 137 | # necessary to disable liveness probe when setting breakpoints |
| 138 | # in debugger so K8s doesn't restart unresponsive container |
| 139 | enabled: true |
| 140 | |
| 141 | readiness: |
| 142 | initialDelaySeconds: 10 |
| 143 | periodSeconds: 10 |
| 144 | |
| 145 | service: |
| 146 | type: NodePort |
| 147 | name: dgbuilder |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 148 | portName: dgbuilder |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 149 | externalPort: 3000 |
| 150 | internalPort: 3100 |
| 151 | nodePort: 28 |
| 152 | |
| 153 | ingress: |
| 154 | enabled: false |
Sylvain Desbureaux | e54644e | 2020-05-04 11:45:16 +0200 | [diff] [blame] | 155 | service: |
| 156 | - baseaddr: "dgbuilder" |
| 157 | name: "dgbuilder" |
| 158 | port: 3000 |
| 159 | config: |
| 160 | ssl: "redirect" |
Mike Elliott | 13fed11 | 2018-02-28 08:33:33 -0500 | [diff] [blame] | 161 | |
| 162 | resources: {} |
| 163 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 164 | # choice for the user. This also increases chances charts run on environments with little |
| 165 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 166 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 167 | # |
| 168 | # Example: |
| 169 | # Configure resource requests and limits |
| 170 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 171 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 172 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 173 | #resources: |
| 174 | # limits: |
| 175 | # cpu: 2 |
| 176 | # memory: 4Gi |
| 177 | # requests: |
| 178 | # cpu: 2 |
| 179 | # memory: 4Gi |