Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (36 sloc) 1.69 KB
{
"x-kubernetes-group-version-kind": [
{
"kind": "NetworkPolicy",
"version": "v1beta1",
"group": "extensions"
}
],
"$schema": "http://json-schema.org/schema#",
"type": "object",
"description": "NetworkPolicy describes what network traffic is allowed for a set of Pods",
"properties": {
"kind": {
"type": [
"string",
"null"
],
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
},
"spec": {
"description": "Specification of the desired behavior for this NetworkPolicy.",
"$ref": "https://raw.githubusercontent.com/garethr/kubernetes-json-schema/master/v1.7.8/_definitions.json#/definitions/io.k8s.kubernetes.pkg.apis.extensions.v1beta1.NetworkPolicySpec"
},
"apiVersion": {
"type": [
"string",
"null"
],
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources"
},
"metadata": {
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
"$ref": "https://raw.githubusercontent.com/garethr/kubernetes-json-schema/master/v1.7.8/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"
}
}
}
You can’t perform that action at this time.