mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 15:10:15 +08:00
* [bitnami/nginx] Add support for context-based configuration includes Add contextIncludes parameters for main, events, and http contexts Add support for multiple external ConfigMaps per context Enable users to load modules, customize events, and add http directives Maintain backward compatibility with existing server blocks 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: cono <q@cono.org.ua> * [bitnami/nginx] Fix phrasing of contextIncludes param description Signed-off-by: cono <q@cono.org.ua> * [bitnami/nginx] contextIncludes shouldn't be a param By analogy with `service`, we shouldn't treat contextIncludes as a separate param. Left a comment with description. contextIncludes.main still a param with description. Signed-off-by: cono <q@cono.org.ua> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> --------- Signed-off-by: cono <q@cono.org.ua> Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com>
178 lines
5.1 KiB
JSON
178 lines
5.1 KiB
JSON
{
|
|
"$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"
|
|
},
|
|
"contextIncludes": {
|
|
"type": "object",
|
|
"form": true,
|
|
"title": "Context-based configuration includes",
|
|
"properties": {
|
|
"main": {
|
|
"type": "string",
|
|
"form": true,
|
|
"title": "Main context configuration",
|
|
"description": "Custom configuration for the main context"
|
|
},
|
|
"events": {
|
|
"type": "string",
|
|
"form": true,
|
|
"title": "Events context configuration",
|
|
"description": "Custom configuration for the events context"
|
|
},
|
|
"http": {
|
|
"type": "string",
|
|
"form": true,
|
|
"title": "HTTP context configuration",
|
|
"description": "Custom configuration for the http context"
|
|
}
|
|
}
|
|
},
|
|
"existingContextMainConfigmaps": {
|
|
"type": "array",
|
|
"form": true,
|
|
"title": "Existing main context ConfigMaps",
|
|
"description": "List of existing ConfigMaps with custom main context configuration",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"existingContextEventsConfigmaps": {
|
|
"type": "array",
|
|
"form": true,
|
|
"title": "Existing events context ConfigMaps",
|
|
"description": "List of existing ConfigMaps with custom events context configuration",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"existingContextHttpConfigmaps": {
|
|
"type": "array",
|
|
"form": true,
|
|
"title": "Existing HTTP context ConfigMaps",
|
|
"description": "List of existing ConfigMaps with custom http context configuration",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|