namespacecheck

command
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

README

namespacecheck

namespacecheck checks whether a given Faros setup is valid within the ownership rules added in v0.7. See the migration to v7.0 docs for more information

To run the tool, grab 3 files off your kubernetes cluster

# kubectl get gittracks --all-namespaces -o json > gt.json
# kubectl get gittrackobjects --all-namespaces -o json > gto.json
# kubectl get clustergittrackobjects -all-namespaces -o json > cgto.json

Then run

go run github.com/pusher/faros/hack/namespacecheck --gt-file gt.json --gto-file gto.json --cgto-file cgto.json

The tool will report back if you have any cross namespace ownership and write a file containing any new clustergittracks that will need to be created

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL