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

No support for PV #612

Open
danielstankw opened this issue Aug 16, 2024 · 1 comment
Open

No support for PV #612

danielstankw opened this issue Aug 16, 2024 · 1 comment

Comments

@danielstankw
Copy link

I have tried using the website version.
It works great with deployment.yaml and service.yaml but it can not validate PV and PVC

Here is an example I tried

apiVersion: v1
kind: PersistentVolume
metadata:
  name: example-pv
spec:
  capacity:
    storage: 10Gi
  accessModes:
    - ReadWriteOnce
  persistentVolumeReclaimPolicy: Retain
  storageClassName: manual
  hostPath:
    path: /mnt/data

and

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: example-pvc
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 5Gi
  storageClassName: manual

Are those resources not supported?

@zegl
Copy link
Owner

zegl commented Aug 17, 2024

Hey! What would you expect kube-score to do in this case? What should it check for?

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

No branches or pull requests

2 participants