File tree Expand file tree Collapse file tree 3 files changed +0
-20
lines changed
dev/preview/workflow/preview
install/installer/pkg/config/v1 Expand file tree Collapse file tree 3 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -347,20 +347,6 @@ if [[ "${GITPOD_WITH_DEDICATED_EMU}" == "true" ]]
347
347
then
348
348
# Suppress the Self-Hosted setup modal
349
349
yq w -i " ${INSTALLER_CONFIG_PATH} " experimental.webapp.server.showSetupModal " false"
350
-
351
- #
352
- # configure admin-login-secret
353
- #
354
- kubectl --kubeconfig " ${DEV_KUBE_PATH} " --context " ${DEV_KUBE_CONTEXT} " -n werft get secret admin-login-secret -o yaml > admin-login-secret.yaml
355
- yq w -i admin-login-secret.yaml metadata.namespace " default"
356
- yq d -i admin-login-secret.yaml metadata.creationTimestamp
357
- yq d -i admin-login-secret.yaml metadata.uid
358
- yq d -i admin-login-secret.yaml metadata.resourceVersion
359
- diff-apply " ${PREVIEW_K3S_KUBE_CONTEXT} " admin-login-secret.yaml
360
- rm -f admin-login-secret.yaml
361
-
362
- yq w -i " ${INSTALLER_CONFIG_PATH} " adminLoginSecret.kind " secret"
363
- yq w -i " ${INSTALLER_CONFIG_PATH} " adminLoginSecret.name " admin-login-secret"
364
350
fi
365
351
366
352
#
Original file line number Diff line number Diff line change @@ -161,8 +161,6 @@ type Config struct {
161
161
162
162
Telemetry * TelemetryConfig `json:"telemetry,omitempty"`
163
163
164
- AdminLoginSecret * ObjectRef `json:"adminLoginSecret,omitempty"`
165
-
166
164
Experimental * experimental.Config `json:"experimental,omitempty"`
167
165
}
168
166
Original file line number Diff line number Diff line change @@ -267,10 +267,6 @@ func (v version) ClusterValidation(rcfg interface{}) cluster.ValidationChecks {
267
267
res = append (res , cluster .CheckSecret (cfg .MessageBus .Credentials .Name , cluster .CheckSecretRequiredData ("rabbitmq-password" )))
268
268
}
269
269
270
- if cfg .AdminLoginSecret != nil {
271
- res = append (res , cluster .CheckSecret (cfg .AdminLoginSecret .Name , cluster .CheckSecretRequiredData ("login-key" )))
272
- }
273
-
274
270
res = append (res , experimental .ClusterValidation (cfg .Experimental )... )
275
271
276
272
return res
You can’t perform that action at this time.
0 commit comments