Skip to content

Commit

Permalink
configure scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudymax committed Feb 18, 2024
1 parent 28fab25 commit c279a94
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/headscale/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: headscale
description: Install headscale with helm

type: application
version: "0.0.10"
version: "0.0.11"
appVersion: "0.22.3"

maintainers:
Expand Down
5 changes: 4 additions & 1 deletion charts/headscale/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# headscale

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

Install headscale with helm

Expand Down Expand Up @@ -49,6 +49,9 @@ Install headscale with helm
| oidc.client_id | string | `"your-oidc-client-id"` | |
| oidc.client_secret | string | `"your-oidc-client-secret"` | |
| oidc.issuer | string | `"https://your-oidc.issuer.com/path"` | |
| oidc.scope[0] | string | `"openid"` | |
| oidc.scope[1] | string | `"profile"` | |
| oidc.scope[2] | string | `"email"` | |
| persistence.accessMode | string | `"ReadWriteOnce"` | |
| persistence.existingClaim | string | `""` | |
| persistence.resources.requests.storage | string | `"1Gi"` | |
Expand Down
2 changes: 1 addition & 1 deletion charts/headscale/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ data:
issuer: {{ .Values.oidc.issuer }}
client_id: {{ .Values.oidc.client_id }}
client_secret: {{ .Values.oidc.client_secret }}
scope: ["openid", "profile", "email", "custom"]
scope: {{ .Values.oidc.scope }}
# Alternatively, set `client_secret_path` to read the secret from the file.
# It resolves environment variables, making integration to systemd's
Expand Down
1 change: 1 addition & 0 deletions charts/headscale/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ oidc:
issuer: "https://your-oidc.issuer.com/path"
client_id: "your-oidc-client-id"
client_secret: "your-oidc-client-secret"
scope: ["openid", "profile", "email"]

# Address to listen to / bind to on the server
listen_addr: 0.0.0.0:8080
Expand Down

0 comments on commit c279a94

Please sign in to comment.