Skip to content

Commit bdfebd6

Browse files
committed
Cleanup
1 parent 64f84ff commit bdfebd6

File tree

3 files changed

+0
-23
lines changed

3 files changed

+0
-23
lines changed

install/installer/pkg/components/server/configmap.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ func configmap(ctx *common.RenderContext) ([]runtime.Object, error) {
3636
return nil
3737
})
3838

39-
license := ""
40-
if ctx.Config.License != nil {
41-
license = licenseFilePath
42-
}
43-
4439
workspaceImage := ctx.Config.Workspace.WorkspaceImage
4540
if workspaceImage == "" {
4641
workspaceImage = ctx.ImageName(common.ThirdPartyContainerRepo(ctx.Config.Repository, ""), workspace.DefaultWorkspaceImage, workspace.DefaultWorkspaceImageVersion)
@@ -208,7 +203,6 @@ func configmap(ctx *common.RenderContext) ([]runtime.Object, error) {
208203
Version: ctx.VersionManifest.Version,
209204
HostURL: fmt.Sprintf("https://%s", ctx.Config.Domain),
210205
InstallationShortname: ctx.Config.Metadata.InstallationShortname,
211-
LicenseFile: license,
212206
WorkspaceHeartbeat: WorkspaceHeartbeat{
213207
IntervalSeconds: 60,
214208
TimeoutSeconds: 300,

install/installer/pkg/components/server/deployment.go

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -120,22 +120,6 @@ func deployment(ctx *common.RenderContext) ([]runtime.Object, error) {
120120

121121
volumes := make([]corev1.Volume, 0)
122122
volumeMounts := make([]corev1.VolumeMount, 0)
123-
if ctx.Config.License != nil {
124-
volumes = append(volumes, corev1.Volume{
125-
Name: "gitpod-license-key",
126-
VolumeSource: corev1.VolumeSource{
127-
Secret: &corev1.SecretVolumeSource{
128-
SecretName: ctx.Config.License.Name,
129-
},
130-
},
131-
})
132-
133-
volumeMounts = append(volumeMounts, corev1.VolumeMount{
134-
Name: "gitpod-license-key",
135-
MountPath: licenseFilePath,
136-
SubPath: "license",
137-
})
138-
}
139123

140124
if len(ctx.Config.AuthProviders) > 0 {
141125
for i, provider := range ctx.Config.AuthProviders {

install/installer/pkg/components/server/types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ type ConfigSerialized struct {
1919
DevBranch string `json:"devBranch"`
2020
InsecureNoDomain bool `json:"insecureNoDomain"`
2121
License string `json:"license"`
22-
LicenseFile string `json:"licenseFile"`
2322
DefinitelyGpDisabled bool `json:"definitelyGpDisabled"`
2423
EnableLocalApp bool `json:"enableLocalApp"`
2524
DisableDynamicAuthProviderLogin bool `json:"disableDynamicAuthProviderLogin"`

0 commit comments

Comments
 (0)