Skip to content

Commit f1d8a79

Browse files
committed
Add ExecutedBy EnrichedIdentity to RunSpec
Supports the ability to associate user identity when entities with RunSpecs are registered Signed-off-by: Michael Hotan <mike@union.ai>
1 parent b629550 commit f1d8a79

File tree

114 files changed

+1957
-24620
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+1957
-24620
lines changed

flyteidl2/task/run.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ syntax = "proto3";
22

33
package flyteidl2.task;
44

5+
import "flyteidl2/common/identity.proto";
56
import "flyteidl2/core/literals.proto";
67
import "flyteidl2/core/security.proto";
78
import "google/protobuf/wrappers.proto";
@@ -93,4 +94,9 @@ message RunSpec {
9394

9495
// CacheConfig contains configurations that influence the behavior of cache reads and writes
9596
CacheConfig cache_config = 9;
97+
98+
// Identity of the user or application that created this run. Populated at creation time
99+
// from authentication context claims so that downstream consumers (UI, audit) can display
100+
// the owner without querying the identity provider.
101+
flyteidl2.common.EnrichedIdentity executed_by = 10;
96102
}

gen/go/flyteidl2/app/mocks/app_logs_service_client.go

Lines changed: 0 additions & 114 deletions
This file was deleted.

gen/go/flyteidl2/app/mocks/app_logs_service_server.go

Lines changed: 0 additions & 82 deletions
This file was deleted.

0 commit comments

Comments
 (0)