Skip to content

Commit 3ab60fe

Browse files
committed
updated with latest k8s versions
1 parent 27cc8de commit 3ab60fe

File tree

20,140 files changed

+5780624
-137328
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

20,140 files changed

+5780624
-137328
lines changed

build.ps1

+22-4
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,30 @@
99
$repo="garethr/kubernetes-json-schema"
1010

1111
$arr = @("master",
12+
"v1.9.0",
13+
"v1.8.5",
14+
"v1.8.4",
15+
"v1.8.3",
16+
"v1.8.2",
17+
"v1.8.1",
18+
"v1.8.0",
19+
"v1.7.11",
20+
"v1.7.10",
21+
"v1.7.9",
22+
"v1.7.8",
23+
"v1.7.7",
24+
"v1.7.6",
1225
"v1.7.5",
1326
"v1.7.4",
1427
"v1.7.3",
1528
"v1.7.2",
1629
"v1.7.1",
1730
"v1.7.0",
31+
"v1.6.13",
32+
"v1.6.12",
33+
"v1.6.11",
34+
"v1.6.10",
35+
"v1.6.9",
1836
"v1.6.8",
1937
"v1.6.7",
2038
"v1.6.6",
@@ -37,10 +55,10 @@ foreach($version in $arr) {
3755
$schema="https://raw.githubusercontent.com/kubernetes/kubernetes/${version}/api/openapi-spec/swagger.json"
3856
$prefix="https://raw.githubusercontent.com/${repo}/master/${version}/_definitions.json"
3957

40-
docker run --rm -v ${PWD}:/out garethr/openapi2jsonschema -o "$version-standalone-strict" --kubernetes --stand-alone --strict "$schema"
41-
docker run --rm -v ${PWD}:/out garethr/openapi2jsonschema -o "$version-standalone" --kubernetes --stand-alone "$schema"
42-
docker run --rm -v ${PWD}:/out garethr/openapi2jsonschema -o "$version-local" --kubernetes "$schema"
43-
docker run --rm -v ${PWD}:/out garethr/openapi2jsonschema -o "$version" --kubernetes --prefix "$prefix" "$schema"
58+
#docker run --rm -v ${PWD}:/out garethr/openapi2jsonschema -o "$version-standalone-strict" --kubernetes --stand-alone --strict "$schema"
59+
#docker run --rm -v ${PWD}:/out garethr/openapi2jsonschema -o "$version-standalone" --kubernetes --stand-alone "$schema"
60+
#docker run --rm -v ${PWD}:/out garethr/openapi2jsonschema -o "$version-local" --kubernetes "$schema"
61+
#docker run --rm -v ${PWD}:/out garethr/openapi2jsonschema -o "$version" --kubernetes --prefix "$prefix" "$schema"
4462
dos2unix.exe "$version-standalone-strict/*"
4563
dos2unix.exe "$version-standalone/*"
4664
dos2unix.exe "$version-local/*"

build.sh

+16
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,29 @@
1010
REPO="garethr/kubernetes-json-schema"
1111

1212
declare -a arr=(master
13+
v1.8.5
14+
v1.8.4
15+
v1.8.3
16+
v1.8.2
1317
v1.8.1
18+
v1.8.0
19+
v1.7.11
20+
v1.7.10
1421
v1.7.9
22+
v1.7.8
23+
v1.7.7
24+
v1.7.6
25+
v1.7.5
26+
v1.7.4
1527
v1.7.3
1628
v1.7.2
1729
v1.7.1
1830
v1.7.0
31+
v1.6.13
1932
v1.6.12
33+
v1.6.11
34+
v1.6.10
35+
v1.6.9
2036
v1.6.8
2137
v1.6.7
2238
v1.6.6

master-local/_definitions.json

+2,630-1,080
Large diffs are not rendered by default.

master-local/aggregationrule.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"$schema": "http://json-schema.org/schema#",
3+
"type": "object",
4+
"description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole",
5+
"properties": {
6+
"clusterRoleSelectors": {
7+
"items": {
8+
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"
9+
},
10+
"type": "array",
11+
"description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added"
12+
}
13+
}
14+
}

0 commit comments

Comments
 (0)