Skip to content

Commit

Permalink
0.27.1: updated configuration schema (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaychenko-sergei authored Jul 1, 2024
1 parent 443f679 commit 24b5b85
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 10 deletions.
2 changes: 1 addition & 1 deletion charts/kamu-api-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: kamu-api-server
description: API server component of the Kamu Compute Node
type: application
version: 0.27.0
version: 0.27.1
appVersion: "0.27.1"
home: https://kamu.dev
icon: https://www.kamu.dev/images/kamu_logo_icon_bg_square.png
Expand Down
54 changes: 45 additions & 9 deletions charts/kamu-api-server/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,15 +258,51 @@
"minLength": 1,
"description": "SQLite database path"
},
"user": {
"type": "string",
"minLength": 1,
"description": "Remote database user"
},
"password": {
"type": "string",
"minLength": 1,
"description": "Remote database password"
"credentialsPolicy": {
"type": "object",
"additionalProperties": false,
"required": [
"source"
],
"properties": {
"source": {
"type": "object",
"additionalProperties": false,
"required": [
"kind"
],
"properties": {
"kind": {
"type": "string",
"enum": [
"rawPassword",
"awsSecret",
"awsIamToken"
]
},
"userName": {
"type": "string",
"minLength": 1,
"description": "Remote database user name: used in Raw Password and IAM token modes"
},
"rawPassword": {
"type": "string",
"minLength": 1,
"description": "Remote database raw password"
},
"secretName": {
"type": "string",
"minLength": 1,
"description": "AWS secret name to access user name and password from"
}
}
},
"rotationFrequencyInMinutes": {
"type": "integer",
"minimum": 1,
"description": "How often (in minutes) password rotates"
}
}
},
"databaseName": {
"type": "string",
Expand Down

0 comments on commit 24b5b85

Please sign in to comment.