Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flexible tidb initializer job with secret set outside of helm #286

Merged
merged 8 commits into from
Mar 5, 2019

Conversation

tennix
Copy link
Member

@tennix tennix commented Feb 26, 2019

This PR closes #274. It uses secret created outside of helm to avoid storing password in ConfigMap. And it also enables flexible initialization SQL statement.

@tennix tennix marked this pull request as ready for review February 26, 2019 13:29
@tennix tennix requested review from gregwebs and weekface February 26, 2019 13:43
@@ -177,8 +180,9 @@ tidb:
# cloud.google.com/load-balancer-type: Internal

# mysqlClient is used to set password for TiDB
# it must has Python MySQL client installed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having this image be configurable may not be useful anymore. But we could rename it to pythonMysqlClient.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's still need to be configured especially when dockerhub is unavailable.

@gregwebs
Copy link
Contributor

This looks great! I will try it out. In #274 I also mentioned secrets used in backup.

@weekface
Copy link
Contributor

/run-e2e-tests

@tennix
Copy link
Member Author

tennix commented Feb 27, 2019

/run-e2e-tests

3 similar comments
@tennix
Copy link
Member Author

tennix commented Feb 27, 2019

/run-e2e-tests

@tennix
Copy link
Member Author

tennix commented Feb 27, 2019

/run-e2e-tests

@tennix
Copy link
Member Author

tennix commented Feb 27, 2019

/run-e2e-tests

@tennix
Copy link
Member Author

tennix commented Feb 27, 2019

/run-e2e-tests

@tennix
Copy link
Member Author

tennix commented Feb 27, 2019

/run-e2e-tests

@tennix
Copy link
Member Author

tennix commented Mar 5, 2019

/run-e2e-tests

@tennix tennix merged commit fb97762 into pingcap:master Mar 5, 2019
@tennix tennix deleted the secret branch March 5, 2019 03:39
yahonda pushed a commit that referenced this pull request Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flexible user password initialization
3 participants