Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
kube-bench
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
aquasecurity
kube-bench
Commits
c4be4a12
Commit
c4be4a12
authored
7 years ago
by
Liz Rice
Browse files
Options
Downloads
Patches
Plain Diff
Remove installation flag and some other unused variables
parent
de128299
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmd/root.go
+0
-14
0 additions, 14 deletions
cmd/root.go
with
0 additions
and
14 deletions
cmd/root.go
+
0
−
14
View file @
c4be4a12
...
@@ -34,14 +34,6 @@ var (
...
@@ -34,14 +34,6 @@ var (
masterFile
string
masterFile
string
nodeFile
string
nodeFile
string
federatedFile
string
federatedFile
string
loud
bool
kubeConfDir
string
etcdConfDir
string
flanneldConfDir
string
installation
string
)
)
// RootCmd represents the base command when called without any subcommands
// RootCmd represents the base command when called without any subcommands
...
@@ -67,12 +59,6 @@ func init() {
...
@@ -67,12 +59,6 @@ func init() {
cobra
.
OnInitialize
(
initConfig
)
cobra
.
OnInitialize
(
initConfig
)
RootCmd
.
PersistentFlags
()
.
BoolVar
(
&
jsonFmt
,
"json"
,
false
,
"Prints the results as JSON"
)
RootCmd
.
PersistentFlags
()
.
BoolVar
(
&
jsonFmt
,
"json"
,
false
,
"Prints the results as JSON"
)
RootCmd
.
PersistentFlags
()
.
StringVar
(
&
installation
,
"installation"
,
"default"
,
"Specify how kubernetes cluster was installed. Possible values are default,hyperkube,kops,kubeadm"
,
)
RootCmd
.
PersistentFlags
()
.
StringVarP
(
RootCmd
.
PersistentFlags
()
.
StringVarP
(
&
checkList
,
&
checkList
,
"check"
,
"check"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment