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

[tlse] enable galera tls for internal TLS #678

Merged

Conversation

stuggi
Copy link
Contributor

@stuggi stuggi commented Feb 19, 2024

Create cert for galera instance and configure the instance to use it. Galera will always be configured to support TLS as its on the DB user level if TLS will be enforced or not.

Jira: OSPRH-2440

Create cert for galera instance and configure the instance to use it.
Galera will always be configured to support TLS as its on the DB user
level if TLS will be enforced or not.

Jira: OSPRH-2440
@openshift-ci openshift-ci bot requested review from abays and lewisdenny February 19, 2024 09:19
@stuggi stuggi requested review from olliewalsh, dciabrin and Deydra71 and removed request for lewisdenny February 19, 2024 09:21
Copy link
Contributor

openshift-ci bot commented Feb 19, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Deydra71, stuggi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 528d9fa into openstack-k8s-operators:main Feb 19, 2024
7 checks passed
@dciabrin
Copy link
Contributor

I could not test it locally, but from my previous work on the mariadb-operator, the certificate created for galera should populate the 'organization' field, otherwise this trip the SST transfer setup done by wsrep_sst_rsync. This will not show at the initial deployment because there is no SST involved when the DB is bootstrapped as there are no data to be transferred yet.
In the kuttl test from the mariadb-operator, I set the organization to 'cluster.local', and it is sufficient to make the SST scripts work with the certificate.

stuggi added a commit to stuggi/openstack-operator that referenced this pull request Apr 9, 2024
From comment on openstack-k8s-operators#678 (comment)

~~~
The certificate created for galera should populate the 'organization'
field, otherwise this trip the SST transfer setup done by wsrep_sst_rsync.
This will not show at the initial deployment because there is no SST
involved when the DB is bootstrapped as there are no data to be
transferred yet.
~~~

Jira: OSPRH-2440
stuggi added a commit to stuggi/openstack-operator that referenced this pull request Apr 9, 2024
From comment on openstack-k8s-operators#678 (comment)

~~~
The certificate created for galera should populate the 'organization'
field, otherwise this trip the SST transfer setup done by wsrep_sst_rsync.
This will not show at the initial deployment because there is no SST
involved when the DB is bootstrapped as there are no data to be
transferred yet.
~~~

Jira: OSPRH-2440
stuggi added a commit to stuggi/openstack-operator that referenced this pull request Apr 9, 2024
From comment on openstack-k8s-operators#678 (comment)

~~~
The certificate created for galera should populate the 'organization'
field, otherwise this trip the SST transfer setup done by wsrep_sst_rsync.
This will not show at the initial deployment because there is no SST
involved when the DB is bootstrapped as there are no data to be
transferred yet.
~~~

Jira: OSPRH-2440
stuggi added a commit to stuggi/openstack-operator that referenced this pull request Apr 10, 2024
From comment on openstack-k8s-operators#678 (comment)

~~~
The certificate created for galera should populate the 'organization'
field, otherwise this trip the SST transfer setup done by wsrep_sst_rsync.
This will not show at the initial deployment because there is no SST
involved when the DB is bootstrapped as there are no data to be
transferred yet.
~~~

Jira: OSPRH-2440
stuggi added a commit to stuggi/openstack-operator that referenced this pull request Apr 11, 2024
From comment on openstack-k8s-operators#678 (comment)

~~~
The certificate created for galera should populate the 'organization'
field, otherwise this trip the SST transfer setup done by wsrep_sst_rsync.
This will not show at the initial deployment because there is no SST
involved when the DB is bootstrapped as there are no data to be
transferred yet.
~~~

Jira: OSPRH-2440
stuggi added a commit to stuggi/openstack-operator that referenced this pull request Apr 12, 2024
From comment on openstack-k8s-operators#678 (comment)

~~~
The certificate created for galera should populate the 'organization'
field, otherwise this trip the SST transfer setup done by wsrep_sst_rsync.
This will not show at the initial deployment because there is no SST
involved when the DB is bootstrapped as there are no data to be
transferred yet.
~~~

Jira: OSPRH-2440
stuggi added a commit to stuggi/openstack-operator that referenced this pull request Apr 24, 2024
From comment on openstack-k8s-operators#678 (comment)

~~~
The certificate created for galera should populate the 'organization'
field, otherwise this trip the SST transfer setup done by wsrep_sst_rsync.
This will not show at the initial deployment because there is no SST
involved when the DB is bootstrapped as there are no data to be
transferred yet.
~~~

Jira: OSPRH-2440
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants