Skip to content

Commit

Permalink
env schema
Browse files Browse the repository at this point in the history
  • Loading branch information
hspitzley-czi committed Oct 25, 2024
1 parent 3b675e3 commit 15f7417
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
3 changes: 2 additions & 1 deletion stack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ A Helm chart for deploying an Argus stack.
| `global.tolerations` | Tolerations for the pod | `[]` |
| `global.affinity` | Affinity for the pod | `{}` |
| `global.topologySpreadConstraints` | Topology spread constraints for the pod | `[]` |
| `global.env` | Nonsensitive environment variables | `[]` |
| `global.env[0].name` | Environment variable name | `__ARGUS` |
| `global.env[0].value` | Environment variable value | `true` |
| `global.envFrom` | Environment variables from configmaps or secrets | `[]` |
| `global.persistence.enabled` | Enable persistence | `false` |
| `global.persistence.pvc.accessModes` | Access modes | `["ReadWriteOnce"]` |
Expand Down
17 changes: 14 additions & 3 deletions stack/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -466,9 +466,20 @@
},
"env": {
"type": "array",
"description": "Nonsensitive environment variables",
"default": [],
"items": {}
"description": "Environment variable name",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Environment variable name"
},
"value": {
"type": "string",
"description": "Environment variable value"
}
}
}
},
"envFrom": {
"type": "array",
Expand Down
8 changes: 6 additions & 2 deletions stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,12 @@ global:
## @param global.topologySpreadConstraints Topology spread constraints for the pod
topologySpreadConstraints: []

## @param global.env Nonsensitive environment variables
env: []
env:
-
## @param global.env[0].name Environment variable name
name: __ARGUS
## @param global.env[0].value Environment variable value
value: "true"
## @param global.envFrom Environment variables from configmaps or secrets
envFrom: []

Expand Down

0 comments on commit 15f7417

Please sign in to comment.