From 68d21ccade9deeed9f6d55fdc9bb3527b945c5b2 Mon Sep 17 00:00:00 2001 From: kfox1111 Date: Tue, 17 Sep 2024 13:39:22 -0700 Subject: [PATCH] Add an initial json schema file for spire-agent (#458) * Add an initial json schema file for spire-agent Signed-off-by: Kevin Fox * Fix tab Signed-off-by: Kevin Fox --------- Signed-off-by: Kevin Fox Co-authored-by: Faisal Memon --- .../charts/spire-agent/values.schema.json | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 charts/spire/charts/spire-agent/values.schema.json diff --git a/charts/spire/charts/spire-agent/values.schema.json b/charts/spire/charts/spire-agent/values.schema.json new file mode 100644 index 0000000..de32746 --- /dev/null +++ b/charts/spire/charts/spire-agent/values.schema.json @@ -0,0 +1,50 @@ +{ + "$schema": "http://json-schema.org/schema#", + "type": "object", + "properties": { + "server": { + "type": "object", + "properties": { + "port": { + "type": "integer", + "minimum": 1 + } + } + }, + "healthChecks": { + "type": "object", + "properties": { + "port": { + "type": "integer", + "minimum": 1 + } + } + }, + "livenessProbe": { + "type": "object", + "properties": { + "initialDelaySeconds": { + "type": "integer", + "minimum": 0 + }, + "periodSeconds": { + "type": "integer", + "minimum": 1 + } + } + }, + "readinessProbe": { + "type": "object", + "properties": { + "initialDelaySeconds": { + "type": "integer", + "minimum": 0 + }, + "periodSeconds": { + "type": "integer", + "minimum": 1 + } + } + } + } +}