Skip to content

bug report: BRIDGE_K8S_MODE_OFF_CLUSTER_SKIP_VERIFY_TLS=true not worked #15451

@LiaoSirui

Description

@LiaoSirui

https://github.com/openshift/console/blob/release-4.20/pkg/auth/metrics.go#L85-L90

	configWithBearerToken := &rest.Config{
		Host:        k8sConfig.Host,
		Transport:   m.anonymousInternalProxiedK8SRT,
		BearerToken: ls.AccessToken(),
		Timeout:     30 * time.Second,
	}
Image Image

It seems that the configuration for TLS ignoring certificates is missing in the configWithBearerToken variable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions