-
- Downloads
Allow disabling access to the DB and the Teams API.
Command-line options --nodatabaseaccess and --noteamsapi disable all teams api interaction and access to the Postgres database. This is useful for debugging purposes when the operator runs out of cluster (with --outofcluster flag). The same effect can be achieved by setting enable_db_access and/or enable_teams_api to false.
Showing
- cmd/main.go 10 additions, 0 deletionscmd/main.go
- pkg/cluster/cluster.go 10 additions, 8 deletionspkg/cluster/cluster.go
- pkg/cluster/pg.go 7 additions, 4 deletionspkg/cluster/pg.go
- pkg/cluster/sync.go 3 additions, 0 deletionspkg/cluster/sync.go
- pkg/controller/controller.go 1 addition, 1 deletionpkg/controller/controller.go
- pkg/util/config/config.go 2 additions, 0 deletionspkg/util/config/config.go
- pkg/util/teams/teams.go 7 additions, 1 deletionpkg/util/teams/teams.go
Please register or sign in to comment