diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2025-01-23 10:28:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2025-01-23 10:28:04 +0000 |
commit | dd6afefc86a83e6a620d4d6448c2d6a66fb8cd60 (patch) | |
tree | 8085ddbdbaa702ffce3addb482001ec3c6aeb3e5 /kubernetes/common/nginx/values.schema.json | |
parent | a839fbfe4fcde58fa31c02d89782b25412c404f2 (diff) | |
parent | 09006130e365124b692db8081b872aee2db7141a (diff) |
Merge "[USECASEUI] Make usecase-ui work via ingress"
Diffstat (limited to 'kubernetes/common/nginx/values.schema.json')
-rw-r--r-- | kubernetes/common/nginx/values.schema.json | 125 |
1 files changed, 125 insertions, 0 deletions
diff --git a/kubernetes/common/nginx/values.schema.json b/kubernetes/common/nginx/values.schema.json new file mode 100644 index 0000000000..ccb7bcd848 --- /dev/null +++ b/kubernetes/common/nginx/values.schema.json @@ -0,0 +1,125 @@ +{ + "$schema": "http://json-schema.org/schema#", + "type": "object", + "properties": { + "ingress": { + "type": "object", + "form": true, + "title": "Ingress details", + "properties": { + "enabled": { + "type": "boolean", + "form": true, + "title": "Use a custom hostname", + "description": "Enable the ingress resource that allows you to access the NGINX 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\"" + } + } + }, + "replicaCount": { + "type": "integer", + "form": true, + "title": "Number of replicas", + "description": "Number of replicas to deploy" + }, + "serverBlock": { + "type": "string", + "form": true, + "title": "Custom server block", + "description": "Custom server block to be added to NGINX configuration" + }, + "streamServerBlock": { + "type": "string", + "form": true, + "title": "Custom stream server block", + "description": "Custom stream server block to be added to NGINX configuration" + }, + "containerSecurityContext": { + "type": "object", + "form": true, + "title": "NGINX containers' Security Context", + "properties": { + "enabled": { + "type": "boolean", + "form": true, + "title": "Enable Security Context", + "description": "Whether to enable NGINX containers' Security Context" + }, + "runAsUser": { + "type": "integer", + "form": true, + "title": "ID of the user", + "description": "The UID of the user NGINX containers will run as" + } + } + }, + "podSecurityContext": { + "type": "object", + "form": true, + "title": "NGINX pods' Security Context", + "properties": { + "enabled": { + "type": "boolean", + "form": true, + "title": "Enable Security Context", + "description": "Whether to enable NGINX pods' Security Context" + }, + "fsGroup": { + "type": "integer", + "form": true, + "title": "ID of the group", + "description": "The GID of the group NGINX pods will run as" + } + } + }, + "metrics": { + "type": "object", + "form": true, + "title": "Prometheus metrics details", + "properties": { + "enabled": { + "type": "boolean", + "title": "Create Prometheus metrics exporter", + "description": "Create a side-car container to expose Prometheus 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" + } + } + } + } + } + } + } +} |