File tree 1 file changed +9
-5
lines changed
pkg/apis/workspaces/v1alpha2 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,6 @@ type DockerfileImage struct {
23
23
// it is recommended to always specify the `regsitryURL` when `Id` is used.
24
24
// +optional
25
25
RegistryUrl string `json:"registryUrl,omitempty"`
26
-
27
- // Location of the Dockerfile in the Git repository when using git as Dockerfile src.
28
- // +optional
29
- GitLocation string `json:"gitLocation,omitempty"`
30
26
}
31
27
32
28
// +union
@@ -48,7 +44,7 @@ type DockerfileLocation struct {
48
44
49
45
// Project's Git source
50
46
// +optional
51
- Git * GitProjectSource `json:"git,omitempty"`
47
+ Git * DockerfileGitProjectSource `json:"git,omitempty"`
52
48
}
53
49
54
50
type Dockerfile struct {
@@ -66,3 +62,11 @@ type Dockerfile struct {
66
62
// +optional
67
63
RootRequired bool `json:"rootRequired,omitempty"`
68
64
}
65
+
66
+ type DockerfileGitProjectSource struct {
67
+ GitProjectSource `json:",inline"`
68
+
69
+ // Location of the Dockerfile in the Git repository when using git as Dockerfile src.
70
+ // +optional
71
+ GitLocation string `json:"gitLocation,omitempty"`
72
+ }
You can’t perform that action at this time.
0 commit comments