Skip to content

Commit 366054c

Browse files
committed
fix: update AgentRuntime CRD to remove default 8h maxSessionDuration
Remove the 'default: 8h' value and drop maxSessionDuration from the required list in the generated CRD YAML. This matches the updated kubebuilder markers in agent_type.go where +kubebuilder:default was removed and the field marked as +optional. Fixes codegen check failure in PR volcano-sh#360.
1 parent 89eed8a commit 366054c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

manifests/charts/base/crds/runtime.agentcube.volcano.sh_agentruntimes.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,11 @@ spec:
4444
description: Spec defines the desired state of the AgentRuntime.
4545
properties:
4646
maxSessionDuration:
47-
default: 8h
4847
description: |-
4948
MaxSessionDuration describes the maximum duration for a session.
5049
After this duration, the session will be terminated no matter active or inactive.
50+
When omitted, sessions have no maximum duration and will only be cleaned up
51+
by idle timeout (SessionTimeout).
5152
type: string
5253
podTemplate:
5354
description: PodTemplate describes the template that will be used
@@ -8504,7 +8505,6 @@ spec:
85048505
type: object
85058506
type: array
85068507
required:
8507-
- maxSessionDuration
85088508
- podTemplate
85098509
- sessionTimeout
85108510
- targetPort

0 commit comments

Comments
 (0)