Closed jichenjc closed 3 years ago
I can submit a PR to add a secret and mount if it's something missing from previous change? or I encoutner env issue?
@jichenjc Please try the latest code from main branch, FYI: https://github.com/kubernetes-sigs/cluster-api-provider-nested/issues/185
thanks, I guess it's merged after I opened latest code, will try and close this if it works
What steps did you take and what happened: [A clear and concise description on how to REPRODUCE the bug.]
follow https://github.com/kubernetes-sigs/cluster-api-provider-nested/blob/main/docs/dev-quickstart.md
encounter
the root cause is /etc/kubernetes/pki/root/tls.crt is not defined in volume and then it's not able to find the crt file to start the container,
I removed this line in stateful set and everything is ok now , so I think we need add a secret and mount to api server as volume..
kubectl edit statefulset cluster-sample-apiserver seems doesn't have
What did you expect to happen:
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
Environment:
kubectl version
):/etc/os-release
):/kind bug [One or more /area label. See https://github.com/kubernetes-sigs/cluster-api-provider-nested/labels?q=area for the list of labels]