Files
secret-manager/values.schema.json
T
claude 2a15304e4c
Helm Chart Release / release-chart (push) Successful in 7s
fix: values.schema.json の $schema 行を削除(デプロイ時のスキーマ解決エラー対策)
no schema with key or ref "https://json-schema.org/draft-07/schema#" で
デプロイできない環境(新しめの JSON Schema バリデータ内蔵の Helm/Argo CD/Flux 等)への対応。
santhosh-tekuri 系バリデータが https 版 draft-07 メタスキーマを持たず解決に失敗するため、
$schema 行を削除。本スキーマはドラフト非依存キーワードのみ使用のため lint --strict の
検証は従来どおり機能する。
2026-09-08 13:17:30 +09:00

152 lines
5.1 KiB
JSON

{
"title": "secret-manager values",
"type": "object",
"additionalProperties": true,
"properties": {
"nameOverride": { "type": "string" },
"fullnameOverride": { "type": "string" },
"distribution": {
"type": "object",
"additionalProperties": false,
"required": ["namespaces", "includeReleaseNamespace", "reflector", "reloader"],
"properties": {
"namespaces": {
"type": "array",
"items": { "type": "string", "minLength": 1 }
},
"includeReleaseNamespace": { "type": "boolean" },
"reflector": {
"type": "object",
"additionalProperties": false,
"required": ["enabled", "namespaceRegex"],
"properties": {
"enabled": { "type": "boolean" },
"namespaceRegex": { "type": "string", "minLength": 1 }
}
},
"reloader": {
"type": "object",
"additionalProperties": false,
"required": ["enabled"],
"properties": {
"enabled": { "type": "boolean" }
}
}
}
},
"common": {
"type": "object",
"additionalProperties": false,
"required": ["namePrefix", "labels", "annotations", "immutable"],
"properties": {
"namePrefix": { "type": "string" },
"labels": { "type": "object" },
"annotations": { "type": "object" },
"immutable": { "type": "boolean" }
}
},
"mail": {
"type": "object",
"additionalProperties": false,
"required": ["providers"],
"properties": {
"providers": {
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": false,
"required": ["enabled", "smtp"],
"properties": {
"enabled": { "type": "boolean" },
"renderMsmtprc": { "type": "boolean" },
"namespacesOverride": { "type": "array", "items": { "type": "string" } },
"annotations": { "type": "object" },
"smtp": {
"type": "object",
"additionalProperties": false,
"required": ["host"],
"properties": {
"host": { "type": "string", "minLength": 1 },
"port": { "type": "integer", "minimum": 1, "maximum": 65535 },
"security": { "type": "string", "enum": ["none", "starttls", "tls"] },
"username": { "type": "string" },
"password": { "type": "string" },
"from": { "type": "string" },
"fromName": { "type": "string" },
"replyTo": { "type": "string" },
"authMethod": { "type": "string", "enum": ["plain", "login", "cram-md5"] }
}
},
"imap": {
"type": "object",
"additionalProperties": false,
"properties": {
"host": { "type": "string" },
"port": { "type": "integer", "minimum": 1, "maximum": 65535 },
"security": { "type": "string", "enum": ["none", "starttls", "tls"] },
"username": { "type": "string" },
"password": { "type": "string" }
}
},
"pop3": {
"type": "object",
"additionalProperties": false,
"properties": {
"host": { "type": "string" },
"port": { "type": "integer", "minimum": 1, "maximum": 65535 },
"security": { "type": "string", "enum": ["none", "starttls", "tls"] },
"username": { "type": "string" },
"password": { "type": "string" }
}
}
}
}
}
}
},
"api": {
"type": "object",
"additionalProperties": false,
"required": ["credentials"],
"properties": {
"credentials": {
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": false,
"required": ["enabled", "data"],
"properties": {
"enabled": { "type": "boolean" },
"data": { "type": "object", "minProperties": 1 },
"namespacesOverride": { "type": "array", "items": { "type": "string" } },
"annotations": { "type": "object" }
}
}
}
}
},
"generic": {
"type": "object",
"additionalProperties": false,
"required": ["secrets"],
"properties": {
"secrets": {
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": false,
"required": ["enabled", "data"],
"properties": {
"enabled": { "type": "boolean" },
"type": { "type": "string" },
"data": { "type": "object", "minProperties": 1 },
"namespacesOverride": { "type": "array", "items": { "type": "string" } },
"annotations": { "type": "object" }
}
}
}
}
}
}
}