| Sketch🕴️ | 620d57b | 2025-07-31 22:31:14 +0400 | [diff] [blame^] | 1 | { |
| 2 | "$schema": "http://json-schema.org/schema#", |
| 3 | "type": "object", |
| 4 | "properties": { |
| 5 | "ingress": { |
| 6 | "type": "object", |
| 7 | "form": true, |
| 8 | "title": "Ingress details", |
| 9 | "properties": { |
| 10 | "enabled": { |
| 11 | "type": "boolean", |
| 12 | "form": true, |
| 13 | "title": "Use a custom hostname", |
| 14 | "description": "Enable the ingress resource that allows you to access the NGINX installation." |
| 15 | }, |
| 16 | "hostname": { |
| 17 | "type": "string", |
| 18 | "form": true, |
| 19 | "title": "Hostname", |
| 20 | "hidden": { |
| 21 | "value": false, |
| 22 | "path": "ingress/enabled" |
| 23 | } |
| 24 | } |
| 25 | } |
| 26 | }, |
| 27 | "service": { |
| 28 | "type": "object", |
| 29 | "form": true, |
| 30 | "title": "Service Configuration", |
| 31 | "properties": { |
| 32 | "type": { |
| 33 | "type": "string", |
| 34 | "form": true, |
| 35 | "title": "Service Type", |
| 36 | "description": "Allowed values: \"ClusterIP\", \"NodePort\" and \"LoadBalancer\"" |
| 37 | } |
| 38 | } |
| 39 | }, |
| 40 | "replicaCount": { |
| 41 | "type": "integer", |
| 42 | "form": true, |
| 43 | "title": "Number of replicas", |
| 44 | "description": "Number of replicas to deploy" |
| 45 | }, |
| 46 | "serverBlock": { |
| 47 | "type": "string", |
| 48 | "form": true, |
| 49 | "title": "Custom server block", |
| 50 | "description": "Custom server block to be added to NGINX configuration" |
| 51 | }, |
| 52 | "streamServerBlock": { |
| 53 | "type": "string", |
| 54 | "form": true, |
| 55 | "title": "Custom stream server block", |
| 56 | "description": "Custom stream server block to be added to NGINX configuration" |
| 57 | }, |
| 58 | "containerSecurityContext": { |
| 59 | "type": "object", |
| 60 | "form": true, |
| 61 | "title": "NGINX containers' Security Context", |
| 62 | "properties": { |
| 63 | "enabled": { |
| 64 | "type": "boolean", |
| 65 | "form": true, |
| 66 | "title": "Enable Security Context", |
| 67 | "description": "Whether to enable NGINX containers' Security Context" |
| 68 | }, |
| 69 | "runAsUser": { |
| 70 | "type": "integer", |
| 71 | "form": true, |
| 72 | "title": "ID of the user", |
| 73 | "description": "The UID of the user NGINX containers will run as" |
| 74 | } |
| 75 | } |
| 76 | }, |
| 77 | "podSecurityContext": { |
| 78 | "type": "object", |
| 79 | "form": true, |
| 80 | "title": "NGINX pods' Security Context", |
| 81 | "properties": { |
| 82 | "enabled": { |
| 83 | "type": "boolean", |
| 84 | "form": true, |
| 85 | "title": "Enable Security Context", |
| 86 | "description": "Whether to enable NGINX pods' Security Context" |
| 87 | }, |
| 88 | "fsGroup": { |
| 89 | "type": "integer", |
| 90 | "form": true, |
| 91 | "title": "ID of the group", |
| 92 | "description": "The GID of the group NGINX pods will run as" |
| 93 | } |
| 94 | } |
| 95 | }, |
| 96 | "metrics": { |
| 97 | "type": "object", |
| 98 | "form": true, |
| 99 | "title": "Prometheus metrics details", |
| 100 | "properties": { |
| 101 | "enabled": { |
| 102 | "type": "boolean", |
| 103 | "title": "Create Prometheus metrics exporter", |
| 104 | "description": "Create a side-car container to expose Prometheus metrics", |
| 105 | "form": true |
| 106 | }, |
| 107 | "serviceMonitor": { |
| 108 | "type": "object", |
| 109 | "properties": { |
| 110 | "enabled": { |
| 111 | "type": "boolean", |
| 112 | "title": "Create Prometheus Operator ServiceMonitor", |
| 113 | "description": "Create a ServiceMonitor to track metrics using Prometheus Operator", |
| 114 | "form": true, |
| 115 | "hidden": { |
| 116 | "value": false, |
| 117 | "path": "metrics/enabled" |
| 118 | } |
| 119 | } |
| 120 | } |
| 121 | } |
| 122 | } |
| 123 | } |
| 124 | } |
| 125 | } |