Skip to content

Commit

Permalink
Idp scopes (#56)
Browse files Browse the repository at this point in the history
Add IDP Scope option
  • Loading branch information
psychomelet authored Feb 14, 2020
1 parent 2395246 commit 9973a3d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/pomerium/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: pomerium
version: 5.0.3
version: 5.0.4
appVersion: 0.6.2
home: http://www.pomerium.io/
icon: https://www.pomerium.io/logo-long.svg
Expand Down
1 change: 1 addition & 0 deletions charts/pomerium/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ A full listing of Pomerium's configuration variables can be found on the [config
| `authenticate.idp.clientID` | Identity Provider oauth [client ID](https://www.pomerium.io/docs/reference/reference.html#identity-provider-client-id). | Required |
| `authenticate.idp.clientSecret` | Identity Provider oauth [client secret](https://www.pomerium.io/docs/reference/reference.html#identity-provider-client-secret). | Required |
| `authenticate.idp.url` | Identity [Provider URL](https://www.pomerium.io/docs/reference/reference.html#identity-provider-url). | Optional |
| `authenticate.idp.scopes` | Identity [Provider Scopes](https://www.pomerium.io/configuration/#identity-provider-scopes). | Optional |
| `authenticate.idp.serviceAccount` | Identity Provider [service account](https://www.pomerium.io/docs/reference/reference.html#identity-provider-service-account). | Optional |
| `authenticate.replicaCount` | Number of Authenticate pods to run | `1` |
| `authenticate.existingTLSSecret` | Name of existing TLS Secret for authenticate service | |
Expand Down
2 changes: 2 additions & 0 deletions charts/pomerium/templates/authenticate-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ spec:
key: shared-secret
- name: IDP_PROVIDER
value: {{ .Values.authenticate.idp.provider }}
- name: IDP_SCOPES
value: {{ .Values.authenticate.idp.scopes }}
- name: IDP_CLIENT_ID
valueFrom:
secretKeyRef:
Expand Down
3 changes: 2 additions & 1 deletion charts/pomerium/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ config:
forceGenerateTLS: false
extraOpts: {}
existingPolicy: ""
policy: {}
policy: []

authenticate:
fullnameOverride: ""
Expand All @@ -32,6 +32,7 @@ authenticate:
clientID: "REPLACE_ME"
clientSecret: "REPLACE_ME"
url: ""
scopes: ""
serviceAccount: ""
tls:
cert: ""
Expand Down

0 comments on commit 9973a3d

Please sign in to comment.