Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
7b1ba187
Commit
7b1ba187
authored
Jun 29, 2018
by
Cao Shufeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused variable in openapi-spec script
parent
f0c89c00
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
update-openapi-spec.sh
hack/update-openapi-spec.sh
+0
-2
verify-openapi-spec.sh
hack/verify-openapi-spec.sh
+0
-2
No files found.
hack/update-openapi-spec.sh
View file @
7b1ba187
...
@@ -46,8 +46,6 @@ trap cleanup EXIT SIGINT
...
@@ -46,8 +46,6 @@ trap cleanup EXIT SIGINT
kube::golang::setup_env
kube::golang::setup_env
apiserver
=
$(
kube::util::find-binary
"kube-apiserver"
)
TMP_DIR
=
$(
mktemp
-d
/tmp/update-openapi-spec.XXXX
)
TMP_DIR
=
$(
mktemp
-d
/tmp/update-openapi-spec.XXXX
)
ETCD_HOST
=
${
ETCD_HOST
:-
127
.0.0.1
}
ETCD_HOST
=
${
ETCD_HOST
:-
127
.0.0.1
}
ETCD_PORT
=
${
ETCD_PORT
:-
2379
}
ETCD_PORT
=
${
ETCD_PORT
:-
2379
}
...
...
hack/verify-openapi-spec.sh
View file @
7b1ba187
...
@@ -26,8 +26,6 @@ kube::etcd::install
...
@@ -26,8 +26,6 @@ kube::etcd::install
make
-C
"
${
KUBE_ROOT
}
"
WHAT
=
cmd/kube-apiserver
make
-C
"
${
KUBE_ROOT
}
"
WHAT
=
cmd/kube-apiserver
apiserver
=
$(
kube::util::find-binary
"kube-apiserver"
)
SPECROOT
=
"
${
KUBE_ROOT
}
/api/openapi-spec"
SPECROOT
=
"
${
KUBE_ROOT
}
/api/openapi-spec"
TMP_SPECROOT
=
"
${
KUBE_ROOT
}
/_tmp/openapi-spec"
TMP_SPECROOT
=
"
${
KUBE_ROOT
}
/_tmp/openapi-spec"
_tmp
=
"
${
KUBE_ROOT
}
/_tmp"
_tmp
=
"
${
KUBE_ROOT
}
/_tmp"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment