Skip to content

Commit 4b8f389

Browse files
committed
test(workbenches): update of the Notebook template removing auth container
The auth container (kube-rbac-proxy container) is injected by the odh-notebook-controller anyway, so we can (and probably should) not keep it as part of our template in the tests.
1 parent b0f23cd commit 4b8f389

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

tests/workbenches/conftest.py

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -142,49 +142,6 @@ def default_notebook(
142142
],
143143
"workingDir": "/opt/app-root/src",
144144
},
145-
{
146-
"resources": {
147-
"limits": {"cpu": "100m", "memory": "64Mi"},
148-
"requests": {"cpu": "100m", "memory": "64Mi"},
149-
},
150-
"readinessProbe": {
151-
"failureThreshold": 3,
152-
"httpGet": {"path": "/healthz", "port": 8444, "scheme": "HTTPS"},
153-
"initialDelaySeconds": 5,
154-
"periodSeconds": 5,
155-
"successThreshold": 1,
156-
"timeoutSeconds": 1,
157-
},
158-
"name": "kube-rbac-proxy",
159-
"livenessProbe": {
160-
"failureThreshold": 3,
161-
"httpGet": {"path": "/healthz", "port": 8444, "scheme": "HTTPS"},
162-
"initialDelaySeconds": 30,
163-
"periodSeconds": 5,
164-
"successThreshold": 1,
165-
"timeoutSeconds": 1,
166-
},
167-
"ports": [{"containerPort": 8443, "name": "kube-rbac-proxy", "protocol": "TCP"}],
168-
"imagePullPolicy": "Always",
169-
"volumeMounts": [
170-
{"mountPath": "/etc/kube-rbac-proxy", "name": "kube-rbac-proxy-config"},
171-
{"mountPath": "/etc/tls/private", "name": "kube-rbac-proxy-tls-certificates"},
172-
],
173-
"image": "quay.io/rhoai/odh-kube-auth-proxy-rhel9:rhoai-3.0",
174-
"args": [
175-
"--secure-listen-address=0.0.0.0:8443",
176-
"--upstream=http://127.0.0.1:8888/",
177-
"--logtostderr=true",
178-
"--v=10",
179-
"--proxy-endpoints-port=8444",
180-
"--config-file=/etc/kube-rbac-proxy/config-file.yaml",
181-
"--tls-cert-file=/etc/tls/private/tls.crt",
182-
"--tls-private-key-file=/etc/tls/private/tls.key",
183-
"--auth-header-fields-enabled=true",
184-
"--auth-header-user-field-name=X-Auth-Request-User",
185-
"--auth-header-groups-field-name=X-Auth-Request-Groups",
186-
],
187-
},
188145
],
189146
"enableServiceLinks": False,
190147
"serviceAccountName": name,

0 commit comments

Comments
 (0)