Skip to content
This repository was archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1683 from shreddedbacon/k8s-mariadb-check
Browse files Browse the repository at this point in the history
K8s MariaDBConsumer check
  • Loading branch information
Schnitzel authored Mar 29, 2020
2 parents bea25bd + f58934b commit ebffe85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ do
SERVICE_TYPE="mariadb-single"
# heck if this cluster supports the default one, if not we assume that this cluster is not capable of shared mariadbs and we use a mariadb-single
# real basic check to see if the mariadbconsumer exists as a kind
elif kubectl --insecure-skip-tls-verify -n ${NAMESPACE} auth can-i create mariadbconsumer.mariadb.amazee.io > /dev/null; then
elif kubectl --insecure-skip-tls-verify -n ${NAMESPACE} get mariadbconsumer.v1.mariadb.amazee.io &> /dev/null; then
SERVICE_TYPE="mariadb-dbaas"
else
SERVICE_TYPE="mariadb-single"
Expand Down

0 comments on commit ebffe85

Please sign in to comment.