From 864e9de5ef36c19ccdf2ed300a5456c1da63debf Mon Sep 17 00:00:00 2001 From: Benjamin Jee Date: Tue, 28 Jan 2025 13:58:31 -0800 Subject: [PATCH] Update values.yaml helm file --- .../nginx-gateway-fabric/values.schema.json | 28 +++++++++++++++++++ charts/nginx-gateway-fabric/values.yaml | 15 ++++++++++ 2 files changed, 43 insertions(+) diff --git a/charts/nginx-gateway-fabric/values.schema.json b/charts/nginx-gateway-fabric/values.schema.json index 048e4163cf..73a02d292d 100644 --- a/charts/nginx-gateway-fabric/values.schema.json +++ b/charts/nginx-gateway-fabric/values.schema.json @@ -93,6 +93,34 @@ "required": [], "type": "object" }, + "nginxPlus": { + "description": "NginxPlus specifies NGINX Plus additional settings.", + "properties": { + "allowedAddresses": { + "items": { + "properties": { + "type": { + "enum": [ + "CIDR", + "IPAddress" + ], + "required": [], + "type": "string" + }, + "value": { + "required": [], + "type": "string" + } + }, + "required": [] + }, + "required": [], + "type": "array" + } + }, + "required": [], + "type": "object" + }, "rewriteClientIP": { "description": "RewriteClientIP defines configuration for rewriting the client IP to the original client's IP.", "properties": { diff --git a/charts/nginx-gateway-fabric/values.yaml b/charts/nginx-gateway-fabric/values.yaml index 947212da97..2fe06c966c 100644 --- a/charts/nginx-gateway-fabric/values.yaml +++ b/charts/nginx-gateway-fabric/values.yaml @@ -244,6 +244,21 @@ nginx: # - crit # - alert # - emerg + # nginxPlus: + # type: object + # description: NginxPlus specifies NGINX Plus additional settings. + # properties: + # allowedAddresses: + # type: array + # items: + # properties: + # type: + # type: string + # enum: + # - CIDR + # - IPAddress + # value: + # type: string # @schema # -- The configuration for the data plane that is contained in the NginxProxy resource. config: {}