You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/renku_data_services/notebooks/cr_amalthea_session.py
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# generated by datamodel-codegen:
2
2
# filename: <stdin>
3
-
# timestamp: 2024-10-24T01:41:50+00:00
3
+
# timestamp: 2024-11-05T01:48:51+00:00
4
4
5
5
from __future__ importannotations
6
6
@@ -2487,6 +2487,10 @@ class Ingress(BaseCRD):
2487
2487
annotations: Optional[Dict[str, str]] =None
2488
2488
host: str
2489
2489
ingressClassName: Optional[str] =None
2490
+
pathPrefix: str=Field(
2491
+
default="/",
2492
+
description="The path prefix that will be used in the ingress. If this is explicitly set, then the\nurlPath value should be a subpath of this value.",
2493
+
)
2490
2494
tlsSecret: Optional[TlsSecret] =Field(
2491
2495
default=None,
2492
2496
description="The name of the TLS secret, same as what is specified in a regular Kubernetes Ingress.",
@@ -3116,7 +3120,7 @@ class Session(BaseCRD):
3116
3120
)
3117
3121
image: str
3118
3122
port: int=Field(
3119
-
...,
3123
+
default=8000,
3120
3124
description="The TCP port on the pod where the session can be accessed.\nIf the session has authentication enabled then the ingress and service will point to the authentication container\nand the authentication proxy container will proxy to this port. If authentication is disabled then the ingress and service\nroute directly to this port. Note that renku reserves the highest TCP value 65535 to run the authentication proxy.",
3121
3125
gt=0,
3122
3126
lt=65535,
@@ -3137,7 +3141,7 @@ class Session(BaseCRD):
3137
3141
storage: Storage= {}
3138
3142
urlPath: str=Field(
3139
3143
default="/",
3140
-
description="The path where the session can be accessed. If an ingress is enabled then this will be\nthe path prefix for the ingress.",
3144
+
description="The path where the session can be accessed, if an ingress is used this should be a subpath\nof the ingress.pathPrefix field. For example if the pathPrefix is /foo, this should be /foo or /foo/bar,\nbut it cannot be /baz.",
3141
3145
)
3142
3146
workingDir: Optional[str] =Field(
3143
3147
default=None,
@@ -3278,6 +3282,10 @@ class Status(BaseCRD):
3278
3282
default=None,
3279
3283
description="Counts of the total and ready containers, can represent either regular or init containers.",
3280
3284
)
3285
+
error: Optional[str] =Field(
3286
+
default=None,
3287
+
description="If the state is failed then the message will contain information about what went wrong, otherwise it is empty",
0 commit comments