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

Set Jenkins Persistence.StorageClass "-" as default #10

Closed
JohnNiang opened this issue Jun 22, 2021 · 1 comment · Fixed by #14
Closed

Set Jenkins Persistence.StorageClass "-" as default #10

JohnNiang opened this issue Jun 22, 2021 · 1 comment · Fixed by #14

Comments

@JohnNiang
Copy link
Member

Currently, default value of Jenkins Persistence.StorageClass is "local", which means that we must have a storageclass named "local". This is unreasonable.

https://github.com/LinuxSuRen/ks-devops/blob/781c64c7e93d41b2ee0a66fb50c9f6723a524c69/charts/ks-devops/charts/jenkins/values.yaml#L406

We could make the storageClassName field disappear as default by setting Persistence.StorageClass as "-".

https://kubernetes.io/docs/concepts/storage/persistent-volumes/#class-1
https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#defaultstorageclass

@LinuxSuRen
Copy link
Member

Excellent issue. How about just create a PR against this?

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