Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

How do i set hubble.tls.enable to false? #94

Open
data-dude opened this issue Feb 24, 2023 · 1 comment
Open

How do i set hubble.tls.enable to false? #94

data-dude opened this issue Feb 24, 2023 · 1 comment

Comments

@data-dude
Copy link

data-dude commented Feb 24, 2023

How do i set hubble.tls.enable to false?

Here is the code:

func main() {
flagsHubble := flags{
address: flag.String("hubble.address", "localhost:4245", "connect to Hubble on this address"),
tls: &flagsTLS{
enable: flag.Bool("hubble.tls.enable", false, "connect to Hubble using TLS"),
insecureSkipVerify: flag.Bool("hubble.tls.insecureSkipVerify", false, "disable TLS verification for Hubble"),
clientCertificate: flag.String("hubble.tls.clientCertificate", "", ""),
clientKey: flag.String("hubble.tls.clientKey", "", ""),
certificateAuthority: flag.String("hubble.tls.certificateAuthority", "", ""),
},
}

But i can't seem to set hubble.tls.enable. It complains that there's no flag.

@data-dude data-dude changed the title set tls false How do i set hubble.tls.enable to false? Feb 24, 2023
@AwesomePatrol
Copy link
Contributor

You need to set:

tls:
  insecure: true

See https://github.com/cilium/hubble-otel/pull/96/files#diff-5b673cc7083ec3e0e8d6d106bc45bee0e96e77e5b8a712b36294a477cbb44663 for an example.

I have no idea how otel configuration is translated into command line flags

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants