-
Bug
-
Resolution: Unresolved
-
Major
-
4.16
-
No
-
SDN Sprint 251, SDN Sprint 252
-
2
-
Rejected
-
False
-
Description of problem:
Adding automountServiceAccount: false to the pod removes the SA token in ovnkube-control-plane pod, this causes it to crash with following error: F1212 12:18:13.705048 1 ovnkube.go:136] unable to create kubernetes rest config, err: TLS-secured apiservers require token/cert and CA certificate. This error is misleading as the pod doesnt use KAS and doesnt need the SA token.
Version-Release number of selected component (if applicable):
4.15
How reproducible:
100%
Steps to Reproduce:
1. Add automountServiceAccountToken: false to pod spec in ovnkube-control-plane deployment 2. Check new pod for error 3.
Actual results:
pod crashes with error: unable to create kubernetes rest config, err: TLS-secured apiservers require token/cert and CA certificate.
Expected results:
pod runs without issues
Additional info: