E5FC
Skip to content

kostiantyn-matsebora/helm-storage-provisioner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Storage provisioner

Quality Gate Status

Helm chart for provisioning storage definition (PersistentVolumeClaim and PersistentVolume objects).

Can be useful in the following cases:

  • When you want to separate storage and application management.
  • When you want to bind PersistenVolume with an already existing volume handle (for instance manually created Longhorn volume.)

Configuration

volumes:
   # Name of PVC and PV
  - name: #  media
    # Size of volume
    size: # 400Gi
  # Name of storage class
    storageClassName: # longhorn-large
    # Name of Longhorn pre-created volume
    volumeHandle: # media-storage
    # List of volume access modes
    accessModes: []
    pv: # Optional, need to specify only if do not want to create pv, by default true
      enabled: # true
    
    pvc: # Optional, need to specify only if do not want to create pv, by default true      
      enabled: # true

Example

volumes:
- accessModes:
  - ReadWriteMany
  name: media
  size: 400Gi
  storageClassName: longhorn-large
  volumeHandle: media-storage
- accessModes:
  - ReadWriteMany
  name: qbittorrent-downloads
  size: 10Gi
  storageClassName: longhorn-fast
  volumeHandle: downloads
- accessModes:
  - ReadWriteOnce
  name: jellyfin-cache
  size: 5Gi
  storageClassName: longhorn-fast
  volumeHandle: jellyfin-cache

Usage

Add helm repository first:

helm repo add kostiantyn-matsebora https://kostiantyn-matsebora.github.io/helm-charts/

Install/upgrade helm chart using your custom values:

# oauth2-proxy
helm upgrade storage kostiantyn-matsebora/storage-provisioner --install --values ./custom-values.yaml

Contributing

If you experience any issues, have a question or a suggestion, or if you wish to contribute, feel free to open an issue or start a discussion.

License

MIT License

About

Provisioning storage definition (PersistentVolumeClaim and PersistentVolume objects)

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages

0