Skip to content

Commit

Permalink
[server] Introduce project.settings.enableDockerdAuthentication and e…
Browse files Browse the repository at this point in the history
…xpose it on the API

Tool: gitpod/catfood.gitpod.cloud
  • Loading branch information
geropl committed Feb 7, 2025
1 parent 9408bfb commit 52424be
Show file tree
Hide file tree
Showing 7 changed files with 616 additions and 297 deletions.
5 changes: 5 additions & 0 deletions components/gitpod-protocol/src/teams-projects-protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ export interface ProjectSettings {
restrictedWorkspaceClasses?: string[];

restrictedEditorNames?: string[];

/**
* Enable automatic authentication for docker daemon with all credentials specified in GITPOD_IMAGE_AUTH
*/
enableDockerdAuthentication?: boolean;
}
export namespace PrebuildSettings {
export type BranchStrategy = "default-branch" | "all-branches" | "matched-branches";
Expand Down
5 changes: 5 additions & 0 deletions components/public-api/gitpod/v1/configuration.proto
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ message WorkspaceSettings {
string workspace_class = 1;
repeated string restricted_workspace_classes = 2;
repeated string restricted_editor_names = 3;
// Enable automatic authentication for docker daemon with all credentials specified in GITPOD_IMAGE_AUTH
bool enable_dockerd_authentication = 4;
}

service ConfigurationService {
Expand Down Expand Up @@ -131,6 +133,9 @@ message UpdateConfigurationRequest {
repeated string restricted_editor_names = 4;
// Specifies whether restricted_editor_names should be updated.
optional bool update_restricted_editor_names = 5;

// Enable automatic authentication for docker daemon with all credentials specified in GITPOD_IMAGE_AUTH
optional bool enable_dockerd_authentication = 6;
}
string configuration_id = 1;
optional string name = 2;
Expand Down
441 changes: 235 additions & 206 deletions components/public-api/go/v1/configuration.pb.go

Large diffs are not rendered by default.

Loading

0 comments on commit 52424be

Please sign in to comment.