kosmos-io / kosmos

The limitless expansion of Kubernetes. Make Kubernetes without boundaries
https://kosmos-io.github.io/kosmos-website/
Apache License 2.0
206 stars 48 forks source link

fix: adapt projected volume in any version #339

Closed rxy0210 closed 10 months ago

rxy0210 commented 11 months ago

What happened: The current project does not work properly in either of the following situations:

  1. Create the pod automountServiceAccountToken to false
  2. The k8s version greater than or equal to 1.25 is not applicable

What you expected to happen:

  1. It can be used in both cases

How to reproduce it (as minimally and precisely as possible):

  1. Create the pod automountServiceAccountToken to false
  2. use 1.25 version

Anything else we need to know?:

Environment:

rxy0210 commented 10 months ago

kind/feature