UNPKG

kubernetes-models

Version:
21 lines (20 loc) 454 B
import { register } from "@kubernetes-models/validate"; const schema = { "properties": { "audience": { "type": "string" }, "expirationSeconds": { "format": "int64", "type": "integer", "nullable": true } }, "required": [ "audience" ], "type": "object" }; export function addSchema() { register("io.k8s.api.storage.v1.TokenRequest", schema); }