Skip to content

Commit

Permalink
fix: schema for redis [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
Maurice Faber committed Jul 4, 2021
1 parent 866c3c6 commit 76c15bd
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions values-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,6 @@ definitions:
minimum: 80
type: number
redisChart:
additionalProperties: false
properties:
_rawValues:
$ref: '#/definitions/rawValues'
Expand Down Expand Up @@ -521,6 +520,7 @@ definitions:
$ref: '#/definitions/size'
slave:
$ref: '#/definitions/size'
type: object
securityContext:
additionalProperties:
uniqueItems: true
Expand Down Expand Up @@ -1613,16 +1613,25 @@ properties:
maxBodySize:
type: string
default: 1024m
maxBodySizeBytes:
type: number
default: 1073741824
description: Needed for modsecurity. Should correspond to maxBodySize, but expressed in bytes.
modsecurity:
title: MOD Security
description: Enables MOD Security functionality.
properties:
block:
description: Makes nginx block requests that are marked as violating the modsec rules.
type: boolean
default: true
enabled:
type: boolean
default: false
owasp:
description: Turns on the default OWASP rule set for modsec. See
type: boolean
default: false
default: true
type: object
resources:
$ref: '#/definitions/resources'
Expand Down Expand Up @@ -1765,8 +1774,12 @@ properties:
grafana:
$ref: '#/definitions/resources'
redis-shared:
$ref: '#/definitions/redisChart'
additionalProperties: false
allOf:
- $ref: '#/definitions/redisChart'
- properties:
enabled:
type: boolean
default: false
sitespeed:
additionalProperties: false
properties:
Expand Down

0 comments on commit 76c15bd

Please sign in to comment.