Skip to content

Commit

Permalink
Merge pull request #13 from foomo/beam-0.1.1
Browse files Browse the repository at this point in the history
Add org variable to github provider
  • Loading branch information
gnmsa authored Aug 5, 2024
2 parents 08c0e85 + 5a343e9 commit 0478487
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 16 deletions.
4 changes: 2 additions & 2 deletions charts/beam/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies:
version: 2.2.10
repository: "oci://registry-1.docker.io/bitnamicharts"
condition: pinniped.enabled
version: 0.1.0
appVersion: 0.1.0
version: 0.1.1
appVersion: 0.1.1


11 changes: 6 additions & 5 deletions charts/beam/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# beam

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.1](https://img.shields.io/badge/AppVersion-0.1.1-informational?style=flat-square)

Secure infrastructure access

Expand All @@ -18,15 +18,16 @@ pinniped:
supervisor:
enabled: true
githubProviders:
your-org:
provider-name:
organization: <YOUR_GITHUB_ORG>
clientId: <GITHUB_APP_CLIENT_ID>
clientSecret: <GITHUB_APP_CLIENT_SECRET>
federationDomains:
your-org:
domain-name:
issuer: https://beam.your-domain.com/issuer-path
tlsSecretName: <TLS_SECRET_NAME>
identityProviders:
your-org:
provider-name:
teams:
- organization/your-dev-team
- organization/your-devops-team
Expand Down Expand Up @@ -77,7 +78,7 @@ pinniped:
role: cluster-admin
team: organization/your-devops-team
jwtAuths:
your-org:
domain-name:
issuer: https://beam.your-domain.com/issuer-path
audience: arbitrary-but-unique-audience
```
Expand Down
9 changes: 5 additions & 4 deletions charts/beam/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,16 @@ pinniped:
supervisor:
enabled: true
githubProviders:
your-org:
provider-name:
organization: <YOUR_GITHUB_ORG>
clientId: <GITHUB_APP_CLIENT_ID>
clientSecret: <GITHUB_APP_CLIENT_SECRET>
federationDomains:
your-org:
domain-name:
issuer: https://beam.your-domain.com/issuer-path
tlsSecretName: <TLS_SECRET_NAME>
identityProviders:
your-org:
provider-name:
teams:
- organization/your-dev-team
- organization/your-devops-team
Expand Down Expand Up @@ -79,7 +80,7 @@ pinniped:
role: cluster-admin
team: organization/your-devops-team
jwtAuths:
your-org:
domain-name:
issuer: https://beam.your-domain.com/issuer-path
audience: arbitrary-but-unique-audience
```
Expand Down
2 changes: 1 addition & 1 deletion charts/beam/examples/concierge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ pinniped:
role: cluster-admin
team: organization/your-devops-team
jwtAuths:
your-org:
domain-name:
issuer: https://beam.your-domain.com/issuer-path
audience: arbitrary-but-unique-audience
6 changes: 3 additions & 3 deletions charts/beam/examples/supervisor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ pinniped:
supervisor:
enabled: true
githubProviders:
your-org:
provider-name:
clientId: <GITHUB_APP_CLIENT_ID>
clientSecret: <GITHUB_APP_CLIENT_SECRET>
federationDomains:
your-org:
domain-name:
issuer: https://beam.your-domain.com/issuer-path
tlsSecretName: <TLS_SECRET_NAME>
identityProviders:
your-org:
provider-name:
teams:
- organization/your-dev-team
- organization/your-devops-team
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
organizations:
policy: OnlyUsersFromAllowedOrganizations
allowed:
- {{ $k }}
- {{ $v.organization }}
client:
secretName: {{ include "beam.pinniped.supervisor.fullname" $ }}-github-{{ $k }}
{{- end }}
Expand Down

0 comments on commit 0478487

Please sign in to comment.