You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> The connector will not start correctly without the four mandatory `main.credentials` values being set, regardless of the installation method.
95
+
> The connector requires the following mandatory values to start correctly:
96
+
> - `main.credentials.MS_GRAPH_CLIENT_ID`
97
+
> - `main.credentials.MS_GRAPH_CLIENT_SECRET`
98
+
> - `main.credentials.MS_GRAPH_TENANT_ID`
99
+
> - `main.credentials.NETAPP_CONNECTOR_LICENSE`
100
+
> - `main.env.DATABASE_URL` (connection string to your external database)
101
+
102
+
## Database Setup
103
+
104
+
The connector requires an external database (PostgreSQL or MySQL) forstoring connector data. Ensure your database is accessible from the Kubernetes cluster and configure the connection stringin the `DATABASE_URL` parameter.
> This command removes the StatefulSet, Service, and other resources but **does not delete the PersistentVolumeClaim (PVC)**. Your data will be preserved. To permanently delete all data, you must manually delete the PVC.
142
+
> This command removes the Deployment, Service, and other Kubernetes resources. Your external database data will remain intact as it's managed separately from the Helm chart.
116
143
117
144
## Configuration Parameters
118
145
@@ -121,7 +148,7 @@ The following table lists the configurable parameters of NetApp Neo chart and th
121
148
| Parameter | Description | Default |
122
149
|-----------|-------------|---------|
123
150
| `main.name` | The base name for all created resources. | `netapp-connector-main` |
124
-
| `main.replicaCount` | Number of connector pods to run. Only 1 is supported. | `1` |
151
+
| `main.replicaCount` | Number of connector pods to run. | `1` |
125
152
| `main.image.repository` | The container image repository. | `ghcr.io/netapp/netapp-copilot-connector` |
126
153
| `main.image.tag` | The container image tag. If empty, defaults to the chart's `appVersion`. |`""`|
127
154
|`main.image.pullPolicy`| The image pull policy. |`Always`|
@@ -133,11 +160,15 @@ The following table lists the configurable parameters of NetApp Neo chart and th
133
160
|`main.ingress.pathType`| The path typefor the Ingress rule (`Prefix`, `Exact`, `ImplementationSpecific`). |`Prefix`|
134
161
|`main.ingress.className`| The `ingressClassName` to associate with the Ingress. |`""`|
135
162
|`main.ingress.tls`| Ingress TLS configuration (list of objects with `secretName` and `hosts`). |`[]`|
136
-
| `main.persistence.enabled` | If true, create a `PersistentVolumeClaim`. | `true` |
137
-
| `main.persistence.accessMode` | The access mode for the PVC. | `ReadWriteOnce` |
138
-
| `main.persistence.size` | The size of the persistent volume. | `1Gi` |
139
-
| `main.persistence.mountPath` | The path inside the container where the volume is mounted. | `/app/data` |
140
-
| `main.env.*` | Non-sensitive environment variables. See `values.yaml` for all options. | (various) |
163
+
|`main.env.PORT`| The port the application runs on. |`8080`|
164
+
|`main.env.DB_TYPE`| Database type (`postgres` or `mysql`). |`postgres`|
165
+
|`main.env.DATABASE_URL`| Database connection URL. **Must be provided by the user.**|`postgresql://postgres:neodbsecret@neodb:5432/neoconnectortest`|
Copy file name to clipboardExpand all lines: charts/netapp-copilot-connector/values.yaml
+2-6Lines changed: 2 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -22,19 +22,15 @@ main:
22
22
env:
23
23
PORT: 8080
24
24
PYTHONUNBUFFERED: 1
25
-
DB_PATH: "data/database.db"
26
25
HTTPS_PROXY: ""
27
26
PROXY_USERNAME: ""
28
27
PROXY_PASSWORD: ""
29
28
GRAPH_VERIFY_SSL: ""
30
29
GRAPH_TIMEOUT: ""
31
30
SSL_CERT_FILE: ""
32
31
SSL_CERT_FILE_PATH: ""
33
-
persistence:
34
-
enabled: true
35
-
accessMode: ReadWriteOnce
36
-
size: 1Gi
37
-
mountPath: /app/data
32
+
DB_TYPE: postgres # or mysql
33
+
DATABASE_URL: postgresql://postgres:neodbsecret@neodb:5432/neoconnectortest # or mysql://user:password@localhost:3306/netapp_connector
38
34
credentials:
39
35
MS_GRAPH_CONNECTOR_ID: "netappconnector"
40
36
MS_GRAPH_CONNECTOR_DESCRIPTION: "The connector contains information contained in the on premises or on-prem file share server. This contains documents and files. These are of type DOC, DOCM, DOCX, DOT, DOTX, EML, GIF, HTML, JPEG, JPG, MHT, MHTML, MSG, NWS, OBD, OBT, ODP, ODS, ODT, ONE, PDF, PNG, POT, PPS, PPT, PPTM, PPTX, TXT, XLB, XLC, XLSB, XLS, XLSX, XLT, XLXM, XML, XPS, and ZIP."
0 commit comments