Add teleport agent update

This commit is contained in:
Jonny Ervine
2024-08-15 22:45:43 +08:00
parent c0d65a0afb
commit b76e232ac2
143 changed files with 15355 additions and 676 deletions
+135
View File
@@ -15,6 +15,7 @@
"teleportVersionOverride",
"insecureSkipProxyTLSVerify",
"teleportConfig",
"updater",
"existingDataVolume",
"podSecurityPolicy",
"labels",
@@ -29,6 +30,7 @@
"log",
"affinity",
"annotations",
"extraContainers",
"extraVolumes",
"extraVolumeMounts",
"imagePullPolicy",
@@ -264,6 +266,56 @@
}
}
},
"updater": {
"$id": "#/properties/updater",
"type": "object",
"required": [
"enabled"
],
"properties": {
"enabled": {
"$id": "#/properties/updater/properties/enabled",
"type": "boolean",
"default": false
},
"versionServer": {
"$id": "#/properties/updater/properties/versionServer",
"type": "string",
"default": "https://updates.releases.teleport.dev/v1/"
},
"releaseChannel": {
"$id": "#/properties/updater/properties/releaseChannel",
"type": "string",
"default": "stable/cloud"
},
"image": {
"$id": "#/properties/updater/properties/image",
"type": "string",
"default": "public.ecr.aws/gravitational/teleport-kube-agent-updater"
},
"serviceAccount": {
"$id": "#/properties/updater/properties/serviceAccount",
"type": "object",
"properties": {
"name": {
"$id": "#/properties/updater/properties/serviceAccount/properties/name",
"type": "string",
"default": ""
}
}
},
"pullCredentials": {
"$id": "#/properties/updater/properties/pullCredentials",
"type": "string",
"default": ""
},
"extraArgs": {
"$id": "#/properties/updater/properties/extraArgs",
"type": "array",
"default": []
}
}
},
"existingDataVolume": {
"$id": "#/properties/existingDataVolume",
"type": "string",
@@ -392,6 +444,18 @@
}
}
},
"initSecurityContext": {
"$id": "#/properties/initSecurityContext",
"type": "object"
},
"securityContext": {
"$id": "#/properties/podSecurityContext",
"type": "object"
},
"podSecurityContext": {
"$id": "#/properties/securityContext",
"type": "object"
},
"priorityClassName": {
"$id": "#/properties/priorityClassName",
"type": "string",
@@ -494,6 +558,11 @@
"type": "object",
"default": {}
},
"job": {
"$id": "#/properties/extraLabels/properties/job",
"type": "object",
"default": {}
},
"pod": {
"$id": "#/properties/extraLabels/properties/pod",
"type": "object",
@@ -598,6 +667,11 @@
"type": "array",
"default": []
},
"extraContainers": {
"$id": "#/properties/extraContainers",
"type": "array",
"default": []
},
"extraVolumes": {
"$id": "#/properties/extraVolumes",
"type": "array",
@@ -642,6 +716,67 @@
"$id": "#/properties/probeTimeoutSeconds",
"type": "integer",
"default": 1
},
"kubernetesDiscovery": {
"$id": "#/properties/kubernetesDiscovery",
"type": "array",
"default": [],
"properties": {
"types": {
"$id": "#/properties/kubernetesDiscovery/types",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"namespaces": {
"$id": "#/properties/kubernetesDiscovery/namespaces",
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"labels": {
"$id": "#/properties/kubernetesDiscovery/labels",
"type": "object"
},
"additionalProperties": false
}
},
"jamfCredentialsSecret": {
"$id": "#/properties/jamfCredentialsSecret",
"type": "object",
"required": ["create", "name"],
"properties": {
"create": {
"$id": "#/properties/jamfCredentialsSecret/create",
"type": "boolean",
"default": true
},
"name": {
"$id": "#/properties/jamfCredentialsSecret/name",
"type": "string",
"default": "teleport-jamf-api-credentials"
},
"additionalProperties": false
}
},
"jamfApiEndpoint": {
"$id": "#/properties/jamfApiEndpoint",
"type": "string",
"default": ""
},
"jamfClientId": {
"$id": "#/properties/jamfClientId",
"type": "string",
"default": ""
},
"jamfClientSecret": {
"$id": "#/properties/jamfSecret",
"type": "string",
"default": ""
}
}
}