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

Add support for automountServiceAccountToken for StatefulSet and Pods #3216

Open
Nataliia5722 opened this issue Jul 23, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@Nataliia5722
Copy link

Is your feature request related to a problem? Please describe.
Can't set the automountServiceAccountToken: false for StatefulSet and Pods of EventBus

Describe the solution you'd like
automountServiceAccountToken: false can be set for JetStream https://github.com/argoproj/argo-events/blob/master/api/event-bus.md#jetstreambus and applied to StatefulSet and Pod as .spec.automountServiceAccountToken

Describe alternatives you've considered

Additional context
Example of how it will be added on EventBus level:

apiVersion: argoproj.io/v1alpha1
kind: EventBus
metadata:
  name: default
spec:
  jetstream:
    version: 2.9.2
    automountServiceAccountToken: false

And then the StatefulSet will be deployed as:

apiVersion: apps/v1
kind: StatefulSet
metadata:
...
  generation: 3
  name: eventbus-default-js
spec:
  automountServiceAccountToken: false
...

and at the same time for Pods it will be also set as .spec.automountServiceAccountToken:

apiVersion: v1
kind: Pod
metadata:
...
  name: eventbus-default-js-0
spec:
  automountServiceAccountToken: false
...

Message from the maintainers:

If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

@Nataliia5722 Nataliia5722 added the enhancement New feature or request label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant