Skip to content

Commit

Permalink
Add clusterRead to aggregator permissions help
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Yunt <andrew.yunt@gmail.com>
  • Loading branch information
andrewyunt authored and johnSchnake committed Jun 10, 2022
1 parent 6ef1eae commit c156860
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/sonobuoy/app/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func AddSecurityContextMode(mode *string, flags *pflag.FlagSet) {
func AddAggregatorPermissionsFlag(mode *string, flags *pflag.FlagSet) {
flags.StringVar(
mode, aggregatorPermissionsFlag, "clusterAdmin",
"Type of aggregator permission to use in the cluster. Allowable values are [namespaced, clusterAdmin]",
"Type of aggregator permission to use in the cluster. Allowable values are [namespaceAdmin, clusterRead, clusterAdmin]",
)
}

Expand Down
2 changes: 1 addition & 1 deletion test/integration/testdata/gen-rerunfailed-missing.golden
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Available Commands:

Flags:
--aggregator-node-selector nodeSelectors Node selectors to add to the aggregator. Values can be given multiple times and are in the form key:value (default map[])
--aggregator-permissions string Type of aggregator permission to use in the cluster. Allowable values are [namespaced, clusterAdmin] (default "clusterAdmin")
--aggregator-permissions string Type of aggregator permission to use in the cluster. Allowable values are [namespaceAdmin, clusterRead, clusterAdmin] (default "clusterAdmin")
--config Sonobuoy config Path to a sonobuoy configuration JSON file.
--context string Context in the kubeconfig to use.
--dns-namespace string The namespace to check for DNS pods during preflight checks. (default "kube-system")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Available Commands:

Flags:
--aggregator-node-selector nodeSelectors Node selectors to add to the aggregator. Values can be given multiple times and are in the form key:value (default map[])
--aggregator-permissions string Type of aggregator permission to use in the cluster. Allowable values are [namespaced, clusterAdmin] (default "clusterAdmin")
--aggregator-permissions string Type of aggregator permission to use in the cluster. Allowable values are [namespaceAdmin, clusterRead, clusterAdmin] (default "clusterAdmin")
--config Sonobuoy config Path to a sonobuoy configuration JSON file.
--context string Context in the kubeconfig to use.
--dns-namespace string The namespace to check for DNS pods during preflight checks. (default "kube-system")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Available Commands:

Flags:
--aggregator-node-selector nodeSelectors Node selectors to add to the aggregator. Values can be given multiple times and are in the form key:value (default map[])
--aggregator-permissions string Type of aggregator permission to use in the cluster. Allowable values are [namespaced, clusterAdmin] (default "clusterAdmin")
--aggregator-permissions string Type of aggregator permission to use in the cluster. Allowable values are [namespaceAdmin, clusterRead, clusterAdmin] (default "clusterAdmin")
--config Sonobuoy config Path to a sonobuoy configuration JSON file.
--context string Context in the kubeconfig to use.
--dns-namespace string The namespace to check for DNS pods during preflight checks. (default "kube-system")
Expand Down

0 comments on commit c156860

Please sign in to comment.