|
| 1 | +{ |
| 2 | + "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | + "title": "Ingress Endpoints Chart Values", |
| 4 | + "type": "object", |
| 5 | + "properties": { |
| 6 | + "namespace": { |
| 7 | + "type": "string", |
| 8 | + "description": "Namespace where resources are deployed" |
| 9 | + }, |
| 10 | + "endpoint": { |
| 11 | + "type": "object", |
| 12 | + "description": "Service endpoint configuration", |
| 13 | + "properties": { |
| 14 | + "name": { |
| 15 | + "type": "string", |
| 16 | + "description": "The name of the Kubernetes Service" |
| 17 | + }, |
| 18 | + "ip": { |
| 19 | + "type": "string", |
| 20 | + "description": "The external IP used in Endpoints" |
| 21 | + }, |
| 22 | + "ports": { |
| 23 | + "type": "array", |
| 24 | + "items": { |
| 25 | + "type": "object", |
| 26 | + "properties": { |
| 27 | + "name": { |
| 28 | + "type": "string", |
| 29 | + "description": "Port name" |
| 30 | + }, |
| 31 | + "port": { |
| 32 | + "type": "integer", |
| 33 | + "description": "Port number" |
| 34 | + }, |
| 35 | + "ingress": { |
| 36 | + "type": "object", |
| 37 | + "description": "Ingress settings for this port", |
| 38 | + "properties": { |
| 39 | + "enabled": { |
| 40 | + "type": "boolean", |
| 41 | + "description": "Whether to create an ingress for this port" |
| 42 | + }, |
| 43 | + "host": { |
| 44 | + "type": "string", |
| 45 | + "description": "Ingress host" |
| 46 | + }, |
| 47 | + "path": { |
| 48 | + "type": "string", |
| 49 | + "description": "Ingress path", |
| 50 | + "default": "/" |
| 51 | + }, |
| 52 | + "annotations": { |
| 53 | + "type": "object", |
| 54 | + "additionalProperties": { |
| 55 | + "type": "string" |
| 56 | + }, |
| 57 | + "description": "Custom annotations for this ingress" |
| 58 | + } |
| 59 | + }, |
| 60 | + "required": ["enabled"] |
| 61 | + } |
| 62 | + }, |
| 63 | + "required": ["name", "port"] |
| 64 | + } |
| 65 | + } |
| 66 | + }, |
| 67 | + "required": ["name", "ports"] |
| 68 | + }, |
| 69 | + "ingress": { |
| 70 | + "type": "object", |
| 71 | + "description": "Global ingress settings", |
| 72 | + "properties": { |
| 73 | + "className": { |
| 74 | + "type": "string", |
| 75 | + "description": "Ingress class to use (e.g., nginx, traefik)" |
| 76 | + }, |
| 77 | + "annotations": { |
| 78 | + "type": "object", |
| 79 | + "description": "Global ingress annotations", |
| 80 | + "additionalProperties": { |
| 81 | + "type": "string" |
| 82 | + } |
| 83 | + }, |
| 84 | + "tls": { |
| 85 | + "type": "array", |
| 86 | + "description": "TLS configuration for ingress", |
| 87 | + "items": { |
| 88 | + "type": "object", |
| 89 | + "properties": { |
| 90 | + "secretName": { |
| 91 | + "type": "string", |
| 92 | + "description": "Name of the TLS secret" |
| 93 | + }, |
| 94 | + "hosts": { |
| 95 | + "type": "array", |
| 96 | + "items": { |
| 97 | + "type": "string" |
| 98 | + }, |
| 99 | + "description": "List of hostnames for the TLS cert" |
| 100 | + } |
| 101 | + }, |
| 102 | + "required": ["secretName", "hosts"] |
| 103 | + } |
| 104 | + } |
| 105 | + } |
| 106 | + } |
| 107 | + }, |
| 108 | + "required": ["namespace", "endpoint"] |
| 109 | +} |
0 commit comments