You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/.):
N/A What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
--apiserver-host
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG
What happened:
I tried to add the command '--apiserver-host=https://testslaks-dns-7fbdb13b.hcp.eastus.azmk8s.io' to the command line but the pod cannot start due to 'x509: certificate signed by unknown authority'
The ca/token in the service account mounted to the container is good. What you expected to happen:
the container can start after specifying '--apiserver-host'
The issue here is related to client-go library where an external URL is configured, a valid SSL certificate is expected and the ca.crt file from the service account is not used
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/.):
N/A
What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
--apiserver-host
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG
NGINX Ingress controller version:
quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.26.1
Kubernetes version (use
kubectl version
):1.14.7
Environment:
AKS
Azure
Ubuntu 16.04.6 LTS
uname -a
):4.15.0-1063-azure
manually
https://kubernetes.github.io/ingress-nginx/deploy/#prerequisite-generic-deployment-command
N/A
What happened:
I tried to add the command '--apiserver-host=https://testslaks-dns-7fbdb13b.hcp.eastus.azmk8s.io' to the command line but the pod cannot start due to 'x509: certificate signed by unknown authority'
The ca/token in the service account mounted to the container is good.
What you expected to happen:
the container can start after specifying '--apiserver-host'
How to reproduce it (as minimally and precisely as possible):
Add the command to the nginx ingress controller yaml file and deploy it
https://kubernetes.github.io/ingress-nginx/deploy/#prerequisite-generic-deployment-command
Anything else we need to know:
N/A
The text was updated successfully, but these errors were encountered: