Standardize config.
This commit is contained in:
@@ -1,20 +1,15 @@
|
||||
name: mysql
|
||||
is: mysql
|
||||
description: MySQL is an open-source relational database management system
|
||||
version: 9.1.0
|
||||
version: 9.1.0-1
|
||||
icon: https://www.mysql.com/common/logos/logo-mysql-170x115.png
|
||||
requires: []
|
||||
defaultConfig:
|
||||
namespace: mysql
|
||||
externalDnsDomain: '{{ .cloud.domain }}'
|
||||
image: mysql:9.1.0
|
||||
port: 3306
|
||||
host: mysql.mysql.svc.cluster.local
|
||||
storage: 20Gi
|
||||
dbName: mysql
|
||||
rootUser: root
|
||||
user: mysql
|
||||
timezone: UTC
|
||||
enableSSL: false
|
||||
defaultSecrets:
|
||||
- key: rootPassword
|
||||
- key: password
|
||||
|
||||
@@ -9,7 +9,7 @@ spec:
|
||||
publishNotReadyAddresses: true
|
||||
ports:
|
||||
- name: mysql
|
||||
port: {{ .port }}
|
||||
port: 3306
|
||||
protocol: TCP
|
||||
targetPort: mysql
|
||||
selector:
|
||||
|
||||
@@ -7,7 +7,7 @@ spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: mysql
|
||||
port: {{ .port }}
|
||||
port: 3306
|
||||
protocol: TCP
|
||||
targetPort: mysql
|
||||
selector:
|
||||
|
||||
@@ -29,7 +29,7 @@ spec:
|
||||
type: RuntimeDefault
|
||||
containers:
|
||||
- name: mysql
|
||||
image: {{ .image }}
|
||||
image: mysql:9.1.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
@@ -53,10 +53,10 @@ spec:
|
||||
- name: MYSQL_DATABASE
|
||||
value: {{ .dbName }}
|
||||
- name: TZ
|
||||
value: {{ .timezone }}
|
||||
value: UTC
|
||||
ports:
|
||||
- name: mysql
|
||||
containerPort: {{ .port }}
|
||||
containerPort: 3306
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
exec:
|
||||
|
||||
Reference in New Issue
Block a user