mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-04 00:54:46 +08:00
* Support datadog helm chart * Support tbot integration * Reduce doc duplication * Remove default email * Typo: Missing = * Minor fixes
430 lines
14 KiB
JSON
430 lines
14 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "http://example.com/example.json",
|
|
"default": {},
|
|
"required": [
|
|
"image",
|
|
"imagePullSecrets",
|
|
"nameOverride",
|
|
"fullnameOverride",
|
|
"podAnnotations",
|
|
"podSecurityContext",
|
|
"securityContext",
|
|
"nodeSelector",
|
|
"tolerations",
|
|
"affinity",
|
|
"teleport",
|
|
"datadog",
|
|
"log"
|
|
],
|
|
"properties": {
|
|
"image": {
|
|
"$id": "#/properties/image",
|
|
"type": "object",
|
|
"default": {},
|
|
"examples": [
|
|
{
|
|
"repository": "public.ecr.aws/gravitational/teleport-plugin-datadog",
|
|
"pullPolicy": "IfNotPresent",
|
|
"tag": ""
|
|
}
|
|
],
|
|
"required": [
|
|
"repository",
|
|
"pullPolicy",
|
|
"tag"
|
|
],
|
|
"properties": {
|
|
"repository": {
|
|
"$id": "#/properties/image/properties/repository",
|
|
"type": "string",
|
|
"default": "public.ecr.aws/gravitational/teleport-plugin-datadog",
|
|
"examples": [
|
|
"public.ecr.aws/gravitational/teleport-plugin-datadog"
|
|
]
|
|
},
|
|
"pullPolicy": {
|
|
"$id": "#/properties/image/properties/pullPolicy",
|
|
"type": "string",
|
|
"default": "IfNotPresent",
|
|
"examples": [
|
|
"IfNotPresent"
|
|
]
|
|
},
|
|
"tag": {
|
|
"$id": "#/properties/image/properties/tag",
|
|
"type": "string",
|
|
"default": ""
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"imagePullSecrets": {
|
|
"$id": "#/properties/imagePullSecrets",
|
|
"type": "array",
|
|
"default": [],
|
|
"examples": [
|
|
[
|
|
{
|
|
"name": "image-pull-secrets"
|
|
}
|
|
]
|
|
],
|
|
"additionalItems": true,
|
|
"items": {
|
|
"$id": "#/properties/imagePullSecrets/items"
|
|
}
|
|
},
|
|
"nameOverride": {
|
|
"$id": "#/properties/nameOverride",
|
|
"type": "string",
|
|
"default": ""
|
|
},
|
|
"fullnameOverride": {
|
|
"$id": "#/properties/fullnameOverride",
|
|
"type": "string",
|
|
"default": ""
|
|
},
|
|
"podAnnotations": {
|
|
"$id": "#/properties/podAnnotations",
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"podSecurityContext": {
|
|
"$id": "#/properties/podSecurityContext",
|
|
"type": "object",
|
|
"required": [],
|
|
"additionalProperties": true
|
|
},
|
|
"securityContext": {
|
|
"$id": "#/properties/securityContext",
|
|
"type": "object",
|
|
"properties": {
|
|
"capabilities": {
|
|
"$id": "#/properties/securityContext/properties/capabilities",
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
},
|
|
"readOnlyRootFilesystem": {
|
|
"$id": "#/properties/securityContext/properties/readOnlyRootFilesystem",
|
|
"type": "boolean",
|
|
"default": false,
|
|
"examples": [
|
|
true
|
|
]
|
|
},
|
|
"runAsNonRoot": {
|
|
"$id": "#/properties/securityContext/properties/runAsNonRoot",
|
|
"type": "boolean",
|
|
"default": false,
|
|
"examples": [
|
|
true
|
|
]
|
|
},
|
|
"runAsUser": {
|
|
"$id": "#/properties/securityContext/properties/runAsUser",
|
|
"type": "integer",
|
|
"default": 0,
|
|
"examples": [
|
|
1000
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"resources": {
|
|
"$id": "#/properties/resources",
|
|
"type": "object",
|
|
"default": {},
|
|
"examples": [
|
|
{
|
|
"limits": {
|
|
"cpu": "100m",
|
|
"memory": "128Mi"
|
|
},
|
|
"requests": {
|
|
"cpu": "100m",
|
|
"memory": "128Mi"
|
|
}
|
|
}
|
|
],
|
|
"properties": {
|
|
"limits": {
|
|
"$id": "#/properties/resources/properties/limits",
|
|
"type": "object",
|
|
"default": {},
|
|
"examples": [
|
|
{
|
|
"cpu": "100m",
|
|
"memory": "128Mi"
|
|
}
|
|
],
|
|
"required": [
|
|
"cpu",
|
|
"memory"
|
|
],
|
|
"properties": {
|
|
"cpu": {
|
|
"$id": "#/properties/resources/properties/limits/properties/cpu",
|
|
"type": "string",
|
|
"default": "",
|
|
"examples": [
|
|
"100m"
|
|
]
|
|
},
|
|
"memory": {
|
|
"$id": "#/properties/resources/properties/limits/properties/memory",
|
|
"type": "string",
|
|
"default": "",
|
|
"examples": [
|
|
"128Mi"
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"requests": {
|
|
"$id": "#/properties/resources/properties/requests",
|
|
"type": "object",
|
|
"default": {},
|
|
"examples": [
|
|
{
|
|
"cpu": "100m",
|
|
"memory": "128Mi"
|
|
}
|
|
],
|
|
"required": [
|
|
"cpu",
|
|
"memory"
|
|
],
|
|
"properties": {
|
|
"cpu": {
|
|
"$id": "#/properties/resources/properties/requests/properties/cpu",
|
|
"type": "string",
|
|
"default": "",
|
|
"examples": [
|
|
"100m"
|
|
]
|
|
},
|
|
"memory": {
|
|
"$id": "#/properties/resources/properties/requests/properties/memory",
|
|
"type": "string",
|
|
"default": "",
|
|
"examples": [
|
|
"128Mi"
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"nodeSelector": {
|
|
"$id": "#/properties/nodeSelector",
|
|
"type": "object",
|
|
"default": {},
|
|
"additionalProperties": true
|
|
},
|
|
"tolerations": {
|
|
"$id": "#/properties/tolerations",
|
|
"type": "array",
|
|
"default": [],
|
|
"additionalItems": true,
|
|
"items": {
|
|
"$id": "#/properties/tolerations/items"
|
|
}
|
|
},
|
|
"affinity": {
|
|
"$id": "#/properties/affinity",
|
|
"type": "object",
|
|
"default": {},
|
|
"additionalProperties": true
|
|
},
|
|
"teleport": {
|
|
"$id": "#/properties/teleport",
|
|
"type": "object",
|
|
"default": {},
|
|
"examples": [
|
|
{
|
|
"address": "auth.example.com:3025",
|
|
"identitySecretName": "teleport-plugin-datadog-auth-id",
|
|
"identitySecretPath": "auth_id"
|
|
}
|
|
],
|
|
"required": [
|
|
"address",
|
|
"identitySecretName",
|
|
"identitySecretPath"
|
|
],
|
|
"properties": {
|
|
"address": {
|
|
"$id": "#/properties/teleport/properties/address",
|
|
"type": "string",
|
|
"default": "",
|
|
"examples": [
|
|
"auth.example.com:3025"
|
|
]
|
|
},
|
|
"identitySecretName": {
|
|
"$id": "#/properties/teleport/properties/identitySecretName",
|
|
"type": "string",
|
|
"default": ""
|
|
},
|
|
"identitySecretPath": {
|
|
"$id": "#/properties/teleport/properties/identitySecretPath",
|
|
"type": "string",
|
|
"default": "auth_id",
|
|
"examples": [
|
|
"auth_id"
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"datadog": {
|
|
"$id": "#/properties/datadog",
|
|
"type": "object",
|
|
"default": {},
|
|
"examples": [
|
|
{
|
|
"apiEndpoint": "https://api.datadoghq.com",
|
|
"apiKey": "example-api-key",
|
|
"applicationKey": "example-application-key",
|
|
"severity": "SEV-3",
|
|
"fallbackRecipient": "admin@example.com"
|
|
}
|
|
],
|
|
"required": [
|
|
"apiEndpoint",
|
|
"apiKey",
|
|
"applicationKey",
|
|
"fallbackRecipient"
|
|
],
|
|
"properties": {
|
|
"apiEndpoint": {
|
|
"$id": "#/properties/datadog/properties/apiEndpoint",
|
|
"type": "string",
|
|
"default": "https://api.datadoghq.com",
|
|
"examples": [
|
|
"https://api.datadoghq.com",
|
|
"https://api.us3.datadoghq.com",
|
|
"https://api.us5.datadoghq.com",
|
|
"https://api.datadoghq.eu",
|
|
"https://api.ap1.datadoghq.com"
|
|
]
|
|
},
|
|
"apiKey": {
|
|
"$id": "#/properties/datadog/properties/apiKey",
|
|
"type": "string",
|
|
"default": "",
|
|
"examples": [
|
|
"example-api-key"
|
|
]
|
|
},
|
|
"apiKeyFromSecret": {
|
|
"$id": "#/properties/datadog/properties/apiKeyFromSecret",
|
|
"type": "string",
|
|
"default": "",
|
|
"examples": [
|
|
"my-datadog-secret"
|
|
]
|
|
},
|
|
"apiKeySecretPath": {
|
|
"$id": "#/properties/datadog/properties/apiKeySecretPath",
|
|
"type": "string",
|
|
"default": "datadogApiKey",
|
|
"examples": [
|
|
"apikey"
|
|
]
|
|
},
|
|
"applicationKey": {
|
|
"$id": "#/properties/datadog/properties/applicationKey",
|
|
"type": "string",
|
|
"default": "",
|
|
"examples": [
|
|
"example-application-key"
|
|
]
|
|
},
|
|
"applicationKeyFromSecret": {
|
|
"$id": "#/properties/datadog/properties/applicationKeyFromSecret",
|
|
"type": "string",
|
|
"default": "",
|
|
"examples": [
|
|
"my-datadog-secret"
|
|
]
|
|
},
|
|
"applicationKeySecretPath": {
|
|
"$id": "#/properties/datadog/properties/applicationKeySecretPath",
|
|
"type": "string",
|
|
"default": "datadogApplicationKey",
|
|
"examples": [
|
|
"applicationkey"
|
|
]
|
|
},
|
|
"fallbackRecipient": {
|
|
"$id": "#/properties/datadog/properties/fallbackRecipient",
|
|
"type": "string",
|
|
"default": "",
|
|
"examples": [
|
|
"admin@example.com",
|
|
"datadog-team-handle"
|
|
]
|
|
},
|
|
"severity": {
|
|
"$id": "#/properties/datadog/properties/severity",
|
|
"type": "string",
|
|
"default": "SEV-3",
|
|
"examples": [
|
|
"SEV-3"
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"log": {
|
|
"$id": "#/properties/log",
|
|
"type": "object",
|
|
"default": {},
|
|
"examples": [
|
|
{
|
|
"output": "stdout",
|
|
"severity": "INFO"
|
|
}
|
|
],
|
|
"required": [
|
|
"output",
|
|
"severity"
|
|
],
|
|
"properties": {
|
|
"output": {
|
|
"$id": "#/properties/log/properties/output",
|
|
"type": "string",
|
|
"default": "stdout",
|
|
"examples": [
|
|
"stdout"
|
|
]
|
|
},
|
|
"severity": {
|
|
"$id": "#/properties/log/properties/severity",
|
|
"type": "string",
|
|
"default": "INFO",
|
|
"examples": [
|
|
"INFO"
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"secretVolumeName": {
|
|
"$id": "#/properties/secretVolumeName",
|
|
"type": "string",
|
|
"default": "password-file",
|
|
"examples": [
|
|
"my-secret-volume"
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
}
|