-
Notifications
You must be signed in to change notification settings - Fork 0
/
helmfile.yaml
99 lines (94 loc) · 3.35 KB
/
helmfile.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
repositories:
- name: bitnami
url: https://charts.bitnami.com/bitnami
environments:
production:
values:
- namespace: lmrdashboard-production
- tagOverride: {{ env "CI_COMMIT_TAG" | quote }}
- host: {{ requiredEnv "CI_ENVIRONMENT_URL" | trimPrefix "https://" | quote }}
- irc:
username: lmrdashboard
channel: "#linuxmasterrace"
staging:
values:
- namespace: lmrdashboard-staging
- tagOverride: {{ requiredEnv "CI_COMMIT_SHORT_SHA" | quote }}
- host: {{ requiredEnv "CI_ENVIRONMENT_URL" | trimPrefix "https://" | quote }}
- irc:
username: lmrstageboard
channel: "#aboftytest"
helmDefaults:
createNamespace: false
releases:
- name: lmrdashboard
chart: ./chart
namespace: {{ .Values.namespace }}
secrets:
- ./secrets/mariadb.yaml
- ./secrets/irc_user.yaml
values:
- image:
tagOverride: {{ .Values.tagOverride }}
- irc:
channel: {{ .Values.irc.channel | quote }}
username: {{ .Values.irc.username | quote }}
- gitlab:
envSlug: {{ requiredEnv "CI_ENVIRONMENT_SLUG" | quote }}
projectSlug: {{ requiredEnv "CI_PROJECT_PATH_SLUG" | quote }}
- ingress:
enabled: true
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$1
hosts:
- host: {{ .Values.host }}
paths:
- /
tls:
- secretName: linuxmasterrace-org-tls
hosts:
- {{ .Values.host }}
- mariadb:
architecture: standalone
auth:
database: lmrd
primary:
configuration: |-
[mysql]
default-character-set=utf8mb4
[mysqld]
skip-name-resolve
explicit_defaults_for_timestamp
basedir=/opt/bitnami/mariadb
plugin_dir=/opt/bitnami/mariadb/plugin
port=3306
socket=/opt/bitnami/mariadb/tmp/mysql.sock
tmpdir=/opt/bitnami/mariadb/tmp
max_allowed_packet=16M
bind-address=0.0.0.0
pid-file=/opt/bitnami/mariadb/tmp/mysqld.pid
log-error=/opt/bitnami/mariadb/logs/mysqld.log
character-set-server=utf8mb4
collation-server=utf8mb4_unicode_ci
init_connect='SET NAMES utf8mb4'
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
performance_schema=ON
performance-schema-instrument='stage/%=ON'
performance-schema-consumer-events-stages-current=ON
performance-schema-consumer-events-stages-history=ON
performance-schema-consumer-events-stages-history-long=ON
[client]
port=3306
socket=/opt/bitnami/mariadb/tmp/mysql.sock
default-character-set=UTF8
plugin_dir=/opt/bitnami/mariadb/plugin
[manager]
port=3306
socket=/opt/bitnami/mariadb/tmp/mysql.sock
pid-file=/opt/bitnami/mariadb/tmp/mysqld.pid
persistence:
enabled: true
storageClass: "ssd"
accessModes:
- ReadWriteOnce
size: 8Gi