Skip to content

Commit

Permalink
User root user explicitely for DB readinessProbe (#962)
Browse files Browse the repository at this point in the history
  • Loading branch information
vpavlin authored and k8s-ci-robot committed Dec 12, 2019
1 parent aefa758 commit 51f6aa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/v1alpha3/db/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
command:
- "/bin/bash"
- "-c"
- "mysql -D ${MYSQL_DATABASE} -p${MYSQL_ROOT_PASSWORD} -e 'SELECT 1'"
- "mysql -D ${MYSQL_DATABASE} -u root -p${MYSQL_ROOT_PASSWORD} -e 'SELECT 1'"
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 1
Expand Down

0 comments on commit 51f6aa2

Please sign in to comment.