Skip to content

Commit

Permalink
xds: Set RBAC on by default (#4909)
Browse files Browse the repository at this point in the history
  • Loading branch information
zasweq authored Oct 29, 2021
1 parent d47437c commit 2d7bdf2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internal/xds/env/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,10 @@ var (
// RetrySupport indicates whether xDS retry is enabled.
RetrySupport = !strings.EqualFold(os.Getenv(retrySupportEnv), "false")

// RBACSupport indicates whether xDS configured RBAC HTTP Filter is enabled.
RBACSupport = strings.EqualFold(os.Getenv(rbacSupportEnv), "true")
// RBACSupport indicates whether xDS configured RBAC HTTP Filter is enabled,
// which can be disabled by setting the environment variable
// "GRPC_XDS_EXPERIMENTAL_RBAC" to "false".
RBACSupport = !strings.EqualFold(os.Getenv(rbacSupportEnv), "false")

// C2PResolverSupport indicates whether support for C2P resolver is enabled.
// This can be enabled by setting the environment variable
Expand Down

0 comments on commit 2d7bdf2

Please sign in to comment.