Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 使用sidecarset引入projected的serviceAccountToken类型的volume报错 #1231

Closed
zhaoxuechao01 opened this issue Mar 21, 2023 · 1 comment · Fixed by #1238
Closed
Labels
kind/bug Something isn't working kind/good-first-issue Good for newcomers
Milestone

Comments

@zhaoxuechao01
Copy link

What happened:

  • name: istio-token
    projected:
    defaultMode: 420
    sources:
    • serviceAccountToken:
      audience: istio-ca
      expirationSeconds: 43200
      path: istio-token

图片

图片

What you expected to happen:

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

Anything else we need to know?:

Environment:

  • Kruise version:
  • Kubernetes version (use kubectl version):
  • Install details (e.g. helm install args):
  • Others:
@zhaoxuechao01 zhaoxuechao01 added the kind/bug Something isn't working label Mar 21, 2023
@furykerry furykerry assigned zmberg and unassigned FillZpp Mar 21, 2023
@zmberg
Copy link
Member

zmberg commented Mar 23, 2023

This can be solved by adding a default 'serviceAccountName' to the code. For community documents please refer to: https://kubernetes.io/docs/concepts/storage/projected-volumes/#serviceaccounttoken .

@zhaoxuechao01 Can you submit the fix pr?

@zmberg zmberg removed their assignment Mar 23, 2023
@zmberg zmberg added the kind/good-first-issue Good for newcomers label Mar 23, 2023
@zmberg zmberg added this to the v1.5 milestone Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working kind/good-first-issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants