Skip to content

Commit

Permalink
Add mariadb chart (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyxou authored Jun 4, 2023
1 parent 0929e8a commit 11804b3
Show file tree
Hide file tree
Showing 6 changed files with 81 additions and 0 deletions.
23 changes: 23 additions & 0 deletions charts/mariadb/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
6 changes: 6 additions & 0 deletions charts/mariadb/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: librepod
repository: https://librepod.github.io/charts
version: 1.2.0
digest: sha256:1dcc99dc6525e660fe55ac3e87b1b36a4ca644b7728156d92f73371335e49290
generated: "2023-06-04T22:13:26.760463017+03:00"
15 changes: 15 additions & 0 deletions charts/mariadb/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: v2
appVersion: "10.6"
name: mariadb
description: MariaDB Server is a high performing open source relational database, forked from MySQL
version: 0.1.0
kubeVersion: ">=1.16.0-0"
type: application
sources:
- https://github.com/librepod/charts/mariadb
dependencies:
- name: librepod
version: 1.2.0
repository: https://librepod.github.io/charts
annotations:
category: Databases
6 changes: 6 additions & 0 deletions charts/mariadb/ci/ct-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
env:
MARIADB_ROOT_PASSWORD: somepassword

persistence:
data:
storageClass: local-path
1 change: 1 addition & 0 deletions charts/mariadb/templates/all.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{- include "librepod.all" . -}}
30 changes: 30 additions & 0 deletions charts/mariadb/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
image:
repository: mariadb
pullPolicy: IfNotPresent
tag: ""

persistence:
config:
enabled: false
data:
enabled: true
type: pvc
mountPath: /var/lib/mysql
readOnly: false
accessMode: ReadWriteOnce
size: 1Gi
retain: true

env:
MARIADB_ROOT_PASSWORD: ""
TZ: Europe/Moscow

service:
main:
enabled: true
ports:
http:
enabled: true
primary: true
port: 3306
targetPort: 3306

0 comments on commit 11804b3

Please sign in to comment.