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

Persistent Volume Claim StorageClass #95

Closed
IanBoden opened this issue Sep 21, 2022 · 0 comments
Closed

Persistent Volume Claim StorageClass #95

IanBoden opened this issue Sep 21, 2022 · 0 comments
Labels
enhancement New feature or request hacktoberfest issues suitable for people to work on in hacktoberfest

Comments

@IanBoden
Copy link
Contributor

IanBoden commented Sep 21, 2022

The current operator doesn't support persistent volume claim storage classes, this works fine for codeready containers which has very basic persistent volumes, but when running it on something a bit more realistic like AWS or Azure then specifying the persistent volume claim storage class is necessary. This should be a relativly simple change to make by adding the storageClass into the volumeClaimTemplate:

volumeClaimTemplates:
- metadata:
name: data
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: "{{_amlen_volume_size}}"

Then it will need to be added into the defauts file:
https://github.com/eclipse/amlen/blob/6900d64e8a425013f80e9246c0088549338c5d48/operator/roles/amlen/defaults/main.yml

Testing this is going to require access to a system with storage classes so using codeready containers wont be suitable. Tere are free trials and developer accounts available on different cloud providers that may be useful.

@IanBoden IanBoden added enhancement New feature or request hacktoberfest issues suitable for people to work on in hacktoberfest needs elaboration issue isn't fully formed yet and needs further elaboration labels Sep 21, 2022
@IanBoden IanBoden changed the title Persistent Volume Claim types Persistent Volume Claim StorageClass Sep 29, 2022
@IanBoden IanBoden removed the needs elaboration issue isn't fully formed yet and needs further elaboration label Sep 29, 2022
@IanBoden IanBoden closed this as completed Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest issues suitable for people to work on in hacktoberfest
Projects
None yet
Development

No branches or pull requests

1 participant