Skip to content

Commit

Permalink
feat: Update values.schema.json for additional fields in values.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Anderson <[email protected]>
  • Loading branch information
evankanderson committed Jan 10, 2024
1 parent 471639f commit 422be9e
Showing 1 changed file with 92 additions and 0 deletions.
92 changes: 92 additions & 0 deletions charts/openfga/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,46 @@
"type": "boolean",
"description": "enable/disable the job that runs migrations in the datastore",
"default": true
},
"migrations": {
"type": "object",
"description": "Additional configuration for the database migration job",
"properties": {
"resources": {
"type": "object",
"description": "Kubernetes resource requests and limits for the migration job",
"default": {}
},
"image": {
"type": "object",
"description": "Image configuration for the migration job",
"properties": {
"repository": {
"type": "string",
"description": "Container used to wait for migration to complete",
"default": "groundnuty/k8s-wait-for"
},
"tag": {
"type": "string",
"description": "Image tag for the migration job",
"default": "v2.0"
},
"pullPolicy": {
"type": "string",
"description": "Image pull policy for the migration job",
"default": "Always"
}
}
},
"uri": {
"type":["string", "null"],
"description": "the datastore URI to use for migrations"
},
"uriSecret": {
"type":["string", "null"],
"description": "the secret name where to get the datastore URI for migrations, it expects a key named uri to exist in the secret"
}
}
}
}
},
Expand Down Expand Up @@ -552,6 +592,58 @@
"description": "Map of annotations to add to the migration job's manifest",
"additionalProperties": { "type": "string" },
"default": { }
},
"labels": {
"type": "object",
"description": "Map of labels to add to the migration job's manifest",
"additionalProperties": { "type": "string" },
"default": { }
},
"extraEnvVars": {
"type": "array",
"description": "List of additional environment variables to add to the migration job's main container",
"items": {
"type": "object"
},
"default": []
},
"extraVolumes": {
"type": "array",
"description": "List of additional volumes to add to the migration job",
"items": {
"type": "object"
},
"default": []
},
"extraVolumeMounts": {
"type": "array",
"description": "List of additional volumes to add to the migration job",
"items": {
"type": "object"
},
"default": []
},
"serviceAccount": {
"type": "object",
"description": "ServiceAccount to be used for the migration job. If create or name is not set, it uses the same service acocunt as the deployment",
"properties": {
"create": {
"type": "boolean",
"description": "Whether to create a ServiceAccount for the migration job",
"default": false
},
"annotations": {
"type": "object",
"description": "Annotations to add to the ServiceAccount",
"additionalProperties": { "type": "string" },
"default": { }
},
"name": {
"type": "string",
"description": "The name of the ServiceAccount to use. If not set and create is true, a name is generated using the fullname template",
"default": ""
}
}
}
},
"extraEnvVars": {
Expand Down

0 comments on commit 422be9e

Please sign in to comment.