11# ** CSI Hyperstack Helm Chart**
2- [ ![ License] ( https://img.shields.io/badge/license-Apache%202.0-blue.svg )] ( LICENSE )
32[ ![ Helm] ( https://img.shields.io/badge/helm-chart-blue )] ( https://helm.sh/ )
43[ ![ Kubernetes] ( https://img.shields.io/badge/kubernetes-1.24+-green )] ( https://kubernetes.io/ )
54
@@ -9,19 +8,6 @@ This Helm chart simplifies installing, upgrading, and managing the CSI driver re
98
109---
1110
12- ## ** Table of Contents**
13- - [ Overview] ( #overview )
14- - [ Features] ( #features )
15- - [ Prerequisites] ( #prerequisites )
16- - [ Installation] ( #installation )
17- - [ Upgrading] ( #upgrading )
18- - [ Uninstalling] ( #uninstalling )
19- - [ Configuration] ( #configuration )
20- - [ Development] ( #development )
21- - [ License] ( #license )
22-
23- ---
24-
2511## ** Overview**
2612The ** CSI Hyperstack Helm Chart** enables seamless integration between your ** Kubernetes cluster** and ** Hyperstack** .
2713It deploys all required CSI components, including:
@@ -36,7 +22,7 @@ It deploys all required CSI components, including:
3622✅ Deploys the ** Hyperstack CSI driver**
3723✅ Supports ** dynamic volume provisioning**
3824✅ Works with ** Helm 3+**
39- ✅ Kubernetes ** 1.24+** tested
25+ ✅ Kubernetes ** 1.24+**
4026✅ Easily configurable via ` values.yaml `
4127
4228---
@@ -53,18 +39,18 @@ Before installing, ensure you have:
5339
5440### ** 1. Add the Helm Repository**
5541``` bash
56- helm repo add nexgencloud https://nexgencloud.github.io/csi-hyperstack-helm-chart
42+ helm repo add nexgencloud https://nexgencloud.github.io/csi-hyperstack
5743helm repo update
5844```
5945
6046### ** 2. Install the Chart**
6147``` bash
62- helm install csi-hyperstack nexgencloud/csi-hyperstack-helm-chart --namespace kube-system --create-namespace
48+ helm install csi-hyperstack nexgencloud/csi-hyperstack --namespace kube-system --create-namespace --set hyperstack.apiKey= < YOUR_HS_API_KEY >
6349```
6450
6551### ** 3. Verify Installation**
6652``` bash
67- kubectl get pods -n kube-system -l app.kubernetes.io/name=csi-hyperstack
53+ kubectl get pods -n kube-system
6854```
6955
7056You should see all CSI controller and node pods in ** Running** state.
@@ -75,7 +61,7 @@ You should see all CSI controller and node pods in **Running** state.
7561To upgrade to the latest chart version:
7662
7763``` bash
78- helm upgrade csi-hyperstack nexgencloud/csi-hyperstack-helm-chart --namespace kube-system
64+ helm upgrade csi-hyperstack nexgencloud/csi-hyperstack --namespace kube-system
7965```
8066
8167---
@@ -93,47 +79,32 @@ helm uninstall csi-hyperstack -n kube-system
9379This chart supports custom configuration via a ` values.yaml ` file.
9480Here are the most commonly used options:
9581
96- | ** Parameter** | ** Description** | ** Default** |
97- | ------------------------------| ------------------------------------| ----------------------|
98- | ` controller.replicas ` | Number of controller replicas | ` 2 ` |
99- | ` node.tolerations ` | Tolerations for node pods | ` [] ` |
100- | ` storageClass.name ` | Default StorageClass name | ` hyperstack-csi ` |
101- | ` storageClass.reclaimPolicy ` | PVC reclaim policy | ` Delete ` |
102- | ` hyperstack.apiKey ` | API key for Hyperstack | ` "" ` |
103- | ` hyperstack.endpoint ` | Hyperstack API endpoint | ` "" ` |
82+ Mandetory value during chart installations.
10483
105- To override defaults:
84+ | Key | Type | Description | Example |
85+ | ------------------- | ------ | -------------------------------------------------- | ---------------------------------- |
86+ | ` hyperstack.apiKey ` | string | API key for authenticating with the Hyperstack API | ` hyperstack.apiKey=abcd1234 ` |
87+
88+ Other commonly used optional values
89+
90+ | Key | Type | Description | Default |
91+ | -------------------------------- | ------ | ----------------------------------------------------------- | ------------------------------------------- |
92+ | ` components.csiHyperstack.tag ` | string | CSI Hyperstack Image tag | ` latest ` |
93+ | ` hyperstack.apiAddress ` | string | Base URL of the Hyperstack API | ` https://infrahub-api.nexgencloud.com/v1 ` |
94+ | ` storageClass.enabled ` | bool | Whether to create a default ` StorageClass ` | ` true ` |
95+ | ` storageClass.name ` | string | Name of the ` StorageClass ` | ` csi-hyperstack ` |
96+ | ` storageClass.volumeBindingMode ` | string | Volume binding mode (` Immediate ` or ` WaitForFirstConsumer ` ) | ` Immediate ` |
97+ | ` storageClass.reclaimPolicy ` | string | Reclaim policy (` Delete ` or ` Retain ` ) | ` Delete ` |
10698
107- ``` bash
108- helm install csi-hyperstack nexgencloud/csi-hyperstack-helm-chart --namespace kube-system --set hyperstack.apiKey=YOUR_API_KEY --set hyperstack.endpoint=https://infrahub-api.nexgencloud.com
109- ```
11099
111100---
112101
113102## ** Development**
114103If you want to make changes to the chart:
115104
116105``` bash
117- # Clone the repository
118- git clone https://github.com/NexGenCloud/csi-hyperstack-helm-chart.git
119- cd csi-hyperstack-helm-chart
120-
121106# Lint the chart
122107helm lint .
123-
124108# Test install locally
125- helm install csi-hyperstack ./ --dry-run --debug
126- ```
127-
128- ---
129-
130- ## ** License**
131- This project is licensed under the ** Apache 2.0 License** .
132- See [ LICENSE] ( LICENSE ) for details.
133-
134- ---
135-
136- ## ** Next Steps**
137- - [ Helm Documentation] ( https://helm.sh/docs/ )
138- - [ Kubernetes CSI Docs] ( https://kubernetes-csi.github.io/docs/ )
139- - [ NexGen Cloud Hyperstack] ( https://nexgencloud.com )
109+ helm install csi-hyperstack --set hyperstack.apiKey=< YOUR_HS_API_key> . --dry-run --debug
110+ ```
0 commit comments