--- /dev/null
+# Copyright © 2020 Samsung Electrinics
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+make-modeling: make-modeling-etsicatalog
+
+make-modeling-etsicatalog:
+ cd charts && helm dep up modeling-etsicatalog && helm lint modeling-etsicatalog
+clean:
+ @find . -type f -name '*.tgz' -delete
+ @find . -type f -name '*.lock' -delete
--- /dev/null
+# Copyright © 2020 Samung Electronics
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+dependencies:
+ - name: common
+ version: ~5.x-0
+ repository: '@local'
+ - name: mariadb-galera
+ version: ~5.x-0
+ repository: '@local'
- name: MSB_ADDR
value: "{{ .Values.global.config.msbServiceName }}:{{ .Values.global.config.msbPort }}"
- name: MYSQL_ADDR
- value: "{{ .Values.global.config.dbServiceName }}:{{ .Values.global.config.dbPort }}"
+ value: "{{ .Values.config.dbServiceName }}:{{ .Values.config.dbPort }}"
- name: MYSQL_AUTH
- value: "{{ .Values.global.config.dbUser }}:{{ .Values.global.config.mariadbRootPassword }}"
+ value: "{{ .Values.config.dbUser }}:{{ index .Values "mariadb-galera" "config" "mariadbRootPassword" }}"
- name: REDIS_ADDR
value: "{{ .Values.global.config.redisServiceName }}:{{ .Values.global.config.redisPort }}"
volumeMounts:
loggingRepository: docker.elastic.co
loggingImage: beats/filebeat:5.5.0
+ config:
+ msbServiceName: msb-iag
+ msbPort: 80
+ redisServiceName: vfc-redis
+ redisPort: 6379
+
+ persistence:
+ mountPath: /dockerdata-nfs
+
+#################################################################
+# Dependencies configuration
+#################################################################
+
+mariadb-galera:
+ config:
+ mariadbRootPassword: secretpassword
+ nameOverride: modeling-mariadb
+ service:
+ name: modeling-db
+ portName: modeling-db
+ nfsprovisionerPrefix: modeling
+ persistence:
+ mountSubPath: modeling/data
+ enabled: true
+ disableNfsProvisioner: true
+
#################################################################
# Application configuration defaults.
#################################################################
debugEnabled: false
# application configuration
-config: {}
+config:
+ dbServiceName: modeling-db
+ dbPort: 3306
+ dbUser: root
# default number of instances
replicaCount: 1
- name: common
version: ~5.x-0
repository: '@local'
- - name: mariadb-galera
- version: ~5.x-0
- repository: '@local'
# limitations under the License.
global:
- config:
- msbServiceName: msb-iag
- msbPort: 80
- dbServiceName: modeling-db
- dbPort: 3306
- dbUser: root
- mariadbRootPassword: secretpassword
- redisServiceName: vfc-redis
- redisPort: 6379
persistence:
mountPath: /dockerdata-nfs
config:
logstashServiceName: log-ls
logstashPort: 5044
-
-mariadb-galera:
- nameOverride: modeling-mariadb
- service:
- name: modeling-db
- portName: modeling-db
- nfsprovisionerPrefix: modeling
- persistence:
- mountSubPath: modeling/data
- enabled: true
- disableNfsProvisioner: true
-
-#########################################
-# by duan
-#catalog:
-# config:
-# dbPodName: modeling-db
-# dbServiceName: modeling-db
-modeling:
- config:
- dbPodName: modeling-db
- dbServiceName: modeling-db
-
-#########################################