更新 wikijs
This commit is contained in:
11
azure/mariadb/templates/tests.yaml
Executable file
11
azure/mariadb/templates/tests.yaml
Executable file
@@ -0,0 +1,11 @@
|
||||
{{- if .Values.tests.enabled }}
|
||||
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;'
|
||||
}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user