You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The proper way for service-to-service authentication/authorization is the use of a Service Account Token. PA SA token has been already introduced by this PR .
My suggestion is to use the PA SA token for readArtifacts and ReportMetrics as well.
Thus the communication between PA and KFPipeline Api service will be done in the correct way. The code will become clearer/shorter and the unnecessary requests to the kubeapi will be removed.
What is the use case or pain point?
Is there a workaround currently?
Love this idea? Give it a 👍.
The text was updated successfully, but these errors were encountered:
difince
changed the title
[feature] Persistence Agent to use its SA Token when calling KFAPIServer
[feature] Persistence Agent to use its SA Token when calling KF APIServer endpoints
Aug 28, 2023
difince
changed the title
[feature] Persistence Agent to use its SA Token when calling KF APIServer endpoints
[feature] Make Persistence Agent use SA Token when calling KF APIServer endpoints
Aug 28, 2023
Feature Area
</area backend>
What feature would you like to see?
Currently, when the Persistence Agent (PA) calls KFPipeline APIs - readArtifacts and ReportMetrics - It authenticates as a user.
See:
pipelines/backend/src/agent/persistence/client/pipeline_client.go
Lines 196 to 204 in 110e082
The proper way for service-to-service authentication/authorization is the use of a Service Account Token. PA SA token has been already introduced by this PR .
My suggestion is to use the PA SA token for readArtifacts and ReportMetrics as well.
Thus the communication between PA and KFPipeline Api service will be done in the correct way. The code will become clearer/shorter and the unnecessary requests to the kubeapi will be removed.
What is the use case or pain point?
Is there a workaround currently?
Love this idea? Give it a 👍.
The text was updated successfully, but these errors were encountered: