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
|`sentry.watchNamespaces`| Comma-separated list of namespaces to watch (set to `__all__` to watch all namespaces) |`default`|
23
-
|`sentry.watchHistorical`| Set to `1` to report all existing (old) events, `0` to only report new events |`0`|
24
-
|`sentry.clusterConfigType`| Cluster configuration type (`auto`, `in-cluster`, `out-cluster`) |`auto`|
25
-
|`sentry.kubeconfigPath`| Filesystem path to the kubeconfig used to connect to the cluster (used if `clusterConfigType` is `out-cluster`) | Empty |
26
-
|`sentry.monitorCronjobs`| Set to `1` to enable Sentry Crons integration for CronJob objects |`0`|
27
-
|`sentry.customDsns`| Set to `1` to enable custom DSN specified in annotations with the key `k8s.sentry.io/dsn`|`0`|
28
-
|`image.repository`| Container image name |`getsentry/sentry-kubernetes`|
29
-
|`image.tag`| Container image tag |`latest`|
30
-
|`rbac.create`| If `true`, create and use RBAC resources |`true`|
31
-
|`serviceAccount.name`| Service account to be used. If not set and serviceAccount.create is `true`, a name is generated using the fullname template | Empty |
32
-
|`serviceAccount.create`| If true, create a new service account |`true`|
33
-
|`priorityClassName`| pod priorityClassName | Empty |
34
-
|`resources`| Resource requests and limits |`{}`|
35
-
|`nodeSelector`| Node labels for pod assignment |`{}`|
36
-
|`tolerations`| Tolerations for pod assignment |`[]`|
37
-
|`podAnnotations`| Annotations to add to the pod |`{}`|
38
-
|`podLabels`| Additional labels to add to the pod |`{}`|
39
-
|`rbac.custom_rules`| List of custom RBAC rules to extend default permissions. Each rule can specify `apiGroups`, `resources`, and `verbs`. |`[]`|
40
-
|`sentry.appendEnv`| List of custom environment variables to append. Each item can specify a `name` and either a `value` or a `valueFrom` reference. |`[]`|
|`rbac.create`| If `true`, create and use RBAC resources|`true`|
31
+
|`serviceAccount.name`| Service account to be used. If not set and serviceAccount.create is `true`, a name is generated using the fullname template| Empty |
32
+
|`serviceAccount.create`| If true, create a new service account|`true`|
33
+
|`priorityClassName`| pod priorityClassName| Empty |
34
+
|`resources`| Resource requests and limits|`{}`|
35
+
|`nodeSelector`| Node labels for pod assignment|`{}`|
36
+
|`tolerations`| Tolerations for pod assignment|`[]`|
37
+
|`podAnnotations`| Annotations to add to the pod|`{}`|
38
+
|`podLabels`| Additional labels to add to the pod|`{}`|
39
+
|`rbac.custom_rules`| List of custom RBAC rules to extend default permissions. Each rule can specify `apiGroups`, `resources`, and `verbs`. |`[]`|
40
+
|`sentry.appendEnv`| List of custom environment variables to append. Each item can specify a `name` and either a `value` or a `valueFrom` reference. |`[]`|
41
41
42
42
## Usage
43
43
@@ -48,7 +48,6 @@ After installing the chart, you can configure various aspects of the sentry-kube
48
48
Here's an example `values.yaml` that sets up sentry-kubernetes with custom configurations (remove unused values for default values):
49
49
50
50
```yaml
51
-
52
51
sentry:
53
52
dsn: <your-dsn>
54
53
environment: production
@@ -66,7 +65,6 @@ sentry:
66
65
- name: SENTRY_NEW_ENV_2
67
66
value: "newvalues"
68
67
69
-
70
68
rbac:
71
69
# Specifies whether RBAC resources should be created
72
70
create: true
@@ -95,4 +93,29 @@ resources:
95
93
requests:
96
94
cpu: 250m
97
95
memory: 256Mi
96
+
```
97
+
98
+
## 📑 Schema Validation
99
+
100
+
This enables autocompletion and live validation of your values.yaml file in editors that support JSON Schema (YAML Language Server, VS Code, JetBrains, etc.).
101
+
102
+
**Editor support:** To enable autocompletion and live validation, choose one:
103
+
104
+
* **Add a schema hint** at the top of `values.yaml`:
0 commit comments