Skip to content

Support IntOrString schema for Kubernetes schema match#408

Merged
tylergu merged 1 commit into
mainfrom
support-int-or-string
Dec 9, 2025
Merged

Support IntOrString schema for Kubernetes schema match#408
tylergu merged 1 commit into
mainfrom
support-int-or-string

Conversation

@tylergu

@tylergu tylergu commented Dec 9, 2025

Copy link
Copy Markdown
Member
  • Modified the Kubernetes Schema matcher to support the IntOrString. It is parsed into a KubernetesStringSchema, and will match either IntSchema or StringSchema if the ["format"] == "int-or-string"
  • Added tests from the vreplicaset controller CRD for schema match

Signed-off-by: Tyler Gu <jiaweig3@illinois.edu>
@github-actions

github-actions Bot commented Dec 9, 2025

Copy link
Copy Markdown
Contributor

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  acto/input
  k8s_schemas.py
  acto/schema
  schema.py 27
Project Total  

This report was generated by python-coverage-comment-action

@tylergu tylergu merged commit 91b95aa into main Dec 9, 2025
4 checks passed
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