Skip to content

Commit

Permalink
Generate random passwords for backend services
Browse files Browse the repository at this point in the history
  • Loading branch information
sd109 committed Dec 4, 2024
1 parent 024087c commit b72abba
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 3 deletions.
25 changes: 23 additions & 2 deletions helm-azimuth/azimuth-ui.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,23 @@
controls: {}

# Generate random passwords for backend services
controls:
/ragflow/env/MYSQL_PASSWORD:
visuallyHidden: true
/ragflow/env/MINIO_PASSWORD:
visuallyHidden: true
/ragflow/env/REDIS_PASSWORD:
visuallyHidden: true
/ragflow/env/ELASTIC_PASSWORD:
visuallyHidden: true
defaultGenerators:
/ragflow/env/MYSQL_PASSWORD:
type: random
length: 32
/ragflow/env/MINIO_PASSWORD:
type: random
length: 32
/ragflow/env/REDIS_PASSWORD:
type: random
length: 32
/ragflow/env/ELASTIC_PASSWORD:
type: random
length: 32
28 changes: 27 additions & 1 deletion helm-azimuth/values.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
{
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {}
"properties": {
"ragflow": {
"type": "object",
"properties": {
"env": {
"type": "object",
"properties": {
"MYSQL_PASSWORD": {
"type": "string"
},
"MINIO_PASSWORD": {
"type": "string"
},
"REDIS_PASSWORD": {
"type": "string"
},
"ELASTIC_PASSWORD": {
"type": "string"
}
},
"required:": ["MYSQL_PASSWORD", "MINIO_PASSWORD", "REDIS_PASSWORD", "ELASTIC_PASSWORD"]
}
},
"required": ["env"]
}
},
"required": "ragflow"
}

0 comments on commit b72abba

Please sign in to comment.