Skip to content

ci: fix commentstart, conditions, defaultorrequired, optionalorrequired and defaults findings in api types - #1314

Open
Mesut Oezdil (mesutoezdil) wants to merge 1 commit into
agent-substrate:mainfrom
mesutoezdil:feat/kube-api-linter-fix-doc-findings
Open

ci: fix commentstart, conditions, defaultorrequired, optionalorrequired and defaults findings in api types#1314
Mesut Oezdil (mesutoezdil) wants to merge 1 commit into
agent-substrate:mainfrom
mesutoezdil:feat/kube-api-linter-fix-doc-findings

Conversation

@mesutoezdil

@mesutoezdil Mesut Oezdil (mesutoezdil) commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Fixes the commentstart, defaultorrequired, and optionalorrequired findings on CSIDriverConfig, SandboxConfig, and WorkerPool: field godocs now start with the serialized field name, SandboxConfigSpec.SandboxClass had both a default and required marker and is now optional with omitempty, and the previously unmarked metadata/spec/status fields got their +optional/+required markers. Also adds WorkerPoolSpec.TerminationGracePeriodSeconds so worker pods can get a longer SIGTERM-to-SIGKILL window than the pod default, wired into workerpool_apply.go. Generated CRDs and deepcopy regenerated to match. Marking CSIDriverConfig.Spec as +required surfaced a new requiredfields finding on that field, excluded alongside the existing SandboxConfig.Spec one pending issue #207.

@mesutoezdil
Mesut Oezdil (mesutoezdil) force-pushed the feat/kube-api-linter-fix-doc-findings branch from a339cf1 to a63855d Compare September 3, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant