vmware-samples / cloud-native-storage-self-service-manager

Cloud Native Storage (CNS) Manager is a diagnostic and self-service tool that helps detect and auto-remediate some of the known issues in storage control plane.
Apache License 2.0
15 stars 4 forks source link

CA #20

Closed danielkucera closed 1 year ago

danielkucera commented 1 year ago

Describe the bug

The cns-manager complains about unknown certificate authority:

2023-06-26T07:52:15.304Z ERROR OrphanVolumeMonitoring ov/monitoring.go:63 Failed to update orphan volume cache. {"TraceId": "212555c3-0999-4324-919a-b8c546ce3677", "error": "Get \"https://172.30.0.1:443/api/v1/persistentvolumes\": x509: certificate signed by unknown authority"}

Reproduction steps

  1. Deploy the project

Expected behavior

The cns-manager can list cluster objects.

Additional context

No response

danielkucera commented 1 year ago

fixed by adding insecure-skip-tls-verify: true into the kubeconfig