Skip to content

Commit

Permalink
Adding new schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
Yann Hamon committed Aug 11, 2021
1 parent f9025a6 commit 77589c3
Show file tree
Hide file tree
Showing 156 changed files with 216 additions and 27,577 deletions.
658 changes: 0 additions & 658 deletions master-local/_definitions.json

Large diffs are not rendered by default.

17 changes: 0 additions & 17 deletions master-local/aggregationrule-rbac-v1alpha1.json

This file was deleted.

60 changes: 0 additions & 60 deletions master-local/all.json
Original file line number Diff line number Diff line change
Expand Up @@ -1317,54 +1317,12 @@
{
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1.Subject"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1alpha1.AggregationRule"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRoleBinding"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRoleBindingList"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRoleList"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1alpha1.PolicyRule"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1alpha1.Role"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1alpha1.RoleBinding"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1alpha1.RoleBindingList"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1alpha1.RoleList"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1alpha1.RoleRef"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1alpha1.Subject"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.scheduling.v1.PriorityClass"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.scheduling.v1.PriorityClassList"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClassList"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.storage.v1.CSIDriver"
},
Expand Down Expand Up @@ -1422,24 +1380,6 @@
{
"$ref": "_definitions.json#/definitions/io.k8s.api.storage.v1alpha1.CSIStorageCapacityList"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttachment"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttachmentList"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttachmentSource"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttachmentSpec"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttachmentStatus"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.storage.v1alpha1.VolumeError"
},
{
"$ref": "_definitions.json#/definitions/io.k8s.api.storage.v1beta1.CSIStorageCapacity"
},
Expand Down
52 changes: 0 additions & 52 deletions master-local/clusterrole-rbac-v1alpha1.json

This file was deleted.

8 changes: 4 additions & 4 deletions master-local/clusterrole.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.22.",
"description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.",
"properties": {
"aggregationRule": {
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1alpha1.AggregationRule",
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1.AggregationRule",
"description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller."
},
"apiVersion": {
Expand All @@ -29,7 +29,7 @@
"rules": {
"description": "Rules holds all the PolicyRules for this ClusterRole",
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1alpha1.PolicyRule"
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1.PolicyRule"
},
"type": [
"array",
Expand All @@ -42,7 +42,7 @@
{
"group": "rbac.authorization.k8s.io",
"kind": "ClusterRole",
"version": "v1alpha1"
"version": "v1"
}
],
"$schema": "http://json-schema.org/schema#"
Expand Down
55 changes: 0 additions & 55 deletions master-local/clusterrolebinding-rbac-v1alpha1.json

This file was deleted.

8 changes: 4 additions & 4 deletions master-local/clusterrolebinding.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.22.",
"description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.",
"properties": {
"apiVersion": {
"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/sig-architecture/api-conventions.md#resources",
Expand All @@ -23,13 +23,13 @@
"description": "Standard object's metadata."
},
"roleRef": {
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1alpha1.RoleRef",
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1.RoleRef",
"description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error."
},
"subjects": {
"description": "Subjects holds references to the objects the role applies to.",
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1alpha1.Subject"
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1.Subject"
},
"type": [
"array",
Expand All @@ -45,7 +45,7 @@
{
"group": "rbac.authorization.k8s.io",
"kind": "ClusterRoleBinding",
"version": "v1alpha1"
"version": "v1"
}
],
"$schema": "http://json-schema.org/schema#"
Expand Down
51 changes: 0 additions & 51 deletions master-local/clusterrolebindinglist-rbac-v1alpha1.json

This file was deleted.

6 changes: 3 additions & 3 deletions master-local/clusterrolebindinglist.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"description": "ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindings, and will no longer be served in v1.22.",
"description": "ClusterRoleBindingList is a collection of ClusterRoleBindings",
"properties": {
"apiVersion": {
"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/sig-architecture/api-conventions.md#resources",
Expand All @@ -11,7 +11,7 @@
"items": {
"description": "Items is a list of ClusterRoleBindings",
"items": {
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRoleBinding"
"$ref": "_definitions.json#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding"
},
"type": [
"array",
Expand Down Expand Up @@ -41,7 +41,7 @@
{
"group": "rbac.authorization.k8s.io",
"kind": "ClusterRoleBindingList",
"version": "v1alpha1"
"version": "v1"
}
],
"$schema": "http://json-schema.org/schema#"
Expand Down
Loading

0 comments on commit 77589c3

Please sign in to comment.