Skip to content

Commit 52424be

Browse files
committed
[server] Introduce project.settings.enableDockerdAuthentication and expose it on the API
Tool: gitpod/catfood.gitpod.cloud
1 parent 9408bfb commit 52424be

File tree

7 files changed

+616
-297
lines changed

7 files changed

+616
-297
lines changed

components/gitpod-protocol/src/teams-projects-protocol.ts

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ export interface ProjectSettings {
2828
restrictedWorkspaceClasses?: string[];
2929

3030
restrictedEditorNames?: string[];
31+
32+
/**
33+
* Enable automatic authentication for docker daemon with all credentials specified in GITPOD_IMAGE_AUTH
34+
*/
35+
enableDockerdAuthentication?: boolean;
3136
}
3237
export namespace PrebuildSettings {
3338
export type BranchStrategy = "default-branch" | "all-branches" | "matched-branches";

components/public-api/gitpod/v1/configuration.proto

+5
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ message WorkspaceSettings {
5252
string workspace_class = 1;
5353
repeated string restricted_workspace_classes = 2;
5454
repeated string restricted_editor_names = 3;
55+
// Enable automatic authentication for docker daemon with all credentials specified in GITPOD_IMAGE_AUTH
56+
bool enable_dockerd_authentication = 4;
5557
}
5658

5759
service ConfigurationService {
@@ -131,6 +133,9 @@ message UpdateConfigurationRequest {
131133
repeated string restricted_editor_names = 4;
132134
// Specifies whether restricted_editor_names should be updated.
133135
optional bool update_restricted_editor_names = 5;
136+
137+
// Enable automatic authentication for docker daemon with all credentials specified in GITPOD_IMAGE_AUTH
138+
optional bool enable_dockerd_authentication = 6;
134139
}
135140
string configuration_id = 1;
136141
optional string name = 2;

components/public-api/go/v1/configuration.pb.go

+235-206
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)