-
Notifications
You must be signed in to change notification settings - Fork 5
client credential flow #1252
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
Draft
MahirAbbas
wants to merge
40
commits into
main
Choose a base branch
from
ma/k6-secrets
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.
Draft
client credential flow #1252
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
921f99c
client credential flow
MahirAbbas 3da7304
remove type coercien
MahirAbbas c871b5f
add tokenRes check
MahirAbbas b93e7bb
add logging
MahirAbbas ceb0493
abort on failed setup
MahirAbbas 10eb255
remove headers
MahirAbbas 02cf95e
empty jeader
MahirAbbas 4fa1bf5
empty
MahirAbbas 48e1387
token from dev
MahirAbbas fab452f
identity test
MahirAbbas 5dd7ddc
errors
MahirAbbas 43f4253
add identity-test as auth issuer
MahirAbbas 5a91522
change keycloak request to identity-dev
MahirAbbas 2f525ae
change query to non-visit specic
MahirAbbas e975ed7
try hardcoded token
MahirAbbas 6f640de
list templates test
MahirAbbas 4056469
remove hardcoded token
MahirAbbas 7e2c452
common.ts
MahirAbbas ca9368e
export setup()
MahirAbbas a958a21
sonnet is crap
MahirAbbas 1088192
crap cd
MahirAbbas 4d7d57c
increase VU count for ping-graph
MahirAbbas 7871738
add new visit for k6
MahirAbbas b3b691e
change sessionspace to dev
MahirAbbas 8d80867
new sessionsspace?
MahirAbbas 1133ed1
val
MahirAbbas 9d8884d
octal
MahirAbbas a1f59e2
1
MahirAbbas cc39c99
delete configmap-type
MahirAbbas e503e27
add rolebinding
MahirAbbas f08276f
rbs
MahirAbbas 23f4b3f
rb
MahirAbbas 2cc9924
rmv rbc
MahirAbbas 2a4e61c
add rbac, svc and subscription test
MahirAbbas a89ce3f
config for ws-test
MahirAbbas 6dd0454
ws url
MahirAbbas ca29d3f
changes
MahirAbbas 884939a
add logging
MahirAbbas ffa6924
running logging
MahirAbbas e98bd6d
change timeout to 30m
MahirAbbas 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
16 changes: 16 additions & 0 deletions
16
charts/workflows-cluster/charts/secrets/templates/graph-proxy-k6-auth.yaml
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,16 @@ | ||
| {{- if eq .Values.cluster "pollux" }} | ||
| apiVersion: bitnami.com/v1alpha1 | ||
| kind: SealedSecret | ||
| metadata: | ||
| name: graph-proxy-k6-auth | ||
| namespace: workflows | ||
| spec: | ||
| encryptedData: | ||
| KEYCLOAK_CLIENT_ID: AgBfgu/0rkkZ9sut6uYcVqFVRaBbUI7MQuTV15EzOjTKSdt22SBF2gUr9GQC+oHX5tnsqqpk3EE0kuq4FgN+Hb/bw2gUftzl/B7sZU/fcUOqcL4bHgtNdJ527B6JMFTL12CAJSSnwflteLYuNvKD4T514/c2tMdh1d+XYHuVs1nl/YxtdBVjrT3qX+G6kqaGCeaR/IYEIa7jE9y/1TH92rSt8pJq7l5k2vuKfw4U2+YHUO1+1pwdE9eFa5PQVgXIiynfcifEQn/QrsJdfKAbpq+IC+ZSoplcehBS52Q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uif1ElYtHXiK2CESgtc86vfk2MUABfnoyHmUb0RNOgX+Ni/qvBbo0pJq+//RR9XPPzAKVUe3Fs196hFKwhnHsU5i9o9yC/Nh9RL6GARXWicWVmoqrNhW3UHliifKyRVFA== | ||
| template: | ||
| metadata: | ||
| name: graph-proxy-k6-auth | ||
| namespace: workflows | ||
| type: Opaque | ||
| {{- end }} |
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI the initial token that you were given in https://jira.diamond.ac.uk/servicedesk/customer/portal/5/UASHD-4191
was for
https://identity-test.diamond.ac.uk/realms/dls
There are three Keycloak servers at Diamond: identity-test, identity-dev, identity (production). You need to use one that matches the client that you were given.
Note the workflows staging cluster only works with the identity servers listed here:
workflows/charts/workflows-cluster/staging-values.yaml
Line 86 in d80f517
If you want your system to work with identity-test then the staging cluster needs to be modified to accept that server as well.