Skip to content

Commit 17901c0

Browse files
Merge pull request #1299 from lmiccini/memcached_mtls
Enable memcached mTLS auth
2 parents b5841f9 + acf0fd9 commit 17901c0

File tree

11 files changed

+115
-10
lines changed

11 files changed

+115
-10
lines changed

apis/bases/core.openstack.org_openstackcontrolplanes.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7260,6 +7260,20 @@ spec:
72607260
properties:
72617261
caBundleSecretName:
72627262
type: string
7263+
mtls:
7264+
properties:
7265+
authCertSecret:
7266+
properties:
7267+
secretName:
7268+
type: string
7269+
type: object
7270+
sslVerifyMode:
7271+
enum:
7272+
- None
7273+
- Request
7274+
- Require
7275+
type: string
7276+
type: object
72637277
secretName:
72647278
type: string
72657279
type: object

apis/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require (
1313
github.com/openstack-k8s-operators/glance-operator/api v0.5.1-0.20250126100316-be560a599e2d
1414
github.com/openstack-k8s-operators/heat-operator/api v0.5.1-0.20250129204831-17deaa376556
1515
github.com/openstack-k8s-operators/horizon-operator/api v0.5.1-0.20250203063315-e5e6165191f8
16-
github.com/openstack-k8s-operators/infra-operator/apis v0.5.1-0.20250204091142-ae8379c31edb
16+
github.com/openstack-k8s-operators/infra-operator/apis v0.5.1-0.20250213075932-926b10c39e96
1717
github.com/openstack-k8s-operators/ironic-operator/api v0.5.1-0.20250107140737-1d83138767c2
1818
github.com/openstack-k8s-operators/keystone-operator/api v0.5.1-0.20250203105048-182afa0c45d8
1919
github.com/openstack-k8s-operators/lib-common/modules/common v0.5.1-0.20250205143454-43504d7ad19a

apis/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ github.com/openstack-k8s-operators/heat-operator/api v0.5.1-0.20250129204831-17d
106106
github.com/openstack-k8s-operators/heat-operator/api v0.5.1-0.20250129204831-17deaa376556/go.mod h1:6egBIaHzwbzRHQxkkmHBkBRLHWrJ3eH1EhVuz5Z3dhU=
107107
github.com/openstack-k8s-operators/horizon-operator/api v0.5.1-0.20250203063315-e5e6165191f8 h1:A5+uQ6KW8PQVlunD/tbrEaZRFeUQMOICVSE/ZaNry7g=
108108
github.com/openstack-k8s-operators/horizon-operator/api v0.5.1-0.20250203063315-e5e6165191f8/go.mod h1:UGkrLEcGjc+q4tbUT00q4dHOMpcTaMqrs3CTXpetuyc=
109-
github.com/openstack-k8s-operators/infra-operator/apis v0.5.1-0.20250204091142-ae8379c31edb h1:SedlzLahRyzctVTXzVrpmjui78A7Z0g8V1cmPBoQzYY=
110-
github.com/openstack-k8s-operators/infra-operator/apis v0.5.1-0.20250204091142-ae8379c31edb/go.mod h1:TDaE7BVQvJwJGFm33R6xcPTeF8LKAnMh+a1ho+YqJHs=
109+
github.com/openstack-k8s-operators/infra-operator/apis v0.5.1-0.20250213075932-926b10c39e96 h1:5ITGm8DPObxa5joxSAMnztcnIQm7CJcj/+d7unz3Nto=
110+
github.com/openstack-k8s-operators/infra-operator/apis v0.5.1-0.20250213075932-926b10c39e96/go.mod h1:kkjcOSZ7jkHbVzxJd0nDQzjB+vqafuAMgSf7AnEXydw=
111111
github.com/openstack-k8s-operators/ironic-operator/api v0.5.1-0.20250107140737-1d83138767c2 h1:nFbSN0goC+CWeHa7oRrOD+jOUmVNc+Nn/tGgjtCOjag=
112112
github.com/openstack-k8s-operators/ironic-operator/api v0.5.1-0.20250107140737-1d83138767c2/go.mod h1:E2y4HZ0WVbDfvf+VBCtA+uy7c8uuR54ED8w5YvlHbYo=
113113
github.com/openstack-k8s-operators/keystone-operator/api v0.5.1-0.20250203105048-182afa0c45d8 h1:HIL7hIXZPuwMVr46jMoLxHToBHAplGWwOtR4FlMrCUU=

bindata/crds/crds.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2554,8 +2554,6 @@ spec:
25542554
type: boolean
25552555
template:
25562556
properties:
2557-
containerImage:
2558-
type: string
25592557
dnsDataLabelSelectorValue:
25602558
default: dnsdata
25612559
type: string
@@ -7426,6 +7424,20 @@ spec:
74267424
properties:
74277425
caBundleSecretName:
74287426
type: string
7427+
mtls:
7428+
properties:
7429+
authCertSecret:
7430+
properties:
7431+
secretName:
7432+
type: string
7433+
type: object
7434+
sslVerifyMode:
7435+
enum:
7436+
- None
7437+
- Request
7438+
- Require
7439+
type: string
7440+
type: object
74297441
secretName:
74307442
type: string
74317443
type: object

bindata/crds/memcached.openstack.org_memcacheds.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,25 @@ spec:
8282
description: CaBundleSecretName - holding the CA certs in a pre-created
8383
bundle file
8484
type: string
85+
mtls:
86+
properties:
87+
authCertSecret:
88+
description: Name of the secret containing the client cert
89+
used to perform mtls auth
90+
properties:
91+
secretName:
92+
description: SecretName - holding the cert, key for the
93+
service
94+
type: string
95+
type: object
96+
sslVerifyMode:
97+
description: Used to enforce client side tls cert validation
98+
enum:
99+
- None
100+
- Request
101+
- Require
102+
type: string
103+
type: object
85104
secretName:
86105
description: SecretName - holding the cert, key for the service
87106
type: string
@@ -140,6 +159,9 @@ spec:
140159
type: string
141160
description: Map of hashes to track input changes
142161
type: object
162+
mtlsCert:
163+
description: Name of the certificate used for MTLS
164+
type: string
143165
observedGeneration:
144166
description: |-
145167
ObservedGeneration - the most recent generation observed for this

config/crd/bases/core.openstack.org_openstackcontrolplanes.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7260,6 +7260,20 @@ spec:
72607260
properties:
72617261
caBundleSecretName:
72627262
type: string
7263+
mtls:
7264+
properties:
7265+
authCertSecret:
7266+
properties:
7267+
secretName:
7268+
type: string
7269+
type: object
7270+
sslVerifyMode:
7271+
enum:
7272+
- None
7273+
- Request
7274+
- Require
7275+
type: string
7276+
type: object
72637277
secretName:
72647278
type: string
72657279
type: object

config/operator/manager_operator_images.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
- name: RELATED_IMAGE_HORIZON_OPERATOR_MANAGER_IMAGE_URL
2727
value: quay.io/openstack-k8s-operators/horizon-operator@sha256:a7fda492ec0dfd798bf1315b6ee828c4febe898aa918b6b0107664d6dcbd6a81
2828
- name: RELATED_IMAGE_INFRA_OPERATOR_MANAGER_IMAGE_URL
29-
value: quay.io/openstack-k8s-operators/infra-operator@sha256:73741d7f4e713753311001cbea234ad77c70e834e7c2b03eec2ca37c372a9fcb
29+
value: quay.io/openstack-k8s-operators/infra-operator@sha256:2fdcd0eb58650951eb2a2662b89a54ccc7b0dbe981d2f88fb35cb04e24285748
3030
- name: RELATED_IMAGE_IRONIC_OPERATOR_MANAGER_IMAGE_URL
3131
value: quay.io/openstack-k8s-operators/ironic-operator@sha256:bad53185041f6003f3f573df9bbf248aa1c47a1060abcb5410201d74bcb08829
3232
- name: RELATED_IMAGE_KEYSTONE_OPERATOR_MANAGER_IMAGE_URL

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ require (
1818
github.com/openstack-k8s-operators/glance-operator/api v0.5.1-0.20250126100316-be560a599e2d
1919
github.com/openstack-k8s-operators/heat-operator/api v0.5.1-0.20250129204831-17deaa376556
2020
github.com/openstack-k8s-operators/horizon-operator/api v0.5.1-0.20250203063315-e5e6165191f8
21-
github.com/openstack-k8s-operators/infra-operator/apis v0.5.1-0.20250204091142-ae8379c31edb
21+
github.com/openstack-k8s-operators/infra-operator/apis v0.5.1-0.20250213075932-926b10c39e96
2222
github.com/openstack-k8s-operators/ironic-operator/api v0.5.1-0.20250107140737-1d83138767c2
2323
github.com/openstack-k8s-operators/keystone-operator/api v0.5.1-0.20250203105048-182afa0c45d8
2424
github.com/openstack-k8s-operators/lib-common/modules/ansible v0.5.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ github.com/openstack-k8s-operators/heat-operator/api v0.5.1-0.20250129204831-17d
110110
github.com/openstack-k8s-operators/heat-operator/api v0.5.1-0.20250129204831-17deaa376556/go.mod h1:6egBIaHzwbzRHQxkkmHBkBRLHWrJ3eH1EhVuz5Z3dhU=
111111
github.com/openstack-k8s-operators/horizon-operator/api v0.5.1-0.20250203063315-e5e6165191f8 h1:A5+uQ6KW8PQVlunD/tbrEaZRFeUQMOICVSE/ZaNry7g=
112112
github.com/openstack-k8s-operators/horizon-operator/api v0.5.1-0.20250203063315-e5e6165191f8/go.mod h1:UGkrLEcGjc+q4tbUT00q4dHOMpcTaMqrs3CTXpetuyc=
113-
github.com/openstack-k8s-operators/infra-operator/apis v0.5.1-0.20250204091142-ae8379c31edb h1:SedlzLahRyzctVTXzVrpmjui78A7Z0g8V1cmPBoQzYY=
114-
github.com/openstack-k8s-operators/infra-operator/apis v0.5.1-0.20250204091142-ae8379c31edb/go.mod h1:TDaE7BVQvJwJGFm33R6xcPTeF8LKAnMh+a1ho+YqJHs=
113+
github.com/openstack-k8s-operators/infra-operator/apis v0.5.1-0.20250213075932-926b10c39e96 h1:5ITGm8DPObxa5joxSAMnztcnIQm7CJcj/+d7unz3Nto=
114+
github.com/openstack-k8s-operators/infra-operator/apis v0.5.1-0.20250213075932-926b10c39e96/go.mod h1:kkjcOSZ7jkHbVzxJd0nDQzjB+vqafuAMgSf7AnEXydw=
115115
github.com/openstack-k8s-operators/ironic-operator/api v0.5.1-0.20250107140737-1d83138767c2 h1:nFbSN0goC+CWeHa7oRrOD+jOUmVNc+Nn/tGgjtCOjag=
116116
github.com/openstack-k8s-operators/ironic-operator/api v0.5.1-0.20250107140737-1d83138767c2/go.mod h1:E2y4HZ0WVbDfvf+VBCtA+uy7c8uuR54ED8w5YvlHbYo=
117117
github.com/openstack-k8s-operators/keystone-operator/api v0.5.1-0.20250203105048-182afa0c45d8 h1:HIL7hIXZPuwMVr46jMoLxHToBHAplGWwOtR4FlMrCUU=

hack/export_operator_related_images.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export RELATED_IMAGE_DESIGNATE_OPERATOR_MANAGER_IMAGE_URL=quay.io/openstack-k8s-
66
export RELATED_IMAGE_GLANCE_OPERATOR_MANAGER_IMAGE_URL=quay.io/openstack-k8s-operators/glance-operator@sha256:3376b637ae0249423be1a8b539b7e7c54a285194fb8a9095062f24a65600c3d5
77
export RELATED_IMAGE_HEAT_OPERATOR_MANAGER_IMAGE_URL=quay.io/openstack-k8s-operators/heat-operator@sha256:aa30e36c7cf183f3aa63e90794ea6cb2d191c29cf6825bba19a19e855a8360ed
88
export RELATED_IMAGE_HORIZON_OPERATOR_MANAGER_IMAGE_URL=quay.io/openstack-k8s-operators/horizon-operator@sha256:a7fda492ec0dfd798bf1315b6ee828c4febe898aa918b6b0107664d6dcbd6a81
9-
export RELATED_IMAGE_INFRA_OPERATOR_MANAGER_IMAGE_URL=quay.io/openstack-k8s-operators/infra-operator@sha256:73741d7f4e713753311001cbea234ad77c70e834e7c2b03eec2ca37c372a9fcb
9+
export RELATED_IMAGE_INFRA_OPERATOR_MANAGER_IMAGE_URL=quay.io/openstack-k8s-operators/infra-operator@sha256:2fdcd0eb58650951eb2a2662b89a54ccc7b0dbe981d2f88fb35cb04e24285748
1010
export RELATED_IMAGE_IRONIC_OPERATOR_MANAGER_IMAGE_URL=quay.io/openstack-k8s-operators/ironic-operator@sha256:bad53185041f6003f3f573df9bbf248aa1c47a1060abcb5410201d74bcb08829
1111
export RELATED_IMAGE_KEYSTONE_OPERATOR_MANAGER_IMAGE_URL=quay.io/openstack-k8s-operators/keystone-operator@sha256:f5a15209a080f124c2ab9febb2ad9b65af1422d0cd066ec8c6a6abd8e1fd0e84
1212
export RELATED_IMAGE_MANILA_OPERATOR_MANAGER_IMAGE_URL=quay.io/openstack-k8s-operators/manila-operator@sha256:72a1bef77126188f623eeae40b07359f111d720585e13c991c576c36ef5da3a7

0 commit comments

Comments
 (0)