容器

k8s 执行报错 error: specifying a root certificates file with the insecure flag is not allowed

管某 1 分钟阅读

1
error: specifying a root certificates file with the insecure flag is not allowed

这是因为配置文件中同时存在CA 证书和 insecure-skip-tls-verify 参数只需要删除 certificate-authority-data 则可

修改前

2024-05-04T07:24:51.png

修改后

2024-05-04T07:25:24.png