% kubectl sniff -p dns-default-2t74k -n openshift-dns
Error: Get "https://api.cluster.example.com:6443/api/v1/namespaces/openshift-dns/pods/dns-default-2t74k?timeout=30s": x509: certificate signed by unknown authority
The certificate is signed by a CA with the root in my local keychain. Normal commands work:
% kubectl get pods -n openshift-dns
NAME READY STATUS RESTARTS AGE
dns-default-2t74k 2/2 Running 0 15h
dns-default-5msgr 2/2 Running 0 15h
dns-default-llkdx 2/2 Running 0 15h
...
Maybe a difference in the way the plugin handles tls?
I am doing this from a Mac (M1) with MacOS 14.4
% kubectl version --short
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
Client Version: v1.27.4
Kustomize Version: v5.0.1
Server Version: v1.25.14+bcb9a60
I am running in to the following issue:
The certificate is signed by a CA with the root in my local keychain. Normal commands work:
Maybe a difference in the way the plugin handles tls?
I am doing this from a Mac (M1) with MacOS 14.4