Files
charts/bitnami/drupal/values.schema.json
Matthieu ROBIN 9978bc0a57 [bitnami/drupal] Implement service monitor and prometheus rules (#12380)
* Add prometheusrules template

Signed-off-by: Matthieu ROBIN <matthieu.robin13@orange.fr>

* Add servicemonitor template

Signed-off-by: Matthieu ROBIN <matthieu.robin13@orange.fr>

* Add service for metrics

Signed-off-by: Matthieu ROBIN <matthieu.robin13@orange.fr>

* Update values.yaml

Add default values

Signed-off-by: Matthieu ROBIN <matthieu.robin13@orange.fr>

* Update documentation

Signed-off-by: Matthieu ROBIN <matthieu.robin13@orange.fr>

* Bump version to 12.5.0

Signed-off-by: Matthieu ROBIN <matthieu.robin13@orange.fr>

* Update Chart.lock

Signed-off-by: Matthieu ROBIN <matthieu.robin13@orange.fr>

* Update values.schema.json

Signed-off-by: Matthieu ROBIN <matthieu.robin13@orange.fr>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Bump version to 6.2.0

Signed-off-by: Matthieu ROBIN <matthieu.robin13@orange.fr>

* Revert Solr version

It was a mistake

Signed-off-by: Matthieu ROBIN <matthieu.robin13@orange.fr>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Update bitnami/drupal/templates/metrics-svc.yaml

Co-authored-by: Fran Mulero <fmulero@vmware.com>
Signed-off-by: Matthieu ROBIN <matthieu.robin13@orange.fr>

* Update bitnami/drupal/values.yaml

Co-authored-by: Fran Mulero <fmulero@vmware.com>
Signed-off-by: Matthieu ROBIN <matthieu.robin13@orange.fr>

* Update documentation

Signed-off-by: Matthieu ROBIN <matthieu.robin13@orange.fr>

* Fix indentation

Signed-off-by: Matthieu ROBIN <matthieu.robin13@orange.fr>

* Fix documentation metadata

Signed-off-by: Matthieu ROBIN <matthieu.robin13@orange.fr>

* Switch from 'http-metrics' to 'metrics'

Signed-off-by: Matthieu ROBIN <matthieu.robin13@orange.fr>

Signed-off-by: Matthieu ROBIN <matthieu.robin13@orange.fr>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Fran Mulero <fmulero@vmware.com>
2022-09-23 17:42:05 +02:00

234 lines
6.2 KiB
JSON

{
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"drupalUsername": {
"type": "string",
"title": "Username",
"form": true
},
"drupalPassword": {
"type": "string",
"title": "Password",
"form": true,
"description": "Defaults to a random 10-character alphanumeric string if not set"
},
"drupalEmail": {
"type": "string",
"title": "Admin email",
"form": true
},
"persistence": {
"type": "object",
"properties": {
"drupal": {
"type": "object",
"properties": {
"size": {
"type": "string",
"title": "Persistent Volume Size",
"form": true,
"render": "slider",
"sliderMin": 1,
"sliderMax": 100,
"sliderUnit": "Gi"
}
}
}
}
},
"ingress": {
"type": "object",
"form": true,
"title": "Ingress Configuration",
"properties": {
"enabled": {
"type": "boolean",
"form": true,
"title": "Use a custom hostname",
"description": "Enable the ingress resource that allows you to access the Drupal installation."
},
"hostname": {
"type": "string",
"form": true,
"title": "Hostname",
"hidden": {
"value": false,
"path": "ingress/enabled"
}
}
}
},
"service": {
"type": "object",
"form": true,
"title": "Service Configuration",
"properties": {
"type": {
"type": "string",
"form": true,
"title": "Service Type",
"description": "Allowed values: \"ClusterIP\", \"NodePort\" and \"LoadBalancer\""
}
}
},
"mariadb": {
"type": "object",
"title": "MariaDB Details",
"form": true,
"properties": {
"enabled": {
"type": "boolean",
"title": "Use a new MariaDB database hosted in the cluster",
"form": true,
"description": "Whether to deploy a mariadb server to satisfy the applications database requirements. To use an external database switch this off and configure the external database details"
},
"primary": {
"type": "object",
"properties": {
"persistence": {
"type": "object",
"properties": {
"size": {
"type": "string",
"title": "Volume Size",
"form": true,
"hidden": {
"value": false,
"path": "mariadb/enabled"
},
"render": "slider",
"sliderMin": 1,
"sliderMax": 100,
"sliderUnit": "Gi"
}
}
}
}
}
}
},
"externalDatabase": {
"type": "object",
"title": "External Database Details",
"description": "If MariaDB is disabled. Use this section to specify the external database details",
"form": true,
"hidden": "mariadb/enabled",
"properties": {
"host": {
"type": "string",
"form": true,
"title": "Database Host"
},
"user": {
"type": "string",
"form": true,
"title": "Database Username"
},
"password": {
"type": "string",
"form": true,
"title": "Database Password"
},
"database": {
"type": "string",
"form": true,
"title": "Database Name"
},
"port": {
"type": "integer",
"form": true,
"title": "Database Port"
}
}
},
"resources": {
"type": "object",
"title": "Requested Resources",
"description": "Configure resource requests",
"form": true,
"properties": {
"requests": {
"type": "object",
"properties": {
"memory": {
"type": "string",
"form": true,
"render": "slider",
"title": "Memory Request",
"sliderMin": 10,
"sliderMax": 2048,
"sliderUnit": "Mi"
},
"cpu": {
"type": "string",
"form": true,
"render": "slider",
"title": "CPU Request",
"sliderMin": 10,
"sliderMax": 2000,
"sliderUnit": "m"
}
}
}
}
},
"metrics": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"title": "Enable Metrics",
"description": "Prometheus Exporter / Metrics",
"form": true
},
"serviceMonitor": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"title": "Create Prometheus Operator ServiceMonitor",
"description": "Create a ServiceMonitor to track metrics using Prometheus Operator",
"form": true,
"hidden": {
"value": false,
"path": "metrics/enabled"
}
}
}
}
}
},
"serviceAccount": {
"type": "object",
"properties": {
"drupal": {
"type": "object",
"properties": {
"create": {
"type": "string",
"title": "Specifies whether a service account should be created",
"form": true
},
"name": {
"type": "string",
"title": "The name of the service account to use",
"form": true
},
"annotations": {
"type": "string",
"title": "Add annotations",
"form": true
},
"automountServiceAccountToken": {
"type": "string",
"title": "Automount API credentials for a service account",
"form": true
}
}
}
}
}
}
}