kubernetes-models
Version:
26 lines (25 loc) • 630 B
JavaScript
import { register } from "@kubernetes-models/validate";
const schema = {
"properties": {
"gmsaCredentialSpec": {
"type": "string",
"nullable": true
},
"gmsaCredentialSpecName": {
"type": "string",
"nullable": true
},
"hostProcess": {
"type": "boolean",
"nullable": true
},
"runAsUserName": {
"type": "string",
"nullable": true
}
},
"type": "object"
};
export function addSchema() {
register("io.k8s.api.core.v1.WindowsSecurityContextOptions", schema);
}