-
Notifications
You must be signed in to change notification settings - Fork 79
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] memcached tls setup #704
[tlse] memcached tls setup #704
Conversation
If spec.TLS.PodLevel.Enabled is true, setup memcached for TLS usage. Jira: OSPRH-5283
With the rework of the tls struct the method is not really useful.
pkg/openstack/memcached.go
Outdated
op, err := controllerutil.CreateOrPatch(ctx, helper.GetClient(), memcached, func() error { | ||
spec.DeepCopyInto(&memcached.Spec) | ||
|
||
if tlsCert != "" { | ||
memcached.Spec.TLS.CaBundleSecretName = tls.CABundleSecret |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should it always set the CA bundle?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes probably, although I don't think memcached does any outgoing connection. but its in sync with the other services
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also needs a change here https://github.com/openstack-k8s-operators/infra-operator/blob/main/pkg/memcached/volumes.go#L59 . will do a follow up in infra-op
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/7538e1b73162462e9a3069b8dd1e0c6a ✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 07m 43s |
/test images |
2 similar comments
/test images |
/test images |
/test openstack-operator-build-deploy-kuttl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: olliewalsh, 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 |
58d39d5
into
openstack-k8s-operators:main
If spec.TLS.PodLevel.Enabled is true, setup memcached for TLS usage.
Jira: OSPRH-5283