Skip to content

Commit fd1bafb

Browse files
authored
Merge pull request ceph#59843 from adk3798/cephadm-oauth2-image-variable-name
mgr/cephadm: update oauth2 proxy image variable name Reviewed-by: Anthony D'Atri <[email protected]> Reviewed-by: Guillaume Abrioux <[email protected]> Reviewed-by: Ken Dreyer <[email protected]>
2 parents d87e219 + 921d92f commit fd1bafb

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

doc/cephadm/services/oauth2-proxy.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,17 +119,17 @@ A non-exhaustive list of important limitations for the `oauth2-proxy` service fo
119119
* Proper configuration of the IDP and OAuth2 parameters is crucial to avoid authentication failures. Misconfigurations can lead to access issues.
120120

121121

122-
Default images
123-
~~~~~~~~~~~~~~
122+
Container images
123+
~~~~~~~~~~~~~~~~
124124

125-
The `oauth2-proxy` service typically uses the default container image:
125+
The container image the `oauth2-proxy` service will use can be found by running:
126126

127127
::
128128

129-
DEFAULT_OAUTH2_PROXY = 'quay.io/oauth2-proxy/oauth2-proxy:v7.2.0'
129+
ceph config get mgr mgr/cephadm/container_image_oauth2_proxy
130130

131-
Admins can specify the image to be used by changing the `container_image_oauth2_proxy` cephadm module option. If there were already running daemon(s),
132-
you must redeploy the daemon(s) to apply the new image.
131+
Admins can specify a custom image to be used by changing the `container_image_oauth2_proxy` cephadm module option.
132+
If there were already running daemon(s), you must also redeploy the daemon(s) for them to use the new image.
133133

134134
For example:
135135

src/pybind/mgr/cephadm/module.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def os_exit_noop(status: int) -> None:
145145
DEFAULT_JAEGER_COLLECTOR_IMAGE = 'quay.io/jaegertracing/jaeger-collector:1.29'
146146
DEFAULT_JAEGER_AGENT_IMAGE = 'quay.io/jaegertracing/jaeger-agent:1.29'
147147
DEFAULT_NGINX_IMAGE = 'quay.io/ceph/nginx:sclorg-nginx-126'
148-
DEFAULT_OAUTH2_PROXY = 'quay.io/oauth2-proxy/oauth2-proxy:v7.6.0'
148+
DEFAULT_OAUTH2_PROXY_IMAGE = 'quay.io/oauth2-proxy/oauth2-proxy:v7.6.0'
149149
DEFAULT_JAEGER_QUERY_IMAGE = 'quay.io/jaegertracing/jaeger-query:1.29'
150150
DEFAULT_SAMBA_IMAGE = 'quay.io/samba.org/samba-server:devbuilds-centos-amd64'
151151
DEFAULT_SAMBA_METRICS_IMAGE = 'quay.io/samba.org/samba-metrics:latest'
@@ -292,7 +292,7 @@ class CephadmOrchestrator(orchestrator.Orchestrator, MgrModule,
292292
),
293293
Option(
294294
'container_image_oauth2_proxy',
295-
default=DEFAULT_OAUTH2_PROXY,
295+
default=DEFAULT_OAUTH2_PROXY_IMAGE,
296296
desc='oauth2-proxy container image',
297297
),
298298
Option(

0 commit comments

Comments
 (0)