Skip to content

mariadb: add SSL/TLS-Support #2045

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

vafgoettlich
Copy link
Contributor

Needed SSL-Support for a new mariadb-HA-Cluster. Adopted the needed Parameters from mysql RA to keep migration between those too as easy as possible.

Copy link

knet-jenkins bot commented May 12, 2025

Can one of the admins check and authorise this run please: https://ci.kronosnet.org/job/resource-agents/job/resource-agents-pipeline/job/PR-2045/1/input

@oalbrigt oalbrigt changed the title Added SSL/TLS-Support for mariadb mariadb: add SSL/TLS-Support May 12, 2025
@oalbrigt
Copy link
Contributor

retest this please

MYSQL_OPTIONS_LOCAL_SSL_OPTIONS="--ssl-mode=REQUIRED"
if [ "${OCF_RESOURCE_TYPE}" = "mariadb" ] ; then
MYSQL_OPTIONS_LOCAL_SSL_OPTIONS="--ssl"
if [ -n "${$OCF_RESKEY_replication_master_ssl_ca}" ] ; then
Copy link
Contributor

Choose a reason for hiding this comment

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

CI fails due to double-$ used here. You should only use ${OCF_RESKEY_<name>} without the inner $ you've added by mistake here.

Copy link

knet-jenkins bot commented May 23, 2025

Can one of the admins check and authorise this run please: https://ci.kronosnet.org/job/resource-agents/job/resource-agents-pipeline/job/PR-2045/3/input

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.

2 participants