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 selector in linstor-csi-controller StatefulSet if you're using apiVersion: apps/v1 #3

Closed
andy812 opened this issue Oct 11, 2019 · 1 comment · Fixed by piraeusdatastore/linstor-csi#40

Comments

@andy812
Copy link

andy812 commented Oct 11, 2019


Add this:

  selector:
    matchLabels:
      app: {{ template "linstor.fullname" . }}-csi-controller
      role: linstor-csi

to fix "error validating data: ValidationError(StatefulSet.spec): missing required field "selector" in io.k8s.api.apps.v1.StatefulSetSpec"

@kvaps kvaps closed this as completed in 7f90259 Oct 11, 2019
@kvaps
Copy link
Owner

kvaps commented Oct 11, 2019

Fixed, thank you for report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants