mirror of https://github.com/easzlab/kubeasz.git
10 lines
264 B
YAML
10 lines
264 B
YAML
|
apiVersion: v1
|
||
|
kind: ConfigMap
|
||
|
metadata:
|
||
|
name: {{ template "mariadb.fullname" . }}-tests
|
||
|
data:
|
||
|
run.sh: |-
|
||
|
@test "Testing MariaDB is accessible" {
|
||
|
mysql -h {{ template "mariadb.fullname" . }} -uroot -p$MARIADB_ROOT_PASSWORD -e 'show databases;'
|
||
|
}
|