THIS IS ONLY A TEST INSTANCE. DON'T DO IMPORTANT WORK HERE!

Commit d50f7740 authored by Angel Misevski's avatar Angel Misevski
Browse files

Remove BootstrapperBinaryUrl


Signed-off-by: default avatarAngel Misevski <amisevsk@redhat.com>
parent 2043f598
......@@ -38,7 +38,6 @@ type CheConfigMap struct {
CheDebugServer string `json:"CHE_DEBUG_SERVER"`
CheInfrastructureActive string `json:"CHE_INFRASTRUCTURE_ACTIVE"`
CheInfraKubernetesServiceAccountName string `json:"CHE_INFRA_KUBERNETES_SERVICE__ACCOUNT__NAME"`
BootstrapperBinaryUrl string `json:"CHE_INFRA_KUBERNETES_BOOTSTRAPPER_BINARY__URL"`
WorkspacesNamespace string `json:"CHE_INFRA_OPENSHIFT_PROJECT"`
PvcStrategy string `json:"CHE_INFRA_KUBERNETES_PVC_STRATEGY"`
PvcClaimSize string `json:"CHE_INFRA_KUBERNETES_PVC_QUANTITY"`
......@@ -159,7 +158,6 @@ func GetConfigMapData(cr *orgv1.CheCluster) (cheEnv map[string]string) {
CheDebugServer: cheDebug,
CheInfrastructureActive: infra,
CheInfraKubernetesServiceAccountName: "che-workspace",
BootstrapperBinaryUrl: protocol + "://" + cheHost + "/agent-binaries/linux_amd64/bootstrapper/bootstrapper",
WorkspacesNamespace: workspacesNamespace,
PvcStrategy: pvcStrategy,
PvcClaimSize: pvcClaimSize,
......
......@@ -12,7 +12,6 @@
package deploy
import (
"strings"
"testing"
orgv1 "github.com/eclipse/che-operator/pkg/apis/org/v1"
......@@ -31,7 +30,6 @@ func TestNewCheConfigMap(t *testing.T) {
cheEnv := GetConfigMapData(cr)
testCm := NewCheConfigMap(cr, cheEnv)
identityProvider := testCm.Data["CHE_INFRA_OPENSHIFT_OAUTH__IDENTITY__PROVIDER"]
protocol := strings.Split(testCm.Data["CHE_INFRA_KUBERNETES_BOOTSTRAPPER_BINARY__URL"], "://")[0]
_, isOpenshiftv4, _ := util.DetectOpenShift()
expectedIdentityProvider := "openshift-v3"
if isOpenshiftv4 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment