Skip to content

Commit 6f331e2

Browse files
authored
feat(chart): add support to custom login path (#988)
Signed-off-by: Miguel Martinez Trivino <[email protected]>
1 parent 7b672ef commit 6f331e2

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

deployment/chainloop/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Chainloop is an open source software supply chain control plane, a
77

88
type: application
99
# Bump the patch (not minor, not major) version on each change in the Chart Source code
10-
version: 1.63.0
10+
version: 1.63.1
1111
# Do not update appVersion, this is handled automatically by the release process
1212
appVersion: v0.91.8
1313

deployment/chainloop/README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -516,12 +516,13 @@ chainloop config save \
516516

517517
### Control Plane Authentication
518518

519-
| Name | Description | Value |
520-
| ------------------------------------- | ------------------------------------------------------------------------------------------------------ | ----- |
521-
| `controlplane.auth.passphrase` | Passphrase used to sign the Auth Tokens generated by the controlplane. Leave empty for auto-generation | `""` |
522-
| `controlplane.auth.oidc.url` | Full authentication path, it should match the issuer URL of the Identity provider (IDp) | `""` |
523-
| `controlplane.auth.oidc.clientID` | OIDC IDp clientID | `""` |
524-
| `controlplane.auth.oidc.clientSecret` | OIDC IDp clientSecret | `""` |
519+
| Name | Description | Value |
520+
| ----------------------------------------- | ------------------------------------------------------------------------------------------------------ | ----- |
521+
| `controlplane.auth.passphrase` | Passphrase used to sign the Auth Tokens generated by the controlplane. Leave empty for auto-generation | `""` |
522+
| `controlplane.auth.oidc.url` | Full authentication path, it should match the issuer URL of the Identity provider (IDp) | `""` |
523+
| `controlplane.auth.oidc.clientID` | OIDC IDp clientID | `""` |
524+
| `controlplane.auth.oidc.clientSecret` | OIDC IDp clientSecret | `""` |
525+
| `controlplane.auth.oidc.loginURLOverride` | Optional OIDC login URL override, useful to point to custom login pages | |
525526

526527
### Control Plane Networking
527528

deployment/chainloop/templates/controlplane/config.secret.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ stringData:
4848
domain: "{{ required "oidc URL endpoint required" .oidc.url }}"
4949
client_id: "{{ required "oidc clientID required" .oidc.clientID }}"
5050
client_secret: "{{ required "oidc clientSecret required" .oidc.clientSecret }}"
51+
{{- if .oidc.loginURLOverride }}
52+
login_url_override: "{{ .oidc.loginURLOverride }}"
53+
{{- end }}
5154
{{- end }}
5255
5356
# HMAC key used to sign the JWTs generated by the controlplane

deployment/chainloop/values.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,14 @@ controlplane:
175175
passphrase: ""
176176

177177
## @param controlplane.auth.oidc.url Full authentication path, it should match the issuer URL of the Identity provider (IDp)
178-
## @param controlplane.auth.oidc.clientID OIDC IDp clientID
179-
## @param controlplane.auth.oidc.clientSecret OIDC IDp clientSecret
178+
## @param controlplane.auth.oidc.clientID OIDC IDp clientID
179+
## @param controlplane.auth.oidc.clientSecret OIDC IDp clientSecret
180+
## @extra controlplane.auth.oidc.loginURLOverride Optional OIDC login URL override, useful to point to custom login pages
180181
oidc:
181182
url: ""
182183
clientID: ""
183184
clientSecret: ""
185+
# loginURLOverride: ""
184186

185187
## @section Control Plane Networking
186188
service:

0 commit comments

Comments
 (0)