Skip to content

Commit 450820a

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents 37998f2 + b5c6f40 commit 450820a

File tree

1 file changed

+1
-70
lines changed

1 file changed

+1
-70
lines changed

tests/common/resources/custom-nb-small.yaml

Lines changed: 1 addition & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@ apiVersion: kubeflow.org/v1
99
kind: Notebook
1010
metadata:
1111
annotations:
12-
notebooks.opendatahub.io/inject-oauth: "true"
12+
notebooks.opendatahub.io/inject-auth: "true"
1313
notebooks.opendatahub.io/last-image-selection: codeflare-notebook:latest
1414
notebooks.opendatahub.io/last-size-selection: {{.SizeSelection}}
15-
notebooks.opendatahub.io/oauth-logout-url: https://odh-dashboard-{{.OpenDataHubNamespace}}.{{.IngressDomain}}/notebookController/kube-3aadmin/home
1615
opendatahub.io/link: https://jupyter-nb-kube-3aadmin-{{.Namespace}}.{{.IngressDomain}}/notebook/{{.Namespace}}/jupyter-nb-kube-3aadmin
1716
opendatahub.io/username: kube:admin
1817
generation: 1
@@ -92,80 +91,12 @@ spec:
9291
- mountPath: /opt/app-root/notebooks
9392
name: {{.NotebookConfigMapName}}
9493
workingDir: /opt/app-root/src
95-
- args:
96-
- --provider=openshift
97-
- --https-address=:8443
98-
- --http-address=
99-
- --openshift-service-account=jupyter-nb-kube-3aadmin
100-
- --cookie-secret-file=/etc/oauth/config/cookie_secret
101-
- --cookie-expire=24h0m0s
102-
- --tls-cert=/etc/tls/private/tls.crt
103-
- --tls-key=/etc/tls/private/tls.key
104-
- --upstream=http://localhost:8888
105-
- --upstream-ca=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt
106-
- --skip-auth-regex=^(?:/notebook/$(NAMESPACE)/jupyter-nb-kube-3aadmin)?/api$
107-
- --email-domain=*
108-
- --skip-provider-button
109-
- --openshift-sar={"verb":"get","resource":"notebooks","resourceAPIGroup":"kubeflow.org","resourceName":"jupyter-nb-kube-3aadmin","namespace":"$(NAMESPACE)"}
110-
- --logout-url=https://odh-dashboard-{{.OpenDataHubNamespace}}.{{.IngressDomain}}/notebookController/kube-3aadmin/home
111-
env:
112-
- name: NAMESPACE
113-
valueFrom:
114-
fieldRef:
115-
fieldPath: metadata.namespace
116-
image: registry.redhat.io/openshift4/ose-oauth-proxy:v4.10
117-
imagePullPolicy: Always
118-
livenessProbe:
119-
failureThreshold: 3
120-
httpGet:
121-
path: /oauth/healthz
122-
port: oauth-proxy
123-
scheme: HTTPS
124-
initialDelaySeconds: 30
125-
periodSeconds: 5
126-
successThreshold: 1
127-
timeoutSeconds: 1
128-
name: oauth-proxy
129-
ports:
130-
- containerPort: 8443
131-
name: oauth-proxy
132-
protocol: TCP
133-
readinessProbe:
134-
failureThreshold: 3
135-
httpGet:
136-
path: /oauth/healthz
137-
port: oauth-proxy
138-
scheme: HTTPS
139-
initialDelaySeconds: 5
140-
periodSeconds: 5
141-
successThreshold: 1
142-
timeoutSeconds: 1
143-
resources:
144-
limits:
145-
cpu: 100m
146-
memory: 64Mi
147-
requests:
148-
cpu: 100m
149-
memory: 64Mi
150-
volumeMounts:
151-
- mountPath: /etc/oauth/config
152-
name: oauth-config
153-
- mountPath: /etc/tls/private
154-
name: tls-certificates
15594
enableServiceLinks: false
15695
serviceAccountName: jupyter-nb-kube-3aadmin
15796
volumes:
15897
- name: jupyterhub-nb-kube-3aadmin-pvc
15998
persistentVolumeClaim:
16099
claimName: {{.NotebookPVC}}
161-
- name: oauth-config
162-
secret:
163-
defaultMode: 420
164-
secretName: jupyter-nb-kube-3aadmin-oauth-config
165-
- name: tls-certificates
166-
secret:
167-
defaultMode: 420
168-
secretName: jupyter-nb-kube-3aadmin-tls
169100
- name: {{.NotebookConfigMapName}}
170101
configMap:
171102
name: {{.NotebookConfigMapName}}

0 commit comments

Comments
 (0)