Files
charts/bitnami/phpbb/values.schema.json
Antonio Gámez, PhD a2c2090b5a Autogenerate schema files (#19194)
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
2023-09-11 11:23:08 +02:00

1083 lines
42 KiB
JSON

{
"title": "Chart Values",
"type": "object",
"properties": {
"global": {
"type": "object",
"properties": {
"imageRegistry": {
"type": "string",
"description": "Global Docker image registry",
"default": ""
},
"imagePullSecrets": {
"type": "array",
"description": "Global Docker registry secret names as an array",
"default": [],
"items": {}
},
"storageClass": {
"type": "string",
"description": "Global StorageClass for Persistent Volume(s)",
"default": ""
}
}
},
"kubeVersion": {
"type": "string",
"description": "Force target Kubernetes version (using Helm capabilities if not set)",
"default": ""
},
"nameOverride": {
"type": "string",
"description": "String to partially override common.names.fullname template (will maintain the release name)",
"default": ""
},
"fullnameOverride": {
"type": "string",
"description": "String to fully override common.names.fullname template",
"default": ""
},
"namespaceOverride": {
"type": "string",
"description": "String to fully override common.names.namespace",
"default": ""
},
"commonAnnotations": {
"type": "object",
"description": "Common annotations to add to all phpBB resources (sub-charts are not considered). Evaluated as a template",
"default": {}
},
"commonLabels": {
"type": "object",
"description": "Common labels to add to all phpBB resources (sub-charts are not considered). Evaluated as a template",
"default": {}
},
"extraDeploy": {
"type": "array",
"description": "Array of extra objects to deploy with the release (evaluated as a template)",
"default": [],
"items": {}
},
"image": {
"type": "object",
"properties": {
"registry": {
"type": "string",
"description": "phpBB image registry",
"default": "docker.io"
},
"repository": {
"type": "string",
"description": "phpBB image repository",
"default": "bitnami/phpbb"
},
"tag": {
"type": "string",
"description": "phpBB image tag (immutable tags are recommended)",
"default": "3.3.10-debian-11-r75"
},
"digest": {
"type": "string",
"description": "phpBB image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag",
"default": ""
},
"pullPolicy": {
"type": "string",
"description": "phpBB image pull policy",
"default": "IfNotPresent"
},
"pullSecrets": {
"type": "array",
"description": "Specify docker-registry secret names as an array",
"default": [],
"items": {}
},
"debug": {
"type": "boolean",
"description": "Specify if debug logs should be enabled",
"default": false
}
}
},
"replicaCount": {
"type": "number",
"description": "Number of replicas (requires ReadWriteMany PVC support)",
"default": 1
},
"phpbbSkipInstall": {
"type": "string",
"description": "Skip phpBB installation wizard. Useful for migrations and restoring from SQL dump",
"default": "no"
},
"phpbbDisableSessionValidation": {
"type": "string",
"description": "Disable session validation",
"default": "yes"
},
"phpbbUsername": {
"type": "string",
"description": "User of the application",
"default": "user"
},
"phpbbPassword": {
"type": "string",
"description": "Application password",
"default": ""
},
"phpbbEmail": {
"type": "string",
"description": "Admin email",
"default": "user@example.com"
},
"allowEmptyPassword": {
"type": "string",
"description": "Allow DB blank passwords",
"default": "no"
},
"command": {
"type": "array",
"description": "Override default container command (useful when using custom images)",
"default": [],
"items": {}
},
"args": {
"type": "array",
"description": "Override default container args (useful when using custom images)",
"default": [],
"items": {}
},
"hostAliases": {
"type": "array",
"description": "",
"items": {
"type": "object",
"properties": {
"ip": {
"type": "string",
"description": ""
},
"hostnames": {
"type": "array",
"description": "",
"items": {
"type": "string"
}
}
}
}
},
"updateStrategy": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Update strategy - only really applicable for deployments with RWO PVs attached",
"default": "RollingUpdate"
}
}
},
"extraEnvVars": {
"type": "array",
"description": "An array to add extra env vars",
"default": [],
"items": {}
},
"extraEnvVarsCM": {
"type": "string",
"description": "ConfigMap with extra environment variables",
"default": ""
},
"extraEnvVarsSecret": {
"type": "string",
"description": "Secret with extra environment variables",
"default": ""
},
"extraVolumes": {
"type": "array",
"description": "Extra volumes to add to the deployment. Requires setting `extraVolumeMounts`",
"default": [],
"items": {}
},
"extraVolumeMounts": {
"type": "array",
"description": "Extra volume mounts to add to the container. Normally used with `extraVolumes`",
"default": [],
"items": {}
},
"initContainers": {
"type": "array",
"description": "Extra init containers to add to the deployment",
"default": [],
"items": {}
},
"sidecars": {
"type": "array",
"description": "Extra sidecar containers to add to the deployment",
"default": [],
"items": {}
},
"tolerations": {
"type": "array",
"description": "Tolerations for pod assignment",
"default": [],
"items": {}
},
"existingSecret": {
"type": "string",
"description": "Use existing secret for the application password",
"default": ""
},
"volumePermissions": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable init container that changes volume permissions in the data directory (for cases where the default k8s `runAsUser` and `fsUser` values do not work)",
"default": false
},
"image": {
"type": "object",
"properties": {
"registry": {
"type": "string",
"description": "Init container volume-permissions image registry",
"default": "docker.io"
},
"repository": {
"type": "string",
"description": "Init container volume-permissions image repository",
"default": "bitnami/os-shell"
},
"tag": {
"type": "string",
"description": "Init container volume-permissions image tag (immutable tags are recommended)",
"default": "11-debian-11-r43"
},
"digest": {
"type": "string",
"description": "Init container volume-permissions image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag",
"default": ""
},
"pullPolicy": {
"type": "string",
"description": "Init container volume-permissions image pull policy",
"default": "IfNotPresent"
},
"pullSecrets": {
"type": "array",
"description": "Specify docker-registry secret names as an array",
"default": [],
"items": {}
}
}
},
"resources": {
"type": "object",
"properties": {
"limits": {
"type": "object",
"description": "The resources limits for the container",
"default": {}
},
"requests": {
"type": "object",
"description": "The requested resources for the container",
"default": {}
}
}
}
}
},
"smtpHost": {
"type": "string",
"description": "SMTP host",
"default": ""
},
"smtpPort": {
"type": "string",
"description": "SMTP port",
"default": ""
},
"smtpUser": {
"type": "string",
"description": "SMTP user",
"default": ""
},
"smtpPassword": {
"type": "string",
"description": "SMTP password",
"default": ""
},
"smtpProtocol": {
"type": "string",
"description": "SMTP Protocol (options: ssl,tls, nil)",
"default": ""
},
"containerPorts": {
"type": "object",
"properties": {
"http": {
"type": "number",
"description": "",
"default": 8080
},
"https": {
"type": "number",
"description": "",
"default": 8443
}
}
},
"persistence": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable persistence using PVC",
"default": true
},
"storageClass": {
"type": "string",
"description": "Database data Persistent Volume Storage Class",
"default": ""
},
"accessModes": {
"type": "array",
"description": "PVC Access Mode for phpBB volume",
"default": [
"ReadWriteOnce"
],
"items": {
"type": "string"
}
},
"size": {
"type": "string",
"description": "PVC Storage Request for phpBB volume",
"default": "8Gi"
},
"existingClaim": {
"type": "string",
"description": "A manually managed Persistent Volume Claim",
"default": ""
},
"hostPath": {
"type": "string",
"description": "Host mount path for phpBB volume",
"default": ""
},
"annotations": {
"type": "object",
"description": "Persistent Volume Claim annotations",
"default": {}
}
}
},
"podAffinityPreset": {
"type": "string",
"description": "Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`",
"default": ""
},
"podAntiAffinityPreset": {
"type": "string",
"description": "Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`",
"default": "soft"
},
"nodeAffinityPreset": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`",
"default": ""
},
"key": {
"type": "string",
"description": "Node label key to match Ignored if `affinity` is set.",
"default": ""
},
"values": {
"type": "array",
"description": "Node label values to match. Ignored if `affinity` is set.",
"default": [],
"items": {}
}
}
},
"affinity": {
"type": "object",
"description": "Affinity for pod assignment. Evaluated as a template.",
"default": {}
},
"resources": {
"type": "object",
"properties": {
"requests": {
"type": "object",
"properties": {
"memory": {
"type": "string",
"description": "",
"default": "512Mi"
},
"cpu": {
"type": "string",
"description": "",
"default": "300m"
}
}
},
"limits": {
"type": "object",
"description": "The resources limits for the container",
"default": {}
}
}
},
"nodeSelector": {
"type": "object",
"description": "Node labels for pod assignment. Evaluated as a template.",
"default": {}
},
"podSecurityContext": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable phpBB pods' Security Context",
"default": true
},
"fsGroup": {
"type": "number",
"description": "phpBB pods' group ID",
"default": 1001
}
}
},
"containerSecurityContext": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable phpBB containers' Security Context",
"default": true
},
"runAsUser": {
"type": "number",
"description": "phpBB containers' Security Context runAsUser",
"default": 1001
},
"runAsNonRoot": {
"type": "boolean",
"description": "phpBB containers' Security Context runAsNonRoot",
"default": true
}
}
},
"startupProbe": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable startupProbe",
"default": false
},
"initialDelaySeconds": {
"type": "number",
"description": "Initial delay seconds for startupProbe",
"default": 600
},
"periodSeconds": {
"type": "number",
"description": "Period seconds for startupProbe",
"default": 10
},
"timeoutSeconds": {
"type": "number",
"description": "Timeout seconds for startupProbe",
"default": 5
},
"failureThreshold": {
"type": "number",
"description": "Failure threshold for startupProbe",
"default": 6
},
"successThreshold": {
"type": "number",
"description": "Success threshold for startupProbe",
"default": 1
}
}
},
"livenessProbe": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable livenessProbe",
"default": true
},
"initialDelaySeconds": {
"type": "number",
"description": "Initial delay seconds for livenessProbe",
"default": 600
},
"periodSeconds": {
"type": "number",
"description": "Period seconds for livenessProbe",
"default": 10
},
"timeoutSeconds": {
"type": "number",
"description": "Timeout seconds for livenessProbe",
"default": 5
},
"failureThreshold": {
"type": "number",
"description": "Failure threshold for livenessProbe",
"default": 6
},
"successThreshold": {
"type": "number",
"description": "Success threshold for livenessProbe",
"default": 1
}
}
},
"readinessProbe": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable readinessProbe",
"default": true
},
"initialDelaySeconds": {
"type": "number",
"description": "Initial delay seconds for readinessProbe",
"default": 30
},
"periodSeconds": {
"type": "number",
"description": "Period seconds for readinessProbe",
"default": 5
},
"timeoutSeconds": {
"type": "number",
"description": "Timeout seconds for readinessProbe",
"default": 3
},
"failureThreshold": {
"type": "number",
"description": "Failure threshold for readinessProbe",
"default": 6
},
"successThreshold": {
"type": "number",
"description": "Success threshold for readinessProbe",
"default": 1
}
}
},
"customStartupProbe": {
"type": "object",
"description": "Override default startup probe",
"default": {}
},
"customLivenessProbe": {
"type": "object",
"description": "Override default liveness probe",
"default": {}
},
"customReadinessProbe": {
"type": "object",
"description": "Override default readiness probe",
"default": {}
},
"priorityClassName": {
"type": "string",
"description": "Define the priority class name to use for the phpbb pods",
"default": ""
},
"schedulerName": {
"type": "string",
"description": "Name of the k8s scheduler (other than default)",
"default": ""
},
"topologySpreadConstraints": {
"type": "array",
"description": "Topology Spread Constraints for pod assignment",
"default": [],
"items": {}
},
"lifecycleHooks": {
"type": "object",
"description": "LifecycleHook to set additional configuration before or after startup",
"default": {}
},
"podAnnotations": {
"type": "object",
"description": "Pod annotations",
"default": {}
},
"podLabels": {
"type": "object",
"description": "Pod extra labels",
"default": {}
},
"service": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Kubernetes Service type",
"default": "LoadBalancer"
},
"ports": {
"type": "object",
"properties": {
"http": {
"type": "number",
"description": "Service HTTP port",
"default": 80
},
"https": {
"type": "number",
"description": "Service HTTPS port",
"default": 443
}
}
},
"nodePorts": {
"type": "object",
"properties": {
"http": {
"type": "string",
"description": "Kubernetes HTTP node port",
"default": ""
},
"https": {
"type": "string",
"description": "Kubernetes HTTPS node port",
"default": ""
}
}
},
"externalTrafficPolicy": {
"type": "string",
"description": "Enable client source IP preservation",
"default": "Cluster"
},
"clusterIP": {
"type": "string",
"description": "phpbb service Cluster IP",
"default": ""
},
"loadBalancerIP": {
"type": "string",
"description": "phpbb service Load Balancer IP",
"default": ""
},
"loadBalancerSourceRanges": {
"type": "array",
"description": "phpbb service Load Balancer sources",
"default": [],
"items": {}
},
"extraPorts": {
"type": "array",
"description": "Extra ports to expose (normally used with the `sidecar` value)",
"default": [],
"items": {}
},
"annotations": {
"type": "object",
"description": "Additional custom annotations for phpbb service",
"default": {}
},
"sessionAffinity": {
"type": "string",
"description": "Session Affinity for Kubernetes service, can be \"None\" or \"ClientIP\"",
"default": "None"
},
"sessionAffinityConfig": {
"type": "object",
"description": "Additional settings for the sessionAffinity",
"default": {}
}
}
},
"ingress": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Set to true to enable ingress record generation",
"default": false
},
"pathType": {
"type": "string",
"description": "Ingress path type",
"default": "ImplementationSpecific"
},
"apiVersion": {
"type": "string",
"description": "Override API Version (automatically detected if not set)",
"default": ""
},
"hostname": {
"type": "string",
"description": "Default host for the ingress resource",
"default": "phpbb.local"
},
"path": {
"type": "string",
"description": "The Path to phpBB. You may need to set this to '/*' in order to use this with ALB ingress controllers.",
"default": "/"
},
"annotations": {
"type": "object",
"description": "Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.",
"default": {}
},
"tls": {
"type": "boolean",
"description": "Enable TLS configuration for the hostname defined at ingress.hostname parameter",
"default": false
},
"extraHosts": {
"type": "array",
"description": "The list of additional hostnames to be covered with this ingress record.",
"default": [],
"items": {}
},
"extraPaths": {
"type": "array",
"description": "Any additional arbitrary paths that may need to be added to the ingress under the main host.",
"default": [],
"items": {}
},
"extraTls": {
"type": "array",
"description": "The tls configuration for additional hostnames to be covered with this ingress record.",
"default": [],
"items": {}
},
"secrets": {
"type": "array",
"description": "If you're providing your own certificates, please use this to add the certificates as secrets",
"default": [],
"items": {}
},
"ingressClassName": {
"type": "string",
"description": "IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)",
"default": ""
},
"extraRules": {
"type": "array",
"description": "Additional rules to be covered with this ingress record",
"default": [],
"items": {}
}
}
},
"mariadb": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Whether to deploy a mariadb server to satisfy the applications database requirements",
"default": true
},
"architecture": {
"type": "string",
"description": "MariaDB architecture. Allowed values: `standalone` or `replication`",
"default": "standalone"
},
"auth": {
"type": "object",
"properties": {
"rootPassword": {
"type": "string",
"description": "Password for the MariaDB `root` user",
"default": ""
},
"database": {
"type": "string",
"description": "Database name to create",
"default": "bitnami_phpbb"
},
"username": {
"type": "string",
"description": "Database user to create",
"default": "bn_phpbb"
},
"password": {
"type": "string",
"description": "Password for the database",
"default": ""
}
}
},
"primary": {
"type": "object",
"properties": {
"persistence": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable database persistence using PVC",
"default": true
},
"storageClass": {
"type": "string",
"description": "MariaDB primary persistent volume storage Class",
"default": ""
},
"accessModes": {
"type": "array",
"description": "PVC Access Modes for phpBB volume",
"default": [
"ReadWriteOnce"
],
"items": {
"type": "string"
}
},
"size": {
"type": "string",
"description": "Database Persistent Volume Size",
"default": "8Gi"
},
"hostPath": {
"type": "string",
"description": "Host mount path for MariaDB volume",
"default": ""
},
"existingClaim": {
"type": "string",
"description": "Name of an existing `PersistentVolumeClaim` for MariaDB primary replicas",
"default": ""
}
}
}
}
}
}
},
"externalDatabase": {
"type": "object",
"properties": {
"existingSecret": {
"type": "string",
"description": "Use existing secret (ignores previous password)",
"default": ""
},
"host": {
"type": "string",
"description": "Host of the existing database",
"default": ""
},
"port": {
"type": "number",
"description": "Port of the existing database",
"default": 3306
},
"user": {
"type": "string",
"description": "Existing username in the external db",
"default": "bn_phpbb"
},
"password": {
"type": "string",
"description": "Password for the above username",
"default": ""
},
"database": {
"type": "string",
"description": "Name of the existing database",
"default": "bitnami_phpbb"
}
}
},
"metrics": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Start a side-car prometheus exporter",
"default": false
},
"image": {
"type": "object",
"properties": {
"registry": {
"type": "string",
"description": "Apache exporter image registry",
"default": "docker.io"
},
"repository": {
"type": "string",
"description": "Apache exporter image repository",
"default": "bitnami/apache-exporter"
},
"tag": {
"type": "string",
"description": "Apache exporter image tag (immutable tags are recommended)",
"default": "1.0.1-debian-11-r21"
},
"digest": {
"type": "string",
"description": "Apache exporter image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag",
"default": ""
},
"pullPolicy": {
"type": "string",
"description": "Image pull policy",
"default": "IfNotPresent"
},
"pullSecrets": {
"type": "array",
"description": "Specify docker-registry secret names as an array",
"default": [],
"items": {}
}
}
},
"podAnnotations": {
"type": "object",
"properties": {
"prometheus": {
"type": "object",
"properties": {
"io/scrape": {
"type": "string",
"description": "",
"default": "true"
},
"io/port": {
"type": "string",
"description": "",
"default": "9117"
}
}
}
}
},
"resources": {
"type": "object",
"description": "Metrics exporter resource requests and limits",
"default": {}
}
}
},
"networkPolicy": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable network policies",
"default": false
},
"metrics": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable network policy for metrics (prometheus)",
"default": false
},
"namespaceSelector": {
"type": "object",
"description": "Monitoring namespace selector labels. These labels will be used to identify the prometheus' namespace.",
"default": {}
},
"podSelector": {
"type": "object",
"description": "Monitoring pod selector labels. These labels will be used to identify the Prometheus pods.",
"default": {}
}
}
},
"ingress": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable network policy for Ingress Proxies",
"default": false
},
"namespaceSelector": {
"type": "object",
"description": "Ingress Proxy namespace selector labels. These labels will be used to identify the Ingress Proxy's namespace.",
"default": {}
},
"podSelector": {
"type": "object",
"description": "Ingress Proxy pods selector labels. These labels will be used to identify the Ingress Proxy pods.",
"default": {}
}
}
},
"ingressRules": {
"type": "object",
"properties": {
"backendOnlyAccessibleByFrontend": {
"type": "boolean",
"description": "Enable ingress rule that makes the backend (mariadb) only accessible by phpBB's pods.",
"default": false
},
"customBackendSelector": {
"type": "object",
"description": "Backend selector labels. These labels will be used to identify the backend pods.",
"default": {}
},
"accessOnlyFrom": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable ingress rule that makes phpBB only accessible from a particular origin",
"default": false
},
"namespaceSelector": {
"type": "object",
"description": "Namespace selector label that is allowed to access phpBB. This label will be used to identified the allowed namespace(s).",
"default": {}
},
"podSelector": {
"type": "object",
"description": "Pods selector label that is allowed to access phpBB. This label will be used to identified the allowed pod(s).",
"default": {}
}
}
},
"customRules": {
"type": "object",
"description": "Custom network policy ingress rule",
"default": {}
}
}
},
"egressRules": {
"type": "object",
"properties": {
"denyConnectionsToExternal": {
"type": "boolean",
"description": "Enable egress rule that denies outgoing traffic outside the cluster, except for DNS (port 53).",
"default": false
},
"customRules": {
"type": "object",
"description": "Custom network policy rule",
"default": {}
}
}
}
}
}
}
}