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

Enable configuring the affinity for the daemonset pods #1066

Open
andrewmyhre opened this issue Oct 25, 2024 · 0 comments
Open

Enable configuring the affinity for the daemonset pods #1066

andrewmyhre opened this issue Oct 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@andrewmyhre
Copy link

Is your feature request related to a problem? Please describe.
In our clusters there are specific nodes that we want the Vault daemonset to select. In order to make this happen we are maintaining a fork of this Helm chart with a specific patch to enable configuring the affinity of the daemonset. We would like to see this added to the Helm chart so that we can use the official release rather than maintaining a fork.

Describe the solution you'd like
Add the following node to the values.yaml file schema:

daemonset:
  affinity: {}

And the following lines to csi-daemonset.yaml:

spec:
  template:
    spec:
      {{- if .Values.csi.daemonSet.affinity }}
      affinity:
        {{- toYaml .Values.csi.daemonSet.affinity | nindent 8}}
      {{- end }}

Describe alternatives you've considered
Forking the chart (current state)

Additional context

@andrewmyhre andrewmyhre added the enhancement New feature or request label Oct 25, 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