add apps/mysql

This commit is contained in:
Haitao Pan 2024-02-24 17:04:03 +08:00
parent edcdd42b1c
commit 1e2f655b2c
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: itsm-dev
resources:
- release.yaml

42
apps/mysql/release.yaml Normal file
View File

@ -0,0 +1,42 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: mysql
namespace: itsm-dev
spec:
interval: 1m
chart:
spec:
version: "9.21.2"
chart: mysql
sourceRef:
kind: HelmRepository
name: stable
namespace: itsm-dev
interval: 1m
values:
enabled: true
fullnameOverride: mysql
global:
imageRegistry: ""
architecture: standalone
auth:
rootPassword: ""
createDatabase: true
database: "my_database"
username: ""
password: ""
replicationUser: replicator
replicationPassword: ""
existingSecret: ""
usePasswordFiles: false
primary:
persistence:
enabled: true
resources:
requests:
memory: 100Mi
cpu: 100m
limits:
cpu: "200m"
memory: "300Mi"