Changed the return of the /kubeconfig to encoded kubeconfig

This commit is contained in:
pb
2025-02-28 17:57:13 +01:00
parent f75499d827
commit ba3afc69be
2 changed files with 19 additions and 5 deletions

View File

@@ -7,13 +7,15 @@ boundary "remote oc-datacenter" as rocdc
workflow --> locdc : POST /booking/ {booking object}
locdc --> locdc : create Namespace + ServiceAccount
workflow --> rocdc : POST /boking/
rocdc --> rocdc : create \nNamespace + \nServiceAccount
monitord --> monitord : retrieves a Workflow to execute
monitord --> monitord : workflow needs repartited execution
monitord --> rocdc : POST /????? (route that use the same \nmethods as /booking/ to create NS & SA)
' monitord --> rocdc : POST /????? (route that use the same \nmethods as /booking/ to create NS & SA)
monitord --> rocdc : POST /admiralty/source
monitord --> rodc : GET /admiralty/token/:execution_id
monitord --> rocdc : GET /admiralty/kubeconfig/:execution_id
rocdc -> monitord : base64 encoded edited kubeconfig with token (**how to make it secure** ???)
monitord --> locdc : POST /admiralty/secret/:execution_id
monitord --> locdc : POST /admiralty/target/:execution_id
' locdc -> monitord : OK
monitord --> locdc : GET /admiralty/nodes/:execution_id \n(if the node is up it means ALL GOOD)
@enduml