Skip to content
Snippets Groups Projects
  1. Jun 01, 2021
  2. May 31, 2021
  3. May 28, 2021
  4. May 27, 2021
  5. May 26, 2021
  6. May 25, 2021
  7. May 20, 2021
  8. May 19, 2021
  9. May 18, 2021
  10. May 17, 2021
  11. May 16, 2021
  12. May 14, 2021
  13. May 12, 2021
  14. May 11, 2021
    • emiran-orange's avatar
      Enables Calico serviceAccount token monitoring and update of... · afbabebf
      emiran-orange authored
      Enables Calico serviceAccount token monitoring and update of /etc/cni/net.d/calico-kubeconfig if need be. (#7586)
      
      Since K8S 1.21, BoundServiceAccountTokenVolume feature gate is in beta stage, thus activated by default (anyone who follows CSI guidelines has enabled AllAlpha and faced the issue before 1.21).
      With this feature, SA tokens are regenerated every hour.
      As a consequence for Calico CNI, token in /etc/cni/net.d/calico-kubeconfig copied from /var/run/secrets/kubernetes.io/serviceaccount in install-cni initContainer expires after one hour and any pod creation fails due to unauthorization.
      Calico pods need to be restarted so that /etc/cni/net.d/calico-kubeconfig is updated with the new SA token.
      afbabebf
    • Cristian Calin's avatar
Loading