Этот коммит содержится в:
Ihar Hancharenka 2024-12-29 16:48:49 +03:00
родитель 34293a566c
Коммит cbe7884acd
4 изменённых файлов: 45 добавлений и 0 удалений

4
devops/k8s/tools/templating/ytt.txt Обычный файл
Просмотреть файл

@ -0,0 +1,4 @@
https://carvel.dev/ytt/
https://carvel.dev/ytt/docs/
https://github.com/carvel-dev/ytt

Просмотреть файл

@ -1 +1,3 @@
settings -> developer
https://github.com/settings/apps
https://github.com/settings/tokens/new https://github.com/settings/tokens/new

Просмотреть файл

@ -1,8 +1,13 @@
https://github.com/gradle/gradle/releases https://github.com/gradle/gradle/releases
9.x 9.x
https://gradle.org/whats-new/gradle-9/
Jacomet - Gradle 9 is coming: Whats in it for developers? 0:00 of 58:48
https://www.youtube.com/watch?v=FBCqeY6AhMM
Jfocus - The road to Gradle 9 by Louis Jacomet 0:00 of 50:24 Jfocus - The road to Gradle 9 by Louis Jacomet 0:00 of 50:24
https://www.youtube.com/watch?v=uIq5X7Ty0_0 https://www.youtube.com/watch?v=uIq5X7Ty0_0
misc
https://www.youtube.com/watch?v=9CTNORD_Dx4
8.x 8.x
https://docs.gradle.org/8.10.2/release-notes.html https://docs.gradle.org/8.10.2/release-notes.html

Просмотреть файл

@ -0,0 +1,34 @@
https://www.baeldung.com/keycloak-custom-user-attributes
"operator_id": "54c496e5-de79-4ed7-9acb-248181e6c780"
"realm_access": { "roles": [ ..., "operator" ] }
"scopes" : "... operator_id"
"groups": [..., "operator" ],
Realm settings -> User profile -> Create attribute
operator_id
permissions -> Admin/Admin
annotations -> Input type - text
JSON editor
https://www.keycloak.org/docs/latest/server_admin/#_user-profile-json-configuration
fix displayName
Realm roles -> operator
Users -> some-user -> Role mapping -> Assign role -> select "Filter by Realm Roles"
Client scopes -> operator_id
Settings ->
Include in token scope -> On
Mappers
Mapper type: "User Attribute"
Name: operator_id
User Attribute: operator_id
Token Claim Name: operator_id
Add to: id token, access token, user info, token introspection
Clients -> account-console - Client scopes -> Add client scope -> operator_id (Default)
check
"Realm Roles -> operator -> Users in role"
Users -> some-user -> Details -> operatorId attribute
clients -> client scopes tab -> evaluate ->
generated access token