Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions flyteidl2/imagebuilder/definition.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ option go_package = "github.com/flyteorg/flyte/v2/gen/go/flyteidl2/imagebuilder"
// ImageIdentifier is how to identify an image
message ImageIdentifier {
string name = 1 [(buf.validate.field).string.min_len = 1];

// Optional registry/repository the image lives in, e.g.
// "<account>.dkr.ecr.<region>.amazonaws.com/<repo>" for an image built with a custom registry
// override (clone(registry=...)). When set, GetImage looks the image up there; when empty, the
// cluster's default repository is used.
string repository = 2;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit

Suggested change
string repository = 2;
string registry = 2;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the idea that we will concat these values to create the final image url to check on?

If that's the case, we do need registry, repo and I'm assuming name already has the version?

}

// Simple container to surface if image exists
Expand Down
18 changes: 16 additions & 2 deletions gen/go/flyteidl2/imagebuilder/definition.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions gen/go/flyteidl2/imagebuilder/definition.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 14 additions & 20 deletions gen/go/gateway/flyteidl2/imagebuilder/definition.swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 14 additions & 20 deletions gen/go/gateway/flyteidl2/imagebuilder/payload.swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading