Skip to content

Commit

Permalink
Merge pull request #7 from curie-data-factory/hdm
Browse files Browse the repository at this point in the history
Hdm
  • Loading branch information
armandleopold authored Apr 6, 2021
2 parents 65cec48 + 7e5d7f4 commit c666bf6
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 25 deletions.
2 changes: 2 additions & 0 deletions charts/hdm/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
charts/
Chart.lock
8 changes: 4 additions & 4 deletions charts/hdm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: hdm
description: Helm chart for HDM (Health Data Metrics) a Data Quality assesment Application.
type: application
appVersion: 2.2.1
version: 2.3.9
version: 2.3.10
home: https://github.com/curie-data-factory/helm-charts/tree/master/charts/hdm
icon: https://i.ibb.co/fqWJSVV/logo-hdm.png
sources:
Expand All @@ -16,9 +16,9 @@ keywords:
- data
- quality
dependencies:
# - name: mysql
# repository: https://nexus-data.curie.net/repository/data-factory-helm-release
# version: 2.3.6
- name: mysql
repository: https://charts.bitnami.com/bitnami
version: 8.5.1
- name: elasticsearch
repository: https://helm.elastic.co
version: 7.10.1
Expand Down
76 changes: 55 additions & 21 deletions charts/hdm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,30 +48,20 @@ createTable:

mysql:

vault:
enabled: false

# Docker image
image: "mysql"
imageTag: "8.0.18"

# Endpoint
ingress:
enabled: false

# Credentials
mysqlRootPassword:
mysqlReaderPassword:
mysqlDatabase: hdm
mysqlUser: hdm
mysqlPassword:

# Stockage
persistence:
size: 20Gi
auth:
rootPassword: rootpassword
database: hdm
username: hdm
password: password

# Init script
initializationFiles:
initdbScripts:
initscript.sql: |-
CREATE USER 'reader'@'%' IDENTIFIED BY '';
CREATE USER 'hdmssl'@'%' IDENTIFIED BY '' REQUIRE SSL;
Expand All @@ -83,11 +73,55 @@ mysql:
ALTER USER 'root'@'%' REQUIRE SSL;
FLUSH PRIVILEGES;
cronjob:
volumes:
- hostPath:
path: ""
name: nfs-dump
primary:
service:
port: 3306

persistence:
size: 20Gi

configuration: |-
[mysqld]
default_authentication_plugin=mysql_native_password
skip-host-cache
skip-name-resolve
explicit_defaults_for_timestamp
basedir=/opt/bitnami/mysql
plugin_dir=/opt/bitnami/mysql/plugin
secure-file-priv=
local_infile=true
interactive_timeout=28800
long_query_time=60.000000
innodb_buffer_pool_size=2G
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
innodb_log_file_size = 128M
innodb_log_buffer_size = 128M
max_allowed_packet=524288000
max_connect_errors=30000
max_connections=500
connect_timeout=28800
wait_timeout=28800
net_read_timeout=28800
port=3306
socket=/opt/bitnami/mysql/tmp/mysql.sock
datadir=/bitnami/mysql/data
tmpdir=/opt/bitnami/mysql/tmp
bind-address=0.0.0.0
pid-file=/opt/bitnami/mysql/tmp/mysqld.pid
log-error=/opt/bitnami/mysql/logs/mysqld.log
character-set-server=UTF8
collation-server=utf8_general_ci
[client]
port=3306
socket=/opt/bitnami/mysql/tmp/mysql.sock
default-character-set=UTF8
plugin_dir=/opt/bitnami/mysql/plugin
[manager]
port=3306
socket=/opt/bitnami/mysql/tmp/mysql.sock
pid-file=/opt/bitnami/mysql/tmp/mysqld.pid
################################################################################
## Kibana
Expand Down

0 comments on commit c666bf6

Please sign in to comment.