added chart
This commit is contained in:
parent
537e43a9f4
commit
f94c26e29b
17 changed files with 542 additions and 0 deletions
200
charts/django-nginx-uwsgi/0.4.4/questions.yml
Normal file
200
charts/django-nginx-uwsgi/0.4.4/questions.yml
Normal file
|
|
@ -0,0 +1,200 @@
|
|||
questions:
|
||||
|
||||
# Images
|
||||
- variable: global.image.uwsgi
|
||||
label: uWSGI image
|
||||
type: string
|
||||
group: Images
|
||||
- variable: global.image.nginx
|
||||
label: Nginx image
|
||||
type: string
|
||||
group: Images
|
||||
- variable: global.image.tag
|
||||
label: Image tag
|
||||
description: The tag for nginx & uwsgi images
|
||||
type: string
|
||||
default: "latest"
|
||||
group: Images
|
||||
|
||||
# Databases
|
||||
- variable: app.databaseController.enabled
|
||||
label: Automatic database configuration
|
||||
type: boolean
|
||||
default: "true"
|
||||
show_subquestion_if: "false && global.databaseController.secret.shared=false"
|
||||
group: Database
|
||||
subquestions:
|
||||
- variable: app.configMap.databaseName
|
||||
label: Database name
|
||||
type: string
|
||||
- variable: app.configMap.databasePort
|
||||
label: Database port
|
||||
type: string
|
||||
default: "6543"
|
||||
- variable: app.configMap.databaseUser
|
||||
label: Database username
|
||||
type: string
|
||||
- variable: app.secrets.passwordDB
|
||||
label: Database password
|
||||
type: password
|
||||
- variable: global.databaseController.secret.shared
|
||||
label: Use common secrets
|
||||
description: Use secrets generated by database controller
|
||||
type: boolean
|
||||
default: "true"
|
||||
group: Database
|
||||
- variable: global.cloudSql.host
|
||||
label: CloudSQL database host
|
||||
type: string
|
||||
default: "10.7.0.3"
|
||||
group: Database
|
||||
|
||||
# Main settings
|
||||
- variable: app.configMap.enableSentry
|
||||
label: Enable Sentry DSN
|
||||
type: enum
|
||||
options:
|
||||
- "True"
|
||||
- "False"
|
||||
default: "True"
|
||||
group: Main settings
|
||||
show_subquestion_if: "True"
|
||||
subquestions:
|
||||
- variable: app.secrets.sentryDSN
|
||||
label: Sentry DSN
|
||||
type: string
|
||||
- variable: app.configMap.compressEnabled
|
||||
label: Compress enabled
|
||||
type: enum
|
||||
options:
|
||||
- "True"
|
||||
- "False"
|
||||
default: "True"
|
||||
group: Main settings
|
||||
- variable: app.configMap.compressOffline
|
||||
label: Compress offline
|
||||
type: enum
|
||||
options:
|
||||
- "True"
|
||||
- "False"
|
||||
default: "True"
|
||||
group: Main settings
|
||||
- variable: app.configMap.allowedHosts
|
||||
label: Allowed hosts
|
||||
type: string
|
||||
default: "*"
|
||||
group: Main settings
|
||||
- variable: app.configMap.enableBasicAuth
|
||||
description: Use demo/demo to login
|
||||
label: Use Basic auth
|
||||
type: enum
|
||||
options:
|
||||
- "True"
|
||||
- "False"
|
||||
default: "False"
|
||||
group: Main settings
|
||||
- variable: app.configMap.enable3wRedirect
|
||||
label: Enable www redirect
|
||||
type: enum
|
||||
options:
|
||||
- "True"
|
||||
- "False"
|
||||
default: "False"
|
||||
group: Main settings
|
||||
- variable: app.configMap.enableHttpsRedirect
|
||||
label: Enable https redirect
|
||||
type: enum
|
||||
options:
|
||||
- "True"
|
||||
- "False"
|
||||
default: "False"
|
||||
group: Main settings
|
||||
|
||||
# Migrations
|
||||
- variable: migrations.enabled
|
||||
label: Use pod for migrations
|
||||
description: "Is recommended choose only one option: pods or cronjob as migration executor"
|
||||
type: boolean
|
||||
default: "false"
|
||||
group: Migrations
|
||||
- variable: cronjob.enabled
|
||||
label: Use cron-job for migrations
|
||||
type: boolean
|
||||
default: "true"
|
||||
group: Migrations
|
||||
- variable: migrations.deployment.probes.readiness.timeout
|
||||
label: Timeout for readiness probe request
|
||||
type: int
|
||||
default: 5
|
||||
show_if: "migrations.enabled=true"
|
||||
group: Migrations
|
||||
- variable: migrations.deployment.probes.readiness.period
|
||||
label: Time between readiness probe request
|
||||
type: int
|
||||
default: 30
|
||||
show_if: "migrations.enabled=true"
|
||||
group: Migrations
|
||||
|
||||
|
||||
# Redis
|
||||
- variable: redis.enabled
|
||||
description: This value create a new redis pod
|
||||
label: Use unhosted redis
|
||||
type: boolean
|
||||
default: "false"
|
||||
group: Redis
|
||||
- variable: app.deployment.redis.host
|
||||
label: Redis host
|
||||
type: string
|
||||
default: "10.0.0.3"
|
||||
show_if: "redis.enabled=false"
|
||||
group: Redis
|
||||
- variable: app.deployment.redis.port
|
||||
label: Redis port
|
||||
type: string
|
||||
default: "6379"
|
||||
group: Redis
|
||||
- variable: app.deployment.redis.database
|
||||
label: Redis database
|
||||
type: string
|
||||
default: "1"
|
||||
show_if: "redis.enabled=false"
|
||||
group: Redis
|
||||
|
||||
# Extra components
|
||||
- variable: varnish.enabled
|
||||
label: Use Varnish
|
||||
type: boolean
|
||||
default: "false"
|
||||
group: Extra Components
|
||||
- variable: crons.enabled
|
||||
label: Use Crons
|
||||
type: boolean
|
||||
default: "false"
|
||||
group: Extra Components
|
||||
- variable: celery.enabled
|
||||
label: Use Celery
|
||||
type: boolean
|
||||
default: "false"
|
||||
group: Extra Components
|
||||
- variable: rq.enabled
|
||||
label: Use RQ
|
||||
type: boolean
|
||||
default: "false"
|
||||
group: Extra Components
|
||||
|
||||
|
||||
# Celery settings
|
||||
- variable: global.celery.brokerUrl
|
||||
label: Celery broker url
|
||||
type: string
|
||||
default: "redis://10.0.0.3:6379/1"
|
||||
show_if: "celery.enabled=true"
|
||||
group: Celery settings
|
||||
- variable: celery-beat.enabled
|
||||
label: Use Celery Beat
|
||||
type: boolean
|
||||
default: "false"
|
||||
show_if: "celery.enabled=true"
|
||||
group: Celery settings
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue