-
Notifications
You must be signed in to change notification settings - Fork 9
feat(longhorn): expose UI through Envoy Gateway with Keycloak OIDC #328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
tylerpotts
wants to merge
37
commits into
main
Choose a base branch
from
tpotts/longhorn-ui-gateway
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 33 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
3d3e7eb
docs(longhorn): design spec for Keycloak-gated UI exposure via Envoy …
tylerpotts 160631f
docs(longhorn): implementation plan for Keycloak-gated UI exposure
tylerpotts efd7f58
feat(provider): add LonghornEnabled flag to InfraSettings
tylerpotts b8c17b2
feat(provider): expose LonghornEnabled per-provider in InfraSettings
tylerpotts ad17acb
feat(argocd): add LonghornSSOConfig to FoundationalConfig
tylerpotts 6409708
feat(argocd): provision longhorn-oidc-client-secret in keycloak and l…
tylerpotts 1d5de94
feat(argocd): provision Longhorn OIDC secrets during foundational ins…
tylerpotts 8b394ef
feat(argocd): thread LonghornEnabled into TemplateData
tylerpotts 8b9ae37
docs(argocd): correct LonghornEnabled comment to match implementation
tylerpotts 1288a66
feat(argocd): add Longhorn UI HTTPRoute template
tylerpotts e769f77
test(argocd): skip empty-rendered routes in HTTPS-listener test
tylerpotts 6cefc2c
feat(argocd): add Longhorn UI SecurityPolicy template
tylerpotts 1dcc856
feat(argocd): add securitypolicies Application to sync policies/ dir
tylerpotts f298373
feat(argocd): add longhorn.<domain> to gateway certificate dnsNames
tylerpotts 3e37485
feat(argocd): register Longhorn Keycloak client in realm-setup job
tylerpotts 81fbec0
test(argocd): anchor longhorn callback URL assertion to catch path mu…
tylerpotts d9e773c
feat(deploy): generate Longhorn OIDC client secret and wire foundatio…
tylerpotts 1e391cf
docs(deploy): correct Longhorn secret comment to match actual gating
tylerpotts fe77185
docs(longhorn): simplify conditional gate to LonghornEnabled-only
tylerpotts aebcdec
docs(longhorn): design spec for group-based Longhorn UI authorization
tylerpotts 01d4b3d
docs(longhorn): plan to restrict UI access to longhorn-admins group
tylerpotts 2bb5510
feat(argocd): restrict Longhorn UI to longhorn-admins via JWT-claim a…
tylerpotts 2864a60
fix(lint): extract constants for repeated label keys and AWS region
tylerpotts f12c3f0
fix(longhorn): HTTPRoute backendRef must use longhorn-frontend port 8…
tylerpotts d95f26c
fix(keycloak): update existing groups mapper instead of swallowing error
tylerpotts db49586
refactor(longhorn): drop the longhorn-viewers group
tylerpotts 8252d02
fix(keycloak): replace groups mapper via delete+create for determinis…
tylerpotts fa97a97
fix(longhorn): match group claim by path form since nebari-operator o…
tylerpotts af071e7
docs: drop longhorn UI spec and plan documents from the PR
tylerpotts 24893f7
Merge branch 'main' into tpotts/longhorn-ui-gateway
tylerpotts 232faf1
fix(argocd): pass gitConfig arg to WriteAllToGit in tests
tylerpotts bbf5fd8
fix(deploy): repair botched main merge and restore Longhorn OIDC wiring
tylerpotts 447b4a9
Merge remote-tracking branch 'origin/main' into tpotts/longhorn-ui-ga…
tylerpotts c9e4450
fix(argocd): skip securitypolicies app and policies manifest when Lon…
tylerpotts bbc10b3
Merge remote-tracking branch 'origin/main' into tpotts/longhorn-ui-ga…
tylerpotts 5a2a52c
Merge remote-tracking branch 'origin/main' into tpotts/longhorn-ui-ga…
tylerpotts 9ebffdb
refactor(aws): inline single-use us-east-1 region literal
tylerpotts File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| apiVersion: argoproj.io/v1alpha1 | ||
| kind: Application | ||
| metadata: | ||
| name: securitypolicies | ||
| namespace: argocd | ||
| labels: | ||
| app.kubernetes.io/part-of: nebari-foundational | ||
| app.kubernetes.io/managed-by: nebari-infrastructure-core | ||
| annotations: | ||
| argocd.argoproj.io/sync-wave: "3" | ||
| finalizers: | ||
| - resources-finalizer.argocd.argoproj.io | ||
| spec: | ||
| project: foundational | ||
|
|
||
| source: | ||
| repoURL: {{ .GitRepoURL }} | ||
| targetRevision: {{ .GitBranch }} | ||
| path: {{ if .GitPath }}{{ .GitPath }}/{{ end }}manifests/networking/policies | ||
|
|
||
| destination: | ||
| server: https://kubernetes.default.svc | ||
|
|
||
| syncPolicy: | ||
| automated: | ||
| prune: true | ||
| selfHeal: true | ||
| allowEmpty: false | ||
| syncOptions: | ||
| - CreateNamespace=true | ||
| - ServerSideApply=true | ||
| retry: | ||
| limit: 5 | ||
| backoff: | ||
| duration: 5s | ||
| factor: 2 | ||
| maxDuration: 3m | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.