Skip to content

Commit

Permalink
Merge branch 'main' into docs-for-tojson
Browse files Browse the repository at this point in the history
  • Loading branch information
markphelps authored Mar 25, 2024
2 parents 5b82894 + baa7dca commit 0cd8d4f
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 3 deletions.
2 changes: 1 addition & 1 deletion concepts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Currently 5 constraint types are available:
- **Number** which allows you to check a number property of an entity (integer or float)
- **Boolean** which allows you to check a boolean property of an entity such as `true` or `false`
- **DateTime** which allows you to check a date or datetime property of an entity such as `2020-01-01` or `2020-01-01T00:00:00Z` ([RFC3339](https://datatracker.ietf.org/doc/html/rfc3339))
- **EntityId** which allows you to check the `entityId` that was sent in the body of the `Variant` or `Boolean` request
- **Entity** which allows you to check the `entityId` that was sent in the body of the `Variant` or `Boolean` request

![Constraint Types](/images/concepts/constraints_types.png)

Expand Down
28 changes: 28 additions & 0 deletions configuration/authentication.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,34 @@ authentication:
the user is a member of.
</Note>

#### Allowed Teams

As of version [1.39.0](https://github.com/flipt-io/flipt/releases/tag/v1.39.0) of Flipt, the GitHub authentication method also supports the ability to restrict access to a set of GitHub teams. This is important if you want to limit access to Flipt to only members of a specific team within an organization as opposed to all members of the organization.

To enable this feature, set the `github.allowed_teams` configuration value to a list of GitHub teams within existing allowed organizations. For example:

```yaml config.yaml
authentication:
methods:
github:
enabled: true
scopes:
- read:org
allowed_organizations:
- my-org
- my-other-org
allowed_teams:
my-org:
- my-team
my-other-org:
- my-other-team
```

<Note>
The organizations to check for team membership must be included in the
`allowed_organizations` list.
</Note>

### Kubernetes

The `kubernetes` method provides the ability to exchange Kubernetes service account tokens for client tokens.
Expand Down
4 changes: 2 additions & 2 deletions self-hosted/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Flipt is a single binary that can be run on any Linux or macOS (arm64) host. You
<CodeGroup>

```console Binary
curl -fsSL https://github.com/flipt-io/flipt/raw/main/install.sh | sh
curl -fsSL https://get.flipt.io/install | sh
```

```console Docker
Expand Down Expand Up @@ -75,7 +75,7 @@ You can always download the latest release archive of Flipt from the
You can use the following script to download and install the latest Flipt binary:

```console
curl -fsSL https://github.com/flipt-io/flipt/raw/main/install.sh | sh
curl -fsSL https://get.flipt.io/install | sh
```

This will install Flipt to `/usr/local/bin/flipt` on Mac and Linux systems.
Expand Down

0 comments on commit 0cd8d4f

Please sign in to comment.