From 9a41f1336734835ba10bd4b2556a0bb2821ca2b3 Mon Sep 17 00:00:00 2001 From: jwierzbo Date: Mon, 22 Jan 2024 16:01:57 +0100 Subject: [PATCH 01/13] Updated to 1.2.37+git --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index f480e7993..1161a3940 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.37 \ No newline at end of file +1.2.37+git \ No newline at end of file From e67f5a0f58bcbe9ebec36ac17f01b3bad27a09df Mon Sep 17 00:00:00 2001 From: jwierzbo Date: Wed, 24 Jan 2024 11:43:19 +0100 Subject: [PATCH 02/13] Update doc (#1585) --- docs/api/ArangoBackup.V1.md | 62 +- docs/api/ArangoBackupPolicy.V1.md | 32 +- docs/api/ArangoDeployment.V1.md | 1294 ++++++++++---------- docs/api/ArangoDeploymentReplication.V1.md | 24 +- docs/api/ArangoJob.V1.md | 4 +- docs/api/ArangoLocalStorage.V1Alpha.md | 16 +- docs/api/ArangoMLBatchJob.V1Alpha1.md | 12 +- docs/api/ArangoMLCronJob.V1Alpha1.md | 12 +- docs/api/ArangoMLExtension.V1Alpha1.md | 380 +++--- docs/api/ArangoMLStorage.V1Alpha1.md | 42 +- docs/api/ArangoMember.V1.md | 20 +- 11 files changed, 949 insertions(+), 949 deletions(-) diff --git a/docs/api/ArangoBackup.V1.md b/docs/api/ArangoBackup.V1.md index 831946853..8fa8d431c 100644 --- a/docs/api/ArangoBackup.V1.md +++ b/docs/api/ArangoBackup.V1.md @@ -10,7 +10,7 @@ title: ArangoBackup V1 ### .spec.backoff.iterations -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec_backoff.go#L31) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec_backoff.go#L31) Iterations defines number of iterations before reaching MaxDelay. Default to 5 @@ -18,7 +18,7 @@ Iterations defines number of iterations before reaching MaxDelay. Default to 5 ### .spec.backoff.max_delay -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec_backoff.go#L29) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec_backoff.go#L29) MaxDelay defines maximum delay in seconds. Default to 600 @@ -26,7 +26,7 @@ MaxDelay defines maximum delay in seconds. Default to 600 ### .spec.backoff.max_iterations -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec_backoff.go#L33) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec_backoff.go#L33) MaxIterations defines maximum number of iterations after backoff will be disabled. Default to nil (no limit) @@ -34,7 +34,7 @@ MaxIterations defines maximum number of iterations after backoff will be disable ### .spec.backoff.min_delay -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec_backoff.go#L27) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec_backoff.go#L27) MinDelay defines minimum delay in seconds. Default to 30 @@ -42,7 +42,7 @@ MinDelay defines minimum delay in seconds. Default to 30 ### .spec.deployment.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L54) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L54) Name of the ArangoDeployment Custom Resource within same namespace as ArangoBackup Custom Resource. @@ -52,7 +52,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.download.autoDelete -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L84) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L84) AutoDelete removes the ArangoBackup resource (which removes the backup from the cluster) after successful upload @@ -62,7 +62,7 @@ Default Value: `false` ### .spec.download.credentialsSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L81) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L81) CredentialsSecretName is the name of the secret used while accessing repository @@ -75,7 +75,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.download.id -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L92) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L92) ID of the ArangoBackup to be downloaded @@ -85,7 +85,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.download.repositoryURL -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L77) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L77) RepositoryURL is the URL path for file storage Same repositoryURL needs to be defined in `credentialsSecretName` if protocol is other than local. @@ -106,7 +106,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.lifetime -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L47) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L47) Lifetime is the time after which the backup will be deleted. Format: "1.5h" or "2h45m". @@ -114,7 +114,7 @@ Lifetime is the time after which the backup will be deleted. Format: "1.5h" or " ### .spec.options.allowInconsistent -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L66) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L66) AllowInconsistent flag for Backup creation request. If this value is set to true, backup is taken even if we are not able to acquire lock. @@ -127,7 +127,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.options.timeout -Type: `number` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L61) +Type: `number` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L61) Timeout for Backup creation request in seconds. Works only when AsyncBackupCreation feature is set to false. @@ -139,7 +139,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.policyName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L42) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L42) PolicyName name of the ArangoBackupPolicy which created this Custom Resource @@ -149,7 +149,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.upload.autoDelete -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L84) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L84) AutoDelete removes the ArangoBackup resource (which removes the backup from the cluster) after successful upload @@ -159,7 +159,7 @@ Default Value: `false` ### .spec.upload.credentialsSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L81) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L81) CredentialsSecretName is the name of the secret used while accessing repository @@ -172,7 +172,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.upload.repositoryURL -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L77) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L77) RepositoryURL is the URL path for file storage Same repositoryURL needs to be defined in `credentialsSecretName` if protocol is other than local. @@ -193,7 +193,7 @@ This field is **immutable**: can't be changed after backup creation ### .status.available -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status.go#L36) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status.go#L36) Available Determines if we can restore from ArangoBackup @@ -201,13 +201,13 @@ Available Determines if we can restore from ArangoBackup ### .status.backoff.iterations -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status_backoff.go#L30) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status_backoff.go#L30) *** ### .status.backup.downloaded -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status.go#L66) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status.go#L66) Downloaded Determines if ArangoBackup has been downloaded. @@ -215,25 +215,25 @@ Downloaded Determines if ArangoBackup has been downloaded. ### .status.backup.id -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status.go#L56) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status.go#L56) *** ### .status.backup.imported -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status.go#L67) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status.go#L67) *** ### .status.backup.keys -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status.go#L70) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status.go#L70) *** ### .status.backup.numberOfDBServers -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status.go#L62) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status.go#L62) NumberOfDBServers Cluster size of the Backup in ArangoDB @@ -241,13 +241,13 @@ NumberOfDBServers Cluster size of the Backup in ArangoDB ### .status.backup.potentiallyInconsistent -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status.go#L58) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status.go#L58) *** ### .status.backup.sizeInBytes -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status.go#L60) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status.go#L60) SizeInBytes Size of the Backup in ArangoDB. @@ -255,7 +255,7 @@ SizeInBytes Size of the Backup in ArangoDB. ### .status.backup.uploaded -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status.go#L64) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status.go#L64) Uploaded Determines if ArangoBackup has been uploaded @@ -263,13 +263,13 @@ Uploaded Determines if ArangoBackup has been uploaded ### .status.backup.version -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_status.go#L57) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status.go#L57) *** ### .status.message -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_state.go#L91) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_state.go#L91) Message for the state this object is in. @@ -277,7 +277,7 @@ Message for the state this object is in. ### .status.progress.jobID -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_state.go#L114) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_state.go#L114) JobID ArangoDB job ID for uploading or downloading @@ -285,7 +285,7 @@ JobID ArangoDB job ID for uploading or downloading ### .status.progress.progress -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_state.go#L117) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_state.go#L117) Progress ArangoDB job progress in percents @@ -298,7 +298,7 @@ Example: ### .status.state -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_state.go#L85) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_state.go#L85) State holds the current high level state of the backup diff --git a/docs/api/ArangoBackupPolicy.V1.md b/docs/api/ArangoBackupPolicy.V1.md index 27f29a29a..ab9a73cb2 100644 --- a/docs/api/ArangoBackupPolicy.V1.md +++ b/docs/api/ArangoBackupPolicy.V1.md @@ -10,7 +10,7 @@ title: ArangoBackupPolicy V1 ### .spec.allowConcurrent -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_policy_spec.go#L35) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_policy_spec.go#L35) AllowConcurrent if false, ArangoBackup will not be created when previous Backups are not finished @@ -20,7 +20,7 @@ Default Value: `true` ### .spec.maxBackups -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_policy_spec.go#L43) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_policy_spec.go#L43) MaxBackups defines how many backups should be kept in history (per deployment). Oldest healthy Backups will be deleted. If not specified or 0 then no limit is applied @@ -31,7 +31,7 @@ Default Value: `0` ### .spec.schedule -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_policy_spec.go#L32) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_policy_spec.go#L32) Schedule is cron-compatible specification of backup schedule Parsed by https://godoc.org/github.com/robfig/cron @@ -40,7 +40,7 @@ Parsed by https://godoc.org/github.com/robfig/cron ### .spec.selector -Type: `meta.LabelSelector` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_policy_spec.go#L39) +Type: `meta.LabelSelector` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_policy_spec.go#L39) DeploymentSelector Selector definition for selecting matching ArangoBackup Custom Resources. @@ -51,7 +51,7 @@ Links: ### .spec.template.backoff.iterations -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec_backoff.go#L31) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec_backoff.go#L31) Iterations defines number of iterations before reaching MaxDelay. Default to 5 @@ -59,7 +59,7 @@ Iterations defines number of iterations before reaching MaxDelay. Default to 5 ### .spec.template.backoff.max_delay -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec_backoff.go#L29) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec_backoff.go#L29) MaxDelay defines maximum delay in seconds. Default to 600 @@ -67,7 +67,7 @@ MaxDelay defines maximum delay in seconds. Default to 600 ### .spec.template.backoff.max_iterations -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec_backoff.go#L33) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec_backoff.go#L33) MaxIterations defines maximum number of iterations after backoff will be disabled. Default to nil (no limit) @@ -75,7 +75,7 @@ MaxIterations defines maximum number of iterations after backoff will be disable ### .spec.template.backoff.min_delay -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec_backoff.go#L27) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec_backoff.go#L27) MinDelay defines minimum delay in seconds. Default to 30 @@ -83,7 +83,7 @@ MinDelay defines minimum delay in seconds. Default to 30 ### .spec.template.lifetime -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_policy_spec.go#L61) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_policy_spec.go#L61) Lifetime is the time after which the backup will be deleted. Format: "1.5h" or "2h45m". @@ -91,7 +91,7 @@ Lifetime is the time after which the backup will be deleted. Format: "1.5h" or " ### .spec.template.options.allowInconsistent -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L66) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L66) AllowInconsistent flag for Backup creation request. If this value is set to true, backup is taken even if we are not able to acquire lock. @@ -104,7 +104,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.template.options.timeout -Type: `number` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L61) +Type: `number` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L61) Timeout for Backup creation request in seconds. Works only when AsyncBackupCreation feature is set to false. @@ -116,7 +116,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.template.upload.autoDelete -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L84) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L84) AutoDelete removes the ArangoBackup resource (which removes the backup from the cluster) after successful upload @@ -126,7 +126,7 @@ Default Value: `false` ### .spec.template.upload.credentialsSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L81) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L81) CredentialsSecretName is the name of the secret used while accessing repository @@ -139,7 +139,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.template.upload.repositoryURL -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_spec.go#L77) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L77) RepositoryURL is the URL path for file storage Same repositoryURL needs to be defined in `credentialsSecretName` if protocol is other than local. @@ -160,7 +160,7 @@ This field is **immutable**: can't be changed after backup creation ### .status.message -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_policy_status.go#L33) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_policy_status.go#L33) Message from the operator in case of failures - schedule not valid, ArangoBackupPolicy not valid @@ -168,7 +168,7 @@ Message from the operator in case of failures - schedule not valid, ArangoBackup ### .status.scheduled -Type: `meta.Time` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/backup/v1/backup_policy_status.go#L31) +Type: `meta.Time` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_policy_status.go#L31) Scheduled Next scheduled time in UTC diff --git a/docs/api/ArangoDeployment.V1.md b/docs/api/ArangoDeployment.V1.md index 62a83e0ef..1b99adc3a 100644 --- a/docs/api/ArangoDeployment.V1.md +++ b/docs/api/ArangoDeployment.V1.md @@ -10,7 +10,7 @@ title: ArangoDeployment V1 ### .spec.agents.affinity -Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L180) +Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L180) Affinity specified additional affinity settings in ArangoDB Pod definitions @@ -21,7 +21,7 @@ Links: ### .spec.agents.allowMemberRecreation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L222) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L222) AllowMemberRecreation allows to recreate member. This setting changes the member recreation logic based on group: @@ -32,7 +32,7 @@ This setting changes the member recreation logic based on group: ### .spec.agents.annotations -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L125) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L125) Annotations specified the annotations added to Pods in this group. Annotations are merged with `spec.annotations`. @@ -41,7 +41,7 @@ Annotations are merged with `spec.annotations`. ### .spec.agents.annotationsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L127) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L127) AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored @@ -49,7 +49,7 @@ AnnotationsIgnoreList list regexp or plain definitions which annotations should ### .spec.agents.annotationsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L129) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L129) AnnotationsMode Define annotations mode which should be use while overriding annotations @@ -57,7 +57,7 @@ AnnotationsMode Define annotations mode which should be use while overriding ann ### .spec.agents.antiAffinity -Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L176) +Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L176) AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions @@ -68,7 +68,7 @@ Links: ### .spec.agents.args -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L85) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L85) Args setting specifies additional command-line arguments passed to all servers of this group. @@ -78,7 +78,7 @@ Default Value: `[]` ### .spec.agents.count -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L77) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L77) Count setting specifies the number of servers to start for the given group. For the Agent group, this value must be a positive, odd number. @@ -91,7 +91,7 @@ as for the `dbservers` group. ### .spec.agents.entrypoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L87) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L87) Entrypoint overrides container executable @@ -99,19 +99,19 @@ Entrypoint overrides container executable ### .spec.agents.envs\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_env_var.go#L26) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L26) *** ### .spec.agents.envs\[int\].value -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_env_var.go#L27) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L27) *** ### .spec.agents.ephemeralVolumes.apps.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -122,7 +122,7 @@ Links: ### .spec.agents.ephemeralVolumes.temp.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -133,7 +133,7 @@ Links: ### .spec.agents.exporterPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L235) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L235) ExporterPort define Port used by exporter @@ -141,7 +141,7 @@ ExporterPort define Port used by exporter ### .spec.agents.extendedRotationCheck -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L205) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L205) ExtendedRotationCheck extend checks for rotation @@ -149,7 +149,7 @@ ExtendedRotationCheck extend checks for rotation ### .spec.agents.externalPortEnabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L217) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L217) ExternalPortEnabled if external port should be enabled. If is set to false, ports needs to be exposed via sidecar. Only for ArangoD members @@ -157,7 +157,7 @@ ExternalPortEnabled if external port should be enabled. If is set to false, port ### .spec.agents.indexMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L228) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L228) IndexMethod define group Indexing method @@ -169,7 +169,7 @@ Possible Values: ### .spec.agents.initContainers.containers -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_init_containers.go#L91) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L91) Containers contains list of containers @@ -180,7 +180,7 @@ Links: ### .spec.agents.initContainers.mode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_init_containers.go#L94) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L94) Mode keep container replace mode @@ -188,7 +188,7 @@ Mode keep container replace mode ### .spec.agents.internalPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L213) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L213) InternalPort define port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -196,7 +196,7 @@ InternalPort define port used in internal communication, can be accessed over lo ### .spec.agents.internalPortProtocol -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L215) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L215) InternalPortProtocol define protocol of port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -204,7 +204,7 @@ InternalPortProtocol define protocol of port used in internal communication, can ### .spec.agents.labels -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L131) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L131) Labels specified the labels added to Pods in this group. @@ -212,7 +212,7 @@ Labels specified the labels added to Pods in this group. ### .spec.agents.labelsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L133) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L133) LabelsIgnoreList list regexp or plain definitions which labels should be ignored @@ -220,7 +220,7 @@ LabelsIgnoreList list regexp or plain definitions which labels should be ignored ### .spec.agents.labelsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L135) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L135) LabelsMode Define labels mode which should be use while overriding labels @@ -228,7 +228,7 @@ LabelsMode Define labels mode which should be use while overriding labels ### .spec.agents.maxCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L81) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L81) MaxCount specifies a maximum for the count of servers. If set, a specification is invalid if `count > maxCount`. @@ -236,7 +236,7 @@ MaxCount specifies a maximum for the count of servers. If set, a specification i ### .spec.agents.memoryReservation -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L107) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L107) MemoryReservation determines the system reservation of memory while calculating `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` value. If this field is set, `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` is reduced by a specified value in percent. @@ -251,7 +251,7 @@ Default Value: `0` ### .spec.agents.minCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L79) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L79) MinCount specifies a minimum for the count of servers. If set, a specification is invalid if `count < minCount`. @@ -259,7 +259,7 @@ MinCount specifies a minimum for the count of servers. If set, a specification i ### .spec.agents.nodeAffinity -Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L184) +Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L184) NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions @@ -270,7 +270,7 @@ Links: ### .spec.agents.nodeSelector -Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L150) +Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L150) NodeSelector setting specifies a set of labels to be used as `nodeSelector` for Pods of this node. @@ -281,7 +281,7 @@ Links: ### .spec.agents.numactl.args -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) Args define list of the numactl process @@ -291,7 +291,7 @@ Default Value: `[]` ### .spec.agents.numactl.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) Enabled define if numactl should be enabled @@ -301,7 +301,7 @@ Default Value: `false` ### .spec.agents.numactl.path -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) Path define numactl path within the container @@ -311,7 +311,7 @@ Default Value: `/usr/bin/numactl` ### .spec.agents.overrideDetectedNumberOfCores -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L113) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L113) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES` Container Environment Variable @@ -327,7 +327,7 @@ Default Value: `true` ### .spec.agents.overrideDetectedTotalMemory -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L101) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L101) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` Container Environment Variable @@ -343,19 +343,19 @@ Default Value: `true` ### .spec.agents.podModes.network -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) *** ### .spec.agents.podModes.pid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) *** ### .spec.agents.port -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L233) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L233) Port define Port used by member @@ -363,7 +363,7 @@ Port define Port used by member ### .spec.agents.priorityClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L156) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L156) PriorityClassName specifies a priority class name Will be forwarded to the pod spec. @@ -375,7 +375,7 @@ Links: ### .spec.agents.probes.livenessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L245) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L245) LivenessProbeDisabled if set to true, the operator does not generate a liveness probe for new pods belonging to this group @@ -385,7 +385,7 @@ Default Value: `false` ### .spec.agents.probes.livenessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -397,7 +397,7 @@ Default Value: `3` ### .spec.agents.probes.livenessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -408,7 +408,7 @@ Default Value: `2` ### .spec.agents.probes.livenessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -419,7 +419,7 @@ Default Value: `10` ### .spec.agents.probes.livenessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -430,7 +430,7 @@ Default Value: `1` ### .spec.agents.probes.livenessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -441,7 +441,7 @@ Default Value: `2` ### .spec.agents.probes.ReadinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L252) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L252) OldReadinessProbeDisabled if true readinessProbes are disabled Deprecated: This field is deprecated, kept only for backward compatibility. @@ -450,7 +450,7 @@ Deprecated: This field is deprecated, kept only for backward compatibility. ### .spec.agents.probes.readinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L254) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L254) ReadinessProbeDisabled override flag for probe disabled in good manner (lowercase) with backward compatibility @@ -458,7 +458,7 @@ ReadinessProbeDisabled override flag for probe disabled in good manner (lowercas ### .spec.agents.probes.readinessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -470,7 +470,7 @@ Default Value: `3` ### .spec.agents.probes.readinessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -481,7 +481,7 @@ Default Value: `2` ### .spec.agents.probes.readinessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -492,7 +492,7 @@ Default Value: `10` ### .spec.agents.probes.readinessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -503,7 +503,7 @@ Default Value: `1` ### .spec.agents.probes.readinessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -514,7 +514,7 @@ Default Value: `2` ### .spec.agents.probes.startupProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L259) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L259) StartupProbeDisabled if true startupProbes are disabled @@ -522,7 +522,7 @@ StartupProbeDisabled if true startupProbes are disabled ### .spec.agents.probes.startupProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -534,7 +534,7 @@ Default Value: `3` ### .spec.agents.probes.startupProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -545,7 +545,7 @@ Default Value: `2` ### .spec.agents.probes.startupProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -556,7 +556,7 @@ Default Value: `10` ### .spec.agents.probes.startupProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -567,7 +567,7 @@ Default Value: `1` ### .spec.agents.probes.startupProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -578,7 +578,7 @@ Default Value: `2` ### .spec.agents.pvcResizeMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L170) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L170) VolumeResizeMode specified resize mode for PVCs and PVs @@ -590,7 +590,7 @@ Possible Values: ### .spec.agents.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L95) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L95) Resources holds resource requests & limits @@ -601,7 +601,7 @@ Links: ### .spec.agents.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L89) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L89) SchedulerName define scheduler name used for group @@ -609,7 +609,7 @@ SchedulerName define scheduler name used for group ### .spec.agents.securityContext.addCapabilities -Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) +Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) AddCapabilities add new capabilities to containers @@ -617,7 +617,7 @@ AddCapabilities add new capabilities to containers ### .spec.agents.securityContext.allowPrivilegeEscalation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process. @@ -625,7 +625,7 @@ AllowPrivilegeEscalation Controls whether a process can gain more privileges tha ### .spec.agents.securityContext.dropAllCapabilities -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0. @@ -634,7 +634,7 @@ Deprecated: This field is added for backward compatibility. Will be removed in 1 ### .spec.agents.securityContext.fsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) FSGroup is a special supplemental group that applies to all containers in a pod. @@ -642,7 +642,7 @@ FSGroup is a special supplemental group that applies to all containers in a pod. ### .spec.agents.securityContext.privileged -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. @@ -651,7 +651,7 @@ essentially equivalent to root on the host. ### .spec.agents.securityContext.readOnlyRootFilesystem -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only. @@ -659,7 +659,7 @@ ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-o ### .spec.agents.securityContext.runAsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) RunAsGroup is the GID to run the entrypoint of the container process. @@ -667,7 +667,7 @@ RunAsGroup is the GID to run the entrypoint of the container process. ### .spec.agents.securityContext.runAsNonRoot -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) RunAsNonRoot if true, indicates that the container must run as a non-root user. @@ -675,7 +675,7 @@ RunAsNonRoot if true, indicates that the container must run as a non-root user. ### .spec.agents.securityContext.runAsUser -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) RunAsUser is the UID to run the entrypoint of the container process. @@ -683,7 +683,7 @@ RunAsUser is the UID to run the entrypoint of the container process. ### .spec.agents.securityContext.seccompProfile -Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) +Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. @@ -694,7 +694,7 @@ Links: ### .spec.agents.securityContext.seLinuxOptions -Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) +Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) SELinuxOptions are the labels to be applied to the container @@ -705,7 +705,7 @@ Links: ### .spec.agents.securityContext.supplementalGroups -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. @@ -714,7 +714,7 @@ the fsGroup (if specified), and group memberships defined in the container image ### .spec.agents.securityContext.sysctls -Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) +Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. @@ -735,7 +735,7 @@ sysctls: ### .spec.agents.serviceAccountName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L146) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L146) ServiceAccountName setting specifies the `serviceAccountName` for the `Pods` created for each server of this group. If empty, it defaults to using the @@ -750,7 +750,7 @@ to that service account. ### .spec.agents.shutdownDelay -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L211) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L211) ShutdownDelay define how long operator should delay finalizer removal after shutdown @@ -758,7 +758,7 @@ ShutdownDelay define how long operator should delay finalizer removal after shut ### .spec.agents.shutdownMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L209) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L209) ShutdownMethod describe procedure of member shutdown taken by Operator @@ -766,7 +766,7 @@ ShutdownMethod describe procedure of member shutdown taken by Operator ### .spec.agents.sidecarCoreNames -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L187) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L187) SidecarCoreNames is a list of sidecar containers which must run in the pod. Some names (e.g.: "server", "worker") are reserved, and they don't have any impact. @@ -775,7 +775,7 @@ Some names (e.g.: "server", "worker") are reserved, and they don't have any impa ### .spec.agents.sidecars -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L191) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L191) Sidecars specifies a list of additional containers to be started @@ -786,7 +786,7 @@ Links: ### .spec.agents.storageClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L91) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L91) StorageClassName specifies the classname for storage of the servers. @@ -794,7 +794,7 @@ StorageClassName specifies the classname for storage of the servers. ### .spec.agents.terminationGracePeriodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L224) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L224) TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for pods - via silent rotation @@ -802,7 +802,7 @@ TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for ### .spec.agents.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L122) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L122) Tolerations specifies the tolerations added to Pods in this group. By default, suitable tolerations are set for the following keys with the `NoExecute` effect: @@ -818,7 +818,7 @@ Links: ### .spec.agents.volumeAllowShrink -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L172) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L172) Deprecated: VolumeAllowShrink allows shrink the volume @@ -826,7 +826,7 @@ Deprecated: VolumeAllowShrink allows shrink the volume ### .spec.agents.volumeClaimTemplate -Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L165) +Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L165) VolumeClaimTemplate specifies a volumeClaimTemplate used by operator to create to volume claims for pods of this group. This setting is not available for group `coordinators`, `syncmasters` & `syncworkers`. @@ -842,7 +842,7 @@ Links: ### .spec.agents.volumeMounts -Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L201) +Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L201) VolumeMounts define list of volume mounts mounted into server container @@ -853,7 +853,7 @@ Links: ### .spec.agents.volumes\[int\].configMap -Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L138) +Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L138) ConfigMap which should be mounted into pod @@ -864,7 +864,7 @@ Links: ### .spec.agents.volumes\[int\].emptyDir -Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L143) +Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L143) EmptyDir @@ -875,7 +875,7 @@ Links: ### .spec.agents.volumes\[int\].hostPath -Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L148) +Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L148) HostPath @@ -886,7 +886,7 @@ Links: ### .spec.agents.volumes\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L128) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L128) Name of volume @@ -894,7 +894,7 @@ Name of volume ### .spec.agents.volumes\[int\].persistentVolumeClaim -Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L153) +Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L153) PersistentVolumeClaim @@ -905,7 +905,7 @@ Links: ### .spec.agents.volumes\[int\].secret -Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L133) +Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L133) Secret which should be mounted into pod @@ -916,7 +916,7 @@ Links: ### .spec.allowUnsafeUpgrade -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L152) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L152) AllowUnsafeUpgrade determines if upgrade on missing member or with not in sync shards is allowed @@ -924,7 +924,7 @@ AllowUnsafeUpgrade determines if upgrade on missing member or with not in sync s ### .spec.annotations -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L115) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L115) Annotations specifies the annotations added to all ArangoDeployment owned resources (pods, services, PVC’s, PDB’s). @@ -932,7 +932,7 @@ Annotations specifies the annotations added to all ArangoDeployment owned resour ### .spec.annotationsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L118) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L118) AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored @@ -940,7 +940,7 @@ AnnotationsIgnoreList list regexp or plain definitions which annotations should ### .spec.annotationsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L124) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L124) AnnotationsMode defines annotations mode which should be use while overriding annotations. @@ -953,7 +953,7 @@ Possible Values: ### .spec.architecture -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L254) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L254) Architecture defines the list of supported architectures. First element on the list is marked as default architecture. @@ -974,7 +974,7 @@ Default Value: `['amd64']` ### .spec.auth.jwtSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/authentication_spec.go#L38) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/authentication_spec.go#L38) JWTSecretName setting specifies the name of a kubernetes `Secret` that contains a secret key used for generating JWT tokens to access all ArangoDB servers. @@ -988,7 +988,7 @@ Changing secret key results in restarting of a whole cluster. ### .spec.bootstrap.passwordSecretNames -Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/bootstrap.go#L62) +Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/bootstrap.go#L62) PasswordSecretNames contains a map of username to password-secret-name This setting specifies a secret name for the credentials per specific users. @@ -1006,7 +1006,7 @@ Links: ### .spec.chaos.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/chaos_spec.go#L33) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/chaos_spec.go#L33) Enabled switches the chaos monkey for a deployment on or off. @@ -1014,7 +1014,7 @@ Enabled switches the chaos monkey for a deployment on or off. ### .spec.chaos.interval -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/chaos_spec.go#L35) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/chaos_spec.go#L35) Interval is the time between events @@ -1022,7 +1022,7 @@ Interval is the time between events ### .spec.chaos.kill-pod-probability -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/chaos_spec.go#L37) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/chaos_spec.go#L37) KillPodProbability is the chance of a pod being killed during an event @@ -1030,7 +1030,7 @@ KillPodProbability is the chance of a pod being killed during an event ### .spec.ClusterDomain -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L226) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L226) ClusterDomain define domain used in the kubernetes cluster. Required only of domain is not set to default (cluster.local) @@ -1041,7 +1041,7 @@ Default Value: `cluster.local` ### .spec.communicationMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L234) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L234) CommunicationMethod define communication method used in deployment @@ -1056,7 +1056,7 @@ Possible Values: ### .spec.coordinators.affinity -Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L180) +Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L180) Affinity specified additional affinity settings in ArangoDB Pod definitions @@ -1067,7 +1067,7 @@ Links: ### .spec.coordinators.allowMemberRecreation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L222) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L222) AllowMemberRecreation allows to recreate member. This setting changes the member recreation logic based on group: @@ -1078,7 +1078,7 @@ This setting changes the member recreation logic based on group: ### .spec.coordinators.annotations -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L125) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L125) Annotations specified the annotations added to Pods in this group. Annotations are merged with `spec.annotations`. @@ -1087,7 +1087,7 @@ Annotations are merged with `spec.annotations`. ### .spec.coordinators.annotationsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L127) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L127) AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored @@ -1095,7 +1095,7 @@ AnnotationsIgnoreList list regexp or plain definitions which annotations should ### .spec.coordinators.annotationsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L129) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L129) AnnotationsMode Define annotations mode which should be use while overriding annotations @@ -1103,7 +1103,7 @@ AnnotationsMode Define annotations mode which should be use while overriding ann ### .spec.coordinators.antiAffinity -Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L176) +Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L176) AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions @@ -1114,7 +1114,7 @@ Links: ### .spec.coordinators.args -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L85) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L85) Args setting specifies additional command-line arguments passed to all servers of this group. @@ -1124,7 +1124,7 @@ Default Value: `[]` ### .spec.coordinators.count -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L77) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L77) Count setting specifies the number of servers to start for the given group. For the Agent group, this value must be a positive, odd number. @@ -1137,7 +1137,7 @@ as for the `dbservers` group. ### .spec.coordinators.entrypoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L87) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L87) Entrypoint overrides container executable @@ -1145,19 +1145,19 @@ Entrypoint overrides container executable ### .spec.coordinators.envs\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_env_var.go#L26) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L26) *** ### .spec.coordinators.envs\[int\].value -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_env_var.go#L27) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L27) *** ### .spec.coordinators.ephemeralVolumes.apps.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -1168,7 +1168,7 @@ Links: ### .spec.coordinators.ephemeralVolumes.temp.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -1179,7 +1179,7 @@ Links: ### .spec.coordinators.exporterPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L235) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L235) ExporterPort define Port used by exporter @@ -1187,7 +1187,7 @@ ExporterPort define Port used by exporter ### .spec.coordinators.extendedRotationCheck -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L205) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L205) ExtendedRotationCheck extend checks for rotation @@ -1195,7 +1195,7 @@ ExtendedRotationCheck extend checks for rotation ### .spec.coordinators.externalPortEnabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L217) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L217) ExternalPortEnabled if external port should be enabled. If is set to false, ports needs to be exposed via sidecar. Only for ArangoD members @@ -1203,7 +1203,7 @@ ExternalPortEnabled if external port should be enabled. If is set to false, port ### .spec.coordinators.indexMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L228) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L228) IndexMethod define group Indexing method @@ -1215,7 +1215,7 @@ Possible Values: ### .spec.coordinators.initContainers.containers -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_init_containers.go#L91) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L91) Containers contains list of containers @@ -1226,7 +1226,7 @@ Links: ### .spec.coordinators.initContainers.mode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_init_containers.go#L94) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L94) Mode keep container replace mode @@ -1234,7 +1234,7 @@ Mode keep container replace mode ### .spec.coordinators.internalPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L213) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L213) InternalPort define port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -1242,7 +1242,7 @@ InternalPort define port used in internal communication, can be accessed over lo ### .spec.coordinators.internalPortProtocol -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L215) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L215) InternalPortProtocol define protocol of port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -1250,7 +1250,7 @@ InternalPortProtocol define protocol of port used in internal communication, can ### .spec.coordinators.labels -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L131) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L131) Labels specified the labels added to Pods in this group. @@ -1258,7 +1258,7 @@ Labels specified the labels added to Pods in this group. ### .spec.coordinators.labelsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L133) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L133) LabelsIgnoreList list regexp or plain definitions which labels should be ignored @@ -1266,7 +1266,7 @@ LabelsIgnoreList list regexp or plain definitions which labels should be ignored ### .spec.coordinators.labelsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L135) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L135) LabelsMode Define labels mode which should be use while overriding labels @@ -1274,7 +1274,7 @@ LabelsMode Define labels mode which should be use while overriding labels ### .spec.coordinators.maxCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L81) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L81) MaxCount specifies a maximum for the count of servers. If set, a specification is invalid if `count > maxCount`. @@ -1282,7 +1282,7 @@ MaxCount specifies a maximum for the count of servers. If set, a specification i ### .spec.coordinators.memoryReservation -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L107) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L107) MemoryReservation determines the system reservation of memory while calculating `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` value. If this field is set, `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` is reduced by a specified value in percent. @@ -1297,7 +1297,7 @@ Default Value: `0` ### .spec.coordinators.minCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L79) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L79) MinCount specifies a minimum for the count of servers. If set, a specification is invalid if `count < minCount`. @@ -1305,7 +1305,7 @@ MinCount specifies a minimum for the count of servers. If set, a specification i ### .spec.coordinators.nodeAffinity -Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L184) +Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L184) NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions @@ -1316,7 +1316,7 @@ Links: ### .spec.coordinators.nodeSelector -Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L150) +Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L150) NodeSelector setting specifies a set of labels to be used as `nodeSelector` for Pods of this node. @@ -1327,7 +1327,7 @@ Links: ### .spec.coordinators.numactl.args -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) Args define list of the numactl process @@ -1337,7 +1337,7 @@ Default Value: `[]` ### .spec.coordinators.numactl.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) Enabled define if numactl should be enabled @@ -1347,7 +1347,7 @@ Default Value: `false` ### .spec.coordinators.numactl.path -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) Path define numactl path within the container @@ -1357,7 +1357,7 @@ Default Value: `/usr/bin/numactl` ### .spec.coordinators.overrideDetectedNumberOfCores -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L113) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L113) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES` Container Environment Variable @@ -1373,7 +1373,7 @@ Default Value: `true` ### .spec.coordinators.overrideDetectedTotalMemory -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L101) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L101) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` Container Environment Variable @@ -1389,19 +1389,19 @@ Default Value: `true` ### .spec.coordinators.podModes.network -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) *** ### .spec.coordinators.podModes.pid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) *** ### .spec.coordinators.port -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L233) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L233) Port define Port used by member @@ -1409,7 +1409,7 @@ Port define Port used by member ### .spec.coordinators.priorityClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L156) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L156) PriorityClassName specifies a priority class name Will be forwarded to the pod spec. @@ -1421,7 +1421,7 @@ Links: ### .spec.coordinators.probes.livenessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L245) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L245) LivenessProbeDisabled if set to true, the operator does not generate a liveness probe for new pods belonging to this group @@ -1431,7 +1431,7 @@ Default Value: `false` ### .spec.coordinators.probes.livenessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -1443,7 +1443,7 @@ Default Value: `3` ### .spec.coordinators.probes.livenessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -1454,7 +1454,7 @@ Default Value: `2` ### .spec.coordinators.probes.livenessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -1465,7 +1465,7 @@ Default Value: `10` ### .spec.coordinators.probes.livenessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -1476,7 +1476,7 @@ Default Value: `1` ### .spec.coordinators.probes.livenessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -1487,7 +1487,7 @@ Default Value: `2` ### .spec.coordinators.probes.ReadinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L252) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L252) OldReadinessProbeDisabled if true readinessProbes are disabled Deprecated: This field is deprecated, kept only for backward compatibility. @@ -1496,7 +1496,7 @@ Deprecated: This field is deprecated, kept only for backward compatibility. ### .spec.coordinators.probes.readinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L254) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L254) ReadinessProbeDisabled override flag for probe disabled in good manner (lowercase) with backward compatibility @@ -1504,7 +1504,7 @@ ReadinessProbeDisabled override flag for probe disabled in good manner (lowercas ### .spec.coordinators.probes.readinessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -1516,7 +1516,7 @@ Default Value: `3` ### .spec.coordinators.probes.readinessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -1527,7 +1527,7 @@ Default Value: `2` ### .spec.coordinators.probes.readinessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -1538,7 +1538,7 @@ Default Value: `10` ### .spec.coordinators.probes.readinessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -1549,7 +1549,7 @@ Default Value: `1` ### .spec.coordinators.probes.readinessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -1560,7 +1560,7 @@ Default Value: `2` ### .spec.coordinators.probes.startupProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L259) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L259) StartupProbeDisabled if true startupProbes are disabled @@ -1568,7 +1568,7 @@ StartupProbeDisabled if true startupProbes are disabled ### .spec.coordinators.probes.startupProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -1580,7 +1580,7 @@ Default Value: `3` ### .spec.coordinators.probes.startupProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -1591,7 +1591,7 @@ Default Value: `2` ### .spec.coordinators.probes.startupProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -1602,7 +1602,7 @@ Default Value: `10` ### .spec.coordinators.probes.startupProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -1613,7 +1613,7 @@ Default Value: `1` ### .spec.coordinators.probes.startupProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -1624,7 +1624,7 @@ Default Value: `2` ### .spec.coordinators.pvcResizeMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L170) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L170) VolumeResizeMode specified resize mode for PVCs and PVs @@ -1636,7 +1636,7 @@ Possible Values: ### .spec.coordinators.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L95) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L95) Resources holds resource requests & limits @@ -1647,7 +1647,7 @@ Links: ### .spec.coordinators.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L89) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L89) SchedulerName define scheduler name used for group @@ -1655,7 +1655,7 @@ SchedulerName define scheduler name used for group ### .spec.coordinators.securityContext.addCapabilities -Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) +Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) AddCapabilities add new capabilities to containers @@ -1663,7 +1663,7 @@ AddCapabilities add new capabilities to containers ### .spec.coordinators.securityContext.allowPrivilegeEscalation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process. @@ -1671,7 +1671,7 @@ AllowPrivilegeEscalation Controls whether a process can gain more privileges tha ### .spec.coordinators.securityContext.dropAllCapabilities -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0. @@ -1680,7 +1680,7 @@ Deprecated: This field is added for backward compatibility. Will be removed in 1 ### .spec.coordinators.securityContext.fsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) FSGroup is a special supplemental group that applies to all containers in a pod. @@ -1688,7 +1688,7 @@ FSGroup is a special supplemental group that applies to all containers in a pod. ### .spec.coordinators.securityContext.privileged -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. @@ -1697,7 +1697,7 @@ essentially equivalent to root on the host. ### .spec.coordinators.securityContext.readOnlyRootFilesystem -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only. @@ -1705,7 +1705,7 @@ ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-o ### .spec.coordinators.securityContext.runAsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) RunAsGroup is the GID to run the entrypoint of the container process. @@ -1713,7 +1713,7 @@ RunAsGroup is the GID to run the entrypoint of the container process. ### .spec.coordinators.securityContext.runAsNonRoot -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) RunAsNonRoot if true, indicates that the container must run as a non-root user. @@ -1721,7 +1721,7 @@ RunAsNonRoot if true, indicates that the container must run as a non-root user. ### .spec.coordinators.securityContext.runAsUser -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) RunAsUser is the UID to run the entrypoint of the container process. @@ -1729,7 +1729,7 @@ RunAsUser is the UID to run the entrypoint of the container process. ### .spec.coordinators.securityContext.seccompProfile -Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) +Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. @@ -1740,7 +1740,7 @@ Links: ### .spec.coordinators.securityContext.seLinuxOptions -Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) +Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) SELinuxOptions are the labels to be applied to the container @@ -1751,7 +1751,7 @@ Links: ### .spec.coordinators.securityContext.supplementalGroups -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. @@ -1760,7 +1760,7 @@ the fsGroup (if specified), and group memberships defined in the container image ### .spec.coordinators.securityContext.sysctls -Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) +Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. @@ -1781,7 +1781,7 @@ sysctls: ### .spec.coordinators.serviceAccountName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L146) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L146) ServiceAccountName setting specifies the `serviceAccountName` for the `Pods` created for each server of this group. If empty, it defaults to using the @@ -1796,7 +1796,7 @@ to that service account. ### .spec.coordinators.shutdownDelay -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L211) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L211) ShutdownDelay define how long operator should delay finalizer removal after shutdown @@ -1804,7 +1804,7 @@ ShutdownDelay define how long operator should delay finalizer removal after shut ### .spec.coordinators.shutdownMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L209) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L209) ShutdownMethod describe procedure of member shutdown taken by Operator @@ -1812,7 +1812,7 @@ ShutdownMethod describe procedure of member shutdown taken by Operator ### .spec.coordinators.sidecarCoreNames -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L187) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L187) SidecarCoreNames is a list of sidecar containers which must run in the pod. Some names (e.g.: "server", "worker") are reserved, and they don't have any impact. @@ -1821,7 +1821,7 @@ Some names (e.g.: "server", "worker") are reserved, and they don't have any impa ### .spec.coordinators.sidecars -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L191) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L191) Sidecars specifies a list of additional containers to be started @@ -1832,7 +1832,7 @@ Links: ### .spec.coordinators.storageClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L91) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L91) StorageClassName specifies the classname for storage of the servers. @@ -1840,7 +1840,7 @@ StorageClassName specifies the classname for storage of the servers. ### .spec.coordinators.terminationGracePeriodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L224) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L224) TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for pods - via silent rotation @@ -1848,7 +1848,7 @@ TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for ### .spec.coordinators.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L122) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L122) Tolerations specifies the tolerations added to Pods in this group. By default, suitable tolerations are set for the following keys with the `NoExecute` effect: @@ -1864,7 +1864,7 @@ Links: ### .spec.coordinators.volumeAllowShrink -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L172) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L172) Deprecated: VolumeAllowShrink allows shrink the volume @@ -1872,7 +1872,7 @@ Deprecated: VolumeAllowShrink allows shrink the volume ### .spec.coordinators.volumeClaimTemplate -Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L165) +Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L165) VolumeClaimTemplate specifies a volumeClaimTemplate used by operator to create to volume claims for pods of this group. This setting is not available for group `coordinators`, `syncmasters` & `syncworkers`. @@ -1888,7 +1888,7 @@ Links: ### .spec.coordinators.volumeMounts -Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L201) +Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L201) VolumeMounts define list of volume mounts mounted into server container @@ -1899,7 +1899,7 @@ Links: ### .spec.coordinators.volumes\[int\].configMap -Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L138) +Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L138) ConfigMap which should be mounted into pod @@ -1910,7 +1910,7 @@ Links: ### .spec.coordinators.volumes\[int\].emptyDir -Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L143) +Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L143) EmptyDir @@ -1921,7 +1921,7 @@ Links: ### .spec.coordinators.volumes\[int\].hostPath -Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L148) +Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L148) HostPath @@ -1932,7 +1932,7 @@ Links: ### .spec.coordinators.volumes\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L128) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L128) Name of volume @@ -1940,7 +1940,7 @@ Name of volume ### .spec.coordinators.volumes\[int\].persistentVolumeClaim -Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L153) +Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L153) PersistentVolumeClaim @@ -1951,7 +1951,7 @@ Links: ### .spec.coordinators.volumes\[int\].secret -Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L133) +Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L133) Secret which should be mounted into pod @@ -1962,7 +1962,7 @@ Links: ### .spec.database.maintenance -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/database_spec.go#L25) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/database_spec.go#L25) Maintenance manage maintenance mode on Cluster side. Requires maintenance feature to be enabled @@ -1970,7 +1970,7 @@ Maintenance manage maintenance mode on Cluster side. Requires maintenance featur ### .spec.dbservers.affinity -Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L180) +Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L180) Affinity specified additional affinity settings in ArangoDB Pod definitions @@ -1981,7 +1981,7 @@ Links: ### .spec.dbservers.allowMemberRecreation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L222) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L222) AllowMemberRecreation allows to recreate member. This setting changes the member recreation logic based on group: @@ -1992,7 +1992,7 @@ This setting changes the member recreation logic based on group: ### .spec.dbservers.annotations -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L125) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L125) Annotations specified the annotations added to Pods in this group. Annotations are merged with `spec.annotations`. @@ -2001,7 +2001,7 @@ Annotations are merged with `spec.annotations`. ### .spec.dbservers.annotationsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L127) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L127) AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored @@ -2009,7 +2009,7 @@ AnnotationsIgnoreList list regexp or plain definitions which annotations should ### .spec.dbservers.annotationsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L129) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L129) AnnotationsMode Define annotations mode which should be use while overriding annotations @@ -2017,7 +2017,7 @@ AnnotationsMode Define annotations mode which should be use while overriding ann ### .spec.dbservers.antiAffinity -Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L176) +Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L176) AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions @@ -2028,7 +2028,7 @@ Links: ### .spec.dbservers.args -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L85) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L85) Args setting specifies additional command-line arguments passed to all servers of this group. @@ -2038,7 +2038,7 @@ Default Value: `[]` ### .spec.dbservers.count -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L77) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L77) Count setting specifies the number of servers to start for the given group. For the Agent group, this value must be a positive, odd number. @@ -2051,7 +2051,7 @@ as for the `dbservers` group. ### .spec.dbservers.entrypoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L87) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L87) Entrypoint overrides container executable @@ -2059,19 +2059,19 @@ Entrypoint overrides container executable ### .spec.dbservers.envs\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_env_var.go#L26) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L26) *** ### .spec.dbservers.envs\[int\].value -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_env_var.go#L27) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L27) *** ### .spec.dbservers.ephemeralVolumes.apps.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -2082,7 +2082,7 @@ Links: ### .spec.dbservers.ephemeralVolumes.temp.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -2093,7 +2093,7 @@ Links: ### .spec.dbservers.exporterPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L235) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L235) ExporterPort define Port used by exporter @@ -2101,7 +2101,7 @@ ExporterPort define Port used by exporter ### .spec.dbservers.extendedRotationCheck -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L205) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L205) ExtendedRotationCheck extend checks for rotation @@ -2109,7 +2109,7 @@ ExtendedRotationCheck extend checks for rotation ### .spec.dbservers.externalPortEnabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L217) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L217) ExternalPortEnabled if external port should be enabled. If is set to false, ports needs to be exposed via sidecar. Only for ArangoD members @@ -2117,7 +2117,7 @@ ExternalPortEnabled if external port should be enabled. If is set to false, port ### .spec.dbservers.indexMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L228) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L228) IndexMethod define group Indexing method @@ -2129,7 +2129,7 @@ Possible Values: ### .spec.dbservers.initContainers.containers -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_init_containers.go#L91) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L91) Containers contains list of containers @@ -2140,7 +2140,7 @@ Links: ### .spec.dbservers.initContainers.mode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_init_containers.go#L94) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L94) Mode keep container replace mode @@ -2148,7 +2148,7 @@ Mode keep container replace mode ### .spec.dbservers.internalPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L213) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L213) InternalPort define port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -2156,7 +2156,7 @@ InternalPort define port used in internal communication, can be accessed over lo ### .spec.dbservers.internalPortProtocol -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L215) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L215) InternalPortProtocol define protocol of port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -2164,7 +2164,7 @@ InternalPortProtocol define protocol of port used in internal communication, can ### .spec.dbservers.labels -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L131) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L131) Labels specified the labels added to Pods in this group. @@ -2172,7 +2172,7 @@ Labels specified the labels added to Pods in this group. ### .spec.dbservers.labelsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L133) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L133) LabelsIgnoreList list regexp or plain definitions which labels should be ignored @@ -2180,7 +2180,7 @@ LabelsIgnoreList list regexp or plain definitions which labels should be ignored ### .spec.dbservers.labelsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L135) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L135) LabelsMode Define labels mode which should be use while overriding labels @@ -2188,7 +2188,7 @@ LabelsMode Define labels mode which should be use while overriding labels ### .spec.dbservers.maxCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L81) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L81) MaxCount specifies a maximum for the count of servers. If set, a specification is invalid if `count > maxCount`. @@ -2196,7 +2196,7 @@ MaxCount specifies a maximum for the count of servers. If set, a specification i ### .spec.dbservers.memoryReservation -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L107) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L107) MemoryReservation determines the system reservation of memory while calculating `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` value. If this field is set, `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` is reduced by a specified value in percent. @@ -2211,7 +2211,7 @@ Default Value: `0` ### .spec.dbservers.minCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L79) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L79) MinCount specifies a minimum for the count of servers. If set, a specification is invalid if `count < minCount`. @@ -2219,7 +2219,7 @@ MinCount specifies a minimum for the count of servers. If set, a specification i ### .spec.dbservers.nodeAffinity -Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L184) +Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L184) NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions @@ -2230,7 +2230,7 @@ Links: ### .spec.dbservers.nodeSelector -Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L150) +Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L150) NodeSelector setting specifies a set of labels to be used as `nodeSelector` for Pods of this node. @@ -2241,7 +2241,7 @@ Links: ### .spec.dbservers.numactl.args -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) Args define list of the numactl process @@ -2251,7 +2251,7 @@ Default Value: `[]` ### .spec.dbservers.numactl.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) Enabled define if numactl should be enabled @@ -2261,7 +2261,7 @@ Default Value: `false` ### .spec.dbservers.numactl.path -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) Path define numactl path within the container @@ -2271,7 +2271,7 @@ Default Value: `/usr/bin/numactl` ### .spec.dbservers.overrideDetectedNumberOfCores -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L113) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L113) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES` Container Environment Variable @@ -2287,7 +2287,7 @@ Default Value: `true` ### .spec.dbservers.overrideDetectedTotalMemory -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L101) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L101) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` Container Environment Variable @@ -2303,19 +2303,19 @@ Default Value: `true` ### .spec.dbservers.podModes.network -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) *** ### .spec.dbservers.podModes.pid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) *** ### .spec.dbservers.port -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L233) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L233) Port define Port used by member @@ -2323,7 +2323,7 @@ Port define Port used by member ### .spec.dbservers.priorityClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L156) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L156) PriorityClassName specifies a priority class name Will be forwarded to the pod spec. @@ -2335,7 +2335,7 @@ Links: ### .spec.dbservers.probes.livenessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L245) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L245) LivenessProbeDisabled if set to true, the operator does not generate a liveness probe for new pods belonging to this group @@ -2345,7 +2345,7 @@ Default Value: `false` ### .spec.dbservers.probes.livenessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -2357,7 +2357,7 @@ Default Value: `3` ### .spec.dbservers.probes.livenessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -2368,7 +2368,7 @@ Default Value: `2` ### .spec.dbservers.probes.livenessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -2379,7 +2379,7 @@ Default Value: `10` ### .spec.dbservers.probes.livenessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -2390,7 +2390,7 @@ Default Value: `1` ### .spec.dbservers.probes.livenessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -2401,7 +2401,7 @@ Default Value: `2` ### .spec.dbservers.probes.ReadinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L252) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L252) OldReadinessProbeDisabled if true readinessProbes are disabled Deprecated: This field is deprecated, kept only for backward compatibility. @@ -2410,7 +2410,7 @@ Deprecated: This field is deprecated, kept only for backward compatibility. ### .spec.dbservers.probes.readinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L254) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L254) ReadinessProbeDisabled override flag for probe disabled in good manner (lowercase) with backward compatibility @@ -2418,7 +2418,7 @@ ReadinessProbeDisabled override flag for probe disabled in good manner (lowercas ### .spec.dbservers.probes.readinessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -2430,7 +2430,7 @@ Default Value: `3` ### .spec.dbservers.probes.readinessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -2441,7 +2441,7 @@ Default Value: `2` ### .spec.dbservers.probes.readinessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -2452,7 +2452,7 @@ Default Value: `10` ### .spec.dbservers.probes.readinessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -2463,7 +2463,7 @@ Default Value: `1` ### .spec.dbservers.probes.readinessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -2474,7 +2474,7 @@ Default Value: `2` ### .spec.dbservers.probes.startupProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L259) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L259) StartupProbeDisabled if true startupProbes are disabled @@ -2482,7 +2482,7 @@ StartupProbeDisabled if true startupProbes are disabled ### .spec.dbservers.probes.startupProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -2494,7 +2494,7 @@ Default Value: `3` ### .spec.dbservers.probes.startupProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -2505,7 +2505,7 @@ Default Value: `2` ### .spec.dbservers.probes.startupProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -2516,7 +2516,7 @@ Default Value: `10` ### .spec.dbservers.probes.startupProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -2527,7 +2527,7 @@ Default Value: `1` ### .spec.dbservers.probes.startupProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -2538,7 +2538,7 @@ Default Value: `2` ### .spec.dbservers.pvcResizeMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L170) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L170) VolumeResizeMode specified resize mode for PVCs and PVs @@ -2550,7 +2550,7 @@ Possible Values: ### .spec.dbservers.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L95) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L95) Resources holds resource requests & limits @@ -2561,7 +2561,7 @@ Links: ### .spec.dbservers.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L89) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L89) SchedulerName define scheduler name used for group @@ -2569,7 +2569,7 @@ SchedulerName define scheduler name used for group ### .spec.dbservers.securityContext.addCapabilities -Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) +Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) AddCapabilities add new capabilities to containers @@ -2577,7 +2577,7 @@ AddCapabilities add new capabilities to containers ### .spec.dbservers.securityContext.allowPrivilegeEscalation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process. @@ -2585,7 +2585,7 @@ AllowPrivilegeEscalation Controls whether a process can gain more privileges tha ### .spec.dbservers.securityContext.dropAllCapabilities -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0. @@ -2594,7 +2594,7 @@ Deprecated: This field is added for backward compatibility. Will be removed in 1 ### .spec.dbservers.securityContext.fsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) FSGroup is a special supplemental group that applies to all containers in a pod. @@ -2602,7 +2602,7 @@ FSGroup is a special supplemental group that applies to all containers in a pod. ### .spec.dbservers.securityContext.privileged -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. @@ -2611,7 +2611,7 @@ essentially equivalent to root on the host. ### .spec.dbservers.securityContext.readOnlyRootFilesystem -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only. @@ -2619,7 +2619,7 @@ ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-o ### .spec.dbservers.securityContext.runAsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) RunAsGroup is the GID to run the entrypoint of the container process. @@ -2627,7 +2627,7 @@ RunAsGroup is the GID to run the entrypoint of the container process. ### .spec.dbservers.securityContext.runAsNonRoot -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) RunAsNonRoot if true, indicates that the container must run as a non-root user. @@ -2635,7 +2635,7 @@ RunAsNonRoot if true, indicates that the container must run as a non-root user. ### .spec.dbservers.securityContext.runAsUser -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) RunAsUser is the UID to run the entrypoint of the container process. @@ -2643,7 +2643,7 @@ RunAsUser is the UID to run the entrypoint of the container process. ### .spec.dbservers.securityContext.seccompProfile -Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) +Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. @@ -2654,7 +2654,7 @@ Links: ### .spec.dbservers.securityContext.seLinuxOptions -Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) +Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) SELinuxOptions are the labels to be applied to the container @@ -2665,7 +2665,7 @@ Links: ### .spec.dbservers.securityContext.supplementalGroups -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. @@ -2674,7 +2674,7 @@ the fsGroup (if specified), and group memberships defined in the container image ### .spec.dbservers.securityContext.sysctls -Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) +Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. @@ -2695,7 +2695,7 @@ sysctls: ### .spec.dbservers.serviceAccountName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L146) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L146) ServiceAccountName setting specifies the `serviceAccountName` for the `Pods` created for each server of this group. If empty, it defaults to using the @@ -2710,7 +2710,7 @@ to that service account. ### .spec.dbservers.shutdownDelay -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L211) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L211) ShutdownDelay define how long operator should delay finalizer removal after shutdown @@ -2718,7 +2718,7 @@ ShutdownDelay define how long operator should delay finalizer removal after shut ### .spec.dbservers.shutdownMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L209) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L209) ShutdownMethod describe procedure of member shutdown taken by Operator @@ -2726,7 +2726,7 @@ ShutdownMethod describe procedure of member shutdown taken by Operator ### .spec.dbservers.sidecarCoreNames -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L187) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L187) SidecarCoreNames is a list of sidecar containers which must run in the pod. Some names (e.g.: "server", "worker") are reserved, and they don't have any impact. @@ -2735,7 +2735,7 @@ Some names (e.g.: "server", "worker") are reserved, and they don't have any impa ### .spec.dbservers.sidecars -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L191) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L191) Sidecars specifies a list of additional containers to be started @@ -2746,7 +2746,7 @@ Links: ### .spec.dbservers.storageClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L91) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L91) StorageClassName specifies the classname for storage of the servers. @@ -2754,7 +2754,7 @@ StorageClassName specifies the classname for storage of the servers. ### .spec.dbservers.terminationGracePeriodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L224) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L224) TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for pods - via silent rotation @@ -2762,7 +2762,7 @@ TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for ### .spec.dbservers.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L122) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L122) Tolerations specifies the tolerations added to Pods in this group. By default, suitable tolerations are set for the following keys with the `NoExecute` effect: @@ -2778,7 +2778,7 @@ Links: ### .spec.dbservers.volumeAllowShrink -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L172) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L172) Deprecated: VolumeAllowShrink allows shrink the volume @@ -2786,7 +2786,7 @@ Deprecated: VolumeAllowShrink allows shrink the volume ### .spec.dbservers.volumeClaimTemplate -Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L165) +Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L165) VolumeClaimTemplate specifies a volumeClaimTemplate used by operator to create to volume claims for pods of this group. This setting is not available for group `coordinators`, `syncmasters` & `syncworkers`. @@ -2802,7 +2802,7 @@ Links: ### .spec.dbservers.volumeMounts -Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L201) +Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L201) VolumeMounts define list of volume mounts mounted into server container @@ -2813,7 +2813,7 @@ Links: ### .spec.dbservers.volumes\[int\].configMap -Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L138) +Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L138) ConfigMap which should be mounted into pod @@ -2824,7 +2824,7 @@ Links: ### .spec.dbservers.volumes\[int\].emptyDir -Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L143) +Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L143) EmptyDir @@ -2835,7 +2835,7 @@ Links: ### .spec.dbservers.volumes\[int\].hostPath -Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L148) +Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L148) HostPath @@ -2846,7 +2846,7 @@ Links: ### .spec.dbservers.volumes\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L128) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L128) Name of volume @@ -2854,7 +2854,7 @@ Name of volume ### .spec.dbservers.volumes\[int\].persistentVolumeClaim -Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L153) +Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L153) PersistentVolumeClaim @@ -2865,7 +2865,7 @@ Links: ### .spec.dbservers.volumes\[int\].secret -Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L133) +Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L133) Secret which should be mounted into pod @@ -2876,7 +2876,7 @@ Links: ### .spec.disableIPv6 -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L98) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L98) DisableIPv6 setting prevents the use of IPv6 addresses by ArangoDB servers. This setting cannot be changed after the deployment has been created. @@ -2887,7 +2887,7 @@ Default Value: `false` ### .spec.downtimeAllowed -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L93) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L93) DowntimeAllowed setting is used to allow automatic reconciliation actions that yield some downtime of the ArangoDB deployment. When this setting is set to false, no automatic action that may result in downtime is allowed. @@ -2903,7 +2903,7 @@ Default Value: `false` ### .spec.environment -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L54) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L54) Environment setting specifies the type of environment in which the deployment is created. @@ -2915,7 +2915,7 @@ Possible Values: ### .spec.externalAccess.advertisedEndpoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/external_access_spec.go#L58) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L58) AdvertisedEndpoint is passed to the coordinators/single servers for advertising a specific endpoint @@ -2923,7 +2923,7 @@ AdvertisedEndpoint is passed to the coordinators/single servers for advertising ### .spec.externalAccess.loadBalancerIP -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/external_access_spec.go#L48) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L48) LoadBalancerIP define optional IP used to configure a load-balancer on, in case of Auto or LoadBalancer type. If you do not specify this setting, an IP will be chosen automatically by the load-balancer provisioner. @@ -2932,7 +2932,7 @@ If you do not specify this setting, an IP will be chosen automatically by the lo ### .spec.externalAccess.loadBalancerSourceRanges -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/external_access_spec.go#L55) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L55) LoadBalancerSourceRanges define LoadBalancerSourceRanges used for LoadBalancer Service type If specified and supported by the platform, this will restrict traffic through the cloud-provider @@ -2946,7 +2946,7 @@ Links: ### .spec.externalAccess.managedServiceNames -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/external_access_spec.go#L62) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L62) ManagedServiceNames keeps names of services which are not managed by KubeArangoDB. It is only relevant when type of service is `managed`. @@ -2955,7 +2955,7 @@ It is only relevant when type of service is `managed`. ### .spec.externalAccess.nodePort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/external_access_spec.go#L44) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L44) NodePort define optional port used in case of Auto or NodePort type. This setting is used when `spec.externalAccess.type` is set to `NodePort` or `Auto`. @@ -2965,7 +2965,7 @@ If you do not specify this setting, a random port will be chosen automatically. ### .spec.externalAccess.type -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/external_access_spec.go#L39) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L39) Type specifies the type of Service that will be created to provide access to the ArangoDB deployment from outside the Kubernetes cluster. @@ -2979,13 +2979,13 @@ Possible Values: ### .spec.features.foxx.queues -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_features.go#L24) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_features.go#L24) *** ### .spec.id.affinity -Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_id_group_spec.go#L48) +Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_id_group_spec.go#L48) Affinity specified additional affinity settings in ArangoDB Pod definitions @@ -2996,7 +2996,7 @@ Links: ### .spec.id.antiAffinity -Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_id_group_spec.go#L44) +Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_id_group_spec.go#L44) AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions @@ -3007,7 +3007,7 @@ Links: ### .spec.id.args -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_id_group_spec.go#L32) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_id_group_spec.go#L32) Args setting specifies additional command-line arguments passed to all servers of this group. @@ -3017,7 +3017,7 @@ Default Value: `[]` ### .spec.id.entrypoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_id_group_spec.go#L28) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_id_group_spec.go#L28) Entrypoint overrides container executable @@ -3025,7 +3025,7 @@ Entrypoint overrides container executable ### .spec.id.nodeAffinity -Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_id_group_spec.go#L52) +Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_id_group_spec.go#L52) NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions @@ -3036,7 +3036,7 @@ Links: ### .spec.id.nodeSelector -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_id_group_spec.go#L38) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_id_group_spec.go#L38) NodeSelector specifies a set of selectors for nodes @@ -3044,7 +3044,7 @@ NodeSelector specifies a set of selectors for nodes ### .spec.id.priorityClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_id_group_spec.go#L40) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_id_group_spec.go#L40) PriorityClassName specifies a priority class name @@ -3052,7 +3052,7 @@ PriorityClassName specifies a priority class name ### .spec.id.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_id_group_spec.go#L60) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_id_group_spec.go#L60) Resources holds resource requests & limits @@ -3063,7 +3063,7 @@ Links: ### .spec.id.securityContext.addCapabilities -Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) +Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) AddCapabilities add new capabilities to containers @@ -3071,7 +3071,7 @@ AddCapabilities add new capabilities to containers ### .spec.id.securityContext.allowPrivilegeEscalation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process. @@ -3079,7 +3079,7 @@ AllowPrivilegeEscalation Controls whether a process can gain more privileges tha ### .spec.id.securityContext.dropAllCapabilities -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0. @@ -3088,7 +3088,7 @@ Deprecated: This field is added for backward compatibility. Will be removed in 1 ### .spec.id.securityContext.fsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) FSGroup is a special supplemental group that applies to all containers in a pod. @@ -3096,7 +3096,7 @@ FSGroup is a special supplemental group that applies to all containers in a pod. ### .spec.id.securityContext.privileged -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. @@ -3105,7 +3105,7 @@ essentially equivalent to root on the host. ### .spec.id.securityContext.readOnlyRootFilesystem -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only. @@ -3113,7 +3113,7 @@ ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-o ### .spec.id.securityContext.runAsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) RunAsGroup is the GID to run the entrypoint of the container process. @@ -3121,7 +3121,7 @@ RunAsGroup is the GID to run the entrypoint of the container process. ### .spec.id.securityContext.runAsNonRoot -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) RunAsNonRoot if true, indicates that the container must run as a non-root user. @@ -3129,7 +3129,7 @@ RunAsNonRoot if true, indicates that the container must run as a non-root user. ### .spec.id.securityContext.runAsUser -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) RunAsUser is the UID to run the entrypoint of the container process. @@ -3137,7 +3137,7 @@ RunAsUser is the UID to run the entrypoint of the container process. ### .spec.id.securityContext.seccompProfile -Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) +Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. @@ -3148,7 +3148,7 @@ Links: ### .spec.id.securityContext.seLinuxOptions -Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) +Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) SELinuxOptions are the labels to be applied to the container @@ -3159,7 +3159,7 @@ Links: ### .spec.id.securityContext.supplementalGroups -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. @@ -3168,7 +3168,7 @@ the fsGroup (if specified), and group memberships defined in the container image ### .spec.id.securityContext.sysctls -Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) +Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. @@ -3189,7 +3189,7 @@ sysctls: ### .spec.id.serviceAccountName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_id_group_spec.go#L54) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_id_group_spec.go#L54) ServiceAccountName specifies the name of the service account used for Pods in this group. @@ -3197,7 +3197,7 @@ ServiceAccountName specifies the name of the service account used for Pods in th ### .spec.id.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_id_group_spec.go#L36) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_id_group_spec.go#L36) Tolerations specifies the tolerations added to Pods in this group. @@ -3208,7 +3208,7 @@ Links: ### .spec.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L67) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L67) Image specifies the docker image to use for all ArangoDB servers. In a development environment this setting defaults to arangodb/arangodb:latest. @@ -3219,7 +3219,7 @@ It is highly recommend to use explicit version (not latest) for production envir ### .spec.imageDiscoveryMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L83) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L83) ImageDiscoveryMode specifies the image discovery mode. @@ -3231,7 +3231,7 @@ Possible Values: ### .spec.imagePullPolicy -Type: `core.PullPolicy` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L75) +Type: `core.PullPolicy` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L75) ImagePullPolicy specifies the pull policy for the docker image to use for all ArangoDB servers. @@ -3247,7 +3247,7 @@ Possible Values: ### .spec.imagePullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L78) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L78) ImagePullSecrets specifies the list of image pull secrets for the docker image to use for all ArangoDB servers. @@ -3255,7 +3255,7 @@ ImagePullSecrets specifies the list of image pull secrets for the docker image t ### .spec.labels -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L127) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L127) Labels specifies the labels added to Pods in this group. @@ -3263,7 +3263,7 @@ Labels specifies the labels added to Pods in this group. ### .spec.labelsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L130) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L130) LabelsIgnoreList list regexp or plain definitions which labels should be ignored @@ -3271,7 +3271,7 @@ LabelsIgnoreList list regexp or plain definitions which labels should be ignored ### .spec.labelsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L136) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L136) LabelsMode Define labels mode which should be use while overriding labels @@ -3284,7 +3284,7 @@ Possible Values: ### .spec.license.secretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/license_spec.go#L33) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/license_spec.go#L33) SecretName setting specifies the name of a kubernetes `Secret` that contains the license key token used for enterprise images. This value is not used for @@ -3294,7 +3294,7 @@ the Community Edition. ### .spec.lifecycle.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/lifecycle_spec.go#L31) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/lifecycle_spec.go#L31) Resources holds resource requests & limits @@ -3305,7 +3305,7 @@ Links: ### .spec.memberPropagationMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L209) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L209) MemberPropagationMode defines how changes to pod spec should be propogated. Changes to a pod’s configuration require a restart of that pod in almost all cases. @@ -3321,7 +3321,7 @@ Possible Values: ### .spec.metrics.authentication.jwtTokenSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_metrics_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_metrics_spec.go#L34) JWTTokenSecretName contains the name of the JWT kubernetes secret used for authentication @@ -3329,7 +3329,7 @@ JWTTokenSecretName contains the name of the JWT kubernetes secret used for authe ### .spec.metrics.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_metrics_spec.go#L81) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_metrics_spec.go#L81) Enabled if this is set to `true`, the operator runs a sidecar container for every Agent, DB-Server, Coordinator and Single server. @@ -3343,7 +3343,7 @@ Default Value: `false` ### .spec.metrics.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_metrics_spec.go#L83) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_metrics_spec.go#L83) deprecated @@ -3351,7 +3351,7 @@ deprecated ### .spec.metrics.mode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_metrics_spec.go#L90) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_metrics_spec.go#L90) deprecated @@ -3359,13 +3359,13 @@ deprecated ### .spec.metrics.port -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_metrics_spec.go#L99) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_metrics_spec.go#L99) *** ### .spec.metrics.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_metrics_spec.go#L88) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_metrics_spec.go#L88) Resources holds resource requests & limits @@ -3376,19 +3376,19 @@ Links: ### .spec.metrics.serviceMonitor.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_metrics_service_monitor_spec.go#L24) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_metrics_service_monitor_spec.go#L24) *** ### .spec.metrics.serviceMonitor.labels -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_metrics_service_monitor_spec.go#L25) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_metrics_service_monitor_spec.go#L25) *** ### .spec.metrics.tls -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_metrics_spec.go#L95) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_metrics_spec.go#L95) TLS defines if TLS should be enabled on Metrics exporter endpoint. This option will enable TLS only if TLS is enabled on ArangoDeployment, @@ -3400,7 +3400,7 @@ Default Value: `true` ### .spec.mode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L49) Mode specifies the type of ArangoDB deployment to create. @@ -3415,7 +3415,7 @@ This field is **immutable**: Change of the ArangoDeployment Mode is not possible ### .spec.networkAttachedVolumes -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L112) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L112) NetworkAttachedVolumes If set to `true`, a ResignLeadership operation will be triggered when a DB-Server pod is evicted (rather than a CleanOutServer operation). @@ -3429,25 +3429,25 @@ Default Value: `true` ### .spec.rebalancer.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/rebalancer_spec.go#L26) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/rebalancer_spec.go#L26) *** ### .spec.rebalancer.optimizers.leader -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/rebalancer_spec.go#L74) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/rebalancer_spec.go#L74) *** ### .spec.rebalancer.parallelMoves -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/rebalancer_spec.go#L28) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/rebalancer_spec.go#L28) *** ### .spec.rebalancer.readers.count -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/rebalancer_spec.go#L62) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/rebalancer_spec.go#L62) deprecated does not work in Rebalancer V2 Count Enable Shard Count machanism @@ -3456,13 +3456,13 @@ Count Enable Shard Count machanism ### .spec.recovery.autoRecover -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/recovery_spec.go#L26) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/recovery_spec.go#L26) *** ### .spec.restoreEncryptionSecret -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L149) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L149) RestoreEncryptionSecret specifies optional name of secret which contains encryption key used for restore @@ -3470,7 +3470,7 @@ RestoreEncryptionSecret specifies optional name of secret which contains encrypt ### .spec.restoreFrom -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L146) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L146) RestoreFrom setting specifies a `ArangoBackup` resource name the cluster should be restored from. After a restore or failure to do so, the status of the deployment contains information about the restore operation in the restore key. @@ -3485,7 +3485,7 @@ A new restore attempt is made if and only if either in the status restore is not ### .spec.rocksdb.encryption.keySecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/rocksdb_spec.go#L37) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/rocksdb_spec.go#L37) KeySecretName setting specifies the name of a Kubernetes `Secret` that contains an encryption key used for encrypting all data stored by ArangoDB servers. When an encryption key is used, encryption of the data in the cluster is enabled, without it encryption is disabled. @@ -3498,7 +3498,7 @@ The secret specified by this setting, must have a data field named 'key' contain ### .spec.single.affinity -Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L180) +Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L180) Affinity specified additional affinity settings in ArangoDB Pod definitions @@ -3509,7 +3509,7 @@ Links: ### .spec.single.allowMemberRecreation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L222) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L222) AllowMemberRecreation allows to recreate member. This setting changes the member recreation logic based on group: @@ -3520,7 +3520,7 @@ This setting changes the member recreation logic based on group: ### .spec.single.annotations -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L125) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L125) Annotations specified the annotations added to Pods in this group. Annotations are merged with `spec.annotations`. @@ -3529,7 +3529,7 @@ Annotations are merged with `spec.annotations`. ### .spec.single.annotationsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L127) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L127) AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored @@ -3537,7 +3537,7 @@ AnnotationsIgnoreList list regexp or plain definitions which annotations should ### .spec.single.annotationsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L129) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L129) AnnotationsMode Define annotations mode which should be use while overriding annotations @@ -3545,7 +3545,7 @@ AnnotationsMode Define annotations mode which should be use while overriding ann ### .spec.single.antiAffinity -Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L176) +Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L176) AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions @@ -3556,7 +3556,7 @@ Links: ### .spec.single.args -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L85) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L85) Args setting specifies additional command-line arguments passed to all servers of this group. @@ -3566,7 +3566,7 @@ Default Value: `[]` ### .spec.single.count -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L77) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L77) Count setting specifies the number of servers to start for the given group. For the Agent group, this value must be a positive, odd number. @@ -3579,7 +3579,7 @@ as for the `dbservers` group. ### .spec.single.entrypoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L87) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L87) Entrypoint overrides container executable @@ -3587,19 +3587,19 @@ Entrypoint overrides container executable ### .spec.single.envs\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_env_var.go#L26) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L26) *** ### .spec.single.envs\[int\].value -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_env_var.go#L27) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L27) *** ### .spec.single.ephemeralVolumes.apps.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -3610,7 +3610,7 @@ Links: ### .spec.single.ephemeralVolumes.temp.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -3621,7 +3621,7 @@ Links: ### .spec.single.exporterPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L235) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L235) ExporterPort define Port used by exporter @@ -3629,7 +3629,7 @@ ExporterPort define Port used by exporter ### .spec.single.extendedRotationCheck -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L205) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L205) ExtendedRotationCheck extend checks for rotation @@ -3637,7 +3637,7 @@ ExtendedRotationCheck extend checks for rotation ### .spec.single.externalPortEnabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L217) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L217) ExternalPortEnabled if external port should be enabled. If is set to false, ports needs to be exposed via sidecar. Only for ArangoD members @@ -3645,7 +3645,7 @@ ExternalPortEnabled if external port should be enabled. If is set to false, port ### .spec.single.indexMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L228) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L228) IndexMethod define group Indexing method @@ -3657,7 +3657,7 @@ Possible Values: ### .spec.single.initContainers.containers -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_init_containers.go#L91) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L91) Containers contains list of containers @@ -3668,7 +3668,7 @@ Links: ### .spec.single.initContainers.mode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_init_containers.go#L94) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L94) Mode keep container replace mode @@ -3676,7 +3676,7 @@ Mode keep container replace mode ### .spec.single.internalPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L213) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L213) InternalPort define port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -3684,7 +3684,7 @@ InternalPort define port used in internal communication, can be accessed over lo ### .spec.single.internalPortProtocol -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L215) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L215) InternalPortProtocol define protocol of port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -3692,7 +3692,7 @@ InternalPortProtocol define protocol of port used in internal communication, can ### .spec.single.labels -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L131) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L131) Labels specified the labels added to Pods in this group. @@ -3700,7 +3700,7 @@ Labels specified the labels added to Pods in this group. ### .spec.single.labelsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L133) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L133) LabelsIgnoreList list regexp or plain definitions which labels should be ignored @@ -3708,7 +3708,7 @@ LabelsIgnoreList list regexp or plain definitions which labels should be ignored ### .spec.single.labelsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L135) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L135) LabelsMode Define labels mode which should be use while overriding labels @@ -3716,7 +3716,7 @@ LabelsMode Define labels mode which should be use while overriding labels ### .spec.single.maxCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L81) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L81) MaxCount specifies a maximum for the count of servers. If set, a specification is invalid if `count > maxCount`. @@ -3724,7 +3724,7 @@ MaxCount specifies a maximum for the count of servers. If set, a specification i ### .spec.single.memoryReservation -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L107) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L107) MemoryReservation determines the system reservation of memory while calculating `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` value. If this field is set, `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` is reduced by a specified value in percent. @@ -3739,7 +3739,7 @@ Default Value: `0` ### .spec.single.minCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L79) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L79) MinCount specifies a minimum for the count of servers. If set, a specification is invalid if `count < minCount`. @@ -3747,7 +3747,7 @@ MinCount specifies a minimum for the count of servers. If set, a specification i ### .spec.single.nodeAffinity -Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L184) +Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L184) NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions @@ -3758,7 +3758,7 @@ Links: ### .spec.single.nodeSelector -Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L150) +Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L150) NodeSelector setting specifies a set of labels to be used as `nodeSelector` for Pods of this node. @@ -3769,7 +3769,7 @@ Links: ### .spec.single.numactl.args -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) Args define list of the numactl process @@ -3779,7 +3779,7 @@ Default Value: `[]` ### .spec.single.numactl.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) Enabled define if numactl should be enabled @@ -3789,7 +3789,7 @@ Default Value: `false` ### .spec.single.numactl.path -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) Path define numactl path within the container @@ -3799,7 +3799,7 @@ Default Value: `/usr/bin/numactl` ### .spec.single.overrideDetectedNumberOfCores -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L113) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L113) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES` Container Environment Variable @@ -3815,7 +3815,7 @@ Default Value: `true` ### .spec.single.overrideDetectedTotalMemory -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L101) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L101) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` Container Environment Variable @@ -3831,19 +3831,19 @@ Default Value: `true` ### .spec.single.podModes.network -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) *** ### .spec.single.podModes.pid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) *** ### .spec.single.port -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L233) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L233) Port define Port used by member @@ -3851,7 +3851,7 @@ Port define Port used by member ### .spec.single.priorityClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L156) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L156) PriorityClassName specifies a priority class name Will be forwarded to the pod spec. @@ -3863,7 +3863,7 @@ Links: ### .spec.single.probes.livenessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L245) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L245) LivenessProbeDisabled if set to true, the operator does not generate a liveness probe for new pods belonging to this group @@ -3873,7 +3873,7 @@ Default Value: `false` ### .spec.single.probes.livenessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -3885,7 +3885,7 @@ Default Value: `3` ### .spec.single.probes.livenessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -3896,7 +3896,7 @@ Default Value: `2` ### .spec.single.probes.livenessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -3907,7 +3907,7 @@ Default Value: `10` ### .spec.single.probes.livenessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -3918,7 +3918,7 @@ Default Value: `1` ### .spec.single.probes.livenessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -3929,7 +3929,7 @@ Default Value: `2` ### .spec.single.probes.ReadinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L252) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L252) OldReadinessProbeDisabled if true readinessProbes are disabled Deprecated: This field is deprecated, kept only for backward compatibility. @@ -3938,7 +3938,7 @@ Deprecated: This field is deprecated, kept only for backward compatibility. ### .spec.single.probes.readinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L254) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L254) ReadinessProbeDisabled override flag for probe disabled in good manner (lowercase) with backward compatibility @@ -3946,7 +3946,7 @@ ReadinessProbeDisabled override flag for probe disabled in good manner (lowercas ### .spec.single.probes.readinessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -3958,7 +3958,7 @@ Default Value: `3` ### .spec.single.probes.readinessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -3969,7 +3969,7 @@ Default Value: `2` ### .spec.single.probes.readinessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -3980,7 +3980,7 @@ Default Value: `10` ### .spec.single.probes.readinessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -3991,7 +3991,7 @@ Default Value: `1` ### .spec.single.probes.readinessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -4002,7 +4002,7 @@ Default Value: `2` ### .spec.single.probes.startupProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L259) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L259) StartupProbeDisabled if true startupProbes are disabled @@ -4010,7 +4010,7 @@ StartupProbeDisabled if true startupProbes are disabled ### .spec.single.probes.startupProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -4022,7 +4022,7 @@ Default Value: `3` ### .spec.single.probes.startupProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -4033,7 +4033,7 @@ Default Value: `2` ### .spec.single.probes.startupProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -4044,7 +4044,7 @@ Default Value: `10` ### .spec.single.probes.startupProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -4055,7 +4055,7 @@ Default Value: `1` ### .spec.single.probes.startupProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -4066,7 +4066,7 @@ Default Value: `2` ### .spec.single.pvcResizeMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L170) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L170) VolumeResizeMode specified resize mode for PVCs and PVs @@ -4078,7 +4078,7 @@ Possible Values: ### .spec.single.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L95) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L95) Resources holds resource requests & limits @@ -4089,7 +4089,7 @@ Links: ### .spec.single.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L89) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L89) SchedulerName define scheduler name used for group @@ -4097,7 +4097,7 @@ SchedulerName define scheduler name used for group ### .spec.single.securityContext.addCapabilities -Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) +Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) AddCapabilities add new capabilities to containers @@ -4105,7 +4105,7 @@ AddCapabilities add new capabilities to containers ### .spec.single.securityContext.allowPrivilegeEscalation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process. @@ -4113,7 +4113,7 @@ AllowPrivilegeEscalation Controls whether a process can gain more privileges tha ### .spec.single.securityContext.dropAllCapabilities -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0. @@ -4122,7 +4122,7 @@ Deprecated: This field is added for backward compatibility. Will be removed in 1 ### .spec.single.securityContext.fsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) FSGroup is a special supplemental group that applies to all containers in a pod. @@ -4130,7 +4130,7 @@ FSGroup is a special supplemental group that applies to all containers in a pod. ### .spec.single.securityContext.privileged -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. @@ -4139,7 +4139,7 @@ essentially equivalent to root on the host. ### .spec.single.securityContext.readOnlyRootFilesystem -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only. @@ -4147,7 +4147,7 @@ ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-o ### .spec.single.securityContext.runAsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) RunAsGroup is the GID to run the entrypoint of the container process. @@ -4155,7 +4155,7 @@ RunAsGroup is the GID to run the entrypoint of the container process. ### .spec.single.securityContext.runAsNonRoot -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) RunAsNonRoot if true, indicates that the container must run as a non-root user. @@ -4163,7 +4163,7 @@ RunAsNonRoot if true, indicates that the container must run as a non-root user. ### .spec.single.securityContext.runAsUser -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) RunAsUser is the UID to run the entrypoint of the container process. @@ -4171,7 +4171,7 @@ RunAsUser is the UID to run the entrypoint of the container process. ### .spec.single.securityContext.seccompProfile -Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) +Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. @@ -4182,7 +4182,7 @@ Links: ### .spec.single.securityContext.seLinuxOptions -Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) +Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) SELinuxOptions are the labels to be applied to the container @@ -4193,7 +4193,7 @@ Links: ### .spec.single.securityContext.supplementalGroups -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. @@ -4202,7 +4202,7 @@ the fsGroup (if specified), and group memberships defined in the container image ### .spec.single.securityContext.sysctls -Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) +Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. @@ -4223,7 +4223,7 @@ sysctls: ### .spec.single.serviceAccountName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L146) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L146) ServiceAccountName setting specifies the `serviceAccountName` for the `Pods` created for each server of this group. If empty, it defaults to using the @@ -4238,7 +4238,7 @@ to that service account. ### .spec.single.shutdownDelay -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L211) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L211) ShutdownDelay define how long operator should delay finalizer removal after shutdown @@ -4246,7 +4246,7 @@ ShutdownDelay define how long operator should delay finalizer removal after shut ### .spec.single.shutdownMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L209) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L209) ShutdownMethod describe procedure of member shutdown taken by Operator @@ -4254,7 +4254,7 @@ ShutdownMethod describe procedure of member shutdown taken by Operator ### .spec.single.sidecarCoreNames -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L187) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L187) SidecarCoreNames is a list of sidecar containers which must run in the pod. Some names (e.g.: "server", "worker") are reserved, and they don't have any impact. @@ -4263,7 +4263,7 @@ Some names (e.g.: "server", "worker") are reserved, and they don't have any impa ### .spec.single.sidecars -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L191) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L191) Sidecars specifies a list of additional containers to be started @@ -4274,7 +4274,7 @@ Links: ### .spec.single.storageClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L91) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L91) StorageClassName specifies the classname for storage of the servers. @@ -4282,7 +4282,7 @@ StorageClassName specifies the classname for storage of the servers. ### .spec.single.terminationGracePeriodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L224) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L224) TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for pods - via silent rotation @@ -4290,7 +4290,7 @@ TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for ### .spec.single.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L122) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L122) Tolerations specifies the tolerations added to Pods in this group. By default, suitable tolerations are set for the following keys with the `NoExecute` effect: @@ -4306,7 +4306,7 @@ Links: ### .spec.single.volumeAllowShrink -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L172) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L172) Deprecated: VolumeAllowShrink allows shrink the volume @@ -4314,7 +4314,7 @@ Deprecated: VolumeAllowShrink allows shrink the volume ### .spec.single.volumeClaimTemplate -Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L165) +Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L165) VolumeClaimTemplate specifies a volumeClaimTemplate used by operator to create to volume claims for pods of this group. This setting is not available for group `coordinators`, `syncmasters` & `syncworkers`. @@ -4330,7 +4330,7 @@ Links: ### .spec.single.volumeMounts -Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L201) +Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L201) VolumeMounts define list of volume mounts mounted into server container @@ -4341,7 +4341,7 @@ Links: ### .spec.single.volumes\[int\].configMap -Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L138) +Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L138) ConfigMap which should be mounted into pod @@ -4352,7 +4352,7 @@ Links: ### .spec.single.volumes\[int\].emptyDir -Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L143) +Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L143) EmptyDir @@ -4363,7 +4363,7 @@ Links: ### .spec.single.volumes\[int\].hostPath -Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L148) +Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L148) HostPath @@ -4374,7 +4374,7 @@ Links: ### .spec.single.volumes\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L128) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L128) Name of volume @@ -4382,7 +4382,7 @@ Name of volume ### .spec.single.volumes\[int\].persistentVolumeClaim -Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L153) +Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L153) PersistentVolumeClaim @@ -4393,7 +4393,7 @@ Links: ### .spec.single.volumes\[int\].secret -Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L133) +Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L133) Secret which should be mounted into pod @@ -4404,7 +4404,7 @@ Links: ### .spec.storageEngine -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L61) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L61) StorageEngine specifies the type of storage engine used for all servers in the cluster. @@ -4418,7 +4418,7 @@ This field is **immutable**: This setting cannot be changed after the cluster ha ### .spec.sync.auth.clientCASecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/sync_authentication_spec.go#L41) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/sync_authentication_spec.go#L41) ClientCASecretName setting specifies the name of a kubernetes `Secret` that contains a PEM encoded CA certificate used for client certificate verification @@ -4429,7 +4429,7 @@ This is a required setting when `spec.sync.enabled` is `true`. ### .spec.sync.auth.jwtSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/sync_authentication_spec.go#L36) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/sync_authentication_spec.go#L36) JWTSecretName setting specifies the name of a kubernetes `Secret` that contains the JWT token used for accessing all ArangoSync master servers. @@ -4441,7 +4441,7 @@ and stored in a `Secret` with given name. ### .spec.sync.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/sync_spec.go#L34) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/sync_spec.go#L34) Enabled setting enables/disables support for data center 2 data center replication in the cluster. When enabled, the cluster will contain @@ -4453,7 +4453,7 @@ Default Value: `false` ### .spec.sync.externalAccess.accessPackageSecretNames -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/sync_external_access_spec.go#L49) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/sync_external_access_spec.go#L49) AccessPackageSecretNames setting specifies the names of zero of more `Secrets` that will be created by the deployment operator containing "access packages". An access package contains those `Secrets` that are needed @@ -4469,7 +4469,7 @@ Links: ### .spec.sync.externalAccess.advertisedEndpoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/external_access_spec.go#L58) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L58) AdvertisedEndpoint is passed to the coordinators/single servers for advertising a specific endpoint @@ -4477,7 +4477,7 @@ AdvertisedEndpoint is passed to the coordinators/single servers for advertising ### .spec.sync.externalAccess.loadBalancerIP -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/external_access_spec.go#L48) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L48) LoadBalancerIP define optional IP used to configure a load-balancer on, in case of Auto or LoadBalancer type. If you do not specify this setting, an IP will be chosen automatically by the load-balancer provisioner. @@ -4486,7 +4486,7 @@ If you do not specify this setting, an IP will be chosen automatically by the lo ### .spec.sync.externalAccess.loadBalancerSourceRanges -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/external_access_spec.go#L55) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L55) LoadBalancerSourceRanges define LoadBalancerSourceRanges used for LoadBalancer Service type If specified and supported by the platform, this will restrict traffic through the cloud-provider @@ -4500,7 +4500,7 @@ Links: ### .spec.sync.externalAccess.managedServiceNames -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/external_access_spec.go#L62) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L62) ManagedServiceNames keeps names of services which are not managed by KubeArangoDB. It is only relevant when type of service is `managed`. @@ -4509,7 +4509,7 @@ It is only relevant when type of service is `managed`. ### .spec.sync.externalAccess.masterEndpoint -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/sync_external_access_spec.go#L40) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/sync_external_access_spec.go#L40) MasterEndpoint setting specifies the master endpoint(s) advertised by the ArangoSync SyncMasters. If not set, this setting defaults to: @@ -4520,7 +4520,7 @@ If not set, this setting defaults to: ### .spec.sync.externalAccess.nodePort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/external_access_spec.go#L44) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L44) NodePort define optional port used in case of Auto or NodePort type. This setting is used when `spec.externalAccess.type` is set to `NodePort` or `Auto`. @@ -4530,7 +4530,7 @@ If you do not specify this setting, a random port will be chosen automatically. ### .spec.sync.externalAccess.type -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/external_access_spec.go#L39) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L39) Type specifies the type of Service that will be created to provide access to the ArangoDB deployment from outside the Kubernetes cluster. @@ -4544,13 +4544,13 @@ Possible Values: ### .spec.sync.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/sync_spec.go#L40) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/sync_spec.go#L40) *** ### .spec.sync.monitoring.tokenSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/sync_monitoring_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/sync_monitoring_spec.go#L34) TokenSecretName setting specifies the name of a kubernetes `Secret` that contains the bearer token used for accessing all monitoring endpoints of all arangod/arangosync servers. @@ -4560,7 +4560,7 @@ When not specified, no monitoring token is used. ### .spec.sync.tls.altNames -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/tls_spec.go#L72) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/tls_spec.go#L72) AltNames setting specifies a list of alternate names that will be added to all generated certificates. These names can be DNS names or email addresses. @@ -4570,7 +4570,7 @@ The default value is empty. ### .spec.sync.tls.caSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/tls_spec.go#L67) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/tls_spec.go#L67) CASecretName setting specifies the name of a kubernetes `Secret` that contains a standard CA certificate + private key used to sign certificates for individual @@ -4587,19 +4587,19 @@ The specified `Secret`, must contain the following data fields: ### .spec.sync.tls.mode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/tls_spec.go#L81) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/tls_spec.go#L81) *** ### .spec.sync.tls.sni.mapping.\ -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/tls_sni_spec.go#L30) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/tls_sni_spec.go#L30) *** ### .spec.sync.tls.ttl -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/tls_spec.go#L79) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/tls_spec.go#L79) TTL setting specifies the time to live of all generated server certificates. When the server certificate is about to expire, it will be automatically replaced @@ -4613,7 +4613,7 @@ Default Value: `"2160h" (about 3 months)` ### .spec.syncmasters.affinity -Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L180) +Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L180) Affinity specified additional affinity settings in ArangoDB Pod definitions @@ -4624,7 +4624,7 @@ Links: ### .spec.syncmasters.allowMemberRecreation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L222) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L222) AllowMemberRecreation allows to recreate member. This setting changes the member recreation logic based on group: @@ -4635,7 +4635,7 @@ This setting changes the member recreation logic based on group: ### .spec.syncmasters.annotations -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L125) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L125) Annotations specified the annotations added to Pods in this group. Annotations are merged with `spec.annotations`. @@ -4644,7 +4644,7 @@ Annotations are merged with `spec.annotations`. ### .spec.syncmasters.annotationsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L127) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L127) AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored @@ -4652,7 +4652,7 @@ AnnotationsIgnoreList list regexp or plain definitions which annotations should ### .spec.syncmasters.annotationsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L129) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L129) AnnotationsMode Define annotations mode which should be use while overriding annotations @@ -4660,7 +4660,7 @@ AnnotationsMode Define annotations mode which should be use while overriding ann ### .spec.syncmasters.antiAffinity -Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L176) +Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L176) AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions @@ -4671,7 +4671,7 @@ Links: ### .spec.syncmasters.args -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L85) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L85) Args setting specifies additional command-line arguments passed to all servers of this group. @@ -4681,7 +4681,7 @@ Default Value: `[]` ### .spec.syncmasters.count -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L77) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L77) Count setting specifies the number of servers to start for the given group. For the Agent group, this value must be a positive, odd number. @@ -4694,7 +4694,7 @@ as for the `dbservers` group. ### .spec.syncmasters.entrypoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L87) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L87) Entrypoint overrides container executable @@ -4702,19 +4702,19 @@ Entrypoint overrides container executable ### .spec.syncmasters.envs\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_env_var.go#L26) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L26) *** ### .spec.syncmasters.envs\[int\].value -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_env_var.go#L27) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L27) *** ### .spec.syncmasters.ephemeralVolumes.apps.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -4725,7 +4725,7 @@ Links: ### .spec.syncmasters.ephemeralVolumes.temp.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -4736,7 +4736,7 @@ Links: ### .spec.syncmasters.exporterPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L235) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L235) ExporterPort define Port used by exporter @@ -4744,7 +4744,7 @@ ExporterPort define Port used by exporter ### .spec.syncmasters.extendedRotationCheck -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L205) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L205) ExtendedRotationCheck extend checks for rotation @@ -4752,7 +4752,7 @@ ExtendedRotationCheck extend checks for rotation ### .spec.syncmasters.externalPortEnabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L217) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L217) ExternalPortEnabled if external port should be enabled. If is set to false, ports needs to be exposed via sidecar. Only for ArangoD members @@ -4760,7 +4760,7 @@ ExternalPortEnabled if external port should be enabled. If is set to false, port ### .spec.syncmasters.indexMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L228) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L228) IndexMethod define group Indexing method @@ -4772,7 +4772,7 @@ Possible Values: ### .spec.syncmasters.initContainers.containers -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_init_containers.go#L91) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L91) Containers contains list of containers @@ -4783,7 +4783,7 @@ Links: ### .spec.syncmasters.initContainers.mode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_init_containers.go#L94) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L94) Mode keep container replace mode @@ -4791,7 +4791,7 @@ Mode keep container replace mode ### .spec.syncmasters.internalPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L213) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L213) InternalPort define port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -4799,7 +4799,7 @@ InternalPort define port used in internal communication, can be accessed over lo ### .spec.syncmasters.internalPortProtocol -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L215) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L215) InternalPortProtocol define protocol of port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -4807,7 +4807,7 @@ InternalPortProtocol define protocol of port used in internal communication, can ### .spec.syncmasters.labels -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L131) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L131) Labels specified the labels added to Pods in this group. @@ -4815,7 +4815,7 @@ Labels specified the labels added to Pods in this group. ### .spec.syncmasters.labelsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L133) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L133) LabelsIgnoreList list regexp or plain definitions which labels should be ignored @@ -4823,7 +4823,7 @@ LabelsIgnoreList list regexp or plain definitions which labels should be ignored ### .spec.syncmasters.labelsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L135) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L135) LabelsMode Define labels mode which should be use while overriding labels @@ -4831,7 +4831,7 @@ LabelsMode Define labels mode which should be use while overriding labels ### .spec.syncmasters.maxCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L81) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L81) MaxCount specifies a maximum for the count of servers. If set, a specification is invalid if `count > maxCount`. @@ -4839,7 +4839,7 @@ MaxCount specifies a maximum for the count of servers. If set, a specification i ### .spec.syncmasters.memoryReservation -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L107) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L107) MemoryReservation determines the system reservation of memory while calculating `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` value. If this field is set, `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` is reduced by a specified value in percent. @@ -4854,7 +4854,7 @@ Default Value: `0` ### .spec.syncmasters.minCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L79) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L79) MinCount specifies a minimum for the count of servers. If set, a specification is invalid if `count < minCount`. @@ -4862,7 +4862,7 @@ MinCount specifies a minimum for the count of servers. If set, a specification i ### .spec.syncmasters.nodeAffinity -Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L184) +Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L184) NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions @@ -4873,7 +4873,7 @@ Links: ### .spec.syncmasters.nodeSelector -Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L150) +Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L150) NodeSelector setting specifies a set of labels to be used as `nodeSelector` for Pods of this node. @@ -4884,7 +4884,7 @@ Links: ### .spec.syncmasters.numactl.args -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) Args define list of the numactl process @@ -4894,7 +4894,7 @@ Default Value: `[]` ### .spec.syncmasters.numactl.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) Enabled define if numactl should be enabled @@ -4904,7 +4904,7 @@ Default Value: `false` ### .spec.syncmasters.numactl.path -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) Path define numactl path within the container @@ -4914,7 +4914,7 @@ Default Value: `/usr/bin/numactl` ### .spec.syncmasters.overrideDetectedNumberOfCores -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L113) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L113) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES` Container Environment Variable @@ -4930,7 +4930,7 @@ Default Value: `true` ### .spec.syncmasters.overrideDetectedTotalMemory -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L101) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L101) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` Container Environment Variable @@ -4946,19 +4946,19 @@ Default Value: `true` ### .spec.syncmasters.podModes.network -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) *** ### .spec.syncmasters.podModes.pid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) *** ### .spec.syncmasters.port -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L233) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L233) Port define Port used by member @@ -4966,7 +4966,7 @@ Port define Port used by member ### .spec.syncmasters.priorityClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L156) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L156) PriorityClassName specifies a priority class name Will be forwarded to the pod spec. @@ -4978,7 +4978,7 @@ Links: ### .spec.syncmasters.probes.livenessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L245) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L245) LivenessProbeDisabled if set to true, the operator does not generate a liveness probe for new pods belonging to this group @@ -4988,7 +4988,7 @@ Default Value: `false` ### .spec.syncmasters.probes.livenessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -5000,7 +5000,7 @@ Default Value: `3` ### .spec.syncmasters.probes.livenessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -5011,7 +5011,7 @@ Default Value: `2` ### .spec.syncmasters.probes.livenessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -5022,7 +5022,7 @@ Default Value: `10` ### .spec.syncmasters.probes.livenessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -5033,7 +5033,7 @@ Default Value: `1` ### .spec.syncmasters.probes.livenessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -5044,7 +5044,7 @@ Default Value: `2` ### .spec.syncmasters.probes.ReadinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L252) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L252) OldReadinessProbeDisabled if true readinessProbes are disabled Deprecated: This field is deprecated, kept only for backward compatibility. @@ -5053,7 +5053,7 @@ Deprecated: This field is deprecated, kept only for backward compatibility. ### .spec.syncmasters.probes.readinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L254) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L254) ReadinessProbeDisabled override flag for probe disabled in good manner (lowercase) with backward compatibility @@ -5061,7 +5061,7 @@ ReadinessProbeDisabled override flag for probe disabled in good manner (lowercas ### .spec.syncmasters.probes.readinessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -5073,7 +5073,7 @@ Default Value: `3` ### .spec.syncmasters.probes.readinessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -5084,7 +5084,7 @@ Default Value: `2` ### .spec.syncmasters.probes.readinessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -5095,7 +5095,7 @@ Default Value: `10` ### .spec.syncmasters.probes.readinessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -5106,7 +5106,7 @@ Default Value: `1` ### .spec.syncmasters.probes.readinessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -5117,7 +5117,7 @@ Default Value: `2` ### .spec.syncmasters.probes.startupProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L259) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L259) StartupProbeDisabled if true startupProbes are disabled @@ -5125,7 +5125,7 @@ StartupProbeDisabled if true startupProbes are disabled ### .spec.syncmasters.probes.startupProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -5137,7 +5137,7 @@ Default Value: `3` ### .spec.syncmasters.probes.startupProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -5148,7 +5148,7 @@ Default Value: `2` ### .spec.syncmasters.probes.startupProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -5159,7 +5159,7 @@ Default Value: `10` ### .spec.syncmasters.probes.startupProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -5170,7 +5170,7 @@ Default Value: `1` ### .spec.syncmasters.probes.startupProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -5181,7 +5181,7 @@ Default Value: `2` ### .spec.syncmasters.pvcResizeMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L170) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L170) VolumeResizeMode specified resize mode for PVCs and PVs @@ -5193,7 +5193,7 @@ Possible Values: ### .spec.syncmasters.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L95) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L95) Resources holds resource requests & limits @@ -5204,7 +5204,7 @@ Links: ### .spec.syncmasters.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L89) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L89) SchedulerName define scheduler name used for group @@ -5212,7 +5212,7 @@ SchedulerName define scheduler name used for group ### .spec.syncmasters.securityContext.addCapabilities -Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) +Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) AddCapabilities add new capabilities to containers @@ -5220,7 +5220,7 @@ AddCapabilities add new capabilities to containers ### .spec.syncmasters.securityContext.allowPrivilegeEscalation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process. @@ -5228,7 +5228,7 @@ AllowPrivilegeEscalation Controls whether a process can gain more privileges tha ### .spec.syncmasters.securityContext.dropAllCapabilities -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0. @@ -5237,7 +5237,7 @@ Deprecated: This field is added for backward compatibility. Will be removed in 1 ### .spec.syncmasters.securityContext.fsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) FSGroup is a special supplemental group that applies to all containers in a pod. @@ -5245,7 +5245,7 @@ FSGroup is a special supplemental group that applies to all containers in a pod. ### .spec.syncmasters.securityContext.privileged -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. @@ -5254,7 +5254,7 @@ essentially equivalent to root on the host. ### .spec.syncmasters.securityContext.readOnlyRootFilesystem -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only. @@ -5262,7 +5262,7 @@ ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-o ### .spec.syncmasters.securityContext.runAsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) RunAsGroup is the GID to run the entrypoint of the container process. @@ -5270,7 +5270,7 @@ RunAsGroup is the GID to run the entrypoint of the container process. ### .spec.syncmasters.securityContext.runAsNonRoot -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) RunAsNonRoot if true, indicates that the container must run as a non-root user. @@ -5278,7 +5278,7 @@ RunAsNonRoot if true, indicates that the container must run as a non-root user. ### .spec.syncmasters.securityContext.runAsUser -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) RunAsUser is the UID to run the entrypoint of the container process. @@ -5286,7 +5286,7 @@ RunAsUser is the UID to run the entrypoint of the container process. ### .spec.syncmasters.securityContext.seccompProfile -Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) +Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. @@ -5297,7 +5297,7 @@ Links: ### .spec.syncmasters.securityContext.seLinuxOptions -Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) +Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) SELinuxOptions are the labels to be applied to the container @@ -5308,7 +5308,7 @@ Links: ### .spec.syncmasters.securityContext.supplementalGroups -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. @@ -5317,7 +5317,7 @@ the fsGroup (if specified), and group memberships defined in the container image ### .spec.syncmasters.securityContext.sysctls -Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) +Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. @@ -5338,7 +5338,7 @@ sysctls: ### .spec.syncmasters.serviceAccountName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L146) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L146) ServiceAccountName setting specifies the `serviceAccountName` for the `Pods` created for each server of this group. If empty, it defaults to using the @@ -5353,7 +5353,7 @@ to that service account. ### .spec.syncmasters.shutdownDelay -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L211) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L211) ShutdownDelay define how long operator should delay finalizer removal after shutdown @@ -5361,7 +5361,7 @@ ShutdownDelay define how long operator should delay finalizer removal after shut ### .spec.syncmasters.shutdownMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L209) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L209) ShutdownMethod describe procedure of member shutdown taken by Operator @@ -5369,7 +5369,7 @@ ShutdownMethod describe procedure of member shutdown taken by Operator ### .spec.syncmasters.sidecarCoreNames -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L187) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L187) SidecarCoreNames is a list of sidecar containers which must run in the pod. Some names (e.g.: "server", "worker") are reserved, and they don't have any impact. @@ -5378,7 +5378,7 @@ Some names (e.g.: "server", "worker") are reserved, and they don't have any impa ### .spec.syncmasters.sidecars -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L191) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L191) Sidecars specifies a list of additional containers to be started @@ -5389,7 +5389,7 @@ Links: ### .spec.syncmasters.storageClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L91) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L91) StorageClassName specifies the classname for storage of the servers. @@ -5397,7 +5397,7 @@ StorageClassName specifies the classname for storage of the servers. ### .spec.syncmasters.terminationGracePeriodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L224) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L224) TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for pods - via silent rotation @@ -5405,7 +5405,7 @@ TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for ### .spec.syncmasters.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L122) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L122) Tolerations specifies the tolerations added to Pods in this group. By default, suitable tolerations are set for the following keys with the `NoExecute` effect: @@ -5421,7 +5421,7 @@ Links: ### .spec.syncmasters.volumeAllowShrink -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L172) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L172) Deprecated: VolumeAllowShrink allows shrink the volume @@ -5429,7 +5429,7 @@ Deprecated: VolumeAllowShrink allows shrink the volume ### .spec.syncmasters.volumeClaimTemplate -Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L165) +Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L165) VolumeClaimTemplate specifies a volumeClaimTemplate used by operator to create to volume claims for pods of this group. This setting is not available for group `coordinators`, `syncmasters` & `syncworkers`. @@ -5445,7 +5445,7 @@ Links: ### .spec.syncmasters.volumeMounts -Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L201) +Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L201) VolumeMounts define list of volume mounts mounted into server container @@ -5456,7 +5456,7 @@ Links: ### .spec.syncmasters.volumes\[int\].configMap -Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L138) +Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L138) ConfigMap which should be mounted into pod @@ -5467,7 +5467,7 @@ Links: ### .spec.syncmasters.volumes\[int\].emptyDir -Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L143) +Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L143) EmptyDir @@ -5478,7 +5478,7 @@ Links: ### .spec.syncmasters.volumes\[int\].hostPath -Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L148) +Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L148) HostPath @@ -5489,7 +5489,7 @@ Links: ### .spec.syncmasters.volumes\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L128) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L128) Name of volume @@ -5497,7 +5497,7 @@ Name of volume ### .spec.syncmasters.volumes\[int\].persistentVolumeClaim -Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L153) +Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L153) PersistentVolumeClaim @@ -5508,7 +5508,7 @@ Links: ### .spec.syncmasters.volumes\[int\].secret -Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L133) +Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L133) Secret which should be mounted into pod @@ -5519,7 +5519,7 @@ Links: ### .spec.syncworkers.affinity -Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L180) +Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L180) Affinity specified additional affinity settings in ArangoDB Pod definitions @@ -5530,7 +5530,7 @@ Links: ### .spec.syncworkers.allowMemberRecreation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L222) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L222) AllowMemberRecreation allows to recreate member. This setting changes the member recreation logic based on group: @@ -5541,7 +5541,7 @@ This setting changes the member recreation logic based on group: ### .spec.syncworkers.annotations -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L125) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L125) Annotations specified the annotations added to Pods in this group. Annotations are merged with `spec.annotations`. @@ -5550,7 +5550,7 @@ Annotations are merged with `spec.annotations`. ### .spec.syncworkers.annotationsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L127) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L127) AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored @@ -5558,7 +5558,7 @@ AnnotationsIgnoreList list regexp or plain definitions which annotations should ### .spec.syncworkers.annotationsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L129) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L129) AnnotationsMode Define annotations mode which should be use while overriding annotations @@ -5566,7 +5566,7 @@ AnnotationsMode Define annotations mode which should be use while overriding ann ### .spec.syncworkers.antiAffinity -Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L176) +Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L176) AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions @@ -5577,7 +5577,7 @@ Links: ### .spec.syncworkers.args -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L85) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L85) Args setting specifies additional command-line arguments passed to all servers of this group. @@ -5587,7 +5587,7 @@ Default Value: `[]` ### .spec.syncworkers.count -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L77) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L77) Count setting specifies the number of servers to start for the given group. For the Agent group, this value must be a positive, odd number. @@ -5600,7 +5600,7 @@ as for the `dbservers` group. ### .spec.syncworkers.entrypoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L87) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L87) Entrypoint overrides container executable @@ -5608,19 +5608,19 @@ Entrypoint overrides container executable ### .spec.syncworkers.envs\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_env_var.go#L26) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L26) *** ### .spec.syncworkers.envs\[int\].value -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_env_var.go#L27) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L27) *** ### .spec.syncworkers.ephemeralVolumes.apps.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -5631,7 +5631,7 @@ Links: ### .spec.syncworkers.ephemeralVolumes.temp.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -5642,7 +5642,7 @@ Links: ### .spec.syncworkers.exporterPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L235) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L235) ExporterPort define Port used by exporter @@ -5650,7 +5650,7 @@ ExporterPort define Port used by exporter ### .spec.syncworkers.extendedRotationCheck -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L205) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L205) ExtendedRotationCheck extend checks for rotation @@ -5658,7 +5658,7 @@ ExtendedRotationCheck extend checks for rotation ### .spec.syncworkers.externalPortEnabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L217) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L217) ExternalPortEnabled if external port should be enabled. If is set to false, ports needs to be exposed via sidecar. Only for ArangoD members @@ -5666,7 +5666,7 @@ ExternalPortEnabled if external port should be enabled. If is set to false, port ### .spec.syncworkers.indexMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L228) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L228) IndexMethod define group Indexing method @@ -5678,7 +5678,7 @@ Possible Values: ### .spec.syncworkers.initContainers.containers -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_init_containers.go#L91) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L91) Containers contains list of containers @@ -5689,7 +5689,7 @@ Links: ### .spec.syncworkers.initContainers.mode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_init_containers.go#L94) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L94) Mode keep container replace mode @@ -5697,7 +5697,7 @@ Mode keep container replace mode ### .spec.syncworkers.internalPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L213) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L213) InternalPort define port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -5705,7 +5705,7 @@ InternalPort define port used in internal communication, can be accessed over lo ### .spec.syncworkers.internalPortProtocol -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L215) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L215) InternalPortProtocol define protocol of port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -5713,7 +5713,7 @@ InternalPortProtocol define protocol of port used in internal communication, can ### .spec.syncworkers.labels -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L131) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L131) Labels specified the labels added to Pods in this group. @@ -5721,7 +5721,7 @@ Labels specified the labels added to Pods in this group. ### .spec.syncworkers.labelsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L133) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L133) LabelsIgnoreList list regexp or plain definitions which labels should be ignored @@ -5729,7 +5729,7 @@ LabelsIgnoreList list regexp or plain definitions which labels should be ignored ### .spec.syncworkers.labelsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L135) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L135) LabelsMode Define labels mode which should be use while overriding labels @@ -5737,7 +5737,7 @@ LabelsMode Define labels mode which should be use while overriding labels ### .spec.syncworkers.maxCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L81) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L81) MaxCount specifies a maximum for the count of servers. If set, a specification is invalid if `count > maxCount`. @@ -5745,7 +5745,7 @@ MaxCount specifies a maximum for the count of servers. If set, a specification i ### .spec.syncworkers.memoryReservation -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L107) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L107) MemoryReservation determines the system reservation of memory while calculating `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` value. If this field is set, `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` is reduced by a specified value in percent. @@ -5760,7 +5760,7 @@ Default Value: `0` ### .spec.syncworkers.minCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L79) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L79) MinCount specifies a minimum for the count of servers. If set, a specification is invalid if `count < minCount`. @@ -5768,7 +5768,7 @@ MinCount specifies a minimum for the count of servers. If set, a specification i ### .spec.syncworkers.nodeAffinity -Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L184) +Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L184) NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions @@ -5779,7 +5779,7 @@ Links: ### .spec.syncworkers.nodeSelector -Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L150) +Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L150) NodeSelector setting specifies a set of labels to be used as `nodeSelector` for Pods of this node. @@ -5790,7 +5790,7 @@ Links: ### .spec.syncworkers.numactl.args -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) Args define list of the numactl process @@ -5800,7 +5800,7 @@ Default Value: `[]` ### .spec.syncworkers.numactl.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) Enabled define if numactl should be enabled @@ -5810,7 +5810,7 @@ Default Value: `false` ### .spec.syncworkers.numactl.path -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) Path define numactl path within the container @@ -5820,7 +5820,7 @@ Default Value: `/usr/bin/numactl` ### .spec.syncworkers.overrideDetectedNumberOfCores -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L113) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L113) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES` Container Environment Variable @@ -5836,7 +5836,7 @@ Default Value: `true` ### .spec.syncworkers.overrideDetectedTotalMemory -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L101) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L101) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` Container Environment Variable @@ -5852,19 +5852,19 @@ Default Value: `true` ### .spec.syncworkers.podModes.network -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) *** ### .spec.syncworkers.podModes.pid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) *** ### .spec.syncworkers.port -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L233) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L233) Port define Port used by member @@ -5872,7 +5872,7 @@ Port define Port used by member ### .spec.syncworkers.priorityClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L156) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L156) PriorityClassName specifies a priority class name Will be forwarded to the pod spec. @@ -5884,7 +5884,7 @@ Links: ### .spec.syncworkers.probes.livenessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L245) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L245) LivenessProbeDisabled if set to true, the operator does not generate a liveness probe for new pods belonging to this group @@ -5894,7 +5894,7 @@ Default Value: `false` ### .spec.syncworkers.probes.livenessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -5906,7 +5906,7 @@ Default Value: `3` ### .spec.syncworkers.probes.livenessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -5917,7 +5917,7 @@ Default Value: `2` ### .spec.syncworkers.probes.livenessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -5928,7 +5928,7 @@ Default Value: `10` ### .spec.syncworkers.probes.livenessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -5939,7 +5939,7 @@ Default Value: `1` ### .spec.syncworkers.probes.livenessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -5950,7 +5950,7 @@ Default Value: `2` ### .spec.syncworkers.probes.ReadinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L252) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L252) OldReadinessProbeDisabled if true readinessProbes are disabled Deprecated: This field is deprecated, kept only for backward compatibility. @@ -5959,7 +5959,7 @@ Deprecated: This field is deprecated, kept only for backward compatibility. ### .spec.syncworkers.probes.readinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L254) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L254) ReadinessProbeDisabled override flag for probe disabled in good manner (lowercase) with backward compatibility @@ -5967,7 +5967,7 @@ ReadinessProbeDisabled override flag for probe disabled in good manner (lowercas ### .spec.syncworkers.probes.readinessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -5979,7 +5979,7 @@ Default Value: `3` ### .spec.syncworkers.probes.readinessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -5990,7 +5990,7 @@ Default Value: `2` ### .spec.syncworkers.probes.readinessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -6001,7 +6001,7 @@ Default Value: `10` ### .spec.syncworkers.probes.readinessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -6012,7 +6012,7 @@ Default Value: `1` ### .spec.syncworkers.probes.readinessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -6023,7 +6023,7 @@ Default Value: `2` ### .spec.syncworkers.probes.startupProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L259) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L259) StartupProbeDisabled if true startupProbes are disabled @@ -6031,7 +6031,7 @@ StartupProbeDisabled if true startupProbes are disabled ### .spec.syncworkers.probes.startupProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -6043,7 +6043,7 @@ Default Value: `3` ### .spec.syncworkers.probes.startupProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -6054,7 +6054,7 @@ Default Value: `2` ### .spec.syncworkers.probes.startupProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -6065,7 +6065,7 @@ Default Value: `10` ### .spec.syncworkers.probes.startupProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -6076,7 +6076,7 @@ Default Value: `1` ### .spec.syncworkers.probes.startupProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -6087,7 +6087,7 @@ Default Value: `2` ### .spec.syncworkers.pvcResizeMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L170) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L170) VolumeResizeMode specified resize mode for PVCs and PVs @@ -6099,7 +6099,7 @@ Possible Values: ### .spec.syncworkers.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L95) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L95) Resources holds resource requests & limits @@ -6110,7 +6110,7 @@ Links: ### .spec.syncworkers.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L89) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L89) SchedulerName define scheduler name used for group @@ -6118,7 +6118,7 @@ SchedulerName define scheduler name used for group ### .spec.syncworkers.securityContext.addCapabilities -Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) +Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) AddCapabilities add new capabilities to containers @@ -6126,7 +6126,7 @@ AddCapabilities add new capabilities to containers ### .spec.syncworkers.securityContext.allowPrivilegeEscalation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process. @@ -6134,7 +6134,7 @@ AllowPrivilegeEscalation Controls whether a process can gain more privileges tha ### .spec.syncworkers.securityContext.dropAllCapabilities -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0. @@ -6143,7 +6143,7 @@ Deprecated: This field is added for backward compatibility. Will be removed in 1 ### .spec.syncworkers.securityContext.fsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) FSGroup is a special supplemental group that applies to all containers in a pod. @@ -6151,7 +6151,7 @@ FSGroup is a special supplemental group that applies to all containers in a pod. ### .spec.syncworkers.securityContext.privileged -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. @@ -6160,7 +6160,7 @@ essentially equivalent to root on the host. ### .spec.syncworkers.securityContext.readOnlyRootFilesystem -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only. @@ -6168,7 +6168,7 @@ ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-o ### .spec.syncworkers.securityContext.runAsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) RunAsGroup is the GID to run the entrypoint of the container process. @@ -6176,7 +6176,7 @@ RunAsGroup is the GID to run the entrypoint of the container process. ### .spec.syncworkers.securityContext.runAsNonRoot -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) RunAsNonRoot if true, indicates that the container must run as a non-root user. @@ -6184,7 +6184,7 @@ RunAsNonRoot if true, indicates that the container must run as a non-root user. ### .spec.syncworkers.securityContext.runAsUser -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) RunAsUser is the UID to run the entrypoint of the container process. @@ -6192,7 +6192,7 @@ RunAsUser is the UID to run the entrypoint of the container process. ### .spec.syncworkers.securityContext.seccompProfile -Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) +Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. @@ -6203,7 +6203,7 @@ Links: ### .spec.syncworkers.securityContext.seLinuxOptions -Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) +Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) SELinuxOptions are the labels to be applied to the container @@ -6214,7 +6214,7 @@ Links: ### .spec.syncworkers.securityContext.supplementalGroups -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. @@ -6223,7 +6223,7 @@ the fsGroup (if specified), and group memberships defined in the container image ### .spec.syncworkers.securityContext.sysctls -Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) +Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. @@ -6244,7 +6244,7 @@ sysctls: ### .spec.syncworkers.serviceAccountName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L146) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L146) ServiceAccountName setting specifies the `serviceAccountName` for the `Pods` created for each server of this group. If empty, it defaults to using the @@ -6259,7 +6259,7 @@ to that service account. ### .spec.syncworkers.shutdownDelay -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L211) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L211) ShutdownDelay define how long operator should delay finalizer removal after shutdown @@ -6267,7 +6267,7 @@ ShutdownDelay define how long operator should delay finalizer removal after shut ### .spec.syncworkers.shutdownMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L209) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L209) ShutdownMethod describe procedure of member shutdown taken by Operator @@ -6275,7 +6275,7 @@ ShutdownMethod describe procedure of member shutdown taken by Operator ### .spec.syncworkers.sidecarCoreNames -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L187) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L187) SidecarCoreNames is a list of sidecar containers which must run in the pod. Some names (e.g.: "server", "worker") are reserved, and they don't have any impact. @@ -6284,7 +6284,7 @@ Some names (e.g.: "server", "worker") are reserved, and they don't have any impa ### .spec.syncworkers.sidecars -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L191) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L191) Sidecars specifies a list of additional containers to be started @@ -6295,7 +6295,7 @@ Links: ### .spec.syncworkers.storageClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L91) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L91) StorageClassName specifies the classname for storage of the servers. @@ -6303,7 +6303,7 @@ StorageClassName specifies the classname for storage of the servers. ### .spec.syncworkers.terminationGracePeriodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L224) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L224) TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for pods - via silent rotation @@ -6311,7 +6311,7 @@ TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for ### .spec.syncworkers.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L122) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L122) Tolerations specifies the tolerations added to Pods in this group. By default, suitable tolerations are set for the following keys with the `NoExecute` effect: @@ -6327,7 +6327,7 @@ Links: ### .spec.syncworkers.volumeAllowShrink -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L172) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L172) Deprecated: VolumeAllowShrink allows shrink the volume @@ -6335,7 +6335,7 @@ Deprecated: VolumeAllowShrink allows shrink the volume ### .spec.syncworkers.volumeClaimTemplate -Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L165) +Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L165) VolumeClaimTemplate specifies a volumeClaimTemplate used by operator to create to volume claims for pods of this group. This setting is not available for group `coordinators`, `syncmasters` & `syncworkers`. @@ -6351,7 +6351,7 @@ Links: ### .spec.syncworkers.volumeMounts -Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_spec.go#L201) +Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L201) VolumeMounts define list of volume mounts mounted into server container @@ -6362,7 +6362,7 @@ Links: ### .spec.syncworkers.volumes\[int\].configMap -Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L138) +Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L138) ConfigMap which should be mounted into pod @@ -6373,7 +6373,7 @@ Links: ### .spec.syncworkers.volumes\[int\].emptyDir -Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L143) +Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L143) EmptyDir @@ -6384,7 +6384,7 @@ Links: ### .spec.syncworkers.volumes\[int\].hostPath -Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L148) +Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L148) HostPath @@ -6395,7 +6395,7 @@ Links: ### .spec.syncworkers.volumes\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L128) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L128) Name of volume @@ -6403,7 +6403,7 @@ Name of volume ### .spec.syncworkers.volumes\[int\].persistentVolumeClaim -Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L153) +Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L153) PersistentVolumeClaim @@ -6414,7 +6414,7 @@ Links: ### .spec.syncworkers.volumes\[int\].secret -Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/server_group_volume.go#L133) +Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L133) Secret which should be mounted into pod @@ -6425,7 +6425,7 @@ Links: ### .spec.timeouts.actions -Type: `map[string]meta.Duration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/timeouts.go#L44) +Type: `map[string]meta.Duration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/timeouts.go#L44) Actions keep map of the actions timeouts. @@ -6443,7 +6443,7 @@ actions: ### .spec.timeouts.maintenanceGracePeriod -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/timeouts.go#L36) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/timeouts.go#L36) MaintenanceGracePeriod action timeout @@ -6451,7 +6451,7 @@ MaintenanceGracePeriod action timeout ### .spec.timezone -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_spec.go#L258) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L258) Timezone if specified, will set a timezone for deployment. Must be in format accepted by "tzdata", e.g. `America/New_York` or `Europe/London` @@ -6460,7 +6460,7 @@ Must be in format accepted by "tzdata", e.g. `America/New_York` or `Europe/Londo ### .spec.tls.altNames -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/tls_spec.go#L72) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/tls_spec.go#L72) AltNames setting specifies a list of alternate names that will be added to all generated certificates. These names can be DNS names or email addresses. @@ -6470,7 +6470,7 @@ The default value is empty. ### .spec.tls.caSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/tls_spec.go#L67) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/tls_spec.go#L67) CASecretName setting specifies the name of a kubernetes `Secret` that contains a standard CA certificate + private key used to sign certificates for individual @@ -6487,19 +6487,19 @@ The specified `Secret`, must contain the following data fields: ### .spec.tls.mode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/tls_spec.go#L81) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/tls_spec.go#L81) *** ### .spec.tls.sni.mapping.\ -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/tls_sni_spec.go#L30) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/tls_sni_spec.go#L30) *** ### .spec.tls.ttl -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/tls_spec.go#L79) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/tls_spec.go#L79) TTL setting specifies the time to live of all generated server certificates. When the server certificate is about to expire, it will be automatically replaced @@ -6513,25 +6513,25 @@ Default Value: `"2160h" (about 3 months)` ### .spec.topology.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/topology_spec.go#L26) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/topology_spec.go#L26) *** ### .spec.topology.label -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/topology_spec.go#L28) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/topology_spec.go#L28) *** ### .spec.topology.zones -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/topology_spec.go#L27) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/topology_spec.go#L27) *** ### .spec.upgrade.autoUpgrade -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_upgrade_spec.go#L26) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_upgrade_spec.go#L26) AutoUpgrade flag specifies if upgrade should be auto-injected, even if is not required (in case of stuck) @@ -6541,7 +6541,7 @@ Default Value: `false` ### .spec.upgrade.debugLog -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/deployment_upgrade_spec.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_upgrade_spec.go#L30) DebugLog flag specifies if containers running upgrade process should print more debugging information. This applies only to init containers. diff --git a/docs/api/ArangoDeploymentReplication.V1.md b/docs/api/ArangoDeploymentReplication.V1.md index 18b91e432..2b776705a 100644 --- a/docs/api/ArangoDeploymentReplication.V1.md +++ b/docs/api/ArangoDeploymentReplication.V1.md @@ -10,7 +10,7 @@ title: ArangoDeploymentReplication V1 ### .spec.cancellation.ensureInSync -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/replication/v1/replication_spec.go#L38) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/replication_spec.go#L38) EnsureInSync if it is true then during cancellation process data consistency is required. Default value is true. @@ -19,7 +19,7 @@ Default value is true. ### .spec.cancellation.sourceReadOnly -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/replication/v1/replication_spec.go#L41) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/replication_spec.go#L41) SourceReadOnly if it true then after cancellation source data center should be in read-only mode. Default value is false. @@ -28,7 +28,7 @@ Default value is false. ### .spec.destination.auth.keyfileSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/replication/v1/endpoint_authentication_spec.go#L37) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/endpoint_authentication_spec.go#L37) KeyfileSecretName holds the name of a Secret containing a client authentication certificate formatted at keyfile in a `tls.keyfile` field. @@ -40,7 +40,7 @@ the synchronization and fetch the synchronization status. ### .spec.destination.auth.userSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/replication/v1/endpoint_authentication_spec.go#L42) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/endpoint_authentication_spec.go#L42) UserSecretName holds the name of a Secret containing a `username` & `password` field used for basic authentication. @@ -51,7 +51,7 @@ of the ArangoDB cluster at the endpoint. ### .spec.destination.deploymentName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/replication/v1/endpoint_spec.go#L36) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/endpoint_spec.go#L36) DeploymentName holds the name of an ArangoDeployment resource. If set, this provides default values for masterEndpoint, auth & tls. @@ -60,7 +60,7 @@ If set, this provides default values for masterEndpoint, auth & tls. ### .spec.destination.masterEndpoint -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/replication/v1/endpoint_spec.go#L42) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/endpoint_spec.go#L42) MasterEndpoint holds a list of URLs used to reach the syncmaster(s) Use this setting if the source cluster is not running inside a Kubernetes cluster @@ -73,7 +73,7 @@ Default Value: `[]` ### .spec.destination.tls.caSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/replication/v1/endpoint_tls_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/endpoint_tls_spec.go#L34) CASecretName holds the name of a Secret containing a ca.crt public key for TLS validation. This setting is required, unless `deploymentName` has been set. @@ -82,7 +82,7 @@ This setting is required, unless `deploymentName` has been set. ### .spec.source.auth.keyfileSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/replication/v1/endpoint_authentication_spec.go#L37) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/endpoint_authentication_spec.go#L37) KeyfileSecretName holds the name of a Secret containing a client authentication certificate formatted at keyfile in a `tls.keyfile` field. @@ -94,7 +94,7 @@ the synchronization and fetch the synchronization status. ### .spec.source.auth.userSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/replication/v1/endpoint_authentication_spec.go#L42) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/endpoint_authentication_spec.go#L42) UserSecretName holds the name of a Secret containing a `username` & `password` field used for basic authentication. @@ -105,7 +105,7 @@ of the ArangoDB cluster at the endpoint. ### .spec.source.deploymentName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/replication/v1/endpoint_spec.go#L36) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/endpoint_spec.go#L36) DeploymentName holds the name of an ArangoDeployment resource. If set, this provides default values for masterEndpoint, auth & tls. @@ -114,7 +114,7 @@ If set, this provides default values for masterEndpoint, auth & tls. ### .spec.source.masterEndpoint -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/replication/v1/endpoint_spec.go#L42) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/endpoint_spec.go#L42) MasterEndpoint holds a list of URLs used to reach the syncmaster(s) Use this setting if the source cluster is not running inside a Kubernetes cluster @@ -127,7 +127,7 @@ Default Value: `[]` ### .spec.source.tls.caSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/replication/v1/endpoint_tls_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/endpoint_tls_spec.go#L34) CASecretName holds the name of a Secret containing a ca.crt public key for TLS validation. This setting is required, unless `deploymentName` has been set. diff --git a/docs/api/ArangoJob.V1.md b/docs/api/ArangoJob.V1.md index 9e21d1ed8..947463c41 100644 --- a/docs/api/ArangoJob.V1.md +++ b/docs/api/ArangoJob.V1.md @@ -10,7 +10,7 @@ title: ArangoJob V1 ### .spec.arangoDeploymentName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/apps/v1/job_spec.go#L27) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/apps/v1/job_spec.go#L27) ArangoDeploymentName holds the name of ArangoDeployment @@ -18,7 +18,7 @@ ArangoDeploymentName holds the name of ArangoDeployment ### .spec.jobTemplate -Type: `batch.JobSpec` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/apps/v1/job_spec.go#L33) +Type: `batch.JobSpec` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/apps/v1/job_spec.go#L33) JobTemplate holds the Kubernetes Job Template diff --git a/docs/api/ArangoLocalStorage.V1Alpha.md b/docs/api/ArangoLocalStorage.V1Alpha.md index 9ffb560a1..4d6bdaa0d 100644 --- a/docs/api/ArangoLocalStorage.V1Alpha.md +++ b/docs/api/ArangoLocalStorage.V1Alpha.md @@ -10,7 +10,7 @@ title: ArangoLocalStorage V1Alpha ### .spec.localPath -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/storage/v1alpha/local_storage_spec.go#L36) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/storage/v1alpha/local_storage_spec.go#L36) LocalPath setting specifies one or more local directories (on the nodes) used to create persistent volumes in. @@ -18,7 +18,7 @@ LocalPath setting specifies one or more local directories (on the nodes) used to ### .spec.nodeSelector -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/storage/v1alpha/local_storage_spec.go#L43) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/storage/v1alpha/local_storage_spec.go#L43) NodeSelector setting specifies which nodes the operator will provision persistent volumes on. @@ -26,7 +26,7 @@ NodeSelector setting specifies which nodes the operator will provision persisten ### .spec.podCustomization.priority -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/storage/v1alpha/local_storage_pod_customization.go#L25) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/storage/v1alpha/local_storage_pod_customization.go#L25) Priority if defined, sets the priority for pods of storage provisioner @@ -34,7 +34,7 @@ Priority if defined, sets the priority for pods of storage provisioner ### .spec.privileged -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/storage/v1alpha/local_storage_spec.go#L45) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/storage/v1alpha/local_storage_spec.go#L45) Privileged if set, passes Privileged flag to SecurityContext for pods of storage provisioner @@ -42,7 +42,7 @@ Privileged if set, passes Privileged flag to SecurityContext for pods of storage ### .spec.storageClass.isDefault -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/storage/v1alpha/storage_class_spec.go#L42) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/storage/v1alpha/storage_class_spec.go#L42) IsDefault setting specifies if the created `StorageClass` will be marked as default storage class. @@ -53,7 +53,7 @@ Default Value: `false` ### .spec.storageClass.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/storage/v1alpha/storage_class_spec.go#L38) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/storage/v1alpha/storage_class_spec.go#L38) Name setting specifies the name of the storage class that created `PersistentVolume` will use. @@ -66,7 +66,7 @@ Default Value: `""` ### .spec.storageClass.reclaimPolicy -Type: `core.PersistentVolumeReclaimPolicy` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/storage/v1alpha/storage_class_spec.go#L46) +Type: `core.PersistentVolumeReclaimPolicy` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/storage/v1alpha/storage_class_spec.go#L46) ReclaimPolicy defines what happens to a persistent volume when released from its claim. @@ -77,7 +77,7 @@ Links: ### .spec.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/storage/v1alpha/local_storage_spec.go#L41) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/storage/v1alpha/local_storage_spec.go#L41) Tolerations specifies the tolerations added to pods of storage provisioner diff --git a/docs/api/ArangoMLBatchJob.V1Alpha1.md b/docs/api/ArangoMLBatchJob.V1Alpha1.md index 7059efac9..05adcee37 100644 --- a/docs/api/ArangoMLBatchJob.V1Alpha1.md +++ b/docs/api/ArangoMLBatchJob.V1Alpha1.md @@ -10,7 +10,7 @@ title: ArangoMLBatchJob V1Alpha1 ### .spec -Type: `batch.Job` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/batchjob_spec.go#L33) +Type: `batch.Job` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/batchjob_spec.go#L33) Links: * [Kubernetes Documentation](https://godoc.org/k8s.io/api/batch/v1#JobSpec) @@ -19,7 +19,7 @@ Links: ### .status -Type: `batch.JobStatus` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/batchjob_status.go#L37) +Type: `batch.JobStatus` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/batchjob_status.go#L37) Links: * [Kubernetes Documentation](https://godoc.org/k8s.io/api/batch/v1#JobStatus) @@ -28,7 +28,7 @@ Links: ### .status.mlConditions -Type: `api.MLConditions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/batchjob_status.go#L33) +Type: `api.MLConditions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/batchjob_status.go#L33) MLConditions specific to the entire batch job @@ -36,7 +36,7 @@ MLConditions specific to the entire batch job ### .status.ref.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -44,7 +44,7 @@ Name of the object ### .status.ref.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -52,7 +52,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.ref.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID diff --git a/docs/api/ArangoMLCronJob.V1Alpha1.md b/docs/api/ArangoMLCronJob.V1Alpha1.md index bddc909aa..451b6ecf8 100644 --- a/docs/api/ArangoMLCronJob.V1Alpha1.md +++ b/docs/api/ArangoMLCronJob.V1Alpha1.md @@ -10,7 +10,7 @@ title: ArangoMLCronJob V1Alpha1 ### .spec -Type: `batch.CronJobSpec` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/cronjob_spec.go#L33) +Type: `batch.CronJobSpec` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/cronjob_spec.go#L33) Links: * [Kubernetes Documentation](https://godoc.org/k8s.io/api/batch/v1#CronJobSpec) @@ -19,7 +19,7 @@ Links: ### .status -Type: `batch.CronJobStatus` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/cronjob_status.go#L37) +Type: `batch.CronJobStatus` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/cronjob_status.go#L37) Links: * [Kubernetes Documentation](https://godoc.org/k8s.io/api/batch/v1#CronJobStatus) @@ -28,7 +28,7 @@ Links: ### .status.mlConditions -Type: `api.MLConditions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/cronjob_status.go#L33) +Type: `api.MLConditions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/cronjob_status.go#L33) MLConditions specific to the entire cron job @@ -36,7 +36,7 @@ MLConditions specific to the entire cron job ### .status.ref.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -44,7 +44,7 @@ Name of the object ### .status.ref.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -52,7 +52,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.ref.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID diff --git a/docs/api/ArangoMLExtension.V1Alpha1.md b/docs/api/ArangoMLExtension.V1Alpha1.md index 83e341299..6b00deb7e 100644 --- a/docs/api/ArangoMLExtension.V1Alpha1.md +++ b/docs/api/ArangoMLExtension.V1Alpha1.md @@ -10,7 +10,7 @@ title: ArangoMLExtension V1Alpha1 ### .spec.deployment.affinity -Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L37) +Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L37) Affinity defines scheduling constraints for workload @@ -21,7 +21,7 @@ Links: ### .spec.deployment.hostIPC -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L33) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L33) HostIPC defines to use the host's ipc namespace. @@ -31,7 +31,7 @@ Default Value: `false` ### .spec.deployment.hostNetwork -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L27) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L27) HostNetwork requests Host network for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. @@ -42,7 +42,7 @@ Default Value: `false` ### .spec.deployment.hostPID -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L30) HostPID define to use the host's pid namespace. @@ -52,7 +52,7 @@ Default Value: `false` ### .spec.deployment.nodeSelector -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L32) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L32) NodeSelector is a selector that must be true for the workload to fit on a node. @@ -63,7 +63,7 @@ Links: ### .spec.deployment.podSecurityContext -Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/security_pod.go#L29) +Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_pod.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -74,7 +74,7 @@ Links: ### .spec.deployment.prediction.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -85,7 +85,7 @@ Links: ### .spec.deployment.prediction.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -96,7 +96,7 @@ Links: ### .spec.deployment.prediction.gpu -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L31) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L31) GPU defined if GPU Jobs are enabled for component. In use only for ArangoMLExtensionSpecDeploymentComponentPrediction and ArangoMLExtensionSpecDeploymentComponentTraining @@ -106,7 +106,7 @@ Default Value: `false` ### .spec.deployment.prediction.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -114,7 +114,7 @@ Image define image details ### .spec.deployment.prediction.port -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L34) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L34) Port defines on which port the container will be listening for connections @@ -122,7 +122,7 @@ Port defines on which port the container will be listening for connections ### .spec.deployment.prediction.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -132,7 +132,7 @@ Default Value: `IfNotPresent` ### .spec.deployment.prediction.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -140,7 +140,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.deployment.prediction.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -151,7 +151,7 @@ Links: ### .spec.deployment.prediction.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -162,7 +162,7 @@ Links: ### .spec.deployment.project.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -173,7 +173,7 @@ Links: ### .spec.deployment.project.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -184,7 +184,7 @@ Links: ### .spec.deployment.project.gpu -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L31) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L31) GPU defined if GPU Jobs are enabled for component. In use only for ArangoMLExtensionSpecDeploymentComponentPrediction and ArangoMLExtensionSpecDeploymentComponentTraining @@ -194,7 +194,7 @@ Default Value: `false` ### .spec.deployment.project.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -202,7 +202,7 @@ Image define image details ### .spec.deployment.project.port -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L34) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L34) Port defines on which port the container will be listening for connections @@ -210,7 +210,7 @@ Port defines on which port the container will be listening for connections ### .spec.deployment.project.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -220,7 +220,7 @@ Default Value: `IfNotPresent` ### .spec.deployment.project.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -228,7 +228,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.deployment.project.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -239,7 +239,7 @@ Links: ### .spec.deployment.project.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -250,7 +250,7 @@ Links: ### .spec.deployment.replicas -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/extension_spec_deployment.go#L56) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_spec_deployment.go#L56) Replicas defines the number of replicas running specified components. No replicas created if no components are defined. @@ -260,7 +260,7 @@ Default Value: `1` ### .spec.deployment.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L47) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L47) SchedulerName specifies, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. @@ -271,7 +271,7 @@ Default Value: `""` ### .spec.deployment.service.type -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/extension_spec_deployment_service.go#L37) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_spec_deployment_service.go#L37) Type determines how the Service is exposed @@ -288,7 +288,7 @@ Possible Values: ### .spec.deployment.shareProcessNamespace -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L39) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L39) ShareProcessNamespace defines to share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers @@ -301,7 +301,7 @@ Default Value: `false` ### .spec.deployment.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L42) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L42) Tolerations defines tolerations @@ -312,7 +312,7 @@ Links: ### .spec.deployment.training.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -323,7 +323,7 @@ Links: ### .spec.deployment.training.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -334,7 +334,7 @@ Links: ### .spec.deployment.training.gpu -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L31) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L31) GPU defined if GPU Jobs are enabled for component. In use only for ArangoMLExtensionSpecDeploymentComponentPrediction and ArangoMLExtensionSpecDeploymentComponentTraining @@ -344,7 +344,7 @@ Default Value: `false` ### .spec.deployment.training.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -352,7 +352,7 @@ Image define image details ### .spec.deployment.training.port -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L34) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L34) Port defines on which port the container will be listening for connections @@ -360,7 +360,7 @@ Port defines on which port the container will be listening for connections ### .spec.deployment.training.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -370,7 +370,7 @@ Default Value: `IfNotPresent` ### .spec.deployment.training.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -378,7 +378,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.deployment.training.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -389,7 +389,7 @@ Links: ### .spec.deployment.training.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -400,7 +400,7 @@ Links: ### .spec.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -408,7 +408,7 @@ Image define image details ### .spec.init.affinity -Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L37) +Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L37) Affinity defines scheduling constraints for workload @@ -419,7 +419,7 @@ Links: ### .spec.init.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -430,7 +430,7 @@ Links: ### .spec.init.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -441,7 +441,7 @@ Links: ### .spec.init.hostIPC -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L33) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L33) HostIPC defines to use the host's ipc namespace. @@ -451,7 +451,7 @@ Default Value: `false` ### .spec.init.hostNetwork -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L27) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L27) HostNetwork requests Host network for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. @@ -462,7 +462,7 @@ Default Value: `false` ### .spec.init.hostPID -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L30) HostPID define to use the host's pid namespace. @@ -472,7 +472,7 @@ Default Value: `false` ### .spec.init.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -480,7 +480,7 @@ Image define image details ### .spec.init.nodeSelector -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L32) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L32) NodeSelector is a selector that must be true for the workload to fit on a node. @@ -491,7 +491,7 @@ Links: ### .spec.init.podSecurityContext -Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/security_pod.go#L29) +Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_pod.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -502,7 +502,7 @@ Links: ### .spec.init.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -512,7 +512,7 @@ Default Value: `IfNotPresent` ### .spec.init.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -520,7 +520,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.init.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -531,7 +531,7 @@ Links: ### .spec.init.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L47) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L47) SchedulerName specifies, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. @@ -542,7 +542,7 @@ Default Value: `""` ### .spec.init.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -553,7 +553,7 @@ Links: ### .spec.init.shareProcessNamespace -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L39) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L39) ShareProcessNamespace defines to share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers @@ -566,7 +566,7 @@ Default Value: `false` ### .spec.init.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L42) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L42) Tolerations defines tolerations @@ -577,7 +577,7 @@ Links: ### .spec.jobsTemplates.featurization.cpu.affinity -Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L37) +Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L37) Affinity defines scheduling constraints for workload @@ -588,7 +588,7 @@ Links: ### .spec.jobsTemplates.featurization.cpu.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -599,7 +599,7 @@ Links: ### .spec.jobsTemplates.featurization.cpu.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -610,7 +610,7 @@ Links: ### .spec.jobsTemplates.featurization.cpu.hostIPC -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L33) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L33) HostIPC defines to use the host's ipc namespace. @@ -620,7 +620,7 @@ Default Value: `false` ### .spec.jobsTemplates.featurization.cpu.hostNetwork -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L27) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L27) HostNetwork requests Host network for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. @@ -631,7 +631,7 @@ Default Value: `false` ### .spec.jobsTemplates.featurization.cpu.hostPID -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L30) HostPID define to use the host's pid namespace. @@ -641,7 +641,7 @@ Default Value: `false` ### .spec.jobsTemplates.featurization.cpu.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -649,7 +649,7 @@ Image define image details ### .spec.jobsTemplates.featurization.cpu.nodeSelector -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L32) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L32) NodeSelector is a selector that must be true for the workload to fit on a node. @@ -660,7 +660,7 @@ Links: ### .spec.jobsTemplates.featurization.cpu.podSecurityContext -Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/security_pod.go#L29) +Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_pod.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -671,7 +671,7 @@ Links: ### .spec.jobsTemplates.featurization.cpu.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -681,7 +681,7 @@ Default Value: `IfNotPresent` ### .spec.jobsTemplates.featurization.cpu.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -689,7 +689,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.jobsTemplates.featurization.cpu.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -700,7 +700,7 @@ Links: ### .spec.jobsTemplates.featurization.cpu.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L47) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L47) SchedulerName specifies, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. @@ -711,7 +711,7 @@ Default Value: `""` ### .spec.jobsTemplates.featurization.cpu.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -722,7 +722,7 @@ Links: ### .spec.jobsTemplates.featurization.cpu.shareProcessNamespace -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L39) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L39) ShareProcessNamespace defines to share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers @@ -735,7 +735,7 @@ Default Value: `false` ### .spec.jobsTemplates.featurization.cpu.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L42) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L42) Tolerations defines tolerations @@ -746,7 +746,7 @@ Links: ### .spec.jobsTemplates.featurization.gpu.affinity -Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L37) +Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L37) Affinity defines scheduling constraints for workload @@ -757,7 +757,7 @@ Links: ### .spec.jobsTemplates.featurization.gpu.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -768,7 +768,7 @@ Links: ### .spec.jobsTemplates.featurization.gpu.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -779,7 +779,7 @@ Links: ### .spec.jobsTemplates.featurization.gpu.hostIPC -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L33) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L33) HostIPC defines to use the host's ipc namespace. @@ -789,7 +789,7 @@ Default Value: `false` ### .spec.jobsTemplates.featurization.gpu.hostNetwork -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L27) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L27) HostNetwork requests Host network for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. @@ -800,7 +800,7 @@ Default Value: `false` ### .spec.jobsTemplates.featurization.gpu.hostPID -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L30) HostPID define to use the host's pid namespace. @@ -810,7 +810,7 @@ Default Value: `false` ### .spec.jobsTemplates.featurization.gpu.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -818,7 +818,7 @@ Image define image details ### .spec.jobsTemplates.featurization.gpu.nodeSelector -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L32) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L32) NodeSelector is a selector that must be true for the workload to fit on a node. @@ -829,7 +829,7 @@ Links: ### .spec.jobsTemplates.featurization.gpu.podSecurityContext -Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/security_pod.go#L29) +Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_pod.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -840,7 +840,7 @@ Links: ### .spec.jobsTemplates.featurization.gpu.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -850,7 +850,7 @@ Default Value: `IfNotPresent` ### .spec.jobsTemplates.featurization.gpu.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -858,7 +858,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.jobsTemplates.featurization.gpu.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -869,7 +869,7 @@ Links: ### .spec.jobsTemplates.featurization.gpu.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L47) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L47) SchedulerName specifies, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. @@ -880,7 +880,7 @@ Default Value: `""` ### .spec.jobsTemplates.featurization.gpu.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -891,7 +891,7 @@ Links: ### .spec.jobsTemplates.featurization.gpu.shareProcessNamespace -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L39) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L39) ShareProcessNamespace defines to share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers @@ -904,7 +904,7 @@ Default Value: `false` ### .spec.jobsTemplates.featurization.gpu.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L42) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L42) Tolerations defines tolerations @@ -915,7 +915,7 @@ Links: ### .spec.jobsTemplates.prediction.cpu.affinity -Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L37) +Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L37) Affinity defines scheduling constraints for workload @@ -926,7 +926,7 @@ Links: ### .spec.jobsTemplates.prediction.cpu.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -937,7 +937,7 @@ Links: ### .spec.jobsTemplates.prediction.cpu.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -948,7 +948,7 @@ Links: ### .spec.jobsTemplates.prediction.cpu.hostIPC -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L33) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L33) HostIPC defines to use the host's ipc namespace. @@ -958,7 +958,7 @@ Default Value: `false` ### .spec.jobsTemplates.prediction.cpu.hostNetwork -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L27) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L27) HostNetwork requests Host network for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. @@ -969,7 +969,7 @@ Default Value: `false` ### .spec.jobsTemplates.prediction.cpu.hostPID -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L30) HostPID define to use the host's pid namespace. @@ -979,7 +979,7 @@ Default Value: `false` ### .spec.jobsTemplates.prediction.cpu.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -987,7 +987,7 @@ Image define image details ### .spec.jobsTemplates.prediction.cpu.nodeSelector -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L32) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L32) NodeSelector is a selector that must be true for the workload to fit on a node. @@ -998,7 +998,7 @@ Links: ### .spec.jobsTemplates.prediction.cpu.podSecurityContext -Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/security_pod.go#L29) +Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_pod.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -1009,7 +1009,7 @@ Links: ### .spec.jobsTemplates.prediction.cpu.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -1019,7 +1019,7 @@ Default Value: `IfNotPresent` ### .spec.jobsTemplates.prediction.cpu.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -1027,7 +1027,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.jobsTemplates.prediction.cpu.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -1038,7 +1038,7 @@ Links: ### .spec.jobsTemplates.prediction.cpu.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L47) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L47) SchedulerName specifies, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. @@ -1049,7 +1049,7 @@ Default Value: `""` ### .spec.jobsTemplates.prediction.cpu.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -1060,7 +1060,7 @@ Links: ### .spec.jobsTemplates.prediction.cpu.shareProcessNamespace -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L39) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L39) ShareProcessNamespace defines to share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers @@ -1073,7 +1073,7 @@ Default Value: `false` ### .spec.jobsTemplates.prediction.cpu.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L42) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L42) Tolerations defines tolerations @@ -1084,7 +1084,7 @@ Links: ### .spec.jobsTemplates.prediction.gpu.affinity -Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L37) +Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L37) Affinity defines scheduling constraints for workload @@ -1095,7 +1095,7 @@ Links: ### .spec.jobsTemplates.prediction.gpu.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -1106,7 +1106,7 @@ Links: ### .spec.jobsTemplates.prediction.gpu.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -1117,7 +1117,7 @@ Links: ### .spec.jobsTemplates.prediction.gpu.hostIPC -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L33) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L33) HostIPC defines to use the host's ipc namespace. @@ -1127,7 +1127,7 @@ Default Value: `false` ### .spec.jobsTemplates.prediction.gpu.hostNetwork -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L27) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L27) HostNetwork requests Host network for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. @@ -1138,7 +1138,7 @@ Default Value: `false` ### .spec.jobsTemplates.prediction.gpu.hostPID -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L30) HostPID define to use the host's pid namespace. @@ -1148,7 +1148,7 @@ Default Value: `false` ### .spec.jobsTemplates.prediction.gpu.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -1156,7 +1156,7 @@ Image define image details ### .spec.jobsTemplates.prediction.gpu.nodeSelector -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L32) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L32) NodeSelector is a selector that must be true for the workload to fit on a node. @@ -1167,7 +1167,7 @@ Links: ### .spec.jobsTemplates.prediction.gpu.podSecurityContext -Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/security_pod.go#L29) +Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_pod.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -1178,7 +1178,7 @@ Links: ### .spec.jobsTemplates.prediction.gpu.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -1188,7 +1188,7 @@ Default Value: `IfNotPresent` ### .spec.jobsTemplates.prediction.gpu.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -1196,7 +1196,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.jobsTemplates.prediction.gpu.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -1207,7 +1207,7 @@ Links: ### .spec.jobsTemplates.prediction.gpu.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L47) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L47) SchedulerName specifies, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. @@ -1218,7 +1218,7 @@ Default Value: `""` ### .spec.jobsTemplates.prediction.gpu.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -1229,7 +1229,7 @@ Links: ### .spec.jobsTemplates.prediction.gpu.shareProcessNamespace -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L39) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L39) ShareProcessNamespace defines to share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers @@ -1242,7 +1242,7 @@ Default Value: `false` ### .spec.jobsTemplates.prediction.gpu.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L42) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L42) Tolerations defines tolerations @@ -1253,7 +1253,7 @@ Links: ### .spec.jobsTemplates.training.cpu.affinity -Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L37) +Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L37) Affinity defines scheduling constraints for workload @@ -1264,7 +1264,7 @@ Links: ### .spec.jobsTemplates.training.cpu.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -1275,7 +1275,7 @@ Links: ### .spec.jobsTemplates.training.cpu.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -1286,7 +1286,7 @@ Links: ### .spec.jobsTemplates.training.cpu.hostIPC -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L33) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L33) HostIPC defines to use the host's ipc namespace. @@ -1296,7 +1296,7 @@ Default Value: `false` ### .spec.jobsTemplates.training.cpu.hostNetwork -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L27) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L27) HostNetwork requests Host network for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. @@ -1307,7 +1307,7 @@ Default Value: `false` ### .spec.jobsTemplates.training.cpu.hostPID -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L30) HostPID define to use the host's pid namespace. @@ -1317,7 +1317,7 @@ Default Value: `false` ### .spec.jobsTemplates.training.cpu.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -1325,7 +1325,7 @@ Image define image details ### .spec.jobsTemplates.training.cpu.nodeSelector -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L32) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L32) NodeSelector is a selector that must be true for the workload to fit on a node. @@ -1336,7 +1336,7 @@ Links: ### .spec.jobsTemplates.training.cpu.podSecurityContext -Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/security_pod.go#L29) +Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_pod.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -1347,7 +1347,7 @@ Links: ### .spec.jobsTemplates.training.cpu.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -1357,7 +1357,7 @@ Default Value: `IfNotPresent` ### .spec.jobsTemplates.training.cpu.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -1365,7 +1365,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.jobsTemplates.training.cpu.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -1376,7 +1376,7 @@ Links: ### .spec.jobsTemplates.training.cpu.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L47) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L47) SchedulerName specifies, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. @@ -1387,7 +1387,7 @@ Default Value: `""` ### .spec.jobsTemplates.training.cpu.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -1398,7 +1398,7 @@ Links: ### .spec.jobsTemplates.training.cpu.shareProcessNamespace -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L39) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L39) ShareProcessNamespace defines to share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers @@ -1411,7 +1411,7 @@ Default Value: `false` ### .spec.jobsTemplates.training.cpu.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L42) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L42) Tolerations defines tolerations @@ -1422,7 +1422,7 @@ Links: ### .spec.jobsTemplates.training.gpu.affinity -Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L37) +Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L37) Affinity defines scheduling constraints for workload @@ -1433,7 +1433,7 @@ Links: ### .spec.jobsTemplates.training.gpu.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -1444,7 +1444,7 @@ Links: ### .spec.jobsTemplates.training.gpu.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -1455,7 +1455,7 @@ Links: ### .spec.jobsTemplates.training.gpu.hostIPC -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L33) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L33) HostIPC defines to use the host's ipc namespace. @@ -1465,7 +1465,7 @@ Default Value: `false` ### .spec.jobsTemplates.training.gpu.hostNetwork -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L27) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L27) HostNetwork requests Host network for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. @@ -1476,7 +1476,7 @@ Default Value: `false` ### .spec.jobsTemplates.training.gpu.hostPID -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L30) HostPID define to use the host's pid namespace. @@ -1486,7 +1486,7 @@ Default Value: `false` ### .spec.jobsTemplates.training.gpu.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -1494,7 +1494,7 @@ Image define image details ### .spec.jobsTemplates.training.gpu.nodeSelector -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L32) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L32) NodeSelector is a selector that must be true for the workload to fit on a node. @@ -1505,7 +1505,7 @@ Links: ### .spec.jobsTemplates.training.gpu.podSecurityContext -Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/security_pod.go#L29) +Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_pod.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -1516,7 +1516,7 @@ Links: ### .spec.jobsTemplates.training.gpu.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -1526,7 +1526,7 @@ Default Value: `IfNotPresent` ### .spec.jobsTemplates.training.gpu.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -1534,7 +1534,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.jobsTemplates.training.gpu.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -1545,7 +1545,7 @@ Links: ### .spec.jobsTemplates.training.gpu.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L47) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L47) SchedulerName specifies, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. @@ -1556,7 +1556,7 @@ Default Value: `""` ### .spec.jobsTemplates.training.gpu.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -1567,7 +1567,7 @@ Links: ### .spec.jobsTemplates.training.gpu.shareProcessNamespace -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/container_namespace.go#L39) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L39) ShareProcessNamespace defines to share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers @@ -1580,7 +1580,7 @@ Default Value: `false` ### .spec.jobsTemplates.training.gpu.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/scheduling.go#L42) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L42) Tolerations defines tolerations @@ -1591,7 +1591,7 @@ Links: ### .spec.metadataService.local.arangoMLFeatureStore -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/extension_spec_metadata_service.go#L65) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_spec_metadata_service.go#L65) ArangoMLFeatureStoreDatabase define Database name to be used as MetadataService Backend in ArangoMLFeatureStoreDatabase @@ -1601,7 +1601,7 @@ Default Value: `arangomlfeaturestore` ### .spec.metadataService.local.arangoPipeDatabase -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/extension_spec_metadata_service.go#L61) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_spec_metadata_service.go#L61) ArangoPipeDatabase define Database name to be used as MetadataService Backend in ArangoPipe @@ -1611,7 +1611,7 @@ Default Value: `arangopipe` ### .spec.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -1621,7 +1621,7 @@ Default Value: `IfNotPresent` ### .spec.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -1629,7 +1629,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.storage.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -1637,7 +1637,7 @@ Name of the object ### .spec.storage.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -1645,7 +1645,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .spec.storage.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -1653,7 +1653,7 @@ UID keeps the information about object UID ### .status.arangoDB.jwtTokenSecret.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -1661,7 +1661,7 @@ Name of the object ### .status.arangoDB.jwtTokenSecret.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -1669,7 +1669,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.arangoDB.jwtTokenSecret.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -1677,7 +1677,7 @@ UID keeps the information about object UID ### .status.arangoDB.secret.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -1685,7 +1685,7 @@ Name of the object ### .status.arangoDB.secret.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -1693,7 +1693,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.arangoDB.secret.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -1701,7 +1701,7 @@ UID keeps the information about object UID ### .status.conditions -Type: `api.Conditions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/extension_status.go#L31) +Type: `api.Conditions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_status.go#L31) Conditions specific to the entire extension @@ -1709,7 +1709,7 @@ Conditions specific to the entire extension ### .status.metadataService.jwtTokenSecret.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -1717,7 +1717,7 @@ Name of the object ### .status.metadataService.jwtTokenSecret.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -1725,7 +1725,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.metadataService.jwtTokenSecret.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -1733,7 +1733,7 @@ UID keeps the information about object UID ### .status.metadataService.local.arangoMLFeatureStore -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/extension_status_metadata_service.go#L41) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_status_metadata_service.go#L41) ArangoMLFeatureStoreDatabase define Database name to be used as MetadataService Backend @@ -1741,7 +1741,7 @@ ArangoMLFeatureStoreDatabase define Database name to be used as MetadataService ### .status.metadataService.local.arangoPipe -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/extension_status_metadata_service.go#L38) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_status_metadata_service.go#L38) ArangoPipeDatabase define Database name to be used as MetadataService Backend @@ -1749,7 +1749,7 @@ ArangoPipeDatabase define Database name to be used as MetadataService Backend ### .status.metadataService.secret.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -1757,7 +1757,7 @@ Name of the object ### .status.metadataService.secret.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -1765,7 +1765,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.metadataService.secret.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -1773,19 +1773,19 @@ UID keeps the information about object UID ### .status.reconciliation.serviceChecksum -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/extension_status_reconciliation.go#L25) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_status_reconciliation.go#L25) *** ### .status.reconciliation.statefulSetChecksum -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/extension_status_reconciliation.go#L24) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_status_reconciliation.go#L24) *** ### .status.serviceAccount.cluster.binding.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -1793,7 +1793,7 @@ Name of the object ### .status.serviceAccount.cluster.binding.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -1801,7 +1801,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.serviceAccount.cluster.binding.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -1809,7 +1809,7 @@ UID keeps the information about object UID ### .status.serviceAccount.cluster.role.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -1817,7 +1817,7 @@ Name of the object ### .status.serviceAccount.cluster.role.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -1825,7 +1825,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.serviceAccount.cluster.role.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -1833,7 +1833,7 @@ UID keeps the information about object UID ### .status.serviceAccount.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -1841,7 +1841,7 @@ Name of the object ### .status.serviceAccount.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -1849,7 +1849,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.serviceAccount.namespaced.binding.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -1857,7 +1857,7 @@ Name of the object ### .status.serviceAccount.namespaced.binding.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -1865,7 +1865,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.serviceAccount.namespaced.binding.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -1873,7 +1873,7 @@ UID keeps the information about object UID ### .status.serviceAccount.namespaced.role.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -1881,7 +1881,7 @@ Name of the object ### .status.serviceAccount.namespaced.role.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -1889,7 +1889,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.serviceAccount.namespaced.role.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -1897,7 +1897,7 @@ UID keeps the information about object UID ### .status.serviceAccount.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID diff --git a/docs/api/ArangoMLStorage.V1Alpha1.md b/docs/api/ArangoMLStorage.V1Alpha1.md index 6ed823421..089c916d1 100644 --- a/docs/api/ArangoMLStorage.V1Alpha1.md +++ b/docs/api/ArangoMLStorage.V1Alpha1.md @@ -10,7 +10,7 @@ title: ArangoMLStorage V1Alpha1 ### .spec.backend.s3.allowInsecure -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/storage_spec_backend_s3.go#L40) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/storage_spec_backend_s3.go#L40) AllowInsecure if set to true, the Endpoint certificates won't be checked @@ -20,7 +20,7 @@ Default Value: `false` ### .spec.backend.s3.caSecret.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -28,7 +28,7 @@ Name of the object ### .spec.backend.s3.caSecret.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -36,7 +36,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .spec.backend.s3.caSecret.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -44,7 +44,7 @@ UID keeps the information about object UID ### .spec.backend.s3.credentialsSecret.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -52,7 +52,7 @@ Name of the object ### .spec.backend.s3.credentialsSecret.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -60,7 +60,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .spec.backend.s3.credentialsSecret.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -68,7 +68,7 @@ UID keeps the information about object UID ### .spec.backend.s3.endpoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/storage_spec_backend_s3.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/storage_spec_backend_s3.go#L34) Endpoint specifies the S3 API-compatible endpoint which implements storage Required @@ -77,7 +77,7 @@ Required ### .spec.backend.s3.region -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/storage_spec_backend_s3.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/storage_spec_backend_s3.go#L49) Region defines the availability zone name. @@ -87,7 +87,7 @@ Default Value: `""` ### .spec.bucketName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/storage_spec.go#L30) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/storage_spec.go#L30) BucketName specifies the name of the bucket Required @@ -96,7 +96,7 @@ Required ### .spec.bucketPath -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/storage_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/storage_spec.go#L34) BucketPath specifies the path within the bucket @@ -106,7 +106,7 @@ Default Value: `/` ### .spec.mode.sidecar.controllerListenPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/storage_spec_mode_sidecar.go#L36) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/storage_spec_mode_sidecar.go#L36) ControllerListenPort defines on which port the sidecar container will be listening for controller requests @@ -116,7 +116,7 @@ Default Value: `9202` ### .spec.mode.sidecar.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -127,7 +127,7 @@ Links: ### .spec.mode.sidecar.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -138,7 +138,7 @@ Links: ### .spec.mode.sidecar.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -146,7 +146,7 @@ Image define image details ### .spec.mode.sidecar.listenPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/storage_spec_mode_sidecar.go#L32) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/storage_spec_mode_sidecar.go#L32) ListenPort defines on which port the sidecar container will be listening for connections @@ -156,7 +156,7 @@ Default Value: `9201` ### .spec.mode.sidecar.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -166,7 +166,7 @@ Default Value: `IfNotPresent` ### .spec.mode.sidecar.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -174,7 +174,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.mode.sidecar.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -185,7 +185,7 @@ Links: ### .spec.mode.sidecar.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -196,7 +196,7 @@ Links: ### .status.conditions -Type: `api.Conditions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/ml/v1alpha1/storage_status.go#L28) +Type: `api.Conditions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/storage_status.go#L28) Conditions specific to the entire storage diff --git a/docs/api/ArangoMember.V1.md b/docs/api/ArangoMember.V1.md index e1dddce65..d11de3e7c 100644 --- a/docs/api/ArangoMember.V1.md +++ b/docs/api/ArangoMember.V1.md @@ -10,7 +10,7 @@ title: ArangoMember V1 ### .spec.deletion_priority -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/arango_member_spec.go#L47) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/arango_member_spec.go#L47) DeletionPriority define Deletion Priority. Higher value means higher priority. Default is 0. @@ -20,7 +20,7 @@ Example: set 1 for Coordinator which should be deleted first and scale down coor ### .spec.deploymentUID -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/arango_member_spec.go#L36) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/arango_member_spec.go#L36) DeploymentUID define Deployment UID. @@ -28,7 +28,7 @@ DeploymentUID define Deployment UID. ### .spec.group -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/arango_member_spec.go#L31) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/arango_member_spec.go#L31) Group define Member Groups. @@ -36,13 +36,13 @@ Group define Member Groups. ### .spec.id -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/arango_member_spec.go#L33) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/arango_member_spec.go#L33) *** ### .spec.overrides.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/arango_member_spec_overrides.go#L38) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/arango_member_spec_overrides.go#L38) Resources holds resource requests & limits. Overrides template provided on the group level. @@ -53,7 +53,7 @@ Links: ### .spec.overrides.volumeClaimTemplate -Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/arango_member_spec_overrides.go#L33) +Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/arango_member_spec_overrides.go#L33) VolumeClaimTemplate specifies a template for volume claims. Overrides template provided on the group level. @@ -64,7 +64,7 @@ Links: ### .spec.template.checksum -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/arango_member_pod_template.go#L60) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/arango_member_pod_template.go#L60) Checksum keep the Pod Spec Checksum (with ignored fields). @@ -72,7 +72,7 @@ Checksum keep the Pod Spec Checksum (with ignored fields). ### .spec.template.endpoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/arango_member_pod_template.go#L63) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/arango_member_pod_template.go#L63) Deprecated: Endpoint is not saved into the template @@ -80,7 +80,7 @@ Deprecated: Endpoint is not saved into the template ### .spec.template.podSpec -Type: `core.PodTemplateSpec` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/arango_member_pod_template.go#L54) +Type: `core.PodTemplateSpec` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/arango_member_pod_template.go#L54) PodSpec specifies the Pod Spec used for this Member. @@ -91,7 +91,7 @@ Links: ### .spec.template.podSpecChecksum -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.36/pkg/apis/deployment/v1/arango_member_pod_template.go#L57) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/arango_member_pod_template.go#L57) PodSpecChecksum keep the Pod Spec Checksum (without ignored fields). From 61cdd68e89228c30366ad0c276863685a64ef2fd Mon Sep 17 00:00:00 2001 From: Adam Janikowski <12255597+ajanikow@users.noreply.github.com> Date: Thu, 8 Feb 2024 15:25:48 +0100 Subject: [PATCH 03/13] [Feature] Extract GRPC Server (#1590) --- CHANGELOG.md | 1 + cmd/admin.go | 6 +- cmd/cmd.go | 7 +- cmd/crd.go | 4 +- cmd/init_container_version_check.go | 5 +- cmd/lifecycle_probes.go | 4 +- cmd/lifecycle_startup.go | 4 +- cmd/ml_storage.go | 23 ++-- cmd/uuid.go | 5 +- internal/md/sections.go | 4 +- internal/md/table.go | 4 +- pkg/api/tls.go | 6 +- pkg/apis/apps/v1/job_validate.go | 6 +- pkg/apis/backup/v1/backup_policy_validate.go | 6 +- pkg/apis/backup/v1/backup_validate.go | 8 +- pkg/apis/deployment/v1/architecture.go | 4 +- pkg/apis/deployment/v1/bootstrap.go | 4 +- .../v1/cluster_synchronization_spec.go | 5 +- .../v1/cluster_synchronization_spec_test.go | 5 +- .../deployment/v1/deployment_spec_image.go | 4 +- .../deployment/v1/external_access_spec.go | 6 +- pkg/apis/deployment/v1/member_status_list.go | 4 +- .../v1/server_group_index_method.go | 4 +- .../v1/server_group_init_containers.go | 4 +- pkg/apis/deployment/v1/server_group_spec.go | 6 +- .../v1/server_group_spec_port_proto.go | 4 +- pkg/apis/deployment/v1/server_group_volume.go | 8 +- .../v1/sync_external_access_spec.go | 10 +- pkg/apis/deployment/v1/tls_sni_spec.go | 4 +- pkg/apis/deployment/v1/tls_spec.go | 4 +- pkg/apis/deployment/v1/version.go | 4 +- pkg/apis/deployment/v2alpha1/architecture.go | 4 +- pkg/apis/deployment/v2alpha1/bootstrap.go | 4 +- .../v2alpha1/cluster_synchronization_spec.go | 5 +- .../cluster_synchronization_spec_test.go | 5 +- .../v2alpha1/deployment_spec_image.go | 4 +- .../v2alpha1/external_access_spec.go | 6 +- .../deployment/v2alpha1/member_status_list.go | 4 +- .../v2alpha1/server_group_index_method.go | 4 +- .../v2alpha1/server_group_init_containers.go | 4 +- .../deployment/v2alpha1/server_group_spec.go | 6 +- .../v2alpha1/server_group_spec_port_proto.go | 4 +- .../v2alpha1/server_group_volume.go | 8 +- .../v2alpha1/sync_external_access_spec.go | 10 +- pkg/apis/deployment/v2alpha1/tls_sni_spec.go | 4 +- pkg/apis/deployment/v2alpha1/tls_spec.go | 4 +- pkg/apis/deployment/v2alpha1/version.go | 4 +- pkg/apis/ml/v1alpha1/batchjob_spec.go | 8 +- pkg/apis/ml/v1alpha1/cronjob_spec.go | 8 +- .../ml/v1alpha1/extension_spec_deployment.go | 8 +- .../extension_spec_metadata_service.go | 6 +- pkg/apis/ml/v1alpha1/storage_spec_backend.go | 6 +- .../ml/v1alpha1/storage_spec_backend_s3.go | 4 +- pkg/apis/ml/v1alpha1/storage_spec_mode.go | 4 +- .../ml/v1alpha1/storage_spec_mode_sidecar.go | 4 +- pkg/apis/shared/v1/resource.go | 14 +- pkg/apis/shared/validate.go | 16 +-- .../storage/v1alpha/storage_class_spec.go | 4 +- pkg/crd/definitions.go | 4 +- pkg/debug_package/generator.go | 4 +- .../generators/kubernetes/agency.go | 6 +- .../kubernetes/arango_deployments.go | 4 +- .../generators/kubernetes/arango_ml.go | 4 +- .../generators/kubernetes/events.go | 4 +- .../generators/kubernetes/pods.go | 4 +- .../generators/kubernetes/secrets.go | 4 +- .../generators/kubernetes/services.go | 4 +- pkg/deployment/agency/cache.go | 20 +-- pkg/deployment/agency/config.go | 4 +- pkg/deployment/agency/state.go | 8 +- pkg/deployment/agency/state/rf.go | 5 +- .../agency/state/state_timestamp.go | 4 +- pkg/deployment/client/client_cache.go | 4 +- pkg/deployment/context_impl.go | 12 +- pkg/deployment/deployment.go | 8 +- pkg/deployment/deployment_inspector.go | 2 +- pkg/deployment/member/state.go | 8 +- pkg/deployment/members.go | 6 +- pkg/deployment/pod/encryption.go | 10 +- pkg/deployment/pod/jwt.go | 4 +- pkg/deployment/pod/sni.go | 6 +- pkg/deployment/pod/utils.go | 6 +- .../action_arango_member_update_pod_spec.go | 4 +- .../action_arango_member_update_pod_status.go | 4 +- .../reconcile/action_backup_restore.go | 10 +- .../action_bootstrap_set_password.go | 4 +- pkg/deployment/reconcile/action_context.go | 4 +- .../reconcile/action_encryption_add.go | 8 +- .../reconcile/action_jwt_status_update.go | 6 +- .../reconcile/action_kill_member_pod.go | 6 +- pkg/deployment/reconcile/action_pvc_resize.go | 4 +- .../action_rebuild_outsynced_shards.go | 10 +- .../reconcile/action_recreate_member.go | 8 +- .../reconcile/action_remove_member.go | 8 +- .../reconcile/action_remove_member_pvc.go | 10 +- .../action_runtime_container_args_udpate.go | 4 +- .../action_runtime_container_image_update.go | 14 +- .../action_runtime_sync_tolerations.go | 4 +- pkg/deployment/reconcile/helper_shutdown.go | 6 +- pkg/deployment/reconcile/helper_tls_sni.go | 12 +- pkg/deployment/reconcile/plan_builder_jwt.go | 4 +- .../reconcile/plan_builder_scale_utils.go | 4 +- pkg/deployment/reconcile/plan_builder_test.go | 6 +- pkg/deployment/resources/inspector/acs.go | 6 +- pkg/deployment/resources/inspector/acs_v1.go | 10 +- pkg/deployment/resources/inspector/am.go | 6 +- pkg/deployment/resources/inspector/am_v1.go | 10 +- pkg/deployment/resources/inspector/at.go | 6 +- pkg/deployment/resources/inspector/at_v1.go | 10 +- .../resources/inspector/endpoints.go | 6 +- .../resources/inspector/endpoints_v1.go | 10 +- .../resources/inspector/inspector.go | 2 +- pkg/deployment/resources/inspector/nodes.go | 6 +- .../resources/inspector/nodes_v1.go | 10 +- pkg/deployment/resources/inspector/pdbs.go | 6 +- pkg/deployment/resources/inspector/pdbs_v1.go | 10 +- pkg/deployment/resources/inspector/pods.go | 6 +- pkg/deployment/resources/inspector/pods_v1.go | 10 +- pkg/deployment/resources/inspector/pvcs.go | 6 +- pkg/deployment/resources/inspector/pvcs_v1.go | 10 +- pkg/deployment/resources/inspector/pvs.go | 6 +- pkg/deployment/resources/inspector/pvs_v1.go | 10 +- pkg/deployment/resources/inspector/sa.go | 6 +- pkg/deployment/resources/inspector/sa_v1.go | 10 +- pkg/deployment/resources/inspector/secrets.go | 6 +- .../resources/inspector/secrets_v1.go | 10 +- .../resources/inspector/services.go | 6 +- .../resources/inspector/services_v1.go | 10 +- pkg/deployment/resources/inspector/sm.go | 6 +- pkg/deployment/resources/inspector/sm_v1.go | 10 +- pkg/deployment/resources/pod_creator.go | 18 +-- pkg/deployment/resources/pod_termination.go | 14 +- pkg/deployment/resources/pvc_finalizers.go | 4 +- pkg/deployment/resources/secrets.go | 26 ++-- pkg/deployment/resources/servicemonitor.go | 4 +- pkg/deployment/resources/services.go | 4 +- pkg/exporter/monitor.go | 4 +- pkg/handlers/backup/arango_client_impl.go | 8 +- .../backup/arango_client_mock_test.go | 4 +- pkg/handlers/backup/backup_suite_test.go | 4 +- pkg/handlers/backup/errors.go | 6 +- pkg/handlers/backup/handler.go | 7 +- pkg/ml/storage/s3/s3.go | 17 ++- pkg/ml/storage/service.community.go | 6 +- pkg/ml/storage/service.go | 5 +- pkg/operator/operator_deployment.go | 12 +- .../operator_deployment_replication.go | 12 +- pkg/operator/operator_local_storage.go | 12 +- pkg/operatorV2/operation/item.go | 8 +- pkg/operatorV2/operator.go | 20 +-- pkg/operatorV2/operator_worker.go | 4 +- pkg/operatorV2/update.go | 4 +- pkg/replication/deployment_replication.go | 10 +- pkg/replication/finalizers.go | 4 +- pkg/server/auth.go | 8 +- pkg/server/server.go | 6 +- pkg/storage/clients.go | 4 +- pkg/storage/daemon_set.go | 4 +- pkg/storage/local_storage.go | 10 +- pkg/storage/provisioner/client/client.go | 4 +- pkg/storage/provisioner/mocks/provisioner.go | 6 +- pkg/storage/pv_cleanup.go | 6 +- pkg/storage/pv_creator.go | 10 +- pkg/storage/pv_inspector.go | 6 +- pkg/upgrade/upgrade.go | 5 +- pkg/util/arangod/client.go | 4 +- pkg/util/arangod/dbserver.go | 4 +- pkg/util/crd/crd.go | 6 +- pkg/util/errors/errors.go | 67 +++++---- pkg/util/errors/section.go | 6 +- pkg/util/http/server.go | 5 +- pkg/util/k8sutil/helpers/service_account.go | 4 +- pkg/util/k8sutil/images.go | 4 +- pkg/util/k8sutil/kerrors/errors_test.go | 4 +- pkg/util/k8sutil/license.go | 6 +- pkg/util/k8sutil/secrets.go | 30 ++--- pkg/util/k8sutil/services.go | 10 +- pkg/util/kclient/client_factory.go | 4 +- pkg/util/kclient/helpers/secret.go | 4 +- pkg/util/metrics/http_utils_test.go | 5 +- pkg/util/shutdown/grpc.go | 32 +++-- pkg/util/shutdown/grpc_test.go | 67 +++++++++ pkg/util/svc/configuration.go | 29 ++++ pkg/util/svc/error.go | 47 +++++++ pkg/util/svc/grpc.go | 80 ----------- pkg/util/svc/handler.go | 31 +++++ pkg/util/svc/health.go | 118 ++++++++++++++++ pkg/util/svc/run.go | 33 +++++ pkg/util/svc/service.go | 52 +++---- pkg/util/svc/service_test.go | 72 ++++++++++ pkg/util/svc/starter.go | 127 ++++++++++++++++++ pkg/util/tests/kubernetes.go | 4 +- pkg/util/tests/tgrpc/grpc.go | 53 ++++++++ tools/license/license.go | 4 +- 194 files changed, 1289 insertions(+), 739 deletions(-) create mode 100644 pkg/util/shutdown/grpc_test.go create mode 100644 pkg/util/svc/configuration.go create mode 100644 pkg/util/svc/error.go delete mode 100644 pkg/util/svc/grpc.go create mode 100644 pkg/util/svc/handler.go create mode 100644 pkg/util/svc/health.go create mode 100644 pkg/util/svc/run.go create mode 100644 pkg/util/svc/service_test.go create mode 100644 pkg/util/svc/starter.go create mode 100644 pkg/util/tests/tgrpc/grpc.go diff --git a/CHANGELOG.md b/CHANGELOG.md index 620700628..9d1c095e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Change Log ## [master](https://github.com/arangodb/kube-arangodb/tree/master) (N/A) +- (Feature) Extract GRPC Server ## [1.2.37](https://github.com/arangodb/kube-arangodb/tree/1.2.37) (2024-01-22) - (Documentation) Improve documentation rendering for GitHub Pages diff --git a/cmd/admin.go b/cmd/admin.go index 5726f0757..decdc9f80 100644 --- a/cmd/admin.go +++ b/cmd/admin.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -192,7 +192,7 @@ func getDeploymentAndCredentials(ctx context.Context, client, ok := kclient.GetDefaultFactory().Client() if !ok { - err = errors.Newf("Client not initialised") + err = errors.Errorf("Client not initialised") return } @@ -337,7 +337,7 @@ func getCACertificate(ctx context.Context, secrets secretv1.ReadInterface, name func getDeployment(ctx context.Context, namespace, deplName string) (api.ArangoDeployment, error) { client, ok := kclient.GetDefaultFactory().Client() if !ok { - return api.ArangoDeployment{}, errors.Newf("Client not initialised") + return api.ArangoDeployment{}, errors.Errorf("Client not initialised") } extCli := client.Arango() diff --git a/cmd/cmd.go b/cmd/cmd.go index da8c059c9..64dc4272f 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -33,7 +33,6 @@ import ( "time" "github.com/gin-gonic/gin" - "github.com/pkg/errors" "github.com/rs/zerolog" "github.com/spf13/cobra" flag "github.com/spf13/pflag" @@ -59,7 +58,7 @@ import ( "github.com/arangodb/kube-arangodb/pkg/server" "github.com/arangodb/kube-arangodb/pkg/util" "github.com/arangodb/kube-arangodb/pkg/util/constants" - utilsError "github.com/arangodb/kube-arangodb/pkg/util/errors" + "github.com/arangodb/kube-arangodb/pkg/util/errors" "github.com/arangodb/kube-arangodb/pkg/util/globals" operatorHTTP "github.com/arangodb/kube-arangodb/pkg/util/http" "github.com/arangodb/kube-arangodb/pkg/util/k8sutil" @@ -437,7 +436,7 @@ func executeMain(cmd *cobra.Command, args []string) { if err != nil { logger.Err(err).Fatal("Failed to create API server") } - go utilsError.LogError(logger, "while running API server", apiServer.Run) + go errors.LogError(logger, "while running API server", apiServer.Run) } listenAddr := net.JoinHostPort(serverOptions.host, strconv.Itoa(serverOptions.port)) @@ -486,7 +485,7 @@ func executeMain(cmd *cobra.Command, args []string) { }); err != nil { logger.Err(err).Fatal("Failed to create HTTP server") } else { - go utilsError.LogError(logger, "error while starting server", svr.Run) + go errors.LogError(logger, "error while starting server", svr.Run) } // startChaos(context.Background(), cfg.KubeCli, cfg.Namespace, chaosLevel) diff --git a/cmd/crd.go b/cmd/crd.go index 6b95b94e7..a44329fbc 100644 --- a/cmd/crd.go +++ b/cmd/crd.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,11 +28,11 @@ import ( "strings" "time" - "github.com/pkg/errors" "github.com/spf13/cobra" "github.com/arangodb/kube-arangodb/pkg/crd" "github.com/arangodb/kube-arangodb/pkg/crd/crds" + "github.com/arangodb/kube-arangodb/pkg/util/errors" "github.com/arangodb/kube-arangodb/pkg/util/kclient" ) diff --git a/cmd/init_container_version_check.go b/cmd/init_container_version_check.go index 35e71371a..2f0e1c7da 100644 --- a/cmd/init_container_version_check.go +++ b/cmd/init_container_version_check.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,9 +24,10 @@ import ( "encoding/json" "os" - "github.com/pkg/errors" "github.com/rs/zerolog/log" "github.com/spf13/cobra" + + "github.com/arangodb/kube-arangodb/pkg/util/errors" ) const cmdVersionCheckInitContainersInvalidVersionExitCode = 11 diff --git a/cmd/lifecycle_probes.go b/cmd/lifecycle_probes.go index fa0f121c9..2dc5b3b2c 100644 --- a/cmd/lifecycle_probes.go +++ b/cmd/lifecycle_probes.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -30,7 +30,6 @@ import ( "path" "strconv" - "github.com/pkg/errors" "github.com/rs/zerolog/log" "github.com/spf13/cobra" @@ -45,6 +44,7 @@ import ( "github.com/arangodb/kube-arangodb/pkg/deployment/resources" "github.com/arangodb/kube-arangodb/pkg/util" "github.com/arangodb/kube-arangodb/pkg/util/constants" + "github.com/arangodb/kube-arangodb/pkg/util/errors" ) const ( diff --git a/cmd/lifecycle_startup.go b/cmd/lifecycle_startup.go index a4e364f1d..788fe9534 100644 --- a/cmd/lifecycle_startup.go +++ b/cmd/lifecycle_startup.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,6 @@ package cmd import ( - "errors" "fmt" "net/http" "time" @@ -29,6 +28,7 @@ import ( "github.com/spf13/cobra" shared "github.com/arangodb/kube-arangodb/pkg/apis/shared" + "github.com/arangodb/kube-arangodb/pkg/util/errors" ) var cmdLifecycleStartup = &cobra.Command{ diff --git a/cmd/ml_storage.go b/cmd/ml_storage.go index 175aa75eb..50f808a14 100644 --- a/cmd/ml_storage.go +++ b/cmd/ml_storage.go @@ -25,11 +25,8 @@ import ( "github.com/rs/zerolog/log" "github.com/spf13/cobra" - "google.golang.org/grpc" - pbShutdown "github.com/arangodb/kube-arangodb/pkg/api/shutdown/v1" "github.com/arangodb/kube-arangodb/pkg/ml/storage" - "github.com/arangodb/kube-arangodb/pkg/util/probe" "github.com/arangodb/kube-arangodb/pkg/util/shutdown" "github.com/arangodb/kube-arangodb/pkg/util/svc" ) @@ -53,7 +50,7 @@ var ( } cmdMLStorageControllerOptions struct { - svc.GRPCConfig + Configuration svc.Configuration } ) @@ -62,8 +59,8 @@ func init() { cmdMLStorage.AddCommand(cmdMLStorageS3) f := cmdMLStorageS3.PersistentFlags() - f.StringVar(&cmdMLStorageControllerOptions.ListenAddress, "controller.address", "", "Address the GRPC controller service will listen on (IP:port)") - f.StringVar(&cmdMLStorageS3Options.ListenAddress, "server.address", "", "Address the GRPC service will listen on (IP:port)") + f.StringVar(&cmdMLStorageControllerOptions.Configuration.Address, "controller.address", "", "Address the GRPC controller service will listen on (IP:port)") + f.StringVar(&cmdMLStorageS3Options.Configuration.Address, "server.address", "", "Address the GRPC service will listen on (IP:port)") f.StringVar(&cmdMLStorageS3Options.S3.Endpoint, "s3.endpoint", "", "Endpoint of S3 API implementation") f.StringVar(&cmdMLStorageS3Options.S3.CACrtFile, "s3.ca-crt", "", "Path to file containing CA certificate to validate endpoint connection") @@ -84,16 +81,18 @@ func cmdMLStorageS3Run(cmd *cobra.Command, _ []string) { } func cmdMLStorageS3RunE(_ *cobra.Command) error { + health := svc.NewHealthService(cmdMLStorageControllerOptions.Configuration, svc.Readiness, shutdown.NewGlobalShutdownServer()) + + health.Start(shutdown.Context()) + storageService, err := storage.NewService(shutdown.Context(), storage.StorageTypeS3Proxy, cmdMLStorageS3Options.ServiceConfig) if err != nil { return err } - healthService := probe.NewHealthService() + svc := svc.NewService(cmdMLStorageS3Options.Configuration, storageService) + + svcRun := svc.StartWithHealth(shutdown.Context(), health) - controllerService := svc.NewGRPC(cmdMLStorageControllerOptions.GRPCConfig, func(server *grpc.Server) { - pbShutdown.RegisterShutdownServer(server, shutdown.NewShutdownableShutdownServer()) - healthService.Register(server) - }) - return svc.RunServices(shutdown.Context(), healthService, storageService, controllerService) + return svcRun.Wait() } diff --git a/cmd/uuid.go b/cmd/uuid.go index 3bc60ede2..a7d960362 100644 --- a/cmd/uuid.go +++ b/cmd/uuid.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -25,9 +25,10 @@ import ( "os" "strings" - "github.com/pkg/errors" "github.com/rs/zerolog/log" "github.com/spf13/cobra" + + "github.com/arangodb/kube-arangodb/pkg/util/errors" ) type cmdUUIDInputStruct struct { diff --git a/internal/md/sections.go b/internal/md/sections.go index edbfb2b1a..ad46ada8a 100644 --- a/internal/md/sections.go +++ b/internal/md/sections.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -78,7 +78,7 @@ func ReplaceSection(in, replace, section string) (string, error) { endID := strings.Index(in, end) if endID == -1 { - return "", errors.Newf("END_INJECT sections is missing for section %s. Note that newline is required at the end and before tag", section) + return "", errors.Errorf("END_INJECT sections is missing for section %s. Note that newline is required at the end and before tag", section) } if strings.HasSuffix(replace, "\n\n") { diff --git a/internal/md/table.go b/internal/md/table.go index d4011cc7a..854b5c3b6 100644 --- a/internal/md/table.go +++ b/internal/md/table.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -53,7 +53,7 @@ func (t *table) AddRow(in map[Column]string) error { for k, v := range in { if _, ok := t.columns.Get(k.ID()); !ok { - return errors.Newf("Column not found") + return errors.Errorf("Column not found") } r[k.ID()] = v diff --git a/pkg/api/tls.go b/pkg/api/tls.go index 23c3c0289..fa45b37fd 100644 --- a/pkg/api/tls.go +++ b/pkg/api/tls.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -56,11 +56,11 @@ func loadOrSelfSignCertificate(cli typedCore.CoreV1Interface, cfg ServerConfig) } certBytes, found := s.Data[core.TLSCertKey] if !found { - return "", "", errors.Newf("No %s found in secret %s", core.TLSCertKey, cfg.TLSSecretName) + return "", "", errors.Errorf("No %s found in secret %s", core.TLSCertKey, cfg.TLSSecretName) } keyBytes, found := s.Data[core.TLSPrivateKeyKey] if !found { - return "", "", errors.Newf("No %s found in secret %s", core.TLSPrivateKeyKey, cfg.TLSSecretName) + return "", "", errors.Errorf("No %s found in secret %s", core.TLSPrivateKeyKey, cfg.TLSSecretName) } return string(certBytes), string(keyBytes), nil } diff --git a/pkg/apis/apps/v1/job_validate.go b/pkg/apis/apps/v1/job_validate.go index 6df53ad02..4509ddc37 100644 --- a/pkg/apis/apps/v1/job_validate.go +++ b/pkg/apis/apps/v1/job_validate.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -32,11 +32,11 @@ func (a *ArangoJob) Validate() error { func (a *ArangoJobSpec) Validate() error { if a.ArangoDeploymentName == "" { - return errors.Newf("deployment name can not be empty") + return errors.Errorf("deployment name can not be empty") } if a.JobTemplate == nil { - return errors.Newf("jobTemplate name can not be empty") + return errors.Errorf("jobTemplate name can not be empty") } return nil diff --git a/pkg/apis/backup/v1/backup_policy_validate.go b/pkg/apis/backup/v1/backup_policy_validate.go index c933acfeb..ba39037d4 100644 --- a/pkg/apis/backup/v1/backup_policy_validate.go +++ b/pkg/apis/backup/v1/backup_policy_validate.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -38,9 +38,9 @@ func (a *ArangoBackupPolicy) Validate() error { func (a *ArangoBackupPolicySpec) Validate() error { if expr, err := cron.ParseStandard(a.Schedule); err != nil { - return errors.Newf("error while parsing expr: %s", err.Error()) + return errors.Errorf("error while parsing expr: %s", err.Error()) } else if expr.Next(time.Now()).IsZero() { - return errors.Newf("invalid schedule format") + return errors.Errorf("invalid schedule format") } return nil diff --git a/pkg/apis/backup/v1/backup_validate.go b/pkg/apis/backup/v1/backup_validate.go index 65bf1efe1..94b39fbbc 100644 --- a/pkg/apis/backup/v1/backup_validate.go +++ b/pkg/apis/backup/v1/backup_validate.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ func (a *ArangoBackup) Validate() error { func (a *ArangoBackupSpec) Validate() error { if a.Deployment.Name == "" { - return errors.Newf("deployment name can not be empty") + return errors.Errorf("deployment name can not be empty") } if a.Download != nil { @@ -58,7 +58,7 @@ func (a *ArangoBackupSpec) Validate() error { func (a *ArangoBackupSpecOperation) Validate() error { if a.RepositoryURL == "" { - return errors.Newf("RepositoryURL can not be empty") + return errors.Errorf("RepositoryURL can not be empty") } return nil @@ -66,7 +66,7 @@ func (a *ArangoBackupSpecOperation) Validate() error { func (a *ArangoBackupSpecDownload) Validate() error { if a.ID == "" { - return errors.Newf("ID can not be empty") + return errors.Errorf("ID can not be empty") } return a.ArangoBackupSpecOperation.Validate() diff --git a/pkg/apis/deployment/v1/architecture.go b/pkg/apis/deployment/v1/architecture.go index 3c32d9596..033edf332 100644 --- a/pkg/apis/deployment/v1/architecture.go +++ b/pkg/apis/deployment/v1/architecture.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,10 +23,10 @@ package v1 import ( "runtime" - "github.com/pkg/errors" core "k8s.io/api/core/v1" shared "github.com/arangodb/kube-arangodb/pkg/apis/shared" + "github.com/arangodb/kube-arangodb/pkg/util/errors" ) // ArangoDeploymentArchitecture defines the list of supported architectures. diff --git a/pkg/apis/deployment/v1/bootstrap.go b/pkg/apis/deployment/v1/bootstrap.go index 715c96c21..09199377b 100644 --- a/pkg/apis/deployment/v1/bootstrap.go +++ b/pkg/apis/deployment/v1/bootstrap.go @@ -92,12 +92,12 @@ func (b *BootstrapSpec) Validate() error { for username, secretname := range b.PasswordSecretNames { // Remove this restriction as soon as we can bootstrap databases if username != UserNameRoot { - return errors.Newf("only username `root` allowed in passwordSecretNames") + return errors.Errorf("only username `root` allowed in passwordSecretNames") } if secretname.IsNone() { if username != UserNameRoot { - return errors.Newf("magic value None not allowed for %s", username) + return errors.Errorf("magic value None not allowed for %s", username) } } else { if err := shared.ValidateResourceName(string(secretname)); err != nil { diff --git a/pkg/apis/deployment/v1/cluster_synchronization_spec.go b/pkg/apis/deployment/v1/cluster_synchronization_spec.go index 3539bbf49..3ad782755 100644 --- a/pkg/apis/deployment/v1/cluster_synchronization_spec.go +++ b/pkg/apis/deployment/v1/cluster_synchronization_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,9 +21,8 @@ package v1 import ( - "github.com/pkg/errors" - shared "github.com/arangodb/kube-arangodb/pkg/apis/shared" + "github.com/arangodb/kube-arangodb/pkg/util/errors" ) type ArangoClusterSynchronizationSpec struct { diff --git a/pkg/apis/deployment/v1/cluster_synchronization_spec_test.go b/pkg/apis/deployment/v1/cluster_synchronization_spec_test.go index 8d97e44b8..d49fc391c 100644 --- a/pkg/apis/deployment/v1/cluster_synchronization_spec_test.go +++ b/pkg/apis/deployment/v1/cluster_synchronization_spec_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,8 +23,9 @@ package v1 import ( "testing" - "github.com/pkg/errors" "github.com/stretchr/testify/require" + + "github.com/arangodb/kube-arangodb/pkg/util/errors" ) func Test_ACS_KubeConfigSpec(t *testing.T) { diff --git a/pkg/apis/deployment/v1/deployment_spec_image.go b/pkg/apis/deployment/v1/deployment_spec_image.go index bbe117d42..3bbb334b6 100644 --- a/pkg/apis/deployment/v1/deployment_spec_image.go +++ b/pkg/apis/deployment/v1/deployment_spec_image.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ func (d DeploymentImageDiscoveryModeSpec) Validate() error { case DeploymentImageDiscoveryDirectMode: return nil default: - return errors.Newf("mode %s is not supported", d) + return errors.Errorf("mode %s is not supported", d) } } diff --git a/pkg/apis/deployment/v1/external_access_spec.go b/pkg/apis/deployment/v1/external_access_spec.go index 67702a5d9..2b0bec774 100644 --- a/pkg/apis/deployment/v1/external_access_spec.go +++ b/pkg/apis/deployment/v1/external_access_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -100,12 +100,12 @@ func (s ExternalAccessSpec) Validate() error { if s.AdvertisedEndpoint != nil { ep := s.GetAdvertisedEndpoint() if _, err := url.Parse(ep); err != nil { - return errors.WithStack(errors.Newf("Failed to parse advertised endpoint '%s': %s", ep, err)) + return errors.WithStack(errors.Errorf("Failed to parse advertised endpoint '%s': %s", ep, err)) } } for _, x := range s.LoadBalancerSourceRanges { if _, _, err := net.ParseCIDR(x); err != nil { - return errors.WithStack(errors.Newf("Failed to parse loadbalancer source range '%s': %s", x, err)) + return errors.WithStack(errors.Errorf("Failed to parse loadbalancer source range '%s': %s", x, err)) } } return nil diff --git a/pkg/apis/deployment/v1/member_status_list.go b/pkg/apis/deployment/v1/member_status_list.go index 2c7d19a32..f158dbc05 100644 --- a/pkg/apis/deployment/v1/member_status_list.go +++ b/pkg/apis/deployment/v1/member_status_list.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -183,7 +183,7 @@ func (l MemberStatusList) SelectMemberToRemove(selectors ...MemberToRemoveSelect if member, ok := l.ElementByID(m); ok { return member, nil } else { - return MemberStatus{}, errors.Newf("Unable to find member with id %s", m) + return MemberStatus{}, errors.Errorf("Unable to find member with id %s", m) } } } diff --git a/pkg/apis/deployment/v1/server_group_index_method.go b/pkg/apis/deployment/v1/server_group_index_method.go index 58d64d274..e9b555e90 100644 --- a/pkg/apis/deployment/v1/server_group_index_method.go +++ b/pkg/apis/deployment/v1/server_group_index_method.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -47,7 +47,7 @@ func (s *ServerGroupIndexMethod) Validate() error { case ServerGroupIndexMethodRandom, ServerGroupIndexMethodOrdered: return nil default: - return errors.Newf("Unknown IndexMethod %s", v) + return errors.Errorf("Unknown IndexMethod %s", v) } } diff --git a/pkg/apis/deployment/v1/server_group_init_containers.go b/pkg/apis/deployment/v1/server_group_init_containers.go index 26b216865..abf2b3327 100644 --- a/pkg/apis/deployment/v1/server_group_init_containers.go +++ b/pkg/apis/deployment/v1/server_group_init_containers.go @@ -48,7 +48,7 @@ func IsReservedServerGroupInitContainerName(name string) bool { func ValidateServerGroupInitContainerName(name string) error { if IsReservedServerGroupInitContainerName(name) { - return errors.Newf("InitContainer name %s is restricted", name) + return errors.Errorf("InitContainer name %s is restricted", name) } return sharedApi.AsKubernetesResourceName(&name).Validate() @@ -73,7 +73,7 @@ func (s *ServerGroupInitContainerMode) Validate() error { case ServerGroupInitContainerIgnoreMode, ServerGroupInitContainerUpdateMode: return nil default: - return errors.Newf("Unknown serverGroupInitContainerMode %s", v) + return errors.Errorf("Unknown serverGroupInitContainerMode %s", v) } } diff --git a/pkg/apis/deployment/v1/server_group_spec.go b/pkg/apis/deployment/v1/server_group_spec.go index c4062e559..5d20fd1e2 100644 --- a/pkg/apis/deployment/v1/server_group_spec.go +++ b/pkg/apis/deployment/v1/server_group_spec.go @@ -563,14 +563,14 @@ func (s *ServerGroupSpec) validateVolumes() error { for _, mount := range s.VolumeMounts { if _, ok := volumes[mount.Name]; !ok { - return errors.Newf("Volume %s is not defined, but required by mount", mount.Name) + return errors.Errorf("Volume %s is not defined, but required by mount", mount.Name) } } for _, container := range s.InitContainers.GetContainers() { for _, mount := range container.VolumeMounts { if _, ok := volumes[mount.Name]; !ok { - return errors.Newf("Volume %s is not defined, but required by mount in init container %s", mount.Name, container.Name) + return errors.Errorf("Volume %s is not defined, but required by mount in init container %s", mount.Name, container.Name) } } } @@ -578,7 +578,7 @@ func (s *ServerGroupSpec) validateVolumes() error { for _, container := range s.Sidecars { for _, mount := range s.VolumeMounts { if _, ok := volumes[mount.Name]; !ok { - return errors.Newf("Volume %s is not defined, but required by mount in sidecar %s", mount.Name, container.Name) + return errors.Errorf("Volume %s is not defined, but required by mount in sidecar %s", mount.Name, container.Name) } } } diff --git a/pkg/apis/deployment/v1/server_group_spec_port_proto.go b/pkg/apis/deployment/v1/server_group_spec_port_proto.go index 2a6f8ae22..e4efc1d52 100644 --- a/pkg/apis/deployment/v1/server_group_spec_port_proto.go +++ b/pkg/apis/deployment/v1/server_group_spec_port_proto.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ package v1 -import "github.com/pkg/errors" +import "github.com/arangodb/kube-arangodb/pkg/util/errors" // ServerGroupPortProtocol define supported protocols of listeners type ServerGroupPortProtocol string diff --git a/pkg/apis/deployment/v1/server_group_volume.go b/pkg/apis/deployment/v1/server_group_volume.go index d80b64375..7c9110686 100644 --- a/pkg/apis/deployment/v1/server_group_volume.go +++ b/pkg/apis/deployment/v1/server_group_volume.go @@ -87,14 +87,14 @@ func (s ServerGroupSpecVolumes) Validate() error { for volumeName, count := range mappedVolumes { if IsRestrictedVolumeName(volumeName) { - validationErrors = append(validationErrors, errors.Newf("volume with name %s is restricted", volumeName)) + validationErrors = append(validationErrors, errors.Errorf("volume with name %s is restricted", volumeName)) } if count == 1 { continue } - validationErrors = append(validationErrors, errors.Newf("volume with name %s defined more than once: %d", volumeName, count)) + validationErrors = append(validationErrors, errors.Errorf("volume with name %s defined more than once: %d", volumeName, count)) } return shared.WithErrors(validationErrors...) @@ -202,11 +202,11 @@ func (s *ServerGroupSpecVolume) validate() error { count := s.notNilFields() if count == 0 { - return errors.Newf("at least one option need to be defined: secret, configMap or emptyDir") + return errors.Errorf("at least one option need to be defined: secret, configMap or emptyDir") } if count > 1 { - return errors.Newf("only one option can be defined: secret, configMap or emptyDir") + return errors.Errorf("only one option can be defined: secret, configMap or emptyDir") } return nil diff --git a/pkg/apis/deployment/v1/sync_external_access_spec.go b/pkg/apis/deployment/v1/sync_external_access_spec.go index 67917d4a2..686163cdd 100644 --- a/pkg/apis/deployment/v1/sync_external_access_spec.go +++ b/pkg/apis/deployment/v1/sync_external_access_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -77,19 +77,19 @@ func (s SyncExternalAccessSpec) Validate() error { } for _, ep := range s.MasterEndpoint { if u, err := url.Parse(ep); err != nil { - return errors.WithStack(errors.Newf("Failed to parse master endpoint '%s': %s", ep, err)) + return errors.WithStack(errors.Errorf("Failed to parse master endpoint '%s': %s", ep, err)) } else { if u.Scheme != "http" && u.Scheme != "https" { - return errors.WithStack(errors.Newf("Invalid scheme '%s' in master endpoint '%s'", u.Scheme, ep)) + return errors.WithStack(errors.Errorf("Invalid scheme '%s' in master endpoint '%s'", u.Scheme, ep)) } if u.Host == "" { - return errors.WithStack(errors.Newf("Missing host in master endpoint '%s'", ep)) + return errors.WithStack(errors.Errorf("Missing host in master endpoint '%s'", ep)) } } } for _, name := range s.AccessPackageSecretNames { if err := shared.ValidateResourceName(name); err != nil { - return errors.WithStack(errors.Newf("Invalid name '%s' in accessPackageSecretNames: %s", name, err)) + return errors.WithStack(errors.Errorf("Invalid name '%s' in accessPackageSecretNames: %s", name, err)) } } return nil diff --git a/pkg/apis/deployment/v1/tls_sni_spec.go b/pkg/apis/deployment/v1/tls_sni_spec.go index 911857253..4e8fc1a48 100644 --- a/pkg/apis/deployment/v1/tls_sni_spec.go +++ b/pkg/apis/deployment/v1/tls_sni_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ func (s TLSSNISpec) Validate() error { for _, value := range values { if _, exists := mapped[value]; exists { - return errors.Newf("sni for host %s is already defined", value) + return errors.Errorf("sni for host %s is already defined", value) } // Mark value as existing diff --git a/pkg/apis/deployment/v1/tls_spec.go b/pkg/apis/deployment/v1/tls_spec.go index 4bca0053f..8255a9a9a 100644 --- a/pkg/apis/deployment/v1/tls_spec.go +++ b/pkg/apis/deployment/v1/tls_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -125,7 +125,7 @@ func (s TLSSpec) GetParsedAltNames() (dnsNames, ipAddresses, emailAddresses []st } else if validation.IsValidEmailAddress(name) { emailAddresses = append(emailAddresses, name) } else { - return nil, nil, nil, errors.WithStack(errors.Newf("'%s' is not a valid alternate name", name)) + return nil, nil, nil, errors.WithStack(errors.Errorf("'%s' is not a valid alternate name", name)) } } return dnsNames, ipAddresses, emailAddresses, nil diff --git a/pkg/apis/deployment/v1/version.go b/pkg/apis/deployment/v1/version.go index 909ccac37..18e31a226 100644 --- a/pkg/apis/deployment/v1/version.go +++ b/pkg/apis/deployment/v1/version.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -26,7 +26,7 @@ import ( "strconv" "strings" - "github.com/pkg/errors" + "github.com/arangodb/kube-arangodb/pkg/util/errors" ) var _ json.Marshaler = Version{} diff --git a/pkg/apis/deployment/v2alpha1/architecture.go b/pkg/apis/deployment/v2alpha1/architecture.go index 3d62dec2a..2dc02a6eb 100644 --- a/pkg/apis/deployment/v2alpha1/architecture.go +++ b/pkg/apis/deployment/v2alpha1/architecture.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,10 +23,10 @@ package v2alpha1 import ( "runtime" - "github.com/pkg/errors" core "k8s.io/api/core/v1" shared "github.com/arangodb/kube-arangodb/pkg/apis/shared" + "github.com/arangodb/kube-arangodb/pkg/util/errors" ) // ArangoDeploymentArchitecture defines the list of supported architectures. diff --git a/pkg/apis/deployment/v2alpha1/bootstrap.go b/pkg/apis/deployment/v2alpha1/bootstrap.go index 2ebed9bc6..d2a637553 100644 --- a/pkg/apis/deployment/v2alpha1/bootstrap.go +++ b/pkg/apis/deployment/v2alpha1/bootstrap.go @@ -92,12 +92,12 @@ func (b *BootstrapSpec) Validate() error { for username, secretname := range b.PasswordSecretNames { // Remove this restriction as soon as we can bootstrap databases if username != UserNameRoot { - return errors.Newf("only username `root` allowed in passwordSecretNames") + return errors.Errorf("only username `root` allowed in passwordSecretNames") } if secretname.IsNone() { if username != UserNameRoot { - return errors.Newf("magic value None not allowed for %s", username) + return errors.Errorf("magic value None not allowed for %s", username) } } else { if err := shared.ValidateResourceName(string(secretname)); err != nil { diff --git a/pkg/apis/deployment/v2alpha1/cluster_synchronization_spec.go b/pkg/apis/deployment/v2alpha1/cluster_synchronization_spec.go index b76fb084a..0d8296d16 100644 --- a/pkg/apis/deployment/v2alpha1/cluster_synchronization_spec.go +++ b/pkg/apis/deployment/v2alpha1/cluster_synchronization_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,9 +21,8 @@ package v2alpha1 import ( - "github.com/pkg/errors" - shared "github.com/arangodb/kube-arangodb/pkg/apis/shared" + "github.com/arangodb/kube-arangodb/pkg/util/errors" ) type ArangoClusterSynchronizationSpec struct { diff --git a/pkg/apis/deployment/v2alpha1/cluster_synchronization_spec_test.go b/pkg/apis/deployment/v2alpha1/cluster_synchronization_spec_test.go index a7ec8be97..ede8ac9b3 100644 --- a/pkg/apis/deployment/v2alpha1/cluster_synchronization_spec_test.go +++ b/pkg/apis/deployment/v2alpha1/cluster_synchronization_spec_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,8 +23,9 @@ package v2alpha1 import ( "testing" - "github.com/pkg/errors" "github.com/stretchr/testify/require" + + "github.com/arangodb/kube-arangodb/pkg/util/errors" ) func Test_ACS_KubeConfigSpec(t *testing.T) { diff --git a/pkg/apis/deployment/v2alpha1/deployment_spec_image.go b/pkg/apis/deployment/v2alpha1/deployment_spec_image.go index 502f78eee..3819cab52 100644 --- a/pkg/apis/deployment/v2alpha1/deployment_spec_image.go +++ b/pkg/apis/deployment/v2alpha1/deployment_spec_image.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ func (d DeploymentImageDiscoveryModeSpec) Validate() error { case DeploymentImageDiscoveryDirectMode: return nil default: - return errors.Newf("mode %s is not supported", d) + return errors.Errorf("mode %s is not supported", d) } } diff --git a/pkg/apis/deployment/v2alpha1/external_access_spec.go b/pkg/apis/deployment/v2alpha1/external_access_spec.go index d3e9a8eb5..92fa5fc8a 100644 --- a/pkg/apis/deployment/v2alpha1/external_access_spec.go +++ b/pkg/apis/deployment/v2alpha1/external_access_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -100,12 +100,12 @@ func (s ExternalAccessSpec) Validate() error { if s.AdvertisedEndpoint != nil { ep := s.GetAdvertisedEndpoint() if _, err := url.Parse(ep); err != nil { - return errors.WithStack(errors.Newf("Failed to parse advertised endpoint '%s': %s", ep, err)) + return errors.WithStack(errors.Errorf("Failed to parse advertised endpoint '%s': %s", ep, err)) } } for _, x := range s.LoadBalancerSourceRanges { if _, _, err := net.ParseCIDR(x); err != nil { - return errors.WithStack(errors.Newf("Failed to parse loadbalancer source range '%s': %s", x, err)) + return errors.WithStack(errors.Errorf("Failed to parse loadbalancer source range '%s': %s", x, err)) } } return nil diff --git a/pkg/apis/deployment/v2alpha1/member_status_list.go b/pkg/apis/deployment/v2alpha1/member_status_list.go index ed9e21311..9c04e5e96 100644 --- a/pkg/apis/deployment/v2alpha1/member_status_list.go +++ b/pkg/apis/deployment/v2alpha1/member_status_list.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -183,7 +183,7 @@ func (l MemberStatusList) SelectMemberToRemove(selectors ...MemberToRemoveSelect if member, ok := l.ElementByID(m); ok { return member, nil } else { - return MemberStatus{}, errors.Newf("Unable to find member with id %s", m) + return MemberStatus{}, errors.Errorf("Unable to find member with id %s", m) } } } diff --git a/pkg/apis/deployment/v2alpha1/server_group_index_method.go b/pkg/apis/deployment/v2alpha1/server_group_index_method.go index 44eb59b2e..3b8b92867 100644 --- a/pkg/apis/deployment/v2alpha1/server_group_index_method.go +++ b/pkg/apis/deployment/v2alpha1/server_group_index_method.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -47,7 +47,7 @@ func (s *ServerGroupIndexMethod) Validate() error { case ServerGroupIndexMethodRandom, ServerGroupIndexMethodOrdered: return nil default: - return errors.Newf("Unknown IndexMethod %s", v) + return errors.Errorf("Unknown IndexMethod %s", v) } } diff --git a/pkg/apis/deployment/v2alpha1/server_group_init_containers.go b/pkg/apis/deployment/v2alpha1/server_group_init_containers.go index 17fe3f173..9d95e9e81 100644 --- a/pkg/apis/deployment/v2alpha1/server_group_init_containers.go +++ b/pkg/apis/deployment/v2alpha1/server_group_init_containers.go @@ -48,7 +48,7 @@ func IsReservedServerGroupInitContainerName(name string) bool { func ValidateServerGroupInitContainerName(name string) error { if IsReservedServerGroupInitContainerName(name) { - return errors.Newf("InitContainer name %s is restricted", name) + return errors.Errorf("InitContainer name %s is restricted", name) } return sharedApi.AsKubernetesResourceName(&name).Validate() @@ -73,7 +73,7 @@ func (s *ServerGroupInitContainerMode) Validate() error { case ServerGroupInitContainerIgnoreMode, ServerGroupInitContainerUpdateMode: return nil default: - return errors.Newf("Unknown serverGroupInitContainerMode %s", v) + return errors.Errorf("Unknown serverGroupInitContainerMode %s", v) } } diff --git a/pkg/apis/deployment/v2alpha1/server_group_spec.go b/pkg/apis/deployment/v2alpha1/server_group_spec.go index 78f1e0278..6298bb70a 100644 --- a/pkg/apis/deployment/v2alpha1/server_group_spec.go +++ b/pkg/apis/deployment/v2alpha1/server_group_spec.go @@ -563,14 +563,14 @@ func (s *ServerGroupSpec) validateVolumes() error { for _, mount := range s.VolumeMounts { if _, ok := volumes[mount.Name]; !ok { - return errors.Newf("Volume %s is not defined, but required by mount", mount.Name) + return errors.Errorf("Volume %s is not defined, but required by mount", mount.Name) } } for _, container := range s.InitContainers.GetContainers() { for _, mount := range container.VolumeMounts { if _, ok := volumes[mount.Name]; !ok { - return errors.Newf("Volume %s is not defined, but required by mount in init container %s", mount.Name, container.Name) + return errors.Errorf("Volume %s is not defined, but required by mount in init container %s", mount.Name, container.Name) } } } @@ -578,7 +578,7 @@ func (s *ServerGroupSpec) validateVolumes() error { for _, container := range s.Sidecars { for _, mount := range s.VolumeMounts { if _, ok := volumes[mount.Name]; !ok { - return errors.Newf("Volume %s is not defined, but required by mount in sidecar %s", mount.Name, container.Name) + return errors.Errorf("Volume %s is not defined, but required by mount in sidecar %s", mount.Name, container.Name) } } } diff --git a/pkg/apis/deployment/v2alpha1/server_group_spec_port_proto.go b/pkg/apis/deployment/v2alpha1/server_group_spec_port_proto.go index 88bb1c6fc..4a4cbb8c1 100644 --- a/pkg/apis/deployment/v2alpha1/server_group_spec_port_proto.go +++ b/pkg/apis/deployment/v2alpha1/server_group_spec_port_proto.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ package v2alpha1 -import "github.com/pkg/errors" +import "github.com/arangodb/kube-arangodb/pkg/util/errors" // ServerGroupPortProtocol define supported protocols of listeners type ServerGroupPortProtocol string diff --git a/pkg/apis/deployment/v2alpha1/server_group_volume.go b/pkg/apis/deployment/v2alpha1/server_group_volume.go index 5491b678e..a26f15b3b 100644 --- a/pkg/apis/deployment/v2alpha1/server_group_volume.go +++ b/pkg/apis/deployment/v2alpha1/server_group_volume.go @@ -87,14 +87,14 @@ func (s ServerGroupSpecVolumes) Validate() error { for volumeName, count := range mappedVolumes { if IsRestrictedVolumeName(volumeName) { - validationErrors = append(validationErrors, errors.Newf("volume with name %s is restricted", volumeName)) + validationErrors = append(validationErrors, errors.Errorf("volume with name %s is restricted", volumeName)) } if count == 1 { continue } - validationErrors = append(validationErrors, errors.Newf("volume with name %s defined more than once: %d", volumeName, count)) + validationErrors = append(validationErrors, errors.Errorf("volume with name %s defined more than once: %d", volumeName, count)) } return shared.WithErrors(validationErrors...) @@ -202,11 +202,11 @@ func (s *ServerGroupSpecVolume) validate() error { count := s.notNilFields() if count == 0 { - return errors.Newf("at least one option need to be defined: secret, configMap or emptyDir") + return errors.Errorf("at least one option need to be defined: secret, configMap or emptyDir") } if count > 1 { - return errors.Newf("only one option can be defined: secret, configMap or emptyDir") + return errors.Errorf("only one option can be defined: secret, configMap or emptyDir") } return nil diff --git a/pkg/apis/deployment/v2alpha1/sync_external_access_spec.go b/pkg/apis/deployment/v2alpha1/sync_external_access_spec.go index 414492720..84cbcac6e 100644 --- a/pkg/apis/deployment/v2alpha1/sync_external_access_spec.go +++ b/pkg/apis/deployment/v2alpha1/sync_external_access_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -77,19 +77,19 @@ func (s SyncExternalAccessSpec) Validate() error { } for _, ep := range s.MasterEndpoint { if u, err := url.Parse(ep); err != nil { - return errors.WithStack(errors.Newf("Failed to parse master endpoint '%s': %s", ep, err)) + return errors.WithStack(errors.Errorf("Failed to parse master endpoint '%s': %s", ep, err)) } else { if u.Scheme != "http" && u.Scheme != "https" { - return errors.WithStack(errors.Newf("Invalid scheme '%s' in master endpoint '%s'", u.Scheme, ep)) + return errors.WithStack(errors.Errorf("Invalid scheme '%s' in master endpoint '%s'", u.Scheme, ep)) } if u.Host == "" { - return errors.WithStack(errors.Newf("Missing host in master endpoint '%s'", ep)) + return errors.WithStack(errors.Errorf("Missing host in master endpoint '%s'", ep)) } } } for _, name := range s.AccessPackageSecretNames { if err := shared.ValidateResourceName(name); err != nil { - return errors.WithStack(errors.Newf("Invalid name '%s' in accessPackageSecretNames: %s", name, err)) + return errors.WithStack(errors.Errorf("Invalid name '%s' in accessPackageSecretNames: %s", name, err)) } } return nil diff --git a/pkg/apis/deployment/v2alpha1/tls_sni_spec.go b/pkg/apis/deployment/v2alpha1/tls_sni_spec.go index 9dc51bbd7..dc016a976 100644 --- a/pkg/apis/deployment/v2alpha1/tls_sni_spec.go +++ b/pkg/apis/deployment/v2alpha1/tls_sni_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ func (s TLSSNISpec) Validate() error { for _, value := range values { if _, exists := mapped[value]; exists { - return errors.Newf("sni for host %s is already defined", value) + return errors.Errorf("sni for host %s is already defined", value) } // Mark value as existing diff --git a/pkg/apis/deployment/v2alpha1/tls_spec.go b/pkg/apis/deployment/v2alpha1/tls_spec.go index a8a3914b7..0b055b127 100644 --- a/pkg/apis/deployment/v2alpha1/tls_spec.go +++ b/pkg/apis/deployment/v2alpha1/tls_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -125,7 +125,7 @@ func (s TLSSpec) GetParsedAltNames() (dnsNames, ipAddresses, emailAddresses []st } else if validation.IsValidEmailAddress(name) { emailAddresses = append(emailAddresses, name) } else { - return nil, nil, nil, errors.WithStack(errors.Newf("'%s' is not a valid alternate name", name)) + return nil, nil, nil, errors.WithStack(errors.Errorf("'%s' is not a valid alternate name", name)) } } return dnsNames, ipAddresses, emailAddresses, nil diff --git a/pkg/apis/deployment/v2alpha1/version.go b/pkg/apis/deployment/v2alpha1/version.go index 2d9ccc01f..fe2f9eb10 100644 --- a/pkg/apis/deployment/v2alpha1/version.go +++ b/pkg/apis/deployment/v2alpha1/version.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -26,7 +26,7 @@ import ( "strconv" "strings" - "github.com/pkg/errors" + "github.com/arangodb/kube-arangodb/pkg/util/errors" ) var _ json.Marshaler = Version{} diff --git a/pkg/apis/ml/v1alpha1/batchjob_spec.go b/pkg/apis/ml/v1alpha1/batchjob_spec.go index 5e7638265..8378fe378 100644 --- a/pkg/apis/ml/v1alpha1/batchjob_spec.go +++ b/pkg/apis/ml/v1alpha1/batchjob_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -35,16 +35,16 @@ type ArangoMLBatchJobSpec struct { func (a *ArangoMLBatchJobSpec) Validate() error { if a == nil { - return errors.Newf("Spec is not defined") + return errors.Errorf("Spec is not defined") } var err []error if a.JobSpec == nil { - return shared.PrefixResourceErrors("spec", errors.Newf("JobSpec is not defined")) + return shared.PrefixResourceErrors("spec", errors.Errorf("JobSpec is not defined")) } if len(a.JobSpec.Template.Spec.Containers) != 1 { - err = append(err, shared.PrefixResourceErrors("spec.template.spec.containers", errors.Newf("Exactly one container is required"))) + err = append(err, shared.PrefixResourceErrors("spec.template.spec.containers", errors.Errorf("Exactly one container is required"))) } return shared.WithErrors(err...) diff --git a/pkg/apis/ml/v1alpha1/cronjob_spec.go b/pkg/apis/ml/v1alpha1/cronjob_spec.go index 7c41a7220..c21e112d6 100644 --- a/pkg/apis/ml/v1alpha1/cronjob_spec.go +++ b/pkg/apis/ml/v1alpha1/cronjob_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -35,17 +35,17 @@ type ArangoMLCronJobSpec struct { func (a *ArangoMLCronJobSpec) Validate() error { if a == nil { - return errors.Newf("Spec is not defined") + return errors.Errorf("Spec is not defined") } var err []error if a.CronJobSpec == nil { - return shared.PrefixResourceErrors("spec", errors.Newf("CronJobSpec is not defined")) + return shared.PrefixResourceErrors("spec", errors.Errorf("CronJobSpec is not defined")) } if len(a.CronJobSpec.JobTemplate.Spec.Template.Spec.Containers) != 1 { err = append(err, shared.PrefixResourceErrors("spec.jobTemplate.spec.template.spec.containers", - errors.Newf("Exactly one container is required"))) + errors.Errorf("Exactly one container is required"))) } return shared.WithErrors(err...) diff --git a/pkg/apis/ml/v1alpha1/extension_spec_deployment.go b/pkg/apis/ml/v1alpha1/extension_spec_deployment.go index dbe663499..b06064bd4 100644 --- a/pkg/apis/ml/v1alpha1/extension_spec_deployment.go +++ b/pkg/apis/ml/v1alpha1/extension_spec_deployment.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -147,7 +147,7 @@ func (s *ArangoMLExtensionSpecDeployment) Validate() error { } if s.GetReplicas() < 0 || s.GetReplicas() > 10 { - errs = append(errs, shared.PrefixResourceErrors("replicas", errors.Newf("out of range [0, 10]"))) + errs = append(errs, shared.PrefixResourceErrors("replicas", errors.Errorf("out of range [0, 10]"))) } var usedPorts util.List[int32] @@ -161,7 +161,7 @@ func (s *ArangoMLExtensionSpecDeployment) Validate() error { port := component.GetPort(GetArangoMLExtensionSpecDeploymentComponentDefaultPort(prefix)) if port == 0 { - errs = append(errs, shared.PrefixResourceErrors(prefix, errors.Newf("port not defined"))) + errs = append(errs, shared.PrefixResourceErrors(prefix, errors.Errorf("port not defined"))) continue } @@ -169,7 +169,7 @@ func (s *ArangoMLExtensionSpecDeployment) Validate() error { return i == port }) if duplicateCount > 0 { - errs = append(errs, shared.PrefixResourceErrors(prefix, errors.Newf("port %d already specified for other component", port))) + errs = append(errs, shared.PrefixResourceErrors(prefix, errors.Errorf("port %d already specified for other component", port))) } else { usedPorts.Append(port) } diff --git a/pkg/apis/ml/v1alpha1/extension_spec_metadata_service.go b/pkg/apis/ml/v1alpha1/extension_spec_metadata_service.go index 47caf3062..4cc41b727 100644 --- a/pkg/apis/ml/v1alpha1/extension_spec_metadata_service.go +++ b/pkg/apis/ml/v1alpha1/extension_spec_metadata_service.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -93,7 +93,7 @@ func (a *ArangoMLExtensionSpecMetadataServiceLocal) Validate() error { // If Nil then we use default return shared.WithErrors( - shared.PrefixResourceErrors("arangoPipeDatabase", util.BoolSwitch(a.GetArangoPipeDatabase() != ArangoMLExtensionSpecMetadataServiceLocalDefaultArangoPipeDatabase, errors.Newf("Database name is hardcoded"), nil)), - shared.PrefixResourceErrors("arangoMLFeatureStore", util.BoolSwitch(a.GetArangoMLFeatureStoreDatabase() != ArangoMLExtensionSpecMetadataServiceLocalDefaultArangoMLFeatureStoreDatabase, errors.Newf("Database name is hardcoded"), nil)), + shared.PrefixResourceErrors("arangoPipeDatabase", util.BoolSwitch(a.GetArangoPipeDatabase() != ArangoMLExtensionSpecMetadataServiceLocalDefaultArangoPipeDatabase, errors.Errorf("Database name is hardcoded"), nil)), + shared.PrefixResourceErrors("arangoMLFeatureStore", util.BoolSwitch(a.GetArangoMLFeatureStoreDatabase() != ArangoMLExtensionSpecMetadataServiceLocalDefaultArangoMLFeatureStoreDatabase, errors.Errorf("Database name is hardcoded"), nil)), ) } diff --git a/pkg/apis/ml/v1alpha1/storage_spec_backend.go b/pkg/apis/ml/v1alpha1/storage_spec_backend.go index 45571c503..4dff4e93e 100644 --- a/pkg/apis/ml/v1alpha1/storage_spec_backend.go +++ b/pkg/apis/ml/v1alpha1/storage_spec_backend.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -39,11 +39,11 @@ func (s *ArangoMLStorageSpecBackend) GetS3() *ArangoMLStorageSpecBackendS3 { func (s *ArangoMLStorageSpecBackend) Validate() error { if s == nil { - return errors.Newf("Backend is not specified") + return errors.Errorf("Backend is not specified") } if s.S3 == nil { - return errors.Newf("At least one backend needs to be defined") + return errors.Errorf("At least one backend needs to be defined") } return shared.WithErrors(shared.PrefixResourceError("s3", s.S3.Validate())) diff --git a/pkg/apis/ml/v1alpha1/storage_spec_backend_s3.go b/pkg/apis/ml/v1alpha1/storage_spec_backend_s3.go index 688cfab05..683eadcee 100644 --- a/pkg/apis/ml/v1alpha1/storage_spec_backend_s3.go +++ b/pkg/apis/ml/v1alpha1/storage_spec_backend_s3.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -61,7 +61,7 @@ func (s *ArangoMLStorageSpecBackendS3) Validate() error { } if _, err := url.Parse(s.GetEndpoint()); err != nil { - errs = append(errs, shared.PrefixResourceErrors("endpoint", errors.Newf("invalid URL: %s", err.Error()))) + errs = append(errs, shared.PrefixResourceErrors("endpoint", errors.Errorf("invalid URL: %s", err.Error()))) } errs = append(errs, shared.PrefixResourceErrors("credentialsSecret", s.GetCredentialsSecret().Validate())) diff --git a/pkg/apis/ml/v1alpha1/storage_spec_mode.go b/pkg/apis/ml/v1alpha1/storage_spec_mode.go index 7af1332e2..92505d791 100644 --- a/pkg/apis/ml/v1alpha1/storage_spec_mode.go +++ b/pkg/apis/ml/v1alpha1/storage_spec_mode.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -39,7 +39,7 @@ func (s *ArangoMLStorageSpecMode) GetSidecar() *ArangoMLStorageSpecModeSidecar { func (s *ArangoMLStorageSpecMode) Validate() error { if s == nil { - return errors.Newf("Mode is not defined") + return errors.Errorf("Mode is not defined") } return shared.WithErrors(shared.PrefixResourceError("sidecar", s.Sidecar.Validate())) } diff --git a/pkg/apis/ml/v1alpha1/storage_spec_mode_sidecar.go b/pkg/apis/ml/v1alpha1/storage_spec_mode_sidecar.go index 6a68f84c7..fe72eb704 100644 --- a/pkg/apis/ml/v1alpha1/storage_spec_mode_sidecar.go +++ b/pkg/apis/ml/v1alpha1/storage_spec_mode_sidecar.go @@ -55,11 +55,11 @@ func (s *ArangoMLStorageSpecModeSidecar) Validate() error { var err []error if s.GetListenPort() < 1 { - err = append(err, shared.PrefixResourceErrors("listenPort", errors.Newf("must be positive"))) + err = append(err, shared.PrefixResourceErrors("listenPort", errors.Errorf("must be positive"))) } if s.GetControllerListenPort() < 1 { - err = append(err, shared.PrefixResourceErrors("controllerListenPort", errors.Newf("must be positive"))) + err = append(err, shared.PrefixResourceErrors("controllerListenPort", errors.Errorf("must be positive"))) } err = append(err, s.GetContainerTemplate().Validate()) diff --git a/pkg/apis/shared/v1/resource.go b/pkg/apis/shared/v1/resource.go index 9ca8122c5..4fd8fcbce 100644 --- a/pkg/apis/shared/v1/resource.go +++ b/pkg/apis/shared/v1/resource.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -67,13 +67,13 @@ func (n *KubernetesResourceName) String() string { // Validate validate if name is valid kubernetes DNS_LABEL func (n *KubernetesResourceName) Validate() error { if n == nil { - return errors.Newf("cannot be undefined") + return errors.Errorf("cannot be undefined") } name := *n if name == "" { - return errors.Newf("cannot be empty") + return errors.Errorf("cannot be empty") } if err := IsValidName(name.String()); err != nil { @@ -90,11 +90,11 @@ func (n *KubernetesResourceName) Immutable(o *KubernetesResourceName) error { } if o == nil || n == nil { - return errors.Newf("field is immutable") + return errors.Errorf("field is immutable") } if *o != *n { - return errors.Newf("field is immutable") + return errors.Errorf("field is immutable") } return nil @@ -104,7 +104,7 @@ func (n *KubernetesResourceName) Immutable(o *KubernetesResourceName) error { // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names func IsValidName(name string) error { if res := validation.IsDNS1123Label(name); len(res) > 0 { - return errors.Newf("Validation of label failed: %s", strings.Join(res, ", ")) + return errors.Errorf("Validation of label failed: %s", strings.Join(res, ", ")) } return nil @@ -112,7 +112,7 @@ func IsValidName(name string) error { func IsValidDomain(name string) error { if res := validation.IsDNS1123Subdomain(name); len(res) > 0 { - return errors.Newf("validation of domain failed: %s", strings.Join(res, ", ")) + return errors.Errorf("validation of domain failed: %s", strings.Join(res, ", ")) } return nil diff --git a/pkg/apis/shared/validate.go b/pkg/apis/shared/validate.go index 8aaf5369b..08e946f2f 100644 --- a/pkg/apis/shared/validate.go +++ b/pkg/apis/shared/validate.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,12 +40,12 @@ var ( // See https://kubernetes.io/docs/concepts/overview/working-with-objects/names/ func ValidateResourceName(name string) error { if len(name) > 253 { - return errors.WithStack(errors.Newf("Name '%s' is too long", name)) + return errors.WithStack(errors.Errorf("Name '%s' is too long", name)) } if resourceNameRE.MatchString(name) { return nil } - return errors.WithStack(errors.Newf("Name '%s' is not a valid resource name", name)) + return errors.WithStack(errors.Errorf("Name '%s' is not a valid resource name", name)) } // ValidateOptionalResourceName validates a kubernetes resource name. @@ -73,7 +73,7 @@ func ValidatePullPolicy(in core.PullPolicy) error { return nil } - return errors.Newf("Unknown pull policy: '%s'", string(in)) + return errors.Errorf("Unknown pull policy: '%s'", string(in)) } type ValidateInterface interface { @@ -106,7 +106,7 @@ func ValidateRequired[T interface{}](in *T, validator func(T) error) error { return validator(*in) } - return errors.Newf("should be not nil") + return errors.Errorf("should be not nil") } // ValidateList validates all elements on the list @@ -123,7 +123,7 @@ func ValidateList[T interface{}](in []T, validator func(T) error) error { // ValidateImage Validates if provided image is valid func ValidateImage(image string) error { if image == "" { - return errors.Newf("Image should be not empty") + return errors.Errorf("Image should be not empty") } return nil @@ -137,7 +137,7 @@ func ValidateAnyNotNil[T any](msg string, obj ...*T) error { } } - return errors.Newf(msg) + return errors.Errorf(msg) } // ValidateServiceType checks that service type is supported @@ -149,5 +149,5 @@ func ValidateServiceType(st core.ServiceType) error { core.ServiceTypeExternalName: return nil } - return errors.Newf("Unsupported service type %s", st) + return errors.Errorf("Unsupported service type %s", st) } diff --git a/pkg/apis/storage/v1alpha/storage_class_spec.go b/pkg/apis/storage/v1alpha/storage_class_spec.go index 1c744d100..3f7c19b55 100644 --- a/pkg/apis/storage/v1alpha/storage_class_spec.go +++ b/pkg/apis/storage/v1alpha/storage_class_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -56,7 +56,7 @@ func (s StorageClassSpec) Validate() error { switch r := s.GetReclaimPolicy(); r { case core.PersistentVolumeReclaimRetain, core.PersistentVolumeReclaimDelete: default: - return errors.Newf("Unsupported ReclaimPolicy: %s", r) + return errors.Errorf("Unsupported ReclaimPolicy: %s", r) } return nil diff --git a/pkg/crd/definitions.go b/pkg/crd/definitions.go index 7e8b7f534..6135692ce 100644 --- a/pkg/crd/definitions.go +++ b/pkg/crd/definitions.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -57,7 +57,7 @@ func registerCRD(getter crdDefinitionGetter, defaultOpts crds.CRDOptions) error def := getter(nil) if _, ok := registeredCRDs[def.CRD.GetName()]; ok { - return errors.Newf("CRD %s already exists", def.CRD.GetName()) + return errors.Errorf("CRD %s already exists", def.CRD.GetName()) } registeredCRDs[def.CRD.GetName()] = crdRegistration{ getter: getter, diff --git a/pkg/debug_package/generator.go b/pkg/debug_package/generator.go index c2dbbc5cd..5ddee7610 100644 --- a/pkg/debug_package/generator.go +++ b/pkg/debug_package/generator.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -167,7 +167,7 @@ func Generate(cmd *cobra.Command, out io.Writer, factories ...shared.Factory) er } if len(fileErrors) > 0 || len(factoryErrors) > 0 { - return errors.Newf("Error while receiving data") + return errors.Errorf("Error while receiving data") } return nil diff --git a/pkg/debug_package/generators/kubernetes/agency.go b/pkg/debug_package/generators/kubernetes/agency.go index d93c9b1d7..311311cd2 100644 --- a/pkg/debug_package/generators/kubernetes/agency.go +++ b/pkg/debug_package/generators/kubernetes/agency.go @@ -49,7 +49,7 @@ func agencyDump(logger zerolog.Logger, files chan<- shared.File) error { k, ok := kclient.GetDefaultFactory().Client() if !ok { - return errors.Newf("Client is not initialised") + return errors.Errorf("Client is not initialised") } deployments, err := listArangoDeployments(k.Arango())() @@ -100,7 +100,7 @@ func discoverExecFunc() (ArangoOperatorExecFunc, error) { k, ok := kclient.GetDefaultFactory().Client() if !ok { - return nil, errors.Newf("Client is not initialised") + return nil, errors.Errorf("Client is not initialised") } pods, err := listPods(k.Kubernetes())() @@ -131,7 +131,7 @@ func discoverExecFunc() (ArangoOperatorExecFunc, error) { } if id == "" { - return nil, errors.Newf("Unable to find Operator pod") + return nil, errors.Errorf("Unable to find Operator pod") } return func(args ...string) ([]byte, []byte, error) { diff --git a/pkg/debug_package/generators/kubernetes/arango_deployments.go b/pkg/debug_package/generators/kubernetes/arango_deployments.go index ae446b484..78e07d039 100644 --- a/pkg/debug_package/generators/kubernetes/arango_deployments.go +++ b/pkg/debug_package/generators/kubernetes/arango_deployments.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -56,7 +56,7 @@ func listArangoDeployments(client arangoClient.Interface) func() ([]*api.ArangoD func deployments(logger zerolog.Logger, files chan<- shared.File) error { k, ok := kclient.GetDefaultFactory().Client() if !ok { - return errors.Newf("Client is not initialised") + return errors.Errorf("Client is not initialised") } deploymentList, err := listArangoDeployments(k.Arango())() diff --git a/pkg/debug_package/generators/kubernetes/arango_ml.go b/pkg/debug_package/generators/kubernetes/arango_ml.go index d726ab834..b10ca72ca 100644 --- a/pkg/debug_package/generators/kubernetes/arango_ml.go +++ b/pkg/debug_package/generators/kubernetes/arango_ml.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -35,7 +35,7 @@ func ML() shared.Factory { func ml(logger zerolog.Logger, files chan<- shared.File) error { k, ok := kclient.GetDefaultFactory().Client() if !ok { - return errors.Newf("Client is not initialised") + return errors.Errorf("Client is not initialised") } if err := mlExtensions(logger, files, k); err != nil { diff --git a/pkg/debug_package/generators/kubernetes/events.go b/pkg/debug_package/generators/kubernetes/events.go index 6be948ff2..5a2fdb3f4 100644 --- a/pkg/debug_package/generators/kubernetes/events.go +++ b/pkg/debug_package/generators/kubernetes/events.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -54,7 +54,7 @@ func listEvents(client kubernetes.Interface) func() ([]*core.Event, error) { func events(logger zerolog.Logger, files chan<- shared.File) error { k, ok := kclient.GetDefaultFactory().Client() if !ok { - return errors.Newf("Client is not initialised") + return errors.Errorf("Client is not initialised") } files <- shared.NewYAMLFile("kubernetes/events.yaml", listEvents(k.Kubernetes())) diff --git a/pkg/debug_package/generators/kubernetes/pods.go b/pkg/debug_package/generators/kubernetes/pods.go index 11ce8ae69..8b86c4600 100644 --- a/pkg/debug_package/generators/kubernetes/pods.go +++ b/pkg/debug_package/generators/kubernetes/pods.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -56,7 +56,7 @@ func listPods(client kubernetes.Interface) func() ([]*core.Pod, error) { func pods(logger zerolog.Logger, files chan<- shared.File) error { k, ok := kclient.GetDefaultFactory().Client() if !ok { - return errors.Newf("Client is not initialised") + return errors.Errorf("Client is not initialised") } pods, err := listPods(k.Kubernetes())() diff --git a/pkg/debug_package/generators/kubernetes/secrets.go b/pkg/debug_package/generators/kubernetes/secrets.go index 1a7f591a5..23c79527d 100644 --- a/pkg/debug_package/generators/kubernetes/secrets.go +++ b/pkg/debug_package/generators/kubernetes/secrets.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -54,7 +54,7 @@ func listSecrets(client kubernetes.Interface) func() ([]*core.Secret, error) { func secrets(logger zerolog.Logger, files chan<- shared.File) error { k, ok := kclient.GetDefaultFactory().Client() if !ok { - return errors.Newf("Client is not initialised") + return errors.Errorf("Client is not initialised") } files <- shared.NewYAMLFile("kubernetes/secrets.yaml", listSecrets(k.Kubernetes())) diff --git a/pkg/debug_package/generators/kubernetes/services.go b/pkg/debug_package/generators/kubernetes/services.go index 09852da8f..a5aba02af 100644 --- a/pkg/debug_package/generators/kubernetes/services.go +++ b/pkg/debug_package/generators/kubernetes/services.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -56,7 +56,7 @@ func listServices(client kubernetes.Interface) func() ([]*core.Service, error) { func services(logger zerolog.Logger, files chan<- shared.File) error { k, ok := kclient.GetDefaultFactory().Client() if !ok { - return errors.Newf("Client is not initialised") + return errors.Errorf("Client is not initialised") } services, err := listServices(k.Kubernetes())() diff --git a/pkg/deployment/agency/cache.go b/pkg/deployment/agency/cache.go index c9e6e7678..fc53303e4 100644 --- a/pkg/deployment/agency/cache.go +++ b/pkg/deployment/agency/cache.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -93,17 +93,17 @@ func (h health) Healthy() error { } if h.election[h.leaderID] != h.agencySize { - return errors.Newf("Not all agents are in quorum") + return errors.Errorf("Not all agents are in quorum") } index := h.commitIndexes[h.leaderID] if index == 0 { - return errors.Newf("Agency CommitIndex is zero") + return errors.Errorf("Agency CommitIndex is zero") } for k, v := range h.commitIndexes { if v != index { - return errors.Newf("Agent %s is behind in CommitIndex", k) + return errors.Errorf("Agent %s is behind in CommitIndex", k) } } @@ -112,17 +112,17 @@ func (h health) Healthy() error { func (h health) Serving() error { if h.agencySize == 0 { - return errors.Newf("Empty agents list") + return errors.Errorf("Empty agents list") } if len(h.election) == 0 { - return errors.Newf("No Leader") + return errors.Errorf("No Leader") } else if len(h.election) > 1 { - return errors.Newf("Multiple leaders") + return errors.Errorf("Multiple leaders") } if len(h.leaders) <= h.agencySize/2 { - return errors.Newf("Quorum is not present") + return errors.Errorf("Quorum is not present") } return nil @@ -342,7 +342,7 @@ func (c *cache) reload(ctx context.Context, size int, clients Connections) (*sta data, index, ok := c.loader.State() if !ok { - return nil, 0, errors.Newf("State is invalid after reload") + return nil, 0, errors.Errorf("State is invalid after reload") } return data, index, nil @@ -441,5 +441,5 @@ func (c *cache) getLeader(ctx context.Context, size int, clients Connections) (c } } - return nil, h, errors.Newf("Unable to find agent") + return nil, h, errors.Errorf("Unable to find agent") } diff --git a/pkg/deployment/agency/config.go b/pkg/deployment/agency/config.go index 9bd1a57e8..d167530cd 100644 --- a/pkg/deployment/agency/config.go +++ b/pkg/deployment/agency/config.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -36,7 +36,7 @@ func GetAgencyConfig(ctx context.Context, connection conn.Connection) (*Config, } if code != http.StatusOK { - return nil, errors.Newf("Unknown response code %d", code) + return nil, errors.Errorf("Unknown response code %d", code) } return resp, nil diff --git a/pkg/deployment/agency/state.go b/pkg/deployment/agency/state.go index 15e6d1ad3..a35d6cd64 100644 --- a/pkg/deployment/agency/state.go +++ b/pkg/deployment/agency/state.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -38,15 +38,15 @@ func GetAgencyState[T interface{}](ctx context.Context, connection conn.Connecti } if code != http.StatusOK { - return def, errors.Newf("Unknown response code %d", code) + return def, errors.Errorf("Unknown response code %d", code) } if resp == nil { - return def, errors.Newf("Missing response body") + return def, errors.Errorf("Missing response body") } if len(*resp) != 1 { - return def, errors.Newf("Invalid response size") + return def, errors.Errorf("Invalid response size") } return (*resp)[0], nil diff --git a/pkg/deployment/agency/state/rf.go b/pkg/deployment/agency/state/rf.go index 26eb794b4..81fdfdc2d 100644 --- a/pkg/deployment/agency/state/rf.go +++ b/pkg/deployment/agency/state/rf.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,8 +23,9 @@ package state import ( "encoding/json" - "github.com/pkg/errors" "k8s.io/apimachinery/pkg/util/intstr" + + "github.com/arangodb/kube-arangodb/pkg/util/errors" ) const ( diff --git a/pkg/deployment/agency/state/state_timestamp.go b/pkg/deployment/agency/state/state_timestamp.go index a566c28e9..73ef5fa91 100644 --- a/pkg/deployment/agency/state/state_timestamp.go +++ b/pkg/deployment/agency/state/state_timestamp.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -66,7 +66,7 @@ func (s *Timestamp) Time() (time.Time, bool) { func (s *Timestamp) UnmarshalJSON(bytes []byte) error { if s == nil { - return errors.Newf("Object is nil") + return errors.Errorf("Object is nil") } var t string diff --git a/pkg/deployment/client/client_cache.go b/pkg/deployment/client/client_cache.go index e2904d81d..cce921ce7 100644 --- a/pkg/deployment/client/client_cache.go +++ b/pkg/deployment/client/client_cache.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -184,7 +184,7 @@ func (cc *cache) GetAgency(_ context.Context, agencyIDs ...string) (agency.Agenc } if len(dnsNames) == 0 { - return nil, errors.Newf("There is no DNS Name") + return nil, errors.Errorf("There is no DNS Name") } c, err := cc.factory.Agency(dnsNames...) diff --git a/pkg/deployment/context_impl.go b/pkg/deployment/context_impl.go index 26a91a614..4b775062a 100644 --- a/pkg/deployment/context_impl.go +++ b/pkg/deployment/context_impl.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -146,7 +146,7 @@ func (d *Deployment) UpdateMember(ctx context.Context, member api.MemberStatus) status := d.GetStatus() _, group, found := status.Members.ElementByID(member.ID) if !found { - return errors.WithStack(errors.Newf("Member %s not found", member.ID)) + return errors.WithStack(errors.Errorf("Member %s not found", member.ID)) } if err := status.Members.Update(member, group); err != nil { return errors.WithStack(err) @@ -252,7 +252,7 @@ func (d *Deployment) getAuth() (driver.Authentication, error) { } if !d.GetCachedStatus().Initialised() { - return nil, errors.Newf("Cache is not yet started") + return nil, errors.Errorf("Cache is not yet started") } var secret string @@ -269,7 +269,7 @@ func (d *Deployment) getAuth() (driver.Authentication, error) { } if !found { - return nil, errors.Newf("JWT Secret is invalid") + return nil, errors.Errorf("JWT Secret is invalid") } jwt, err := jwt.CreateArangodJwtAuthorizationHeader(secret, "kube-arangodb") @@ -676,11 +676,11 @@ func (d *Deployment) WithMemberStatusUpdateErr(ctx context.Context, id string, g return d.WithStatusUpdateErr(ctx, func(s *api.DeploymentStatus) (bool, error) { m, g, ok := s.Members.ElementByID(id) if !ok { - return false, errors.Newf("Member %s not found", id) + return false, errors.Errorf("Member %s not found", id) } if g != group { - return false, errors.Newf("Invalid group for %s. Wanted %s, found %s", id, group.AsRole(), g.AsRole()) + return false, errors.Errorf("Invalid group for %s. Wanted %s, found %s", id, group.AsRole(), g.AsRole()) } changed, err := action(&m) diff --git a/pkg/deployment/deployment.go b/pkg/deployment/deployment.go index 9b7382db9..6edbdd13b 100644 --- a/pkg/deployment/deployment.go +++ b/pkg/deployment/deployment.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -204,7 +204,7 @@ func (d *Deployment) RefreshAgencyCache(ctx context.Context) (uint64, error) { } } - return 0, errors.Newf("Agency not yet established") + return 0, errors.Errorf("Agency not yet established") } func (d *Deployment) SetAgencyMaintenanceMode(ctx context.Context, enabled bool) error { @@ -484,7 +484,7 @@ func (d *Deployment) acceptNewSpec(ctx context.Context, depl *api.ArangoDeployme } // We have immutable fields, throw an error and proceed - return true, false, errors.Newf("Immutable fields cannot be changed: %s", strings.Join(fields, ", ")) + return true, false, errors.Errorf("Immutable fields cannot be changed: %s", strings.Join(fields, ", ")) } // Update accepted spec @@ -632,7 +632,7 @@ func (d *Deployment) applyPatch(ctx context.Context, p ...patch.Item) error { } if err != nil { d.log.Err(err).Debug("failed to patch ArangoDeployment") - return errors.WithStack(errors.Newf("failed to patch ArangoDeployment: %v", err)) + return errors.WithStack(errors.Errorf("failed to patch ArangoDeployment: %v", err)) } } } diff --git a/pkg/deployment/deployment_inspector.go b/pkg/deployment/deployment_inspector.go index c68bbbade..6c13bec99 100644 --- a/pkg/deployment/deployment_inspector.go +++ b/pkg/deployment/deployment_inspector.go @@ -279,7 +279,7 @@ func (d *Deployment) inspectDeploymentWithError(ctx context.Context, lastInterva // Is the deployment in a good state? if status.Conditions.IsTrue(api.ConditionTypeSecretsChanged) { - return minInspectionInterval, errors.Newf("Secrets changed") + return minInspectionInterval, errors.Errorf("Secrets changed") } // Ensure we have image info diff --git a/pkg/deployment/member/state.go b/pkg/deployment/member/state.go index 1251e7935..9bba04e97 100644 --- a/pkg/deployment/member/state.go +++ b/pkg/deployment/member/state.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -258,7 +258,7 @@ func (s *stateInspector) GetMemberClient(id string) (driver.Client, error) { } } - return nil, errors.Newf("failed to get ArangoDB member client: %s", id) + return nil, errors.Errorf("failed to get ArangoDB member client: %s", id) } // GetMemberSyncClient returns member client to a server. @@ -274,7 +274,7 @@ func (s *stateInspector) GetMemberSyncClient(id string) (client.API, error) { } } - return nil, errors.Newf("failed to get ArangoSync member client: %s", id) + return nil, errors.Errorf("failed to get ArangoSync member client: %s", id) } func (s *stateInspector) MemberState(id string) (State, bool) { @@ -325,7 +325,7 @@ func (s State) GetDatabaseClient() (driver.Client, error) { return nil, s.NotReachableErr } - return nil, errors.Newf("ArangoDB is not reachable") + return nil, errors.Errorf("ArangoDB is not reachable") } func (s State) IsReachable() bool { diff --git a/pkg/deployment/members.go b/pkg/deployment/members.go index ead7c0984..a3d20daa4 100644 --- a/pkg/deployment/members.go +++ b/pkg/deployment/members.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -54,7 +54,7 @@ func (d *Deployment) createAgencyMapping(ctx context.Context) error { agents := status.Members.Agents if len(agents) > *spec.Agents.Count { - return errors.Newf("Agency size is bigger than requested size") + return errors.Errorf("Agency size is bigger than requested size") } c := api.DeploymentStatusAgencySize(*spec.Agents.Count) @@ -211,6 +211,6 @@ func (d *Deployment) renderMember(spec api.DeploymentSpec, status *api.Deploymen Architecture: &arch, }, nil default: - return nil, errors.WithStack(errors.Newf("Unknown server group %d", group)) + return nil, errors.WithStack(errors.Errorf("Unknown server group %d", group)) } } diff --git a/pkg/deployment/pod/encryption.go b/pkg/deployment/pod/encryption.go index bc89c4c15..1a5c5ab56 100644 --- a/pkg/deployment/pod/encryption.go +++ b/pkg/deployment/pod/encryption.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -85,16 +85,16 @@ func GetEncryptionKey(ctx context.Context, secrets secretv1.ReadInterface, name func GetEncryptionKeyFromSecret(keyfile *core.Secret) (string, []byte, error) { if len(keyfile.Data) == 0 { - return "", nil, errors.Newf("Current encryption key is not valid - missing data section") + return "", nil, errors.Errorf("Current encryption key is not valid - missing data section") } d, ok := keyfile.Data[constants.SecretEncryptionKey] if !ok { - return "", nil, errors.Newf("Current encryption key is not valid - missing field") + return "", nil, errors.Errorf("Current encryption key is not valid - missing field") } if len(d) != 32 { - return "", nil, errors.Newf("Current encryption key is not valid") + return "", nil, errors.Errorf("Current encryption key is not valid") } sha := fmt.Sprintf("%0x", sha256.Sum256(d)) @@ -170,7 +170,7 @@ func (e encryption) Verify(i Input, cachedStatus interfaces.Inspector) error { secret, exists := cachedStatus.Secret().V1().GetSimple(i.Deployment.RocksDB.Encryption.GetKeySecretName()) if !exists { - return errors.Newf("Encryption key secret does not exist %s", i.Deployment.RocksDB.Encryption.GetKeySecretName()) + return errors.Errorf("Encryption key secret does not exist %s", i.Deployment.RocksDB.Encryption.GetKeySecretName()) } if err := k8sutil.ValidateEncryptionKeyFromSecret(secret); err != nil { diff --git a/pkg/deployment/pod/jwt.go b/pkg/deployment/pod/jwt.go index 7746a2f77..b66385dfa 100644 --- a/pkg/deployment/pod/jwt.go +++ b/pkg/deployment/pod/jwt.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -102,7 +102,7 @@ func (e jwt) Verify(i Input, cachedStatus interfaces.Inspector) error { if !VersionHasJWTSecretKeyfolder(i.Version, i.Enterprise) { secret, exists := cachedStatus.Secret().V1().GetSimple(i.Deployment.Authentication.GetJWTSecretName()) if !exists { - return errors.Newf("Secret for JWT token is missing %s", i.Deployment.Authentication.GetJWTSecretName()) + return errors.Errorf("Secret for JWT token is missing %s", i.Deployment.Authentication.GetJWTSecretName()) } if err := k8sutil.ValidateTokenFromSecret(secret); err != nil { diff --git a/pkg/deployment/pod/sni.go b/pkg/deployment/pod/sni.go index d5479f341..4b6da103b 100644 --- a/pkg/deployment/pod/sni.go +++ b/pkg/deployment/pod/sni.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -81,12 +81,12 @@ func (s sni) Verify(i Input, cachedStatus interfaces.Inspector) error { for _, secret := range util.SortKeys(i.Deployment.TLS.GetSNI().Mapping) { kubeSecret, exists := cachedStatus.Secret().V1().GetSimple(secret) if !exists { - return errors.Newf("SNI Secret not found %s", secret) + return errors.Errorf("SNI Secret not found %s", secret) } _, ok := kubeSecret.Data[constants.SecretTLSKeyfile] if !ok { - return errors.Newf("Unable to find secret key %s/%s for SNI", secret, constants.SecretTLSKeyfile) + return errors.Errorf("Unable to find secret key %s/%s for SNI", secret, constants.SecretTLSKeyfile) } } return nil diff --git a/pkg/deployment/pod/utils.go b/pkg/deployment/pod/utils.go index 9ad4e9ba4..da5b7fd7d 100644 --- a/pkg/deployment/pod/utils.go +++ b/pkg/deployment/pod/utils.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -34,7 +34,7 @@ func GenerateMemberEndpoint(services service.Inspector, apiObject meta.Object, s memberName := member.ArangoMemberName(apiObject.GetName(), group) svc, ok := services.Service().V1().GetSimple(memberName) if !ok { - return "", errors.Newf("Service %s not found", memberName) + return "", errors.Errorf("Service %s not found", memberName) } return GenerateMemberEndpointFromService(svc, apiObject, spec, group, member) @@ -47,7 +47,7 @@ func GenerateMemberEndpointFromService(svc *core.Service, apiObject meta.Object, return k8sutil.CreateServiceDNSNameWithDomain(svc, spec.ClusterDomain), nil case api.DeploymentCommunicationMethodIP: if svc.Spec.ClusterIP == "" { - return "", errors.Newf("ClusterIP of service %s is empty", svc.GetName()) + return "", errors.Errorf("ClusterIP of service %s is empty", svc.GetName()) } if svc.Spec.ClusterIP == core.ClusterIPNone { diff --git a/pkg/deployment/reconcile/action_arango_member_update_pod_spec.go b/pkg/deployment/reconcile/action_arango_member_update_pod_spec.go index 71b3f4f2b..93f0416d7 100644 --- a/pkg/deployment/reconcile/action_arango_member_update_pod_spec.go +++ b/pkg/deployment/reconcile/action_arango_member_update_pod_spec.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -68,7 +68,7 @@ func (a *actionArangoMemberUpdatePodSpec) Start(ctx context.Context) (bool, erro _, ok := cache.ArangoMember().V1().GetSimple(name) if !ok { - err := errors.Newf("ArangoMember not found") + err := errors.Errorf("ArangoMember not found") a.log.Err(err).Error("ArangoMember not found") return false, err } diff --git a/pkg/deployment/reconcile/action_arango_member_update_pod_status.go b/pkg/deployment/reconcile/action_arango_member_update_pod_status.go index cb3d5cb9b..1958f8ea3 100644 --- a/pkg/deployment/reconcile/action_arango_member_update_pod_status.go +++ b/pkg/deployment/reconcile/action_arango_member_update_pod_status.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -65,7 +65,7 @@ func (a *actionArangoMemberUpdatePodStatus) Start(ctx context.Context) (bool, er member, ok := cache.ArangoMember().V1().GetSimple(name) if !ok { - err := errors.Newf("ArangoMember not found") + err := errors.Errorf("ArangoMember not found") a.log.Err(err).Error("ArangoMember not found") return false, err } diff --git a/pkg/deployment/reconcile/action_backup_restore.go b/pkg/deployment/reconcile/action_backup_restore.go index 9505c6be5..e8be1a5c2 100644 --- a/pkg/deployment/reconcile/action_backup_restore.go +++ b/pkg/deployment/reconcile/action_backup_restore.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -96,7 +96,7 @@ func (a actionBackupRestore) Start(ctx context.Context) (bool, error) { case api.DeploymentModeCluster: return a.restoreAsync(ctx, backupResource) default: - return false, errors.Newf("Unknown mode %s", mode) + return false, errors.Errorf("Unknown mode %s", mode) } } @@ -124,7 +124,7 @@ func (a actionBackupRestore) restoreAsync(ctx context.Context, backup *backupApi } } - return false, errors.Newf("Async response not received") + return false, errors.Errorf("Async response not received") } func (a actionBackupRestore) restoreSync(ctx context.Context, backup *backupApi.ArangoBackup) (bool, error) { @@ -166,12 +166,12 @@ func (a actionBackupRestore) restoreSync(ctx context.Context, backup *backupApi. func (a actionBackupRestore) CheckProgress(ctx context.Context) (bool, bool, error) { backup, ok := a.actionCtx.Get(a.action, actionBackupRestoreLocalBackupName) if !ok { - return false, false, errors.Newf("Local Key is missing in action: %s", actionBackupRestoreLocalBackupName) + return false, false, errors.Errorf("Local Key is missing in action: %s", actionBackupRestoreLocalBackupName) } job, ok := a.actionCtx.Get(a.action, actionBackupRestoreLocalJobID) if !ok { - return false, false, errors.Newf("Local Key is missing in action: %s", actionBackupRestoreLocalJobID) + return false, false, errors.Errorf("Local Key is missing in action: %s", actionBackupRestoreLocalJobID) } ctxChild, cancel := globals.GetGlobalTimeouts().ArangoD().WithTimeout(ctx) diff --git a/pkg/deployment/reconcile/action_bootstrap_set_password.go b/pkg/deployment/reconcile/action_bootstrap_set_password.go index 35c48606e..2a1086909 100644 --- a/pkg/deployment/reconcile/action_bootstrap_set_password.go +++ b/pkg/deployment/reconcile/action_bootstrap_set_password.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -149,6 +149,6 @@ func (a actionBootstrapSetPassword) ensureUserPasswordSecret(ctx context.Context if err == nil { return pass, nil } - return "", errors.Newf("invalid secret format in secret %s", secret) + return "", errors.Errorf("invalid secret format in secret %s", secret) } } diff --git a/pkg/deployment/reconcile/action_context.go b/pkg/deployment/reconcile/action_context.go index bdcc3e876..cfb1223a6 100644 --- a/pkg/deployment/reconcile/action_context.go +++ b/pkg/deployment/reconcile/action_context.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -365,7 +365,7 @@ func (ac *actionContext) UpdateMember(ctx context.Context, member api.MemberStat status := ac.context.GetStatus() _, group, found := status.Members.ElementByID(member.ID) if !found { - return errors.WithStack(errors.Newf("Member %s not found", member.ID)) + return errors.WithStack(errors.Errorf("Member %s not found", member.ID)) } if err := status.Members.Update(member, group); err != nil { return errors.WithStack(err) diff --git a/pkg/deployment/reconcile/action_encryption_add.go b/pkg/deployment/reconcile/action_encryption_add.go index 7cb84c984..74e67f61f 100644 --- a/pkg/deployment/reconcile/action_encryption_add.go +++ b/pkg/deployment/reconcile/action_encryption_add.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -37,14 +37,14 @@ import ( func ensureEncryptionSupport(actionCtx ActionContext) error { if !actionCtx.GetSpec().RocksDB.IsEncrypted() { - return errors.Newf("Encryption is disabled") + return errors.Errorf("Encryption is disabled") } if image, ok := actionCtx.GetCurrentImageInfo(); !ok { - return errors.Newf("Missing image info") + return errors.Errorf("Missing image info") } else { if !features.EncryptionRotation().Supported(image.ArangoDBVersion, image.Enterprise) { - return errors.Newf("Supported only in Enterprise Edition 3.7.0+") + return errors.Errorf("Supported only in Enterprise Edition 3.7.0+") } } return nil diff --git a/pkg/deployment/reconcile/action_jwt_status_update.go b/pkg/deployment/reconcile/action_jwt_status_update.go index c1e5e4d40..b783d039e 100644 --- a/pkg/deployment/reconcile/action_jwt_status_update.go +++ b/pkg/deployment/reconcile/action_jwt_status_update.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -48,11 +48,11 @@ func ensureJWTFolderSupportFromAction(actionCtx ActionContext) (bool, error) { func ensureJWTFolderSupport(spec api.DeploymentSpec, status api.DeploymentStatus) (bool, error) { if !spec.IsAuthenticated() { - return false, errors.Newf("Authentication is disabled") + return false, errors.Errorf("Authentication is disabled") } if image := status.CurrentImage; image == nil { - return false, errors.Newf("Missing image info") + return false, errors.Errorf("Missing image info") } else { if !features.JWTRotation().Supported(image.ArangoDBVersion, image.Enterprise) { return false, nil diff --git a/pkg/deployment/reconcile/action_kill_member_pod.go b/pkg/deployment/reconcile/action_kill_member_pod.go index ee945cb9f..1d6bd88f4 100644 --- a/pkg/deployment/reconcile/action_kill_member_pod.go +++ b/pkg/deployment/reconcile/action_kill_member_pod.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -64,7 +64,7 @@ func (a *actionKillMemberPod) Start(ctx context.Context) (bool, error) { cache, ok := a.actionCtx.ACS().ClusterCache(m.ClusterID) if !ok { - return true, errors.Newf("Client is not ready") + return true, errors.Errorf("Client is not ready") } if ifPodUIDMismatch(m, a.action, cache) { @@ -94,7 +94,7 @@ func (a *actionKillMemberPod) CheckProgress(ctx context.Context) (bool, bool, er cache, ok := a.actionCtx.ACS().ClusterCache(m.ClusterID) if !ok { - return false, false, errors.Newf("Client is not ready") + return false, false, errors.Errorf("Client is not ready") } p, ok := cache.Pod().V1().GetSimple(m.Pod.GetName()) diff --git a/pkg/deployment/reconcile/action_pvc_resize.go b/pkg/deployment/reconcile/action_pvc_resize.go index 93f6b6da5..eeaff9f3e 100644 --- a/pkg/deployment/reconcile/action_pvc_resize.go +++ b/pkg/deployment/reconcile/action_pvc_resize.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -76,7 +76,7 @@ func (a *actionPVCResize) Start(ctx context.Context) (bool, error) { cache, ok := a.actionCtx.ACS().ClusterCache(m.ClusterID) if !ok { - return true, errors.Newf("Cluster is not ready") + return true, errors.Errorf("Cluster is not ready") } if m.PersistentVolumeClaim.GetName() == "" { diff --git a/pkg/deployment/reconcile/action_rebuild_outsynced_shards.go b/pkg/deployment/reconcile/action_rebuild_outsynced_shards.go index 20904785e..a1098a1b2 100644 --- a/pkg/deployment/reconcile/action_rebuild_outsynced_shards.go +++ b/pkg/deployment/reconcile/action_rebuild_outsynced_shards.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -119,22 +119,22 @@ func (a *actionRebuildOutSyncedShards) CheckProgress(ctx context.Context) (bool, jobID, ok := a.actionCtx.Get(a.action, actionRebuildOutSyncedShardsLocalJobID) if !ok { - return false, true, errors.Newf("Local Key is missing in action: %s", actionRebuildOutSyncedShardsLocalJobID) + return false, true, errors.Errorf("Local Key is missing in action: %s", actionRebuildOutSyncedShardsLocalJobID) } batchID, ok := a.actionCtx.Get(a.action, actionRebuildOutSyncedShardsBatchID) if !ok { - return false, true, errors.Newf("Local Key is missing in action: %s", actionRebuildOutSyncedShardsBatchID) + return false, true, errors.Errorf("Local Key is missing in action: %s", actionRebuildOutSyncedShardsBatchID) } database, ok := a.actionCtx.Get(a.action, actionRebuildOutSyncedShardsLocalDatabase) if !ok { - return false, true, errors.Newf("Local Key is missing in action: %s", actionRebuildOutSyncedShardsLocalDatabase) + return false, true, errors.Errorf("Local Key is missing in action: %s", actionRebuildOutSyncedShardsLocalDatabase) } shardID, ok := a.actionCtx.Get(a.action, actionRebuildOutSyncedShardsLocalShard) if !ok { - return false, true, errors.Newf("Local Key is missing in action: %s", actionRebuildOutSyncedShardsLocalShard) + return false, true, errors.Errorf("Local Key is missing in action: %s", actionRebuildOutSyncedShardsLocalShard) } // check first if there is rebuild job running diff --git a/pkg/deployment/reconcile/action_recreate_member.go b/pkg/deployment/reconcile/action_recreate_member.go index d8ba42420..0404aaa84 100644 --- a/pkg/deployment/reconcile/action_recreate_member.go +++ b/pkg/deployment/reconcile/action_recreate_member.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -52,19 +52,19 @@ type actionRecreateMember struct { func (a *actionRecreateMember) Start(ctx context.Context) (bool, error) { m, g, ok := a.actionCtx.GetMemberStatusAndGroupByID(a.action.MemberID) if !ok { - return false, errors.Newf("expecting member to be present in list, but it is not") + return false, errors.Errorf("expecting member to be present in list, but it is not") } cache, ok := a.actionCtx.ACS().ClusterCache(m.ClusterID) if !ok { - return true, errors.Newf("Cluster is not ready") + return true, errors.Errorf("Cluster is not ready") } switch g { case api.ServerGroupDBServers, api.ServerGroupAgents: // Only DBServers and Agents use persistent data _, ok := cache.PersistentVolumeClaim().V1().GetSimple(m.PersistentVolumeClaim.GetName()) if !ok { - return false, errors.Newf("PVC is missing %s. Members won't be recreated without old PV", m.PersistentVolumeClaim.GetName()) + return false, errors.Errorf("PVC is missing %s. Members won't be recreated without old PV", m.PersistentVolumeClaim.GetName()) } } diff --git a/pkg/deployment/reconcile/action_remove_member.go b/pkg/deployment/reconcile/action_remove_member.go index 29e5da4cc..041fbfcc7 100644 --- a/pkg/deployment/reconcile/action_remove_member.go +++ b/pkg/deployment/reconcile/action_remove_member.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -65,7 +65,7 @@ func (a *actionRemoveMember) Start(ctx context.Context) (bool, error) { cache, ok := a.actionCtx.ACS().ClusterCache(m.ClusterID) if !ok { - return true, errors.Newf("Cluster is not ready") + return true, errors.Errorf("Cluster is not ready") } // For safety, remove from cluster @@ -93,7 +93,7 @@ func (a *actionRemoveMember) Start(ctx context.Context) (bool, error) { if m.Conditions.IsTrue(api.ConditionTypeTerminating) { if record.Status != driver.ServerStatusFailed { - return false, errors.WithStack(errors.Newf("can not remove server from cluster. Not yet terminated. Retry later")) + return false, errors.WithStack(errors.Errorf("can not remove server from cluster. Not yet terminated. Retry later")) } a.log.Debug("dbserver has shut down") @@ -131,7 +131,7 @@ func (a *actionRemoveMember) Start(ctx context.Context) (bool, error) { } // Check that member has been removed if _, found := a.actionCtx.GetMemberStatusByID(a.action.MemberID); found { - return false, errors.WithStack(errors.Newf("Member %s still exists", a.action.MemberID)) + return false, errors.WithStack(errors.Errorf("Member %s still exists", a.action.MemberID)) } return true, nil } diff --git a/pkg/deployment/reconcile/action_remove_member_pvc.go b/pkg/deployment/reconcile/action_remove_member_pvc.go index 6eac5eb66..91e850e01 100644 --- a/pkg/deployment/reconcile/action_remove_member_pvc.go +++ b/pkg/deployment/reconcile/action_remove_member_pvc.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -62,21 +62,21 @@ func (a *actionRemoveMemberPVC) Start(ctx context.Context) (bool, error) { pvcUID, ok := a.action.GetParam("pvc") if !ok { - return true, errors.Newf("PVC UID Parameter is missing") + return true, errors.Errorf("PVC UID Parameter is missing") } cache, ok := a.actionCtx.ACS().ClusterCache(m.ClusterID) if !ok { - return true, errors.Newf("Cluster is not ready") + return true, errors.Errorf("Cluster is not ready") } agencyCache, ok := a.actionCtx.GetAgencyCache() if !ok { - return true, errors.Newf("Agency is not ready") + return true, errors.Errorf("Agency is not ready") } if agencyCache.PlanLeaderServers().Contains(state.Server(m.ID)) { - return true, errors.Newf("Server is still used in cluster") + return true, errors.Errorf("Server is still used in cluster") } // We are safe to remove PVC diff --git a/pkg/deployment/reconcile/action_runtime_container_args_udpate.go b/pkg/deployment/reconcile/action_runtime_container_args_udpate.go index e62584ab5..44f42c5d8 100644 --- a/pkg/deployment/reconcile/action_runtime_container_args_udpate.go +++ b/pkg/deployment/reconcile/action_runtime_container_args_udpate.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -25,11 +25,11 @@ import ( "fmt" "strings" - "github.com/pkg/errors" core "k8s.io/api/core/v1" api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1" "github.com/arangodb/kube-arangodb/pkg/deployment/rotation" + "github.com/arangodb/kube-arangodb/pkg/util/errors" "github.com/arangodb/kube-arangodb/pkg/util/globals" "github.com/arangodb/kube-arangodb/pkg/util/k8sutil" "github.com/arangodb/kube-arangodb/pkg/util/k8sutil/inspector/definitions" diff --git a/pkg/deployment/reconcile/action_runtime_container_image_update.go b/pkg/deployment/reconcile/action_runtime_container_image_update.go index 1508771fc..66c504fe0 100644 --- a/pkg/deployment/reconcile/action_runtime_container_image_update.go +++ b/pkg/deployment/reconcile/action_runtime_container_image_update.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -115,7 +115,7 @@ func (a actionRuntimeContainerImageUpdate) Post(ctx context.Context) error { _, ok = cache.ArangoMember().V1().GetSimple(name) if !ok { - err := errors.Newf("ArangoMember not found") + err := errors.Errorf("ArangoMember not found") a.log.Err(err).Error("ArangoMember not found") return err } @@ -179,7 +179,7 @@ func (a actionRuntimeContainerImageUpdate) Start(ctx context.Context) (bool, err cache, ok := a.actionCtx.ACS().ClusterCache(m.ClusterID) if !ok { - return true, errors.Newf("Client is not ready") + return true, errors.Errorf("Client is not ready") } name, image, ok := a.getContainerDetails() @@ -195,7 +195,7 @@ func (a actionRuntimeContainerImageUpdate) Start(ctx context.Context) (bool, err member, ok := a.actionCtx.ACS().CurrentClusterCache().ArangoMember().V1().GetSimple(m.ArangoMemberName(a.actionCtx.GetName(), a.action.Group)) if !ok { - err := errors.Newf("ArangoMember not found") + err := errors.Errorf("ArangoMember not found") a.log.Err(err).Error("ArangoMember not found") return false, err } @@ -250,7 +250,7 @@ func (a actionRuntimeContainerImageUpdate) Start(ctx context.Context) (bool, err a.log.Str("container", name).Str("pod", pod.GetName()).Warn("Container not found") - return false, errors.Newf("Container %s not found in Pod %s", name, pod.GetName()) + return false, errors.Errorf("Container %s not found in Pod %s", name, pod.GetName()) } func (a actionRuntimeContainerImageUpdate) CheckProgress(ctx context.Context) (bool, bool, error) { @@ -311,14 +311,14 @@ func (a actionRuntimeContainerImageUpdate) CheckProgress(ctx context.Context) (b } // Pod won't get up and running - return true, false, errors.Newf("Container %s failed during image replacement: (%d) %s: %s", name, s.ExitCode, s.Reason, s.Message) + return true, false, errors.Errorf("Container %s failed during image replacement: (%d) %s: %s", name, s.ExitCode, s.Reason, s.Message) } else if s := cstatus.State.Waiting; s != nil { if pod.Spec.RestartPolicy == core.RestartPolicyAlways { lastTermination := cstatus.LastTerminationState.Terminated if lastTermination != nil { allowedRestartPeriod := time.Now().Add(time.Second * -20) if lastTermination.FinishedAt.Time.Before(allowedRestartPeriod) { - return true, false, errors.Newf("Container %s continuously failing during image replacement: (%d) %s: %s", name, lastTermination.ExitCode, lastTermination.Reason, lastTermination.Message) + return true, false, errors.Errorf("Container %s continuously failing during image replacement: (%d) %s: %s", name, lastTermination.ExitCode, lastTermination.Reason, lastTermination.Message) } else { a.log.Str("pod-name", pod.GetName()).Debug("pod is restarting - we are not marking it as terminated yet..") } diff --git a/pkg/deployment/reconcile/action_runtime_sync_tolerations.go b/pkg/deployment/reconcile/action_runtime_sync_tolerations.go index 7a80b9747..532ef2cca 100644 --- a/pkg/deployment/reconcile/action_runtime_sync_tolerations.go +++ b/pkg/deployment/reconcile/action_runtime_sync_tolerations.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,12 +24,12 @@ import ( "context" "reflect" - "github.com/pkg/errors" meta "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1" "github.com/arangodb/kube-arangodb/pkg/deployment/patch" + "github.com/arangodb/kube-arangodb/pkg/util/errors" "github.com/arangodb/kube-arangodb/pkg/util/globals" "github.com/arangodb/kube-arangodb/pkg/util/k8sutil/tolerations" ) diff --git a/pkg/deployment/reconcile/helper_shutdown.go b/pkg/deployment/reconcile/helper_shutdown.go index 8b240d212..87125d23b 100644 --- a/pkg/deployment/reconcile/helper_shutdown.go +++ b/pkg/deployment/reconcile/helper_shutdown.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -139,7 +139,7 @@ func (s shutdownHelperAPI) Start(ctx context.Context) (bool, error) { cache, ok := s.actionCtx.ACS().ClusterCache(s.memberStatus.ClusterID) if !ok { - return true, errors.Newf("Cluster is not ready") + return true, errors.Errorf("Cluster is not ready") } // Remove finalizers, so Kubernetes will quickly terminate the pod @@ -228,7 +228,7 @@ func (s shutdownHelperDelete) Start(ctx context.Context) (bool, error) { cache, ok := s.actionCtx.ACS().ClusterCache(s.memberStatus.ClusterID) if !ok { - return true, errors.Newf("Cluster is not ready") + return true, errors.Errorf("Cluster is not ready") } // Terminate pod diff --git a/pkg/deployment/reconcile/helper_tls_sni.go b/pkg/deployment/reconcile/helper_tls_sni.go index afe9904b3..fcb5ff281 100644 --- a/pkg/deployment/reconcile/helper_tls_sni.go +++ b/pkg/deployment/reconcile/helper_tls_sni.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -46,19 +46,19 @@ func mapTLSSNIConfig(sni api.TLSSNISpec, cachedStatus inspectorInterface.Inspect for name, servers := range mapping { secret, exists := cachedStatus.Secret().V1().GetSimple(name) if !exists { - return nil, errors.Newf("Secret %s does not exist", name) + return nil, errors.Errorf("Secret %s does not exist", name) } tlsKey, ok := secret.Data[constants.SecretTLSKeyfile] if !ok { - return nil, errors.Newf("Not found tls keyfile key in SNI secret") + return nil, errors.Errorf("Not found tls keyfile key in SNI secret") } tlsKeyChecksum := fmt.Sprintf("%0x", sha256.Sum256(tlsKey)) for _, server := range servers { if _, ok := fetchedSecrets[server]; ok { - return nil, errors.Newf("Not found tls key in SNI secret") + return nil, errors.Errorf("Not found tls key in SNI secret") } fetchedSecrets[server] = tlsKeyChecksum } @@ -81,13 +81,13 @@ func compareTLSSNIConfig(ctx context.Context, log logging.Logger, c driver.Conne } if len(m) != len(tlsDetails.Result.SNI) { - return false, errors.Newf("Count of SNI mounted secrets does not match") + return false, errors.Errorf("Count of SNI mounted secrets does not match") } for key, value := range tlsDetails.Result.SNI { currentValue, ok := m[key] if !ok { - return false, errors.Newf("Unable to fetch TLS SNI state") + return false, errors.Errorf("Unable to fetch TLS SNI state") } if value.GetSHA().Checksum() != currentValue { diff --git a/pkg/deployment/reconcile/plan_builder_jwt.go b/pkg/deployment/reconcile/plan_builder_jwt.go index 332b0991b..b4da493a8 100644 --- a/pkg/deployment/reconcile/plan_builder_jwt.go +++ b/pkg/deployment/reconcile/plan_builder_jwt.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -277,7 +277,7 @@ func isMemberJWTTokenInvalid(ctx context.Context, c client.Client, data map[stri } if jwtActive, ok := data[pod.ActiveJWTKey]; !ok { - return false, errors.Newf("Missing Active JWT Token in folder") + return false, errors.Errorf("Missing Active JWT Token in folder") } else if util.SHA256(jwtActive) != e.Result.Active.GetSHA().Checksum() { return true, nil } diff --git a/pkg/deployment/reconcile/plan_builder_scale_utils.go b/pkg/deployment/reconcile/plan_builder_scale_utils.go index 6c00f4ca6..a8fb2e650 100644 --- a/pkg/deployment/reconcile/plan_builder_scale_utils.go +++ b/pkg/deployment/reconcile/plan_builder_scale_utils.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -100,7 +100,7 @@ func (s scaleFilter) Select(in ScaleSelectFunc) ScaleFilter { func (s scaleFilter) Get() (api.MemberStatus, error) { el, ok := util.RandomElement(s.in) if !ok { - return api.MemberStatus{}, errors.Newf("Unable to select member") + return api.MemberStatus{}, errors.Errorf("Unable to select member") } return el, nil diff --git a/pkg/deployment/reconcile/plan_builder_test.go b/pkg/deployment/reconcile/plan_builder_test.go index b27526214..c212e444e 100644 --- a/pkg/deployment/reconcile/plan_builder_test.go +++ b/pkg/deployment/reconcile/plan_builder_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -363,13 +363,13 @@ func (c *testContext) EnableScalingCluster(_ context.Context) error { // GetTLSKeyfile returns the keyfile encoded TLS certificate+key for // the given member. func (c *testContext) GetTLSKeyfile(group api.ServerGroup, member api.MemberStatus) (string, error) { - return "", errors.WithStack(errors.Newf("Not implemented")) + return "", errors.WithStack(errors.Errorf("Not implemented")) } // GetTLSCA returns the TLS CA certificate in the secret with given name. // Returns: publicKey, privateKey, ownerByDeployment, error func (c *testContext) GetTLSCA(secretName string) (string, string, bool, error) { - return "", "", false, errors.WithStack(errors.Newf("Not implemented")) + return "", "", false, errors.WithStack(errors.Errorf("Not implemented")) } // CreateEvent creates a given event. diff --git a/pkg/deployment/resources/inspector/acs.go b/pkg/deployment/resources/inspector/acs.go index 5c0b10d7a..e0e5cbd33 100644 --- a/pkg/deployment/resources/inspector/acs.go +++ b/pkg/deployment/resources/inspector/acs.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -181,11 +181,11 @@ func (p *arangoClusterSynchronizationsInspector) Throttle(c throttle.Components) func (p *arangoClusterSynchronizationsInspector) validate() error { if p == nil { - return errors.Newf("ArangoClusterSynchronizationInspector is nil") + return errors.Errorf("ArangoClusterSynchronizationInspector is nil") } if p.state == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } return p.v1.validate() diff --git a/pkg/deployment/resources/inspector/acs_v1.go b/pkg/deployment/resources/inspector/acs_v1.go index 86c1f26ab..e5f175ba7 100644 --- a/pkg/deployment/resources/inspector/acs_v1.go +++ b/pkg/deployment/resources/inspector/acs_v1.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -65,19 +65,19 @@ func (p *arangoClusterSynchronizationsInspectorV1) Filter(filters ...ins.Filter) func (p *arangoClusterSynchronizationsInspectorV1) validate() error { if p == nil { - return errors.Newf("ArangoClusterSynchronizationsV1Inspector is nil") + return errors.Errorf("ArangoClusterSynchronizationsV1Inspector is nil") } if p.arangoClusterSynchronizationInspector == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } if p.arangoClusterSynchronizations == nil && p.err == nil { - return errors.Newf("ListSimple or err should be not nil") + return errors.Errorf("ListSimple or err should be not nil") } if p.arangoClusterSynchronizations != nil && p.err != nil { - return errors.Newf("ListSimple or err cannot be not nil together") + return errors.Errorf("ListSimple or err cannot be not nil together") } return nil diff --git a/pkg/deployment/resources/inspector/am.go b/pkg/deployment/resources/inspector/am.go index 3b5151cf0..57845e8c7 100644 --- a/pkg/deployment/resources/inspector/am.go +++ b/pkg/deployment/resources/inspector/am.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -185,11 +185,11 @@ func (p *arangoMembersInspector) Throttle(c throttle.Components) throttle.Thrott func (p *arangoMembersInspector) validate() error { if p == nil { - return errors.Newf("ArangoMemberInspector is nil") + return errors.Errorf("ArangoMemberInspector is nil") } if p.state == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } return p.v1.validate() diff --git a/pkg/deployment/resources/inspector/am_v1.go b/pkg/deployment/resources/inspector/am_v1.go index 554f3fc9f..dc34359e5 100644 --- a/pkg/deployment/resources/inspector/am_v1.go +++ b/pkg/deployment/resources/inspector/am_v1.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -45,19 +45,19 @@ type arangoMembersInspectorV1 struct { func (p *arangoMembersInspectorV1) validate() error { if p == nil { - return errors.Newf("ArangoMembersV1Inspector is nil") + return errors.Errorf("ArangoMembersV1Inspector is nil") } if p.arangoMemberInspector == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } if p.arangoMembers == nil { - return errors.Newf("ArangoMembers or err should be not nil") + return errors.Errorf("ArangoMembers or err should be not nil") } if p.err != nil { - return errors.Newf("ArangoMembers or err cannot be not nil together") + return errors.Errorf("ArangoMembers or err cannot be not nil together") } return nil diff --git a/pkg/deployment/resources/inspector/at.go b/pkg/deployment/resources/inspector/at.go index 46cd8c55c..d07da7d77 100644 --- a/pkg/deployment/resources/inspector/at.go +++ b/pkg/deployment/resources/inspector/at.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -181,11 +181,11 @@ func (p *arangoTasksInspector) Throttle(c throttle.Components) throttle.Throttle func (p *arangoTasksInspector) validate() error { if p == nil { - return errors.Newf("ArangoTaskInspector is nil") + return errors.Errorf("ArangoTaskInspector is nil") } if p.state == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } return p.v1.validate() diff --git a/pkg/deployment/resources/inspector/at_v1.go b/pkg/deployment/resources/inspector/at_v1.go index b865ab016..9a05d1dcd 100644 --- a/pkg/deployment/resources/inspector/at_v1.go +++ b/pkg/deployment/resources/inspector/at_v1.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -65,19 +65,19 @@ func (p *arangoTasksInspectorV1) Filter(filters ...ins.Filter) []*api.ArangoTask func (p *arangoTasksInspectorV1) validate() error { if p == nil { - return errors.Newf("ArangoTasksV1Inspector is nil") + return errors.Errorf("ArangoTasksV1Inspector is nil") } if p.arangoTaskInspector == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } if p.arangoTasks == nil && p.err == nil { - return errors.Newf("ArangoTasks or err should be not nil") + return errors.Errorf("ArangoTasks or err should be not nil") } if p.arangoTasks != nil && p.err != nil { - return errors.Newf("ArangoTasks or err cannot be not nil together") + return errors.Errorf("ArangoTasks or err cannot be not nil together") } return nil diff --git a/pkg/deployment/resources/inspector/endpoints.go b/pkg/deployment/resources/inspector/endpoints.go index c0972f971..ce02d6814 100644 --- a/pkg/deployment/resources/inspector/endpoints.go +++ b/pkg/deployment/resources/inspector/endpoints.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -181,11 +181,11 @@ func (p *endpointsInspector) Throttle(c throttle.Components) throttle.Throttle { func (p *endpointsInspector) validate() error { if p == nil { - return errors.Newf("EndpointsInspector is nil") + return errors.Errorf("EndpointsInspector is nil") } if p.state == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } return p.v1.validate() diff --git a/pkg/deployment/resources/inspector/endpoints_v1.go b/pkg/deployment/resources/inspector/endpoints_v1.go index 9c7e1a801..9c502d715 100644 --- a/pkg/deployment/resources/inspector/endpoints_v1.go +++ b/pkg/deployment/resources/inspector/endpoints_v1.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -65,19 +65,19 @@ func (p *endpointsInspectorV1) Filter(filters ...ins.Filter) []*core.Endpoints { func (p *endpointsInspectorV1) validate() error { if p == nil { - return errors.Newf("EndpointsV1Inspector is nil") + return errors.Errorf("EndpointsV1Inspector is nil") } if p.endpointsInspector == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } if p.endpoints == nil && p.err == nil { - return errors.Newf("Endpoints or err should be not nil") + return errors.Errorf("Endpoints or err should be not nil") } if p.endpoints != nil && p.err != nil { - return errors.Newf("Endpoints or err cannot be not nil together") + return errors.Errorf("Endpoints or err cannot be not nil together") } return nil diff --git a/pkg/deployment/resources/inspector/inspector.go b/pkg/deployment/resources/inspector/inspector.go index ed7b8bfa1..55bcb6d0e 100644 --- a/pkg/deployment/resources/inspector/inspector.go +++ b/pkg/deployment/resources/inspector/inspector.go @@ -232,7 +232,7 @@ func (i *inspectorState) AnonymousObjects() []anonymous.Impl { func (i *inspectorState) GetCurrentArangoDeployment() (*api.ArangoDeployment, error) { if i.deploymentResult == nil { - return nil, errors.Newf("Deployment not initialised") + return nil, errors.Errorf("Deployment not initialised") } return i.deploymentResult.depl, i.deploymentResult.err diff --git a/pkg/deployment/resources/inspector/nodes.go b/pkg/deployment/resources/inspector/nodes.go index 72e64fdfd..6da09e025 100644 --- a/pkg/deployment/resources/inspector/nodes.go +++ b/pkg/deployment/resources/inspector/nodes.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -181,11 +181,11 @@ func (p *nodesInspector) Throttle(c throttle.Components) throttle.Throttle { func (p *nodesInspector) validate() error { if p == nil { - return errors.Newf("NodeInspector is nil") + return errors.Errorf("NodeInspector is nil") } if p.state == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } return p.v1.validate() diff --git a/pkg/deployment/resources/inspector/nodes_v1.go b/pkg/deployment/resources/inspector/nodes_v1.go index b353db0de..5fac5a7b0 100644 --- a/pkg/deployment/resources/inspector/nodes_v1.go +++ b/pkg/deployment/resources/inspector/nodes_v1.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -49,19 +49,19 @@ type nodesInspectorV1 struct { func (p *nodesInspectorV1) validate() error { if p == nil { - return errors.Newf("NodesV1Inspector is nil") + return errors.Errorf("NodesV1Inspector is nil") } if p.nodeInspector == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } if p.nodes == nil && p.err == nil { - return errors.Newf("Nodes or err should be not nil") + return errors.Errorf("Nodes or err should be not nil") } if p.nodes != nil && p.err != nil { - return errors.Newf("Nodes or err cannot be not nil together") + return errors.Errorf("Nodes or err cannot be not nil together") } return nil diff --git a/pkg/deployment/resources/inspector/pdbs.go b/pkg/deployment/resources/inspector/pdbs.go index 123863337..ac1b7c8ec 100644 --- a/pkg/deployment/resources/inspector/pdbs.go +++ b/pkg/deployment/resources/inspector/pdbs.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -190,11 +190,11 @@ func (p *podDisruptionBudgetsInspector) Throttle(c throttle.Components) throttle func (p *podDisruptionBudgetsInspector) validate() error { if p == nil { - return errors.Newf("PodDisruptionBudgetInspector is nil") + return errors.Errorf("PodDisruptionBudgetInspector is nil") } if p.state == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } if err := p.v1.validate(); err != nil { diff --git a/pkg/deployment/resources/inspector/pdbs_v1.go b/pkg/deployment/resources/inspector/pdbs_v1.go index 4bf4ab34c..5a17bfd63 100644 --- a/pkg/deployment/resources/inspector/pdbs_v1.go +++ b/pkg/deployment/resources/inspector/pdbs_v1.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -49,19 +49,19 @@ type podDisruptionBudgetsInspectorV1 struct { func (p *podDisruptionBudgetsInspectorV1) validate() error { if p == nil { - return errors.Newf("PodDisruptionBudgetsV1Inspector is nil") + return errors.Errorf("PodDisruptionBudgetsV1Inspector is nil") } if p.podDisruptionBudgetInspector == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } if p.podDisruptionBudgets == nil && p.err == nil { - return errors.Newf("PodDisruptionBudgets or err should be not nil") + return errors.Errorf("PodDisruptionBudgets or err should be not nil") } if p.podDisruptionBudgets != nil && p.err != nil { - return errors.Newf("PodDisruptionBudgets or err cannot be not nil together") + return errors.Errorf("PodDisruptionBudgets or err cannot be not nil together") } return nil diff --git a/pkg/deployment/resources/inspector/pods.go b/pkg/deployment/resources/inspector/pods.go index 3d4030b93..af3dc4092 100644 --- a/pkg/deployment/resources/inspector/pods.go +++ b/pkg/deployment/resources/inspector/pods.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -185,11 +185,11 @@ func (p *podsInspector) Throttle(c throttle.Components) throttle.Throttle { func (p *podsInspector) validate() error { if p == nil { - return errors.Newf("PodInspector is nil") + return errors.Errorf("PodInspector is nil") } if p.state == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } return p.v1.validate() diff --git a/pkg/deployment/resources/inspector/pods_v1.go b/pkg/deployment/resources/inspector/pods_v1.go index 1b99387cf..23c562bfa 100644 --- a/pkg/deployment/resources/inspector/pods_v1.go +++ b/pkg/deployment/resources/inspector/pods_v1.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -46,19 +46,19 @@ type podsInspectorV1 struct { func (p *podsInspectorV1) validate() error { if p == nil { - return errors.Newf("PodsV1Inspector is nil") + return errors.Errorf("PodsV1Inspector is nil") } if p.podInspector == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } if p.pods == nil { - return errors.Newf("Pods or err should be not nil") + return errors.Errorf("Pods or err should be not nil") } if p.err != nil { - return errors.Newf("Pods or err cannot be not nil together") + return errors.Errorf("Pods or err cannot be not nil together") } return nil diff --git a/pkg/deployment/resources/inspector/pvcs.go b/pkg/deployment/resources/inspector/pvcs.go index c0a64237c..9ecdc11f8 100644 --- a/pkg/deployment/resources/inspector/pvcs.go +++ b/pkg/deployment/resources/inspector/pvcs.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -185,11 +185,11 @@ func (p *persistentVolumeClaimsInspector) Throttle(c throttle.Components) thrott func (p *persistentVolumeClaimsInspector) validate() error { if p == nil { - return errors.Newf("PersistentVolumeClaimInspector is nil") + return errors.Errorf("PersistentVolumeClaimInspector is nil") } if p.state == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } return p.v1.validate() diff --git a/pkg/deployment/resources/inspector/pvcs_v1.go b/pkg/deployment/resources/inspector/pvcs_v1.go index fb9459a97..e375a31ca 100644 --- a/pkg/deployment/resources/inspector/pvcs_v1.go +++ b/pkg/deployment/resources/inspector/pvcs_v1.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -45,19 +45,19 @@ type persistentVolumeClaimsInspectorV1 struct { func (p *persistentVolumeClaimsInspectorV1) validate() error { if p == nil { - return errors.Newf("PersistentVolumeClaimsV1Inspector is nil") + return errors.Errorf("PersistentVolumeClaimsV1Inspector is nil") } if p.persistentVolumeClaimInspector == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } if p.persistentVolumeClaims == nil { - return errors.Newf("PersistentVolumeClaims or err should be not nil") + return errors.Errorf("PersistentVolumeClaims or err should be not nil") } if p.err != nil { - return errors.Newf("PersistentVolumeClaims or err cannot be not nil together") + return errors.Errorf("PersistentVolumeClaims or err cannot be not nil together") } return nil diff --git a/pkg/deployment/resources/inspector/pvs.go b/pkg/deployment/resources/inspector/pvs.go index 7965e962b..2ef931ea8 100644 --- a/pkg/deployment/resources/inspector/pvs.go +++ b/pkg/deployment/resources/inspector/pvs.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -181,11 +181,11 @@ func (p *persistentVolumesInspector) Throttle(c throttle.Components) throttle.Th func (p *persistentVolumesInspector) validate() error { if p == nil { - return errors.Newf("PersistentVolumeInspector is nil") + return errors.Errorf("PersistentVolumeInspector is nil") } if p.state == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } return p.v1.validate() diff --git a/pkg/deployment/resources/inspector/pvs_v1.go b/pkg/deployment/resources/inspector/pvs_v1.go index 3b775afe6..818762e95 100644 --- a/pkg/deployment/resources/inspector/pvs_v1.go +++ b/pkg/deployment/resources/inspector/pvs_v1.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -49,19 +49,19 @@ type persistentVolumesInspectorV1 struct { func (p *persistentVolumesInspectorV1) validate() error { if p == nil { - return errors.Newf("PersistentVolumesV1Inspector is nil") + return errors.Errorf("PersistentVolumesV1Inspector is nil") } if p.persistentVolumeInspector == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } if p.persistentVolumes == nil && p.err == nil { - return errors.Newf("PersistentVolumes or err should be not nil") + return errors.Errorf("PersistentVolumes or err should be not nil") } if p.persistentVolumes != nil && p.err != nil { - return errors.Newf("PersistentVolumes or err cannot be not nil together") + return errors.Errorf("PersistentVolumes or err cannot be not nil together") } return nil diff --git a/pkg/deployment/resources/inspector/sa.go b/pkg/deployment/resources/inspector/sa.go index 8b6d19a6a..a9896ee92 100644 --- a/pkg/deployment/resources/inspector/sa.go +++ b/pkg/deployment/resources/inspector/sa.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -185,11 +185,11 @@ func (p *serviceAccountsInspector) Throttle(c throttle.Components) throttle.Thro func (p *serviceAccountsInspector) validate() error { if p == nil { - return errors.Newf("ServiceAccountInspector is nil") + return errors.Errorf("ServiceAccountInspector is nil") } if p.state == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } return p.v1.validate() diff --git a/pkg/deployment/resources/inspector/sa_v1.go b/pkg/deployment/resources/inspector/sa_v1.go index a9cde5a18..1746b8275 100644 --- a/pkg/deployment/resources/inspector/sa_v1.go +++ b/pkg/deployment/resources/inspector/sa_v1.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -45,19 +45,19 @@ type serviceAccountsInspectorV1 struct { func (p *serviceAccountsInspectorV1) validate() error { if p == nil { - return errors.Newf("ServiceAccountsV1Inspector is nil") + return errors.Errorf("ServiceAccountsV1Inspector is nil") } if p.serviceAccountInspector == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } if p.serviceAccounts == nil { - return errors.Newf("ServiceAccounts or err should be not nil") + return errors.Errorf("ServiceAccounts or err should be not nil") } if p.err != nil { - return errors.Newf("ServiceAccounts or err cannot be not nil together") + return errors.Errorf("ServiceAccounts or err cannot be not nil together") } return nil diff --git a/pkg/deployment/resources/inspector/secrets.go b/pkg/deployment/resources/inspector/secrets.go index dce402279..326b25b8c 100644 --- a/pkg/deployment/resources/inspector/secrets.go +++ b/pkg/deployment/resources/inspector/secrets.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -185,11 +185,11 @@ func (p *secretsInspector) Throttle(c throttle.Components) throttle.Throttle { func (p *secretsInspector) validate() error { if p == nil { - return errors.Newf("SecretInspector is nil") + return errors.Errorf("SecretInspector is nil") } if p.state == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } return p.v1.validate() diff --git a/pkg/deployment/resources/inspector/secrets_v1.go b/pkg/deployment/resources/inspector/secrets_v1.go index b18ac7259..6925d8f5f 100644 --- a/pkg/deployment/resources/inspector/secrets_v1.go +++ b/pkg/deployment/resources/inspector/secrets_v1.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -45,19 +45,19 @@ type secretsInspectorV1 struct { func (p *secretsInspectorV1) validate() error { if p == nil { - return errors.Newf("SecretsV1Inspector is nil") + return errors.Errorf("SecretsV1Inspector is nil") } if p.secretInspector == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } if p.secrets == nil { - return errors.Newf("Secrets or err should be not nil") + return errors.Errorf("Secrets or err should be not nil") } if p.err != nil { - return errors.Newf("Secrets or err cannot be not nil together") + return errors.Errorf("Secrets or err cannot be not nil together") } return nil diff --git a/pkg/deployment/resources/inspector/services.go b/pkg/deployment/resources/inspector/services.go index a44c10879..58e210e4d 100644 --- a/pkg/deployment/resources/inspector/services.go +++ b/pkg/deployment/resources/inspector/services.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -185,11 +185,11 @@ func (p *servicesInspector) Throttle(c throttle.Components) throttle.Throttle { func (p *servicesInspector) validate() error { if p == nil { - return errors.Newf("ServiceInspector is nil") + return errors.Errorf("ServiceInspector is nil") } if p.state == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } return p.v1.validate() diff --git a/pkg/deployment/resources/inspector/services_v1.go b/pkg/deployment/resources/inspector/services_v1.go index f3cc9e9cd..0cfd4384f 100644 --- a/pkg/deployment/resources/inspector/services_v1.go +++ b/pkg/deployment/resources/inspector/services_v1.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -45,19 +45,19 @@ type servicesInspectorV1 struct { func (p *servicesInspectorV1) validate() error { if p == nil { - return errors.Newf("ServicesV1Inspector is nil") + return errors.Errorf("ServicesV1Inspector is nil") } if p.serviceInspector == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } if p.services == nil { - return errors.Newf("Services or err should be not nil") + return errors.Errorf("Services or err should be not nil") } if p.err != nil { - return errors.Newf("Services or err cannot be not nil together") + return errors.Errorf("Services or err cannot be not nil together") } return nil diff --git a/pkg/deployment/resources/inspector/sm.go b/pkg/deployment/resources/inspector/sm.go index ec5cfb18e..1f1e59700 100644 --- a/pkg/deployment/resources/inspector/sm.go +++ b/pkg/deployment/resources/inspector/sm.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -177,11 +177,11 @@ func (p *serviceMonitorsInspector) Throttle(c throttle.Components) throttle.Thro func (p *serviceMonitorsInspector) validate() error { if p == nil { - return errors.Newf("ServiceMonitorInspector is nil") + return errors.Errorf("ServiceMonitorInspector is nil") } if p.state == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } return p.v1.validate() diff --git a/pkg/deployment/resources/inspector/sm_v1.go b/pkg/deployment/resources/inspector/sm_v1.go index 2c071f186..53c6258a7 100644 --- a/pkg/deployment/resources/inspector/sm_v1.go +++ b/pkg/deployment/resources/inspector/sm_v1.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -49,19 +49,19 @@ type serviceMonitorsInspectorV1 struct { func (p *serviceMonitorsInspectorV1) validate() error { if p == nil { - return errors.Newf("ServiceMonitorsV1Inspector is nil") + return errors.Errorf("ServiceMonitorsV1Inspector is nil") } if p.serviceMonitorInspector == nil { - return errors.Newf("Parent is nil") + return errors.Errorf("Parent is nil") } if p.serviceMonitors == nil && p.err == nil { - return errors.Newf("ServiceMonitors or err should be not nil") + return errors.Errorf("ServiceMonitors or err should be not nil") } if p.serviceMonitors != nil && p.err != nil { - return errors.Newf("ServiceMonitors or err cannot be not nil together") + return errors.Errorf("ServiceMonitors or err cannot be not nil together") } return nil diff --git a/pkg/deployment/resources/pod_creator.go b/pkg/deployment/resources/pod_creator.go index 2825701f1..4656a364d 100644 --- a/pkg/deployment/resources/pod_creator.go +++ b/pkg/deployment/resources/pod_creator.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -306,7 +306,7 @@ func (r *Resources) RenderPodForMember(ctx context.Context, acs sutil.ACS, spec apiObject := r.context.GetAPIObject() m, group, found := status.Members.ElementByID(memberID) if !found { - return nil, errors.WithStack(errors.Newf("Member '%s' not found", memberID)) + return nil, errors.WithStack(errors.Errorf("Member '%s' not found", memberID)) } groupSpec := spec.GetServerGroupSpec(group) @@ -314,16 +314,16 @@ func (r *Resources) RenderPodForMember(ctx context.Context, acs sutil.ACS, spec member, ok := acs.CurrentClusterCache().ArangoMember().V1().GetSimple(memberName) if !ok { - return nil, errors.Newf("ArangoMember %s not found", memberName) + return nil, errors.Errorf("ArangoMember %s not found", memberName) } cluster, ok := acs.Cluster(m.ClusterID) if !ok { - return nil, errors.Newf("Cluster is not found") + return nil, errors.Errorf("Cluster is not found") } if !cluster.Ready() { - return nil, errors.Newf("Cluster is not ready") + return nil, errors.Errorf("Cluster is not ready") } cache := cluster.Cache() @@ -357,7 +357,7 @@ func (r *Resources) RenderPodForMember(ctx context.Context, acs sutil.ACS, spec // Check image if !imageInfo.Enterprise { log.Str("image", spec.GetImage()).Debug("Image is not an enterprise image") - return nil, errors.WithStack(errors.Newf("Image '%s' does not contain an Enterprise version of ArangoDB", spec.GetImage())) + return nil, errors.WithStack(errors.Errorf("Image '%s' does not contain an Enterprise version of ArangoDB", spec.GetImage())) } // Check if the sync image is overwritten by the SyncSpec imageInfo := imageInfo @@ -378,7 +378,7 @@ func (r *Resources) RenderPodForMember(ctx context.Context, acs sutil.ACS, spec cachedStatus: cache, } } else { - return nil, errors.Newf("unable to render Pod") + return nil, errors.Errorf("unable to render Pod") } pod, err := RenderArangoPod(ctx, cache, apiObject, role, m.ID, podName, podCreator) @@ -439,7 +439,7 @@ func (r *Resources) createPodForMember(ctx context.Context, cachedStatus inspect if template == nil { // Template not yet propagated - return errors.Newf("Template not yet propagated") + return errors.Errorf("Template not yet propagated") } if status.CurrentImage == nil { @@ -460,7 +460,7 @@ func (r *Resources) createPodForMember(ctx context.Context, cachedStatus inspect apiObject := r.context.GetAPIObject() if !found { - return errors.WithStack(errors.Newf("Member '%s' not found", memberID)) + return errors.WithStack(errors.Errorf("Member '%s' not found", memberID)) } // Update pod name diff --git a/pkg/deployment/resources/pod_termination.go b/pkg/deployment/resources/pod_termination.go index 9039aea5f..99ef7168e 100644 --- a/pkg/deployment/resources/pod_termination.go +++ b/pkg/deployment/resources/pod_termination.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -71,7 +71,7 @@ func (r *Resources) prepareAgencyPodTermination(p *core.Pod, memberStatus api.Me pvc, ok := r.context.ACS().CurrentClusterCache().PersistentVolumeClaim().V1().GetSimple(memberStatus.PersistentVolumeClaim.GetName()) if !ok { log.Warn("Failed to get PVC for member") - return errors.Newf("Failed to get PVC for member") + return errors.Errorf("Failed to get PVC for member") } if k8sutil.IsPersistentVolumeClaimMarkedForDeletion(pvc) { agentDataWillBeGone = true @@ -89,11 +89,11 @@ func (r *Resources) prepareAgencyPodTermination(p *core.Pod, memberStatus api.Me agencyHealth, ok := r.context.GetAgencyHealth() if !ok { log.Debug("Agency health fetch failed") - return errors.Newf("Agency health fetch failed") + return errors.Errorf("Agency health fetch failed") } if err := agencyHealth.Healthy(); err != nil { log.Err(err).Debug("Agency is not healthy. Cannot delete this one") - return errors.WithStack(errors.Newf("Agency is not healthy")) + return errors.WithStack(errors.Errorf("Agency is not healthy")) } // Complete agent recovery is needed, since data is already gone or not accessible if memberStatus.Conditions.Update(api.ConditionTypeAgentRecoveryNeeded, true, "Data Gone", "") { @@ -252,7 +252,7 @@ func (r *Resources) prepareDBServerPodTermination(ctx context.Context, p *core.P // Check the job progress cache, ok := r.context.GetAgencyCache() if !ok { - return errors.Newf("AgencyCache is not ready") + return errors.Errorf("AgencyCache is not ready") } details, jobStatus := cache.Target.GetJob(state.JobID(memberStatus.CleanoutJobID)) @@ -275,7 +275,7 @@ func (r *Resources) prepareDBServerPodTermination(ctx context.Context, p *core.P // Check the job progress cache, ok := r.context.GetAgencyCache() if !ok { - return errors.Newf("AgencyCache is not ready") + return errors.Errorf("AgencyCache is not ready") } details, jobStatus := cache.Target.GetJob(state.JobID(memberStatus.CleanoutJobID)) @@ -301,6 +301,6 @@ func (r *Resources) prepareDBServerPodTermination(ctx context.Context, p *core.P } } - return errors.WithStack(errors.Newf("Server is not yet cleaned out")) + return errors.WithStack(errors.Errorf("Server is not yet cleaned out")) } diff --git a/pkg/deployment/resources/pvc_finalizers.go b/pkg/deployment/resources/pvc_finalizers.go index 4d5745f9e..537b6e877 100644 --- a/pkg/deployment/resources/pvc_finalizers.go +++ b/pkg/deployment/resources/pvc_finalizers.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -121,5 +121,5 @@ func (r *Resources) inspectFinalizerPVCMemberExists(ctx context.Context, group a } } - return errors.WithStack(errors.Newf("Member still exists")) + return errors.WithStack(errors.Errorf("Member still exists")) } diff --git a/pkg/deployment/resources/secrets.go b/pkg/deployment/resources/secrets.go index 190b79a36..23cab190b 100644 --- a/pkg/deployment/resources/secrets.go +++ b/pkg/deployment/resources/secrets.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -136,12 +136,12 @@ func (r *Resources) EnsureSecrets(ctx context.Context, cachedStatus inspectorInt member, ok := cachedStatus.ArangoMember().V1().GetSimple(memberName) if !ok { - return errors.Newf("Member %s not found", memberName) + return errors.Errorf("Member %s not found", memberName) } service, ok := cachedStatus.Service().V1().GetSimple(memberName) if !ok { - return errors.Newf("Service of member %s not found", memberName) + return errors.Errorf("Service of member %s not found", memberName) } tlsKeyfileSecretName := k8sutil.AppendTLSKeyfileSecretPostfix(member.GetName()) @@ -195,12 +195,12 @@ func (r *Resources) ensureTokenSecretFolder(ctx context.Context, cachedStatus in if len(f.Data) == 0 { s, exists := cachedStatus.Secret().V1().GetSimple(secretName) if !exists { - return errors.Newf("Token secret does not exist") + return errors.Errorf("Token secret does not exist") } token, ok := s.Data[constants.SecretKeyToken] if !ok { - return errors.Newf("Token secret is invalid") + return errors.Errorf("Token secret is invalid") } f.Data[util.SHA256(token)] = token @@ -221,7 +221,7 @@ func (r *Resources) ensureTokenSecretFolder(ctx context.Context, cachedStatus in if _, ok := f.Data[pod.ActiveJWTKey]; !ok { _, b, ok := getFirstKeyFromMap(f.Data) if !ok { - return errors.Newf("Token Folder secret is invalid") + return errors.Errorf("Token Folder secret is invalid") } p := patch.NewPatch() @@ -244,7 +244,7 @@ func (r *Resources) ensureTokenSecretFolder(ctx context.Context, cachedStatus in if _, ok := f.Data[constants.SecretKeyToken]; !ok { b, ok := f.Data[pod.ActiveJWTKey] if !ok { - return errors.Newf("Token Folder secret is invalid") + return errors.Errorf("Token Folder secret is invalid") } p := patch.NewPatch() @@ -269,12 +269,12 @@ func (r *Resources) ensureTokenSecretFolder(ctx context.Context, cachedStatus in s, exists := cachedStatus.Secret().V1().GetSimple(secretName) if !exists { - return errors.Newf("Token secret does not exist") + return errors.Errorf("Token secret does not exist") } token, ok := s.Data[constants.SecretKeyToken] if !ok { - return errors.Newf("Token secret is invalid") + return errors.Errorf("Token secret is invalid") } if err := r.createSecretWithMod(ctx, secrets, folderSecretName, func(s *core.Secret) { @@ -365,14 +365,14 @@ func (r *Resources) ensureEncryptionKeyfolderSecret(ctx context.Context, cachedS if folderExists { return nil } - return errors.Newf("Unable to find original secret %s", keyfileSecretName) + return errors.Errorf("Unable to find original secret %s", keyfileSecretName) } if len(keyfile.Data) == 0 { if folderExists { return nil } - return errors.Newf("Missing key in secret") + return errors.Errorf("Missing key in secret") } d, ok := keyfile.Data[constants.SecretEncryptionKey] @@ -380,7 +380,7 @@ func (r *Resources) ensureEncryptionKeyfolderSecret(ctx context.Context, cachedS if folderExists { return nil } - return errors.Newf("Missing key in secret") + return errors.Errorf("Missing key in secret") } owner := r.context.GetAPIObject().AsOwner() @@ -467,7 +467,7 @@ func (r *Resources) ensureExporterTokenSecretCreateRequired(cachedStatus inspect jwtSecret, exists := cachedStatus.Secret().V1().GetSimple(secretSecretName) if !exists { - return true, true, errors.Newf("Secret %s does not exists", secretSecretName) + return true, true, errors.Errorf("Secret %s does not exists", secretSecretName) } secret, err := k8sutil.GetTokenFromSecret(jwtSecret) diff --git a/pkg/deployment/resources/servicemonitor.go b/pkg/deployment/resources/servicemonitor.go index a194c3fb0..d02b44d8b 100644 --- a/pkg/deployment/resources/servicemonitor.go +++ b/pkg/deployment/resources/servicemonitor.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2019-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2019-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -145,7 +145,7 @@ func (r *Resources) EnsureServiceMonitor(ctx context.Context, enabled bool) erro client, ok := kclient.GetDefaultFactory().Client() if !ok { log.Error("Cannot get a monitoring client.") - return errors.Newf("Client not initialised") + return errors.Errorf("Client not initialised") } mClient := client.Monitoring() diff --git a/pkg/deployment/resources/services.go b/pkg/deployment/resources/services.go index 34395ae02..c3e4920aa 100644 --- a/pkg/deployment/resources/services.go +++ b/pkg/deployment/resources/services.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -95,7 +95,7 @@ func (r *Resources) EnsureServices(ctx context.Context, cachedStatus inspectorIn member, ok := cachedStatus.ArangoMember().V1().GetSimple(memberName) if !ok { - return errors.Newf("Member %s not found", memberName) + return errors.Errorf("Member %s not found", memberName) } ports := CreateServerServicePortsWithSidecars(amInspector, e.Member.ArangoMemberName(deploymentName, e.Group)) diff --git a/pkg/exporter/monitor.go b/pkg/exporter/monitor.go index b0b6b5e4d..b9932938e 100644 --- a/pkg/exporter/monitor.go +++ b/pkg/exporter/monitor.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,7 +23,6 @@ package exporter import ( "context" "encoding/json" - "errors" "fmt" "io" "net/url" @@ -38,6 +37,7 @@ import ( shared "github.com/arangodb/kube-arangodb/pkg/apis/shared" "github.com/arangodb/kube-arangodb/pkg/logging" + "github.com/arangodb/kube-arangodb/pkg/util/errors" "github.com/arangodb/kube-arangodb/pkg/util/timer" ) diff --git a/pkg/handlers/backup/arango_client_impl.go b/pkg/handlers/backup/arango_client_impl.go index 06ca093a7..c4bfe2d59 100644 --- a/pkg/handlers/backup/arango_client_impl.go +++ b/pkg/handlers/backup/arango_client_impl.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -190,7 +190,7 @@ func (ac *arangoClientBackupImpl) Upload(backupID driver.BackupID) (driver.Backu uploadSpec := ac.backup.Spec.Upload if uploadSpec == nil { - return "", errors.Newf("upload was called but no upload spec was given") + return "", errors.Errorf("upload was called but no upload spec was given") } cred, err := ac.getCredentialsFromSecret(ctx, uploadSpec.CredentialsSecretName) @@ -207,7 +207,7 @@ func (ac *arangoClientBackupImpl) Download(backupID driver.BackupID) (driver.Bac downloadSpec := ac.backup.Spec.Download if downloadSpec == nil { - return "", errors.Newf("Download was called but not download spec was given") + return "", errors.Errorf("Download was called but not download spec was given") } cred, err := ac.getCredentialsFromSecret(ctx, downloadSpec.CredentialsSecretName) @@ -254,7 +254,7 @@ func (ac *arangoClientBackupImpl) Progress(jobID driver.BackupTransferJobID) (Ar case "": completedCount++ default: - return ArangoBackupProgress{}, errors.Newf("Unknown transfer status: %s", status.Status) + return ArangoBackupProgress{}, errors.Errorf("Unknown transfer status: %s", status.Status) } } diff --git a/pkg/handlers/backup/arango_client_mock_test.go b/pkg/handlers/backup/arango_client_mock_test.go index a1b4ca664..8ada1a85e 100644 --- a/pkg/handlers/backup/arango_client_mock_test.go +++ b/pkg/handlers/backup/arango_client_mock_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -185,7 +185,7 @@ func (m *mockArangoClientBackup) Get(id driver.BackupID) (driver.BackupMeta, err return meta, nil } - return driver.BackupMeta{}, errors.Newf("not found") + return driver.BackupMeta{}, errors.Errorf("not found") } func (m *mockArangoClientBackup) Create() (ArangoBackupCreateResponse, error) { diff --git a/pkg/handlers/backup/backup_suite_test.go b/pkg/handlers/backup/backup_suite_test.go index 61c8c733e..db5a5d04d 100644 --- a/pkg/handlers/backup/backup_suite_test.go +++ b/pkg/handlers/backup/backup_suite_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -188,7 +188,7 @@ func wrapperConnectionIssues(t *testing.T, state state.State) { // Arrange handler := newFakeHandler() - f := newMockArangoClientBackupErrorFactory(errors.Newf(errorString)) + f := newMockArangoClientBackupErrorFactory(errors.Errorf(errorString)) handler.arangoClientFactory = f obj, deployment := newObjectSet(t, state) diff --git a/pkg/handlers/backup/errors.go b/pkg/handlers/backup/errors.go index 5acf7a924..441bbdeb8 100644 --- a/pkg/handlers/backup/errors.go +++ b/pkg/handlers/backup/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -36,7 +36,7 @@ func newTemporaryError(err error) error { } func newTemporaryErrorf(format string, a ...interface{}) error { - return newTemporaryError(errors.Newf(format, a...)) + return newTemporaryError(errors.Errorf(format, a...)) } type temporaryError struct { @@ -58,7 +58,7 @@ func newFatalError(err error) error { } func newFatalErrorf(format string, a ...interface{}) error { - return newFatalError(errors.Newf(format, a...)) + return newFatalError(errors.Errorf(format, a...)) } type fatalError struct { diff --git a/pkg/handlers/backup/handler.go b/pkg/handlers/backup/handler.go index 2e4a1da54..c8521c35f 100644 --- a/pkg/handlers/backup/handler.go +++ b/pkg/handlers/backup/handler.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,7 +22,6 @@ package backup import ( "context" - "errors" "fmt" "sync" "time" @@ -44,7 +43,7 @@ import ( "github.com/arangodb/kube-arangodb/pkg/operatorV2/event" "github.com/arangodb/kube-arangodb/pkg/operatorV2/operation" "github.com/arangodb/kube-arangodb/pkg/util" - adbErrors "github.com/arangodb/kube-arangodb/pkg/util/errors" + "github.com/arangodb/kube-arangodb/pkg/util/errors" ) var logger = logging.Global().RegisterAndGetLogger("backup-operator", logging.Info) @@ -348,7 +347,7 @@ func (h *handler) processArangoBackup(backup *backupApi.ArangoBackup) (*backupAp return f(h, backup) } - return nil, adbErrors.Newf("state %s is not supported", backup.Status.State) + return nil, errors.Errorf("state %s is not supported", backup.Status.State) } func (h *handler) CanBeHandled(item operation.Item) bool { diff --git a/pkg/ml/storage/s3/s3.go b/pkg/ml/storage/s3/s3.go index dba098283..e610dd3d4 100644 --- a/pkg/ml/storage/s3/s3.go +++ b/pkg/ml/storage/s3/s3.go @@ -1,5 +1,5 @@ // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,6 +18,8 @@ package s3 +import "github.com/arangodb/kube-arangodb/pkg/util/errors" + type Config struct { Endpoint string AllowInsecure bool @@ -29,3 +31,16 @@ type Config struct { AccessKeyFile string // path to file containing S3 AccessKey SecretKeyFile string // path to file containing S3 SecretKey } + +func (c Config) Validate() error { + if c.AccessKeyFile == "" { + return errors.Errorf("AccessKeyFile is not defined") + } + if c.SecretKeyFile == "" { + return errors.Errorf("SecretKeyFile is not defined") + } + if c.Endpoint == "" { + return errors.Errorf("Endpoint is not defined") + } + return nil +} diff --git a/pkg/ml/storage/service.community.go b/pkg/ml/storage/service.community.go index 29c574730..37da8a431 100644 --- a/pkg/ml/storage/service.community.go +++ b/pkg/ml/storage/service.community.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,11 +24,11 @@ package storage import ( "context" - "errors" + "github.com/arangodb/kube-arangodb/pkg/util/errors" "github.com/arangodb/kube-arangodb/pkg/util/svc" ) -func NewService(_ context.Context, _ StorageType, _ ServiceConfig) (svc.Service, error) { +func NewService(_ context.Context, _ StorageType, _ ServiceConfig) (svc.Handler, error) { return nil, errors.New("this service is available only in enterprise edition of operator") } diff --git a/pkg/ml/storage/service.go b/pkg/ml/storage/service.go index 5548a2822..9b892d474 100644 --- a/pkg/ml/storage/service.go +++ b/pkg/ml/storage/service.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ package storage import ( "github.com/arangodb/kube-arangodb/pkg/ml/storage/s3" + "github.com/arangodb/kube-arangodb/pkg/util/svc" ) type StorageType string @@ -31,6 +32,6 @@ const ( ) type ServiceConfig struct { - ListenAddress string + Configuration svc.Configuration S3 s3.Config } diff --git a/pkg/operator/operator_deployment.go b/pkg/operator/operator_deployment.go index c18486daa..2c4f7e581 100644 --- a/pkg/operator/operator_deployment.go +++ b/pkg/operator/operator_deployment.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -146,13 +146,13 @@ func (o *Operator) handleDeploymentEvent(event *Event) error { delete(o.deployments, apiObject.Name) return nil } - return errors.WithStack(errors.Newf("ignore failed deployment (%s). Please delete its CR", apiObject.Name)) + return errors.WithStack(errors.Errorf("ignore failed deployment (%s). Please delete its CR", apiObject.Name)) } switch event.Type { case kwatch.Added: if _, ok := o.deployments[apiObject.Name]; ok { - return errors.WithStack(errors.Newf("unsafe state. deployment (%s) was created before but we received event (%s)", apiObject.Name, event.Type)) + return errors.WithStack(errors.Errorf("unsafe state. deployment (%s) was created before but we received event (%s)", apiObject.Name, event.Type)) } // Fill in defaults @@ -165,7 +165,7 @@ func (o *Operator) handleDeploymentEvent(event *Event) error { cfg, deps := o.makeDeploymentConfigAndDeps() nc, err := deployment.New(cfg, deps, apiObject) if err != nil { - return errors.WithStack(errors.Newf("failed to create deployment: %s", err)) + return errors.WithStack(errors.Errorf("failed to create deployment: %s", err)) } o.deployments[apiObject.Name] = nc @@ -175,7 +175,7 @@ func (o *Operator) handleDeploymentEvent(event *Event) error { case kwatch.Modified: depl, ok := o.deployments[apiObject.Name] if !ok { - return errors.WithStack(errors.Newf("unsafe state. deployment (%s) was never created but we received event (%s)", apiObject.Name, event.Type)) + return errors.WithStack(errors.Errorf("unsafe state. deployment (%s) was never created but we received event (%s)", apiObject.Name, event.Type)) } depl.Update(apiObject) deploymentsModified.Inc() @@ -183,7 +183,7 @@ func (o *Operator) handleDeploymentEvent(event *Event) error { case kwatch.Deleted: depl, ok := o.deployments[apiObject.Name] if !ok { - return errors.WithStack(errors.Newf("unsafe state. deployment (%s) was never created but we received event (%s)", apiObject.Name, event.Type)) + return errors.WithStack(errors.Errorf("unsafe state. deployment (%s) was never created but we received event (%s)", apiObject.Name, event.Type)) } depl.Stop() delete(o.deployments, apiObject.Name) diff --git a/pkg/operator/operator_deployment_replication.go b/pkg/operator/operator_deployment_replication.go index f4df2cff6..64b941839 100644 --- a/pkg/operator/operator_deployment_replication.go +++ b/pkg/operator/operator_deployment_replication.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -148,13 +148,13 @@ func (o *Operator) handleDeploymentReplicationEvent(event *Event) error { delete(o.deploymentReplications, apiObject.Name) return nil } - return errors.WithStack(errors.Newf("ignore failed deployment replication (%s). Please delete its CR", apiObject.Name)) + return errors.WithStack(errors.Errorf("ignore failed deployment replication (%s). Please delete its CR", apiObject.Name)) } switch event.Type { case kwatch.Added: if _, ok := o.deploymentReplications[apiObject.Name]; ok { - return errors.WithStack(errors.Newf("unsafe state. deployment replication (%s) was created before but we received event (%s)", apiObject.Name, event.Type)) + return errors.WithStack(errors.Errorf("unsafe state. deployment replication (%s) was created before but we received event (%s)", apiObject.Name, event.Type)) } // Fill in defaults @@ -167,7 +167,7 @@ func (o *Operator) handleDeploymentReplicationEvent(event *Event) error { cfg, deps := o.makeDeploymentReplicationConfigAndDeps() nc, err := replication.New(cfg, deps, apiObject) if err != nil { - return errors.WithStack(errors.Newf("failed to create deployment: %s", err)) + return errors.WithStack(errors.Errorf("failed to create deployment: %s", err)) } o.deploymentReplications[apiObject.Name] = nc @@ -177,7 +177,7 @@ func (o *Operator) handleDeploymentReplicationEvent(event *Event) error { case kwatch.Modified: repl, ok := o.deploymentReplications[apiObject.Name] if !ok { - return errors.WithStack(errors.Newf("unsafe state. deployment replication (%s) was never created but we received event (%s)", apiObject.Name, event.Type)) + return errors.WithStack(errors.Errorf("unsafe state. deployment replication (%s) was never created but we received event (%s)", apiObject.Name, event.Type)) } repl.Update(apiObject) deploymentReplicationsModified.Inc() @@ -185,7 +185,7 @@ func (o *Operator) handleDeploymentReplicationEvent(event *Event) error { case kwatch.Deleted: repl, ok := o.deploymentReplications[apiObject.Name] if !ok { - return errors.WithStack(errors.Newf("unsafe state. deployment replication (%s) was never created but we received event (%s)", apiObject.Name, event.Type)) + return errors.WithStack(errors.Errorf("unsafe state. deployment replication (%s) was never created but we received event (%s)", apiObject.Name, event.Type)) } repl.Delete() delete(o.deploymentReplications, apiObject.Name) diff --git a/pkg/operator/operator_local_storage.go b/pkg/operator/operator_local_storage.go index a58f6764c..800b64911 100644 --- a/pkg/operator/operator_local_storage.go +++ b/pkg/operator/operator_local_storage.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -147,7 +147,7 @@ func (o *Operator) handleLocalStorageEvent(event *Event) error { delete(o.localStorages, apiObject.Name) return nil } - return errors.WithStack(errors.Newf("ignore failed local storage (%s). Please delete its CR", apiObject.Name)) + return errors.WithStack(errors.Errorf("ignore failed local storage (%s). Please delete its CR", apiObject.Name)) } // Fill in defaults @@ -160,13 +160,13 @@ func (o *Operator) handleLocalStorageEvent(event *Event) error { switch event.Type { case kwatch.Added: if _, ok := o.localStorages[apiObject.Name]; ok { - return errors.WithStack(errors.Newf("unsafe state. local storage (%s) was created before but we received event (%s)", apiObject.Name, event.Type)) + return errors.WithStack(errors.Errorf("unsafe state. local storage (%s) was created before but we received event (%s)", apiObject.Name, event.Type)) } cfg, deps := o.makeLocalStorageConfigAndDeps() stg, err := storage.New(cfg, deps, apiObject) if err != nil { - return errors.WithStack(errors.Newf("failed to create local storage: %s", err)) + return errors.WithStack(errors.Errorf("failed to create local storage: %s", err)) } o.localStorages[apiObject.Name] = stg @@ -176,7 +176,7 @@ func (o *Operator) handleLocalStorageEvent(event *Event) error { case kwatch.Modified: stg, ok := o.localStorages[apiObject.Name] if !ok { - return errors.WithStack(errors.Newf("unsafe state. local storage (%s) was never created but we received event (%s)", apiObject.Name, event.Type)) + return errors.WithStack(errors.Errorf("unsafe state. local storage (%s) was never created but we received event (%s)", apiObject.Name, event.Type)) } stg.Update(apiObject) localStoragesModified.Inc() @@ -184,7 +184,7 @@ func (o *Operator) handleLocalStorageEvent(event *Event) error { case kwatch.Deleted: stg, ok := o.localStorages[apiObject.Name] if !ok { - return errors.WithStack(errors.Newf("unsafe state. local storage (%s) was never created but we received event (%s)", apiObject.Name, event.Type)) + return errors.WithStack(errors.Errorf("unsafe state. local storage (%s) was never created but we received event (%s)", apiObject.Name, event.Type)) } stg.Delete() delete(o.localStorages, apiObject.Name) diff --git a/pkg/operatorV2/operation/item.go b/pkg/operatorV2/operation/item.go index 78da7c123..546a8b4b5 100644 --- a/pkg/operatorV2/operation/item.go +++ b/pkg/operatorV2/operation/item.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -51,7 +51,7 @@ func NewItemFromString(itemString string) (Item, error) { parts := strings.Split(itemString, "/") if len(parts) != 6 { - return Item{}, errors.Newf("expected 6 parts in %s, got %d", itemString, len(parts)) + return Item{}, errors.Errorf("expected 6 parts in %s, got %d", itemString, len(parts)) } return NewItem(Operation(parts[0]), parts[1], parts[2], parts[3], parts[4], parts[5]) @@ -94,11 +94,11 @@ type Item struct { func validateField(name, value string, allowEmpty bool) error { if !allowEmpty && value == "" { - return errors.Newf(emptyError, name) + return errors.Errorf(emptyError, name) } if index := strings.Index(value, separator); index != -1 { - return errors.Newf(invalidCharacterError, separator, name) + return errors.Errorf(invalidCharacterError, separator, name) } return nil diff --git a/pkg/operatorV2/operator.go b/pkg/operatorV2/operator.go index 4010a5851..a192a69f9 100644 --- a/pkg/operatorV2/operator.go +++ b/pkg/operatorV2/operator.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -109,7 +109,7 @@ func (o *operator) ProcessItem(item operation.Item) error { defer o.lock.Unlock() if !o.started { - return errors.Newf("operator is not started started") + return errors.Errorf("operator is not started started") } } @@ -121,12 +121,12 @@ func (o *operator) RegisterHandler(handler Handler) error { defer o.lock.Unlock() if o.started { - return errors.Newf("operator already started") + return errors.Errorf("operator already started") } for _, registeredHandlers := range o.handlers { if registeredHandlers == handler { - return errors.Newf("handler already registered") + return errors.Errorf("handler already registered") } } @@ -140,12 +140,12 @@ func (o *operator) RegisterStarter(starter Starter) error { defer o.lock.Unlock() if o.started { - return errors.Newf("operator already started") + return errors.Errorf("operator already started") } for _, registeredStarter := range o.starters { if registeredStarter == starter { - return errors.Newf("starter already registered") + return errors.Errorf("starter already registered") } } @@ -163,12 +163,12 @@ func (o *operator) RegisterInformer(informer cache.SharedIndexInformer, group, v defer o.lock.Unlock() if o.started { - return errors.Newf("operator already started") + return errors.Errorf("operator already started") } for _, registeredInformer := range o.informers { if registeredInformer == informer { - return errors.Newf("informer already registered") + return errors.Errorf("informer already registered") } } @@ -184,7 +184,7 @@ func (o *operator) Start(threadiness int, stopCh <-chan struct{}) error { defer o.lock.Unlock() if o.started { - return errors.Newf("operator already started") + return errors.Errorf("operator already started") } o.started = true @@ -227,7 +227,7 @@ func (o *operator) waitForCacheSync(stopCh <-chan struct{}) error { } if ok := cache.WaitForCacheSync(stopCh, cacheSync...); !ok { - return errors.Newf("cache can not sync") + return errors.Errorf("cache can not sync") } return nil diff --git a/pkg/operatorV2/operator_worker.go b/pkg/operatorV2/operator_worker.go index 99b1febf5..83913e7da 100644 --- a/pkg/operatorV2/operator_worker.go +++ b/pkg/operatorV2/operator_worker.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -112,7 +112,7 @@ func (o *operator) processObject(obj interface{}) error { if !IsReconcile(err) { message := fmt.Sprintf("error syncing '%s': %s, re-queuing", key, err.Error()) loggerWorker.Debug(message) - return errors.Newf(message) + return errors.Errorf(message) } return nil diff --git a/pkg/operatorV2/update.go b/pkg/operatorV2/update.go index 3e55ac15e..cdc16f54e 100644 --- a/pkg/operatorV2/update.go +++ b/pkg/operatorV2/update.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -65,7 +65,7 @@ func WithUpdateStatusInterfaceRetry[S interface{}, T Object[S]](ctx context.Cont } } - return util.Default[T](), errors.Newf("Unable to save Object %s/%s, retries exceeded", obj.GetNamespace(), obj.GetName()) + return util.Default[T](), errors.Errorf("Unable to save Object %s/%s, retries exceeded", obj.GetNamespace(), obj.GetName()) } func WithUpdateStatusInterface[S interface{}, T Object[S]](ctx context.Context, client UpdateStatusInterface[S, T], obj T, status S, opts meta.UpdateOptions) (T, error) { diff --git a/pkg/replication/deployment_replication.go b/pkg/replication/deployment_replication.go index 0f2f9a2c1..ea217d242 100644 --- a/pkg/replication/deployment_replication.go +++ b/pkg/replication/deployment_replication.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -238,7 +238,7 @@ func (dr *DeploymentReplication) handleArangoDeploymentReplicationUpdatedEvent(e // Save updated spec if err := dr.updateCRSpec(newAPIObject.Spec); err != nil { - return errors.WithStack(errors.Newf("failed to update ArangoDeploymentReplication spec: %v", err)) + return errors.WithStack(errors.Errorf("failed to update ArangoDeploymentReplication spec: %v", err)) } // Trigger inspect @@ -292,7 +292,7 @@ func (dr *DeploymentReplication) updateCRStatus() error { } if err != nil { log.Err(err).Debug("failed to patch ArangoDeploymentReplication status") - return errors.WithStack(errors.Newf("failed to patch ArangoDeploymentReplication status: %v", err)) + return errors.WithStack(errors.Errorf("failed to patch ArangoDeploymentReplication status: %v", err)) } } } @@ -329,7 +329,7 @@ func (dr *DeploymentReplication) updateCRSpec(newSpec api.DeploymentReplicationS } if err != nil { log.Err(err).Debug("failed to patch ArangoDeploymentReplication spec") - return errors.WithStack(errors.Newf("failed to patch ArangoDeploymentReplication spec: %v", err)) + return errors.WithStack(errors.Errorf("failed to patch ArangoDeploymentReplication spec: %v", err)) } } } @@ -388,7 +388,7 @@ func (dr *DeploymentReplication) reportFailedStatus() { return errors.WithStack(err) } dr.apiObject = depl - return errors.WithStack(errors.Newf("retry needed")) + return errors.WithStack(errors.Errorf("retry needed")) } retry.Retry(op, time.Hour*24*365) diff --git a/pkg/replication/finalizers.go b/pkg/replication/finalizers.go index 4dc25ae25..028075a0b 100644 --- a/pkg/replication/finalizers.go +++ b/pkg/replication/finalizers.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -140,7 +140,7 @@ func (dr *DeploymentReplication) inspectFinalizerDeplReplStopSync(ctx context.Co return errors.WithStack(err) }*/ //sourceClient.Master().C - return false, errors.WithStack(errors.Newf("TODO")) + return false, errors.WithStack(errors.Errorf("TODO")) } // Destination still exists, stop/abort sync. diff --git a/pkg/server/auth.go b/pkg/server/auth.go index 7b6d342c5..2fbe8e454 100644 --- a/pkg/server/auth.go +++ b/pkg/server/auth.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -95,7 +95,7 @@ func newServerAuthentication(secrets typedCore.SecretInterface, adminSecretName // Returns username, password, error func (s *serverAuthentication) fetchAdminSecret() (string, string, error) { if s.adminSecretName == "" { - return "", "", errors.WithStack(errors.Newf("No admin secret name specified")) + return "", "", errors.WithStack(errors.Errorf("No admin secret name specified")) } secret, err := s.secrets.Get(context.Background(), s.adminSecretName, meta.GetOptions{}) if err != nil { @@ -103,12 +103,12 @@ func (s *serverAuthentication) fetchAdminSecret() (string, string, error) { } var username, password string if raw, found := secret.Data[core.BasicAuthUsernameKey]; !found { - return "", "", errors.WithStack(errors.Newf("Secret '%s' contains no '%s' field", s.adminSecretName, core.BasicAuthUsernameKey)) + return "", "", errors.WithStack(errors.Errorf("Secret '%s' contains no '%s' field", s.adminSecretName, core.BasicAuthUsernameKey)) } else { username = string(raw) } if raw, found := secret.Data[core.BasicAuthPasswordKey]; !found { - return "", "", errors.WithStack(errors.Newf("Secret '%s' contains no '%s' field", s.adminSecretName, core.BasicAuthPasswordKey)) + return "", "", errors.WithStack(errors.Errorf("Secret '%s' contains no '%s' field", s.adminSecretName, core.BasicAuthPasswordKey)) } else { password = string(raw) } diff --git a/pkg/server/server.go b/pkg/server/server.go index 40fd1ca43..faa396897 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -113,11 +113,11 @@ func NewServer(cli typedCore.CoreV1Interface, cfg Config, deps Dependencies) (*S } certBytes, found := s.Data[core.TLSCertKey] if !found { - return nil, errors.WithStack(errors.Newf("No %s found in secret %s", core.TLSCertKey, cfg.TLSSecretName)) + return nil, errors.WithStack(errors.Errorf("No %s found in secret %s", core.TLSCertKey, cfg.TLSSecretName)) } keyBytes, found := s.Data[core.TLSPrivateKeyKey] if !found { - return nil, errors.WithStack(errors.Newf("No %s found in secret %s", core.TLSPrivateKeyKey, cfg.TLSSecretName)) + return nil, errors.WithStack(errors.Errorf("No %s found in secret %s", core.TLSPrivateKeyKey, cfg.TLSSecretName)) } cert = string(certBytes) key = string(keyBytes) diff --git a/pkg/storage/clients.go b/pkg/storage/clients.go index 5a06b8633..64031bc54 100644 --- a/pkg/storage/clients.go +++ b/pkg/storage/clients.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -114,5 +114,5 @@ func (ls *LocalStorage) GetClientByNodeName(ctx context.Context, nodeName string return c, nil } - return nil, errors.WithStack(errors.Newf("No client found for node name '%s'", nodeName)) + return nil, errors.WithStack(errors.Errorf("No client found for node name '%s'", nodeName)) } diff --git a/pkg/storage/daemon_set.go b/pkg/storage/daemon_set.go index 14360a0b0..b180eaf33 100644 --- a/pkg/storage/daemon_set.go +++ b/pkg/storage/daemon_set.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -159,7 +159,7 @@ func (ls *LocalStorage) ensureDaemonSet(apiObject *api.ArangoLocalStorage) error continue } else if err != nil { ls.log.Err(err).Debug("failed to patch DaemonSet spec") - return errors.WithStack(errors.Newf("failed to patch DaemonSet spec: %v", err)) + return errors.WithStack(errors.Errorf("failed to patch DaemonSet spec: %v", err)) } else { // Update was a success ls.log.Debug("Updated DaemonSet") diff --git a/pkg/storage/local_storage.go b/pkg/storage/local_storage.go index 3b498d9a2..eed3f9812 100644 --- a/pkg/storage/local_storage.go +++ b/pkg/storage/local_storage.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -334,7 +334,7 @@ func (ls *LocalStorage) handleArangoLocalStorageUpdatedEvent(event *localStorage // Save updated spec if err := ls.updateCRSpec(newAPIObject.Spec); err != nil { - return errors.WithStack(errors.Newf("failed to update ArangoLocalStorage spec: %v", err)) + return errors.WithStack(errors.Errorf("failed to update ArangoLocalStorage spec: %v", err)) } // Trigger inspect @@ -380,7 +380,7 @@ func (ls *LocalStorage) updateCRStatus() error { } if err != nil { ls.log.Err(err).Debug("failed to patch ArangoLocalStorage status") - return errors.WithStack(errors.Newf("failed to patch ArangoLocalStorage status: %v", err)) + return errors.WithStack(errors.Errorf("failed to patch ArangoLocalStorage status: %v", err)) } } } @@ -414,7 +414,7 @@ func (ls *LocalStorage) updateCRSpec(newSpec api.LocalStorageSpec) error { } if err != nil { ls.log.Err(err).Debug("failed to patch ArangoLocalStorage spec") - return errors.WithStack(errors.Newf("failed to patch ArangoLocalStorage spec: %v", err)) + return errors.WithStack(errors.Errorf("failed to patch ArangoLocalStorage spec: %v", err)) } } } @@ -457,7 +457,7 @@ func (ls *LocalStorage) reportFailedStatus() { return errors.WithStack(err) } ls.apiObject = depl - return errors.WithStack(errors.Newf("retry needed")) + return errors.WithStack(errors.Errorf("retry needed")) } retry.Retry(op, time.Hour*24*365) diff --git a/pkg/storage/provisioner/client/client.go b/pkg/storage/provisioner/client/client.go index e98fcb619..a5e3ead39 100644 --- a/pkg/storage/provisioner/client/client.go +++ b/pkg/storage/provisioner/client/client.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -184,7 +184,7 @@ func (c *client) do(ctx context.Context, req *http.Request, result interface{}) if err := provisioner.ParseResponseError(resp, body); err != nil { return errors.WithStack(err) } - return errors.WithStack(errors.Newf("Invalid status %d", statusCode)) + return errors.WithStack(errors.Errorf("Invalid status %d", statusCode)) } // Got a success status diff --git a/pkg/storage/provisioner/mocks/provisioner.go b/pkg/storage/provisioner/mocks/provisioner.go index dc3597955..f7185eb09 100644 --- a/pkg/storage/provisioner/mocks/provisioner.go +++ b/pkg/storage/provisioner/mocks/provisioner.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -77,7 +77,7 @@ func (m *provisionerMock) GetInfo(ctx context.Context, localPath string) (provis // Prepare a volume at the given local path func (m *provisionerMock) Prepare(ctx context.Context, localPath string) error { if _, found := m.localPaths[localPath]; found { - return errors.Newf("Path already exists: %s", localPath) + return errors.Errorf("Path already exists: %s", localPath) } m.localPaths[localPath] = struct{}{} return nil @@ -86,7 +86,7 @@ func (m *provisionerMock) Prepare(ctx context.Context, localPath string) error { // Remove a volume with the given local path func (m *provisionerMock) Remove(ctx context.Context, localPath string) error { if _, found := m.localPaths[localPath]; !found { - return errors.Newf("Path not found: %s", localPath) + return errors.Errorf("Path not found: %s", localPath) } delete(m.localPaths, localPath) return nil diff --git a/pkg/storage/pv_cleanup.go b/pkg/storage/pv_cleanup.go index b4bb8c75e..d33a3651d 100644 --- a/pkg/storage/pv_cleanup.go +++ b/pkg/storage/pv_cleanup.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -139,14 +139,14 @@ func (c *pvCleaner) clean(pv core.PersistentVolume) error { // Find local path localSource := pv.Spec.PersistentVolumeSource.Local if localSource == nil { - return errors.WithStack(errors.Newf("PersistentVolume has no local source")) + return errors.WithStack(errors.Errorf("PersistentVolume has no local source")) } localPath := localSource.Path // Find client that serves the node nodeName := pv.GetAnnotations()[nodeNameAnnotation] if nodeName == "" { - return errors.WithStack(errors.Newf("PersistentVolume has no node-name annotation")) + return errors.WithStack(errors.Errorf("PersistentVolume has no node-name annotation")) } client, err := c.clientGetter(context.Background(), nodeName) if err != nil { diff --git a/pkg/storage/pv_creator.go b/pkg/storage/pv_creator.go index fe2377ab4..de6c4a205 100644 --- a/pkg/storage/pv_creator.go +++ b/pkg/storage/pv_creator.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -85,7 +85,7 @@ func (ls *LocalStorage) createPVs(ctx context.Context, apiObject *api.ArangoLoca } if len(clients) == 0 { // No provisioners available - return false, errors.WithStack(errors.Newf("No ready provisioner endpoints found")) + return false, errors.WithStack(errors.Errorf("No ready provisioner endpoints found")) } for i, claim := range unboundClaims { @@ -267,7 +267,7 @@ func (ls *LocalStorage) createPV(ctx context.Context, apiObject *api.ArangoLocal return nil } } - return errors.WithStack(errors.Newf("No more nodes available")) + return errors.WithStack(errors.Errorf("No more nodes available")) } // createValidEndpointList convers the given endpoints list into @@ -360,7 +360,7 @@ func (ls *LocalStorage) bindClaimToVolume(claim core.PersistentVolumeClaim, volu log.Info("PersistentVolumeClaim already bound to PersistentVolume") return nil } - return errors.WithStack(errors.Newf("PersistentVolumeClaim '%s' no longer needs a volume", claim.GetName())) + return errors.WithStack(errors.Errorf("PersistentVolumeClaim '%s' no longer needs a volume", claim.GetName())) } // Try to bind @@ -376,7 +376,7 @@ func (ls *LocalStorage) bindClaimToVolume(claim core.PersistentVolumeClaim, volu return nil } log.Error("All attempts to bind PVC to volume failed") - return errors.WithStack(errors.Newf("All attempts to bind PVC to volume failed")) + return errors.WithStack(errors.Errorf("All attempts to bind PVC to volume failed")) } // shortHash creates a 6 letter hash of the given name. diff --git a/pkg/storage/pv_inspector.go b/pkg/storage/pv_inspector.go index 6127d6d5f..5d42d1a17 100644 --- a/pkg/storage/pv_inspector.go +++ b/pkg/storage/pv_inspector.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -169,14 +169,14 @@ func (ls *LocalStorage) removePVFinalizerPersistentVolumeCleanup(pv *core.Persis // Find local path localSource := pv.Spec.PersistentVolumeSource.Local if localSource == nil { - return errors.WithStack(errors.Newf("PersistentVolume has no local source")) + return errors.WithStack(errors.Errorf("PersistentVolume has no local source")) } localPath := localSource.Path // Find client that serves the node nodeName := pv.GetAnnotations()[nodeNameAnnotation] if nodeName == "" { - return errors.WithStack(errors.Newf("PersistentVolume has no node-name annotation")) + return errors.WithStack(errors.Errorf("PersistentVolume has no node-name annotation")) } client, err := ls.GetClientByNodeName(context.Background(), nodeName) if err != nil { diff --git a/pkg/upgrade/upgrade.go b/pkg/upgrade/upgrade.go index f3d1a553a..b62666da3 100644 --- a/pkg/upgrade/upgrade.go +++ b/pkg/upgrade/upgrade.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,9 +24,8 @@ import ( "sort" "sync" - "github.com/pkg/errors" - api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1" + "github.com/arangodb/kube-arangodb/pkg/util/errors" "github.com/arangodb/kube-arangodb/pkg/util/k8sutil/interfaces" ) diff --git a/pkg/util/arangod/client.go b/pkg/util/arangod/client.go index 6819d757a..27b221a3b 100644 --- a/pkg/util/arangod/client.go +++ b/pkg/util/arangod/client.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -224,7 +224,7 @@ func createArangodClientAuthentication(ctx context.Context, cli typedCore.CoreV1 // Authentication is not enabled. if ctx.Value(requireAuthenticationKey{}) != nil { // Context requires authentication - return nil, errors.WithStack(errors.Newf("Authentication is required by context, but not provided in API object")) + return nil, errors.WithStack(errors.Errorf("Authentication is required by context, but not provided in API object")) } } return nil, nil diff --git a/pkg/util/arangod/dbserver.go b/pkg/util/arangod/dbserver.go index 0681576c8..cc003dc34 100644 --- a/pkg/util/arangod/dbserver.go +++ b/pkg/util/arangod/dbserver.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -68,7 +68,7 @@ func IsDBServerEmpty(ctx context.Context, id string, client driver.Client) error for _, serverID := range serverIDs { if string(serverID) == id { // DBServer still used in this shard - return errors.WithStack(errors.Newf("DBServer still used in shard %s of %s.%s", shardID, col.Parameters.Name, db.Name())) + return errors.WithStack(errors.Errorf("DBServer still used in shard %s of %s.%s", shardID, col.Parameters.Name, db.Name())) } } } diff --git a/pkg/util/crd/crd.go b/pkg/util/crd/crd.go index 13d72f51f..9033a2e8d 100644 --- a/pkg/util/crd/crd.go +++ b/pkg/util/crd/crd.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -55,11 +55,11 @@ func WaitCRDReady(clientset apiextensionsclient.Interface, crdName string) error } case apiextensionsv1.NamesAccepted: if cond.Status == apiextensionsv1.ConditionFalse { - return errors.WithStack(errors.Newf("Name conflict: %v", cond.Reason)) + return errors.WithStack(errors.Errorf("Name conflict: %v", cond.Reason)) } } } - return errors.WithStack(errors.Newf("Retry needed")) + return errors.WithStack(errors.Errorf("Retry needed")) } return WaitReady(op) } diff --git a/pkg/util/errors/errors.go b/pkg/util/errors/errors.go index 7afc44fc2..fd249da1c 100644 --- a/pkg/util/errors/errors.go +++ b/pkg/util/errors/errors.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,36 +22,29 @@ package errors import ( "context" - "fmt" "io" "net" "net/url" "os" "syscall" - errs "github.com/pkg/errors" + "github.com/pkg/errors" driver "github.com/arangodb/go-driver" "github.com/arangodb/kube-arangodb/pkg/logging" ) -var ( - Cause = errs.Cause - New = errs.New - WithStack = errs.WithStack - Wrap = errs.Wrap - Wrapf = errs.Wrapf - WithMessage = errs.WithMessage - WithMessagef = errs.WithMessagef -) +func Cause(err error) error { + return errors.Cause(err) +} // CauseWithNil returns Cause of an error. // If error returned by Cause is same (no Causer interface implemented), function will return nil instead func CauseWithNil(err error) error { if nerr := Cause(err); err == nil { return nil - } else if nerr == err { + } else if errors.Is(nerr, err) { // Cause returns same error if error object does not implement Causer interface // To prevent infinite loops in usage CauseWithNil will return nil in this case return nil @@ -60,10 +53,38 @@ func CauseWithNil(err error) error { } } -func Newf(format string, args ...interface{}) error { - return New(fmt.Sprintf(format, args...)) +func New(message string) error { + return errors.New(message) +} + +func Errorf(format string, args ...interface{}) error { + return errors.Errorf(format, args...) +} + +func WithStack(err error) error { + return errors.WithStack(err) +} + +func Wrap(err error, message string) error { + return errors.Wrap(err, message) } +func Wrapf(err error, format string, args ...interface{}) error { + return errors.Wrapf(err, format, args...) +} + +func WithMessage(err error, message string) error { + return errors.WithMessage(err, message) +} + +func WithMessagef(err error, format string, args ...interface{}) error { + return errors.WithMessagef(err, format, args...) +} + +func Is(err, target error) bool { return errors.Is(err, target) } + +func As(err error, target interface{}) bool { return errors.As(err, target) } + type timeout interface { Timeout() bool } @@ -73,7 +94,7 @@ func IsTimeout(err error) bool { if err == nil { return false } - if t, ok := errs.Cause(err).(timeout); ok { + if t, ok := errors.Cause(err).(timeout); ok { return t.Timeout() } return false @@ -88,7 +109,7 @@ func IsTemporary(err error) bool { if err == nil { return false } - if t, ok := errs.Cause(err).(temporary); ok { + if t, ok := errors.Cause(err).(temporary); ok { return t.Temporary() } return false @@ -96,7 +117,7 @@ func IsTemporary(err error) bool { // IsEOF returns true if the given error is caused by an EOF error. func IsEOF(err error) bool { - err = errs.Cause(err) + err = errors.Cause(err) if err == io.EOF { return true } @@ -108,7 +129,7 @@ func IsEOF(err error) bool { // IsConnectionRefused returns true if the given error is caused by an "connection refused" error. func IsConnectionRefused(err error) bool { - err = errs.Cause(err) + err = errors.Cause(err) if err, ok := err.(syscall.Errno); ok { return err == syscall.ECONNREFUSED } @@ -120,7 +141,7 @@ func IsConnectionRefused(err error) bool { // IsConnectionReset returns true if the given error is caused by an "connection reset by peer" error. func IsConnectionReset(err error) bool { - err = errs.Cause(err) + err = errors.Cause(err) if err, ok := err.(syscall.Errno); ok { return err == syscall.ECONNRESET } @@ -132,7 +153,7 @@ func IsConnectionReset(err error) bool { // IsContextCanceled returns true if the given error is caused by a context cancelation. func IsContextCanceled(err error) bool { - err = errs.Cause(err) + err = errors.Cause(err) if err == context.Canceled { return true } @@ -144,7 +165,7 @@ func IsContextCanceled(err error) bool { // IsContextDeadlineExpired returns true if the given error is caused by a context deadline expiration. func IsContextDeadlineExpired(err error) bool { - err = errs.Cause(err) + err = errors.Cause(err) if err == context.DeadlineExceeded { return true } @@ -157,7 +178,7 @@ func IsContextDeadlineExpired(err error) bool { // IsContextCanceledOrExpired returns true if the given error is caused by a context cancelation // or deadline expiration. func IsContextCanceledOrExpired(err error) bool { - err = errs.Cause(err) + err = errors.Cause(err) if err == context.Canceled || err == context.DeadlineExceeded { return true } diff --git a/pkg/util/errors/section.go b/pkg/util/errors/section.go index d8d403509..362f84c6c 100644 --- a/pkg/util/errors/section.go +++ b/pkg/util/errors/section.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,8 +20,6 @@ package errors -import "github.com/pkg/errors" - func Section(cause error, format string, args ...interface{}) error { - return errors.Wrapf(cause, format, args...) + return Wrapf(cause, format, args...) } diff --git a/pkg/util/http/server.go b/pkg/util/http/server.go index 85167c273..1842f4659 100644 --- a/pkg/util/http/server.go +++ b/pkg/util/http/server.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,11 +22,12 @@ package http import ( "crypto/tls" - "errors" "net/http" "sync" "github.com/arangodb-helper/go-certificates" + + "github.com/arangodb/kube-arangodb/pkg/util/errors" ) func NewServer(server *http.Server) PlainServer { diff --git a/pkg/util/k8sutil/helpers/service_account.go b/pkg/util/k8sutil/helpers/service_account.go index 8dcbb6a5f..c67622725 100644 --- a/pkg/util/k8sutil/helpers/service_account.go +++ b/pkg/util/k8sutil/helpers/service_account.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -42,7 +42,7 @@ import ( func EnsureServiceAccount(ctx context.Context, client kubernetes.Interface, owner meta.OwnerReference, obj *sharedApi.ServiceAccount, name, namespace string, role, clusterRole []rbac.PolicyRule) (bool, error) { if obj == nil { - return false, errors.Newf("Object reference cannot be nil") + return false, errors.Errorf("Object reference cannot be nil") } // Check if secret exists diff --git a/pkg/util/k8sutil/images.go b/pkg/util/k8sutil/images.go index c9eb12159..1de38fd4b 100644 --- a/pkg/util/k8sutil/images.go +++ b/pkg/util/k8sutil/images.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -79,7 +79,7 @@ func GetImageDetails(images ...*sharedApi.Image) *sharedApi.Image { // InjectImageDetails injects image details into the Pod definition func InjectImageDetails(image *sharedApi.Image, pod *core.PodTemplateSpec, containers ...*core.Container) error { if image == nil { - return errors.Newf("Image not found") + return errors.Errorf("Image not found") } else if err := image.Validate(); err != nil { return errors.Wrapf(err, "Unable to validate image") } diff --git a/pkg/util/k8sutil/kerrors/errors_test.go b/pkg/util/k8sutil/kerrors/errors_test.go index ae5a4c81e..138e38747 100644 --- a/pkg/util/k8sutil/kerrors/errors_test.go +++ b/pkg/util/k8sutil/kerrors/errors_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ var ( existsError = apierrors.NewAlreadyExists(schema.GroupResource{Group: "groupName", Resource: "resourceName"}, "something") invalidError = apierrors.NewInvalid(schema.GroupKind{Group: "groupName", Kind: "kindName"}, "something", field.ErrorList{}) notFoundError = apierrors.NewNotFound(schema.GroupResource{Group: "groupName", Resource: "resourceName"}, "something") - forbiddenError = apierrors.NewForbidden(schema.GroupResource{Group: "groupName", Resource: "resourceName"}, "something", errors.Newf("error")) + forbiddenError = apierrors.NewForbidden(schema.GroupResource{Group: "groupName", Resource: "resourceName"}, "something", errors.Errorf("error")) ) func TestIsAlreadyExists(t *testing.T) { diff --git a/pkg/util/k8sutil/license.go b/pkg/util/k8sutil/license.go index af71c8c56..e967e2be7 100644 --- a/pkg/util/k8sutil/license.go +++ b/pkg/util/k8sutil/license.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -48,7 +48,7 @@ type LicenseSecret struct { func GetLicenseFromSecret(secret secret.Inspector, name string) (LicenseSecret, error) { s, ok := secret.Secret().V1().GetSimple(name) if !ok { - return LicenseSecret{}, errors.Newf("Secret %s not found", name) + return LicenseSecret{}, errors.Errorf("Secret %s not found", name) } var l LicenseSecret @@ -72,7 +72,7 @@ func GetLicenseFromSecret(secret secret.Inspector, name string) (LicenseSecret, l.V2 = License(v2) } } else { - return LicenseSecret{}, errors.Newf("Key (%s, %s or %s) is missing in the license secret (%s)", + return LicenseSecret{}, errors.Errorf("Key (%s, %s or %s) is missing in the license secret (%s)", constants.SecretKeyToken, constants.SecretKeyV2License, constants.SecretKeyV2Token, name) } diff --git a/pkg/util/k8sutil/secrets.go b/pkg/util/k8sutil/secrets.go index d6f5d64b4..6bb4a5c91 100644 --- a/pkg/util/k8sutil/secrets.go +++ b/pkg/util/k8sutil/secrets.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -51,10 +51,10 @@ func ValidateEncryptionKeyFromSecret(s *core.Secret) error { // Check `key` field keyData, found := s.Data[constants.SecretEncryptionKey] if !found { - return errors.WithStack(errors.Newf("No '%s' found in secret '%s'", constants.SecretEncryptionKey, s.GetName())) + return errors.WithStack(errors.Errorf("No '%s' found in secret '%s'", constants.SecretEncryptionKey, s.GetName())) } if len(keyData) != 32 { - return errors.WithStack(errors.Newf("'%s' in secret '%s' is expected to be 32 bytes long, found %d", constants.SecretEncryptionKey, s.GetName(), len(keyData))) + return errors.WithStack(errors.Errorf("'%s' in secret '%s' is expected to be 32 bytes long, found %d", constants.SecretEncryptionKey, s.GetName(), len(keyData))) } return nil } @@ -62,7 +62,7 @@ func ValidateEncryptionKeyFromSecret(s *core.Secret) error { // CreateEncryptionKeySecret creates a secret used to store a RocksDB encryption key. func CreateEncryptionKeySecret(secrets secretv1.ModInterface, secretName string, key []byte) error { if len(key) != 32 { - return errors.WithStack(errors.Newf("Key in secret '%s' is expected to be 32 bytes long, got %d", secretName, len(key))) + return errors.WithStack(errors.Errorf("Key in secret '%s' is expected to be 32 bytes long, got %d", secretName, len(key))) } // Create secret secret := &core.Secret{ @@ -90,7 +90,7 @@ func ValidateCACertificateSecret(ctx context.Context, secrets secretv1.ReadInter // Check `ca.crt` field _, found := s.Data[constants.SecretCACertificate] if !found { - return errors.WithStack(errors.Newf("No '%s' found in secret '%s'", constants.SecretCACertificate, secretName)) + return errors.WithStack(errors.Errorf("No '%s' found in secret '%s'", constants.SecretCACertificate, secretName)) } return nil } @@ -111,7 +111,7 @@ func GetCACertficateSecret(ctx context.Context, secrets secretv1.ReadInterface, // Load `ca.crt` field cert, found := s.Data[constants.SecretCACertificate] if !found { - return "", errors.WithStack(errors.Newf("No '%s' found in secret '%s'", constants.SecretCACertificate, secretName)) + return "", errors.WithStack(errors.Errorf("No '%s' found in secret '%s'", constants.SecretCACertificate, secretName)) } return string(cert), nil } @@ -143,11 +143,11 @@ func GetCAFromSecret(s *core.Secret, ownerRef *meta.OwnerReference) (string, str // Load `ca.crt` field cert, found := s.Data[constants.SecretCACertificate] if !found { - return "", "", isOwned, errors.WithStack(errors.Newf("No '%s' found in secret '%s'", constants.SecretCACertificate, s.GetName())) + return "", "", isOwned, errors.WithStack(errors.Errorf("No '%s' found in secret '%s'", constants.SecretCACertificate, s.GetName())) } priv, found := s.Data[constants.SecretCAKey] if !found { - return "", "", isOwned, errors.WithStack(errors.Newf("No '%s' found in secret '%s'", constants.SecretCAKey, s.GetName())) + return "", "", isOwned, errors.WithStack(errors.Errorf("No '%s' found in secret '%s'", constants.SecretCAKey, s.GetName())) } return string(cert), string(priv), isOwned, nil } @@ -155,12 +155,12 @@ func GetCAFromSecret(s *core.Secret, ownerRef *meta.OwnerReference) (string, str func GetKeyCertFromSecret(secret *core.Secret, certName, keyName string) (crypto.Certificates, interface{}, error) { ca, exists := secret.Data[certName] if !exists { - return nil, nil, errors.Newf("Key %s missing in secret", certName) + return nil, nil, errors.Errorf("Key %s missing in secret", certName) } key, exists := secret.Data[keyName] if !exists { - return nil, nil, errors.Newf("Key %s missing in secret", keyName) + return nil, nil, errors.Errorf("Key %s missing in secret", keyName) } cert, keys, err := certificates.LoadFromPEM(string(ca), string(key)) @@ -208,7 +208,7 @@ func GetTLSKeyfileFromSecret(s *core.Secret) (string, error) { // Load `tls.keyfile` field keyfile, found := s.Data[constants.SecretTLSKeyfile] if !found { - return "", errors.WithStack(errors.Newf("No '%s' found in secret '%s'", constants.SecretTLSKeyfile, s.GetName())) + return "", errors.WithStack(errors.Errorf("No '%s' found in secret '%s'", constants.SecretTLSKeyfile, s.GetName())) } return string(keyfile), nil } @@ -249,7 +249,7 @@ func ValidateTokenFromSecret(s *core.Secret) error { // Check `token` field _, found := s.Data[constants.SecretKeyToken] if !found { - return errors.WithStack(errors.Newf("No '%s' found in secret '%s'", constants.SecretKeyToken, s.GetName())) + return errors.WithStack(errors.Errorf("No '%s' found in secret '%s'", constants.SecretKeyToken, s.GetName())) } return nil } @@ -268,7 +268,7 @@ func GetTokenFromSecret(s *core.Secret) (string, error) { // Take the first data from the token key data, found := s.Data[constants.SecretKeyToken] if !found { - return "", errors.WithStack(errors.Newf("No '%s' data found in secret '%s'", constants.SecretKeyToken, s.GetName())) + return "", errors.WithStack(errors.Errorf("No '%s' data found in secret '%s'", constants.SecretKeyToken, s.GetName())) } return string(data), nil } @@ -361,11 +361,11 @@ func GetBasicAuthSecret(secrets secretv1.Interface, secretName string) (string, func GetSecretAuthCredentials(secret *core.Secret) (string, string, error) { username, found := secret.Data[constants.SecretUsername] if !found { - return "", "", errors.WithStack(errors.Newf("No '%s' found in secret '%s'", constants.SecretUsername, secret.Name)) + return "", "", errors.WithStack(errors.Errorf("No '%s' found in secret '%s'", constants.SecretUsername, secret.Name)) } password, found := secret.Data[constants.SecretPassword] if !found { - return "", "", errors.WithStack(errors.Newf("No '%s' found in secret '%s'", constants.SecretPassword, secret.Name)) + return "", "", errors.WithStack(errors.Errorf("No '%s' found in secret '%s'", constants.SecretPassword, secret.Name)) } return string(username), string(password), nil } diff --git a/pkg/util/k8sutil/services.go b/pkg/util/k8sutil/services.go index d38e3f8f6..2d9b84afa 100644 --- a/pkg/util/k8sutil/services.go +++ b/pkg/util/k8sutil/services.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -270,7 +270,7 @@ func CreateServiceURL(svc core.Service, scheme string, portPredicate func(core.S } } if !portFound { - return "", errors.WithStack(errors.Newf("Cannot find port in service '%s.%s'", svc.GetName(), svc.GetNamespace())) + return "", errors.WithStack(errors.Errorf("Cannot find port in service '%s.%s'", svc.GetName(), svc.GetNamespace())) } var host string @@ -297,7 +297,7 @@ func CreateServiceURL(svc core.Service, scheme string, portPredicate func(core.S return "", errors.WithStack(err) } if len(nodeList) == 0 { - return "", errors.WithStack(errors.Newf("No nodes found")) + return "", errors.WithStack(errors.Errorf("No nodes found")) } node := nodeList[util.Rand().Intn(len(nodeList))] if len(node.Status.Addresses) > 0 { @@ -308,10 +308,10 @@ func CreateServiceURL(svc core.Service, scheme string, portPredicate func(core.S host = svc.Spec.ClusterIP } default: - return "", errors.WithStack(errors.Newf("Unknown service type '%s' in service '%s.%s'", svc.Spec.Type, svc.GetName(), svc.GetNamespace())) + return "", errors.WithStack(errors.Errorf("Unknown service type '%s' in service '%s.%s'", svc.Spec.Type, svc.GetName(), svc.GetNamespace())) } if host == "" { - return "", errors.WithStack(errors.Newf("Cannot find host for service '%s.%s'", svc.GetName(), svc.GetNamespace())) + return "", errors.WithStack(errors.Errorf("Cannot find host for service '%s.%s'", svc.GetName(), svc.GetNamespace())) } if !strings.HasSuffix(scheme, "://") { scheme = scheme + "://" diff --git a/pkg/util/kclient/client_factory.go b/pkg/util/kclient/client_factory.go index 4a3a1e224..68b44ca45 100644 --- a/pkg/util/kclient/client_factory.go +++ b/pkg/util/kclient/client_factory.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,13 +24,13 @@ import ( "sync" "github.com/dchest/uniuri" - "github.com/pkg/errors" monitoring "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned" apiextensionsclient "k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset" "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" "github.com/arangodb/kube-arangodb/pkg/generated/clientset/versioned" + "github.com/arangodb/kube-arangodb/pkg/util/errors" ) const ( diff --git a/pkg/util/kclient/helpers/secret.go b/pkg/util/kclient/helpers/secret.go index c82d45751..44b2407c4 100644 --- a/pkg/util/kclient/helpers/secret.go +++ b/pkg/util/kclient/helpers/secret.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,11 +21,11 @@ package helpers import ( - "github.com/pkg/errors" "k8s.io/client-go/rest" "k8s.io/client-go/tools/clientcmd" "github.com/arangodb/kube-arangodb/pkg/util" + "github.com/arangodb/kube-arangodb/pkg/util/errors" "github.com/arangodb/kube-arangodb/pkg/util/k8sutil/inspector/secret" "github.com/arangodb/kube-arangodb/pkg/util/kclient" ) diff --git a/pkg/util/metrics/http_utils_test.go b/pkg/util/metrics/http_utils_test.go index c2dbb6689..1c3d51e51 100644 --- a/pkg/util/metrics/http_utils_test.go +++ b/pkg/util/metrics/http_utils_test.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,6 @@ package metrics import ( - "errors" "fmt" "net" "net/http" @@ -29,6 +28,8 @@ import ( "time" "github.com/stretchr/testify/require" + + "github.com/arangodb/kube-arangodb/pkg/util/errors" ) func StartHTTP(t *testing.T, mux *http.ServeMux) (string, func()) { diff --git a/pkg/util/shutdown/grpc.go b/pkg/util/shutdown/grpc.go index 9123b4fec..04394f37c 100644 --- a/pkg/util/shutdown/grpc.go +++ b/pkg/util/shutdown/grpc.go @@ -24,21 +24,23 @@ import ( "context" "time" + "google.golang.org/grpc" + "github.com/arangodb/kube-arangodb/pkg/api/server" pbShutdown "github.com/arangodb/kube-arangodb/pkg/api/shutdown/v1" + "github.com/arangodb/kube-arangodb/pkg/util/svc" ) -func NewShutdownableShutdownServer() ShutdownableShutdownServer { - return &impl{closer: stop} +func NewGlobalShutdownServer() svc.Handler { + return NewShutdownServer(stop) } -type ShutdownableShutdownServer interface { - pbShutdown.ShutdownServer - - Shutdown(cancelFunc context.CancelFunc) +func NewShutdownServer(closer context.CancelFunc) svc.Handler { + return &impl{closer: closer} } -var _ ShutdownableShutdownServer = &impl{} +var _ pbShutdown.ShutdownServer = &impl{} +var _ svc.Handler = &impl{} type impl struct { pbShutdown.UnimplementedShutdownServer @@ -46,6 +48,18 @@ type impl struct { closer context.CancelFunc } +func (i *impl) Name() string { + return "shutdown" +} + +func (i *impl) Health() svc.HealthState { + return svc.Healthy +} + +func (i *impl) Register(registrar *grpc.Server) { + pbShutdown.RegisterShutdownServer(registrar, i) +} + func (i *impl) ShutdownServer(ctx context.Context, empty *server.Empty) (*server.Empty, error) { go func() { defer i.closer() @@ -55,7 +69,3 @@ func (i *impl) ShutdownServer(ctx context.Context, empty *server.Empty) (*server return &server.Empty{}, nil } - -func (i *impl) Shutdown(cancelFunc context.CancelFunc) { - cancelFunc() -} diff --git a/pkg/util/shutdown/grpc_test.go b/pkg/util/shutdown/grpc_test.go new file mode 100644 index 000000000..349c63393 --- /dev/null +++ b/pkg/util/shutdown/grpc_test.go @@ -0,0 +1,67 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package shutdown + +import ( + "context" + "testing" + "time" + + "github.com/stretchr/testify/require" + + "github.com/arangodb/kube-arangodb/pkg/api/server" + pbShutdown "github.com/arangodb/kube-arangodb/pkg/api/shutdown/v1" + "github.com/arangodb/kube-arangodb/pkg/util/svc" + "github.com/arangodb/kube-arangodb/pkg/util/tests/tgrpc" +) + +func Test_ShutdownGRPC(t *testing.T) { + ctx, c := context.WithCancel(context.Background()) + defer c() + + local := svc.NewService(svc.Configuration{ + Address: "127.0.0.1:0", + }, NewShutdownServer(c)) + + start := local.Start(ctx) + + require.False(t, isContextDone(ctx)) + + client := tgrpc.NewGRPCClient(t, ctx, pbShutdown.NewShutdownClient, start.Address()) + + _, err := client.ShutdownServer(ctx, &server.Empty{}) + require.NoError(t, err) + + time.Sleep(time.Second) + + require.True(t, isContextDone(ctx)) + + require.NoError(t, start.Wait()) +} + +func isContextDone(ctx context.Context) bool { + select { + case <-ctx.Done(): + return true + default: + return false + } +} diff --git a/pkg/util/svc/configuration.go b/pkg/util/svc/configuration.go new file mode 100644 index 000000000..e5f7008b7 --- /dev/null +++ b/pkg/util/svc/configuration.go @@ -0,0 +1,29 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package svc + +import "google.golang.org/grpc" + +type Configuration struct { + Address string + + Options []grpc.ServerOption +} diff --git a/pkg/util/svc/error.go b/pkg/util/svc/error.go new file mode 100644 index 000000000..a7c9ed475 --- /dev/null +++ b/pkg/util/svc/error.go @@ -0,0 +1,47 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package svc + +import "context" + +type serviceError struct { + error +} + +func (p serviceError) StartWithHealth(ctx context.Context, health Health) ServiceStarter { + return p +} + +func (p serviceError) Address() string { + return "" +} + +func (p serviceError) Wait() error { + return p +} + +func (p serviceError) Update(key string, state HealthState) { + +} + +func (p serviceError) Start(ctx context.Context) ServiceStarter { + return p +} diff --git a/pkg/util/svc/grpc.go b/pkg/util/svc/grpc.go deleted file mode 100644 index ae5141784..000000000 --- a/pkg/util/svc/grpc.go +++ /dev/null @@ -1,80 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -package svc - -import ( - "context" - "net" - - "google.golang.org/grpc" -) - -type GRPCConfig struct { - ListenAddress string -} - -type RegisterServerFunc func(server *grpc.Server) - -func NewGRPC(config GRPCConfig, registerFuncs ...RegisterServerFunc) Service { - server := grpc.NewServer( /* currently no auth parameters required */ ) - - for _, fn := range registerFuncs { - fn(server) - } - - return &service{ - cfg: config, - grpcServer: server, - } -} - -type service struct { - grpcServer *grpc.Server - cfg GRPCConfig -} - -func (s *service) Run(ctx context.Context) error { - ln, err := net.Listen("tcp", s.cfg.ListenAddress) - if err != nil { - return err - } - defer ln.Close() - - errChan := make(chan error) - go func() { - if serveErr := s.grpcServer.Serve(ln); serveErr != nil && serveErr != grpc.ErrServerStopped { - errChan <- serveErr - } - }() - - ctx, cancel := context.WithCancel(ctx) - defer cancel() - - select { - case <-ctx.Done(): - s.grpcServer.GracefulStop() - case err = <-errChan: - s.grpcServer.Stop() - close(errChan) - } - - return err -} diff --git a/pkg/util/svc/handler.go b/pkg/util/svc/handler.go new file mode 100644 index 000000000..796a0ebe2 --- /dev/null +++ b/pkg/util/svc/handler.go @@ -0,0 +1,31 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package svc + +import "google.golang.org/grpc" + +type Handler interface { + Name() string + + Health() HealthState + + Register(registrar *grpc.Server) +} diff --git a/pkg/util/svc/health.go b/pkg/util/svc/health.go new file mode 100644 index 000000000..e135b9b54 --- /dev/null +++ b/pkg/util/svc/health.go @@ -0,0 +1,118 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package svc + +import ( + "google.golang.org/grpc" + imHealth "google.golang.org/grpc/health" + pbHealth "google.golang.org/grpc/health/grpc_health_v1" +) + +type HealthState int + +const ( + Unhealthy HealthState = iota + Degraded + Healthy +) + +type HealthType int + +const ( + Readiness HealthType = iota + Liveness + Startup +) + +type Health interface { + Update(key string, state HealthState) +} + +type HealthService interface { + Service + + Health +} + +type emptyHealth struct { +} + +func (e emptyHealth) Update(key string, state HealthState) { + +} + +type health struct { + *service + + t HealthType + *imHealth.Server +} + +func (h *health) Update(key string, state HealthState) { + healthState := pbHealth.HealthCheckResponse_UNKNOWN + + switch h.t { + case Liveness: + switch state { + case Healthy, Degraded: + healthState = pbHealth.HealthCheckResponse_SERVING + case Unhealthy: + healthState = pbHealth.HealthCheckResponse_NOT_SERVING + } + case Startup, Readiness: + switch state { + case Healthy: + healthState = pbHealth.HealthCheckResponse_SERVING + case Degraded, Unhealthy: + healthState = pbHealth.HealthCheckResponse_NOT_SERVING + } + } + + h.SetServingStatus(key, healthState) + h.SetServingStatus("", pbHealth.HealthCheckResponse_SERVING) +} + +func (h *health) Name() string { + return "health" +} + +func (h *health) Health() HealthState { + return Healthy +} + +func (h *health) Register(registrar *grpc.Server) { + pbHealth.RegisterHealthServer(registrar, h) +} + +func NewHealthService(cfg Configuration, t HealthType, handlers ...Handler) HealthService { + health := &health{ + Server: imHealth.NewServer(), + t: t, + } + + var h []Handler + h = append(h, health) + h = append(h, handlers...) + + health.service = newService(cfg, h...) + + return health +} diff --git a/pkg/util/svc/run.go b/pkg/util/svc/run.go new file mode 100644 index 000000000..1ad3991b7 --- /dev/null +++ b/pkg/util/svc/run.go @@ -0,0 +1,33 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package svc + +import "context" + +func Run(ctx context.Context, health HealthService, services ...Service) error { + healthState := health.Start(ctx) + + for _, svc := range services { + svc.StartWithHealth(ctx, health) + } + + return healthState.Wait() +} diff --git a/pkg/util/svc/service.go b/pkg/util/svc/service.go index cfbff08b3..0db469d23 100644 --- a/pkg/util/svc/service.go +++ b/pkg/util/svc/service.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany +// Copyright 2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,40 +22,46 @@ package svc import ( "context" - "sync" - shared "github.com/arangodb/kube-arangodb/pkg/apis/shared" - "github.com/arangodb/kube-arangodb/pkg/util/probe" + "google.golang.org/grpc" ) type Service interface { - Run(ctx context.Context) error + Start(ctx context.Context) ServiceStarter + + StartWithHealth(ctx context.Context, health Health) ServiceStarter } -func RunServices(ctx context.Context, healthService probe.HealthService, services ...Service) error { - if len(services) == 0 { - <-ctx.Done() - return nil - } +type service struct { + server *grpc.Server - errors := make([]error, len(services)) + cfg Configuration - var wg sync.WaitGroup + handlers []Handler +} - for id := range services { - wg.Add(1) +func (p *service) StartWithHealth(ctx context.Context, health Health) ServiceStarter { + return newServiceStarter(ctx, p, health) +} - go func(id int) { - defer wg.Done() +func (p *service) Start(ctx context.Context) ServiceStarter { + return newServiceStarter(ctx, p, emptyHealth{}) +} - errors[id] = services[id].Run(ctx) +func NewService(cfg Configuration, handlers ...Handler) Service { + return newService(cfg, handlers...) +} - healthService.Shutdown() - }(id) - } +func newService(cfg Configuration, handlers ...Handler) *service { + var q service - healthService.SetServing() - wg.Wait() + q.cfg = cfg + q.server = grpc.NewServer(cfg.Options...) + q.handlers = handlers + + for _, handler := range q.handlers { + handler.Register(q.server) + } - return shared.WithErrors(errors...) + return &q } diff --git a/pkg/util/svc/service_test.go b/pkg/util/svc/service_test.go new file mode 100644 index 000000000..dea43dbe0 --- /dev/null +++ b/pkg/util/svc/service_test.go @@ -0,0 +1,72 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package svc + +import ( + "context" + "testing" + + "github.com/stretchr/testify/require" + "google.golang.org/grpc" + "google.golang.org/grpc/credentials/insecure" + pbHealth "google.golang.org/grpc/health/grpc_health_v1" +) + +func Test_Service(t *testing.T) { + h := NewHealthService(Configuration{ + Address: "127.0.0.1:0", + }, Readiness) + + other := NewService(Configuration{ + Address: "127.0.0.1:0", + }) + + ctx, c := context.WithCancel(context.Background()) + defer c() + + st := h.Start(ctx) + + othStart := other.StartWithHealth(ctx, h) + + healthConn, err := grpc.DialContext(ctx, st.Address(), grpc.WithTransportCredentials(insecure.NewCredentials())) + require.NoError(t, err) + + defer healthConn.Close() + + otherConn, err := grpc.DialContext(ctx, othStart.Address(), grpc.WithTransportCredentials(insecure.NewCredentials())) + require.NoError(t, err) + + defer otherConn.Close() + + cl := pbHealth.NewHealthClient(healthConn) + + _, err = cl.Check(context.Background(), &pbHealth.HealthCheckRequest{}) + require.NoError(t, err) + + ol := pbHealth.NewHealthClient(otherConn) + + _, err = ol.Check(context.Background(), &pbHealth.HealthCheckRequest{}) + require.Error(t, err) + + c() + + require.NoError(t, st.Wait()) +} diff --git a/pkg/util/svc/starter.go b/pkg/util/svc/starter.go new file mode 100644 index 000000000..41906dc07 --- /dev/null +++ b/pkg/util/svc/starter.go @@ -0,0 +1,127 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package svc + +import ( + "context" + "fmt" + "net" + "time" + + "google.golang.org/grpc" + + "github.com/arangodb/kube-arangodb/pkg/util/errors" +) + +type ServiceStarter interface { + Wait() error + + Address() string +} + +type serviceStarter struct { + service *service + + address string + + error error + done chan struct{} +} + +func (s *serviceStarter) Address() string { + return s.address +} + +func (s *serviceStarter) Wait() error { + <-s.done + + return s.error +} + +func (s *serviceStarter) run(ctx context.Context, health Health, ln net.Listener) { + defer close(s.done) + + s.error = s.runE(ctx, health, ln) +} + +func (s *serviceStarter) runE(ctx context.Context, health Health, ln net.Listener) error { + pr := ln.Addr().(*net.TCPAddr) + s.address = fmt.Sprintf("%s:%d", pr.IP.String(), pr.Port) + + var serveError error + + done := make(chan struct{}) + go func() { + defer close(done) + + if err := s.service.server.Serve(ln); err != nil && !errors.Is(err, grpc.ErrServerStopped) { + serveError = err + } + }() + + go func() { + <-ctx.Done() + + s.service.server.GracefulStop() + }() + + ticker := time.NewTicker(125 * time.Millisecond) + defer ticker.Stop() + + for { + select { + case <-done: + return serveError + default: + for _, h := range s.service.handlers { + health.Update(h.Name(), h.Health()) + } + break + } + + select { + case <-done: + return serveError + case <-ticker.C: + continue + } + } +} + +func newServiceStarter(ctx context.Context, service *service, health Health) ServiceStarter { + st := &serviceStarter{ + service: service, + error: nil, + done: make(chan struct{}), + } + + ln, err := net.Listen("tcp", service.cfg.Address) + if err != nil { + return serviceError{err} + } + + pr := ln.Addr().(*net.TCPAddr) + st.address = fmt.Sprintf("%s:%d", pr.IP.String(), pr.Port) + + go st.run(ctx, health, ln) + + return st +} diff --git a/pkg/util/tests/kubernetes.go b/pkg/util/tests/kubernetes.go index 95cfee903..7e0dc23e4 100644 --- a/pkg/util/tests/kubernetes.go +++ b/pkg/util/tests/kubernetes.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -86,7 +86,7 @@ func HandleWithMax(handler operator.Handler, item operation.Item, max int) error return nil } - return errors.Newf("Max retries reached") + return errors.Errorf("Max retries reached") } type KubernetesObject interface { diff --git a/pkg/util/tests/tgrpc/grpc.go b/pkg/util/tests/tgrpc/grpc.go new file mode 100644 index 000000000..7ba422855 --- /dev/null +++ b/pkg/util/tests/tgrpc/grpc.go @@ -0,0 +1,53 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package tgrpc + +import ( + "context" + "testing" + + "github.com/stretchr/testify/require" + "google.golang.org/grpc" + "google.golang.org/grpc/credentials/insecure" +) + +func NewGRPCClient[T any](t *testing.T, ctx context.Context, in func(cc grpc.ClientConnInterface) T, addr string, opts ...grpc.DialOption) T { + return in(NewGRPCConn(t, ctx, addr, opts...)) +} + +func NewGRPCConn(t *testing.T, ctx context.Context, addr string, opts ...grpc.DialOption) *grpc.ClientConn { + var z []grpc.DialOption + + z = append(z, grpc.WithTransportCredentials(insecure.NewCredentials())) + + z = append(z, opts...) + + conn, err := grpc.DialContext(ctx, addr, z...) + require.NoError(t, err) + + go func() { + <-ctx.Done() + + require.NoError(t, conn.Close()) + }() + + return conn +} diff --git a/tools/license/license.go b/tools/license/license.go index e9f26cfb7..10f62f961 100644 --- a/tools/license/license.go +++ b/tools/license/license.go @@ -112,7 +112,7 @@ func mainE() error { } if !valid { - return errors.Newf("Parse of file failed") + return errors.Errorf("Parse of file failed") } return nil @@ -211,5 +211,5 @@ func extractFileLicenseData(file string) (int, int, error) { return from, to, nil } - return 0, 0, errors.Newf("Unable to find license string") + return 0, 0, errors.Errorf("Unable to find license string") } From 6ea6950e9e0605863f78a3bf9b22d534d6350bc1 Mon Sep 17 00:00:00 2001 From: Adam Janikowski <12255597+ajanikow@users.noreply.github.com> Date: Mon, 12 Feb 2024 13:22:15 +0100 Subject: [PATCH 04/13] [Feature] Extract Integration Service (#1591) --- .golangci.yaml | 8 + CHANGELOG.md | 1 + cmd/{ml.go => integration.go} | 20 +-- cmd/integrations/integration.go | 42 +++++ cmd/integrations/logger.go | 31 ++++ cmd/integrations/register.go | 142 ++++++++++++++++ cmd/integrations/shutdown_v1.go | 56 +++++++ cmd/integrations/storage_v1.go | 69 ++++++++ cmd/ml_storage.go | 98 ----------- integrations/shared/v1/definition/empty.pb.go | 156 ++++++++++++++++++ integrations/shared/v1/definition/empty.proto | 27 +++ integrations/shutdown/v1/consts.go | 25 +++ .../shutdown/v1/definition/shutdown.pb.go | 99 +++++++++++ .../shutdown/v1/definition/shutdown.proto | 8 +- .../v1/definition/shutdown_grpc.pb.go | 28 ++-- .../shutdown/v1/impl.go | 24 ++- .../shutdown/v1/impl_test.go | 12 +- pkg/api/shutdown/v1/operator.pb.go | 96 ----------- .../storage/{service.go => configuration.go} | 14 +- pkg/ml/storage/s3/{s3.go => configuration.go} | 8 +- pkg/ml/storage/service.community.go | 2 +- pkg/util/shutdown/shutdown.go | 9 +- pkg/util/svc/shutdown.go | 27 +++ 23 files changed, 743 insertions(+), 259 deletions(-) rename cmd/{ml.go => integration.go} (74%) create mode 100644 cmd/integrations/integration.go create mode 100644 cmd/integrations/logger.go create mode 100644 cmd/integrations/register.go create mode 100644 cmd/integrations/shutdown_v1.go create mode 100644 cmd/integrations/storage_v1.go delete mode 100644 cmd/ml_storage.go create mode 100644 integrations/shared/v1/definition/empty.pb.go create mode 100644 integrations/shared/v1/definition/empty.proto create mode 100644 integrations/shutdown/v1/consts.go create mode 100644 integrations/shutdown/v1/definition/shutdown.pb.go rename pkg/api/shutdown/v1/operator.proto => integrations/shutdown/v1/definition/shutdown.proto (76%) rename pkg/api/shutdown/v1/operator_grpc.pb.go => integrations/shutdown/v1/definition/shutdown_grpc.pb.go (77%) rename pkg/util/shutdown/grpc.go => integrations/shutdown/v1/impl.go (67%) rename pkg/util/shutdown/grpc_test.go => integrations/shutdown/v1/impl_test.go (80%) delete mode 100644 pkg/api/shutdown/v1/operator.pb.go rename pkg/ml/storage/{service.go => configuration.go} (74%) rename pkg/ml/storage/s3/{s3.go => configuration.go} (89%) create mode 100644 pkg/util/svc/shutdown.go diff --git a/.golangci.yaml b/.golangci.yaml index e95d0d8d2..c957fdcee 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -49,6 +49,14 @@ linters-settings: alias: mlSharedTests - pkg: github.com/arangodb/kube-arangodb/pkg/apis/ml/v1alpha1 alias: mlApi + - pkg: github.com/arangodb/kube-arangodb/integrations/shutdown/v1/definition + alias: pbShutdownV1 + - pkg: github.com/arangodb/kube-arangodb/integrations/shutdown/v1 + alias: pbImplShutdownV1 + - pkg: github.com/arangodb/kube-arangodb/integrations/shared/v1/definition + alias: pbSharedV1 + - pkg: github.com/arangodb/kube-arangodb/integrations/shared/v1 + alias: pbImplSharedV1 gci: sections: - standard diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d1c095e0..1131004a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## [master](https://github.com/arangodb/kube-arangodb/tree/master) (N/A) - (Feature) Extract GRPC Server +- (Feature) Extract Integration Service ## [1.2.37](https://github.com/arangodb/kube-arangodb/tree/1.2.37) (2024-01-22) - (Documentation) Improve documentation rendering for GitHub Pages diff --git a/cmd/ml.go b/cmd/integration.go similarity index 74% rename from cmd/ml.go rename to cmd/integration.go index 145f68df6..d9eba96e9 100644 --- a/cmd/ml.go +++ b/cmd/integration.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,20 +20,10 @@ package cmd -import ( - "github.com/spf13/cobra" -) - -var ( - cmdML = &cobra.Command{ - Use: "ml", - Run: func(cmd *cobra.Command, args []string) { - - }, - Hidden: true, - } -) +import "github.com/arangodb/kube-arangodb/cmd/integrations" func init() { - cmdMain.AddCommand(cmdML) + if err := integrations.Register(&cmdMain); err != nil { + panic(err.Error()) + } } diff --git a/cmd/integrations/integration.go b/cmd/integrations/integration.go new file mode 100644 index 000000000..5ce9350dc --- /dev/null +++ b/cmd/integrations/integration.go @@ -0,0 +1,42 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package integrations + +import ( + "context" + + "github.com/spf13/cobra" + + "github.com/arangodb/kube-arangodb/pkg/util/svc" +) + +type Factory func() Integration + +type ArgGen func(name string) string + +type Integration interface { + Name() string + Description() string + + Register(cmd *cobra.Command, arg ArgGen) error + + Handler(ctx context.Context) (svc.Handler, error) +} diff --git a/cmd/integrations/logger.go b/cmd/integrations/logger.go new file mode 100644 index 000000000..80bae57f3 --- /dev/null +++ b/cmd/integrations/logger.go @@ -0,0 +1,31 @@ +// +// DISCLAIMER +// +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package integrations + +import ( + "time" + + "github.com/arangodb/kube-arangodb/pkg/logging" +) + +var ( + logger = logging.Global().RegisterAndGetLogger("integrations", logging.Info, logging.WithSamplingPeriod(time.Second*10)) +) diff --git a/cmd/integrations/register.go b/cmd/integrations/register.go new file mode 100644 index 000000000..fed120a53 --- /dev/null +++ b/cmd/integrations/register.go @@ -0,0 +1,142 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package integrations + +import ( + "fmt" + "sort" + "sync" + + "github.com/spf13/cobra" + + "github.com/arangodb/kube-arangodb/pkg/util/errors" + "github.com/arangodb/kube-arangodb/pkg/util/shutdown" + "github.com/arangodb/kube-arangodb/pkg/util/svc" +) + +var ( + lock sync.Mutex + registered []Factory +) + +func register(i Factory) { + lock.Lock() + defer lock.Unlock() + + registered = append(registered, i) +} + +func Register(cmd *cobra.Command) error { + var c configuration + + return c.Register(cmd) +} + +type configuration struct { + registered []Integration + + health struct { + shutdownEnabled bool + + config svc.Configuration + } + + services struct { + config svc.Configuration + } +} + +func (c *configuration) Register(cmd *cobra.Command) error { + lock.Lock() + defer lock.Unlock() + + c.registered = make([]Integration, len(registered)) + for id := range registered { + c.registered[id] = registered[id]() + } + + sort.Slice(c.registered, func(i, j int) bool { + return c.registered[i].Name() < c.registered[j].Name() + }) + + subCommand := &cobra.Command{ + Use: "integration", + RunE: c.run, + } + + f := subCommand.Flags() + + f.StringVar(&c.health.config.Address, "health.address", "0.0.0.0:9091", "Address to expose health service") + f.BoolVar(&c.health.shutdownEnabled, "health.shutdown.enabled", true, "Determines if shutdown service should be enabled and exposed") + f.StringVar(&c.services.config.Address, "services.address", "127.0.0.1:9092", "Address to expose services") + + for _, service := range c.registered { + prefix := fmt.Sprintf("integration.%s", service.Name()) + + f.Bool(prefix, false, service.Description()) + + if err := service.Register(subCommand, func(name string) string { + return fmt.Sprintf("%s.%s", prefix, name) + }); err != nil { + return errors.Wrapf(err, "Unable to register service %s", service.Name()) + } + } + + cmd.AddCommand(subCommand) + return nil +} + +func (c *configuration) run(cmd *cobra.Command, args []string) error { + handlers := make([]svc.Handler, 0, len(c.registered)) + + for _, handler := range c.registered { + if ok, err := cmd.Flags().GetBool(fmt.Sprintf("integration.%s", handler.Name())); err != nil { + return err + } else { + logger.Str("service", handler.Name()).Bool("enabled", ok).Info("Service discovered") + if ok { + if svc, err := handler.Handler(shutdown.Context()); err != nil { + return err + } else { + handlers = append(handlers, svc) + } + } + } + } + + var healthServices []svc.Handler + + if c.health.shutdownEnabled { + healthServices = append(healthServices, shutdown.NewGlobalShutdownServer()) + } + + health := svc.NewHealthService(c.health.config, svc.Readiness, healthServices...) + + healthHandler := health.Start(shutdown.Context()) + + logger.Str("address", healthHandler.Address()).Info("Health handler started") + + s := svc.NewService(c.services.config, handlers...).StartWithHealth(shutdown.Context(), health) + + logger.Str("address", s.Address()).Info("Service handler started") + + return s.Wait() +} diff --git a/cmd/integrations/shutdown_v1.go b/cmd/integrations/shutdown_v1.go new file mode 100644 index 000000000..13c518fa0 --- /dev/null +++ b/cmd/integrations/shutdown_v1.go @@ -0,0 +1,56 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package integrations + +import ( + "context" + + "github.com/spf13/cobra" + + pbImplShutdownV1 "github.com/arangodb/kube-arangodb/integrations/shutdown/v1" + "github.com/arangodb/kube-arangodb/pkg/util/shutdown" + "github.com/arangodb/kube-arangodb/pkg/util/svc" +) + +func init() { + register(func() Integration { + return &shutdownV1{} + }) +} + +type shutdownV1 struct { +} + +func (s *shutdownV1) Handler(ctx context.Context) (svc.Handler, error) { + return shutdown.NewGlobalShutdownServer(), nil +} + +func (s *shutdownV1) Name() string { + return pbImplShutdownV1.Name +} + +func (s *shutdownV1) Description() string { + return "ShutdownV1 Handler" +} + +func (s *shutdownV1) Register(cmd *cobra.Command, arg ArgGen) error { + return nil +} diff --git a/cmd/integrations/storage_v1.go b/cmd/integrations/storage_v1.go new file mode 100644 index 000000000..f613086b9 --- /dev/null +++ b/cmd/integrations/storage_v1.go @@ -0,0 +1,69 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package integrations + +import ( + "context" + + "github.com/spf13/cobra" + + "github.com/arangodb/kube-arangodb/pkg/ml/storage" + "github.com/arangodb/kube-arangodb/pkg/util/svc" +) + +func init() { + register(func() Integration { + return &storageV1{} + }) +} + +type storageV1 struct { + Configuration storage.Configuration +} + +func (b *storageV1) Name() string { + return "storage.v1" +} + +func (b *storageV1) Description() string { + return "StorageBucket Integration" +} + +func (b *storageV1) Register(cmd *cobra.Command, arg ArgGen) error { + f := cmd.Flags() + + f.StringVar((*string)(&b.Configuration.Type), arg("type"), string(storage.S3), "Type of the Storage Integration") + f.StringVar(&b.Configuration.S3.Endpoint, arg("s3.endpoint"), "", "Endpoint of S3 API implementation") + f.StringVar(&b.Configuration.S3.CACrtFile, arg("s3.ca-crt"), "", "Path to file containing CA certificate to validate endpoint connection") + f.StringVar(&b.Configuration.S3.CAKeyFile, arg("s3.ca-key"), "", "Path to file containing keyfile to validate endpoint connection") + f.BoolVar(&b.Configuration.S3.AllowInsecure, arg("s3.allow-insecure"), false, "If set to true, the Endpoint certificates won't be checked") + f.BoolVar(&b.Configuration.S3.DisableSSL, arg("s3.disable-ssl"), false, "If set to true, the SSL won't be used when connecting to Endpoint") + f.StringVar(&b.Configuration.S3.Region, arg("s3.region"), "", "Region") + f.StringVar(&b.Configuration.S3.BucketName, arg("s3.bucket"), "", "Bucket name") + f.StringVar(&b.Configuration.S3.AccessKeyFile, arg("s3.access-key"), "", "Path to file containing S3 AccessKey") + f.StringVar(&b.Configuration.S3.SecretKeyFile, arg("s3.secret-key"), "", "Path to file containing S3 SecretKey") + + return nil +} + +func (b *storageV1) Handler(ctx context.Context) (svc.Handler, error) { + return storage.NewService(ctx, b.Configuration) +} diff --git a/cmd/ml_storage.go b/cmd/ml_storage.go deleted file mode 100644 index 50f808a14..000000000 --- a/cmd/ml_storage.go +++ /dev/null @@ -1,98 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -package cmd - -import ( - "os" - - "github.com/rs/zerolog/log" - "github.com/spf13/cobra" - - "github.com/arangodb/kube-arangodb/pkg/ml/storage" - "github.com/arangodb/kube-arangodb/pkg/util/shutdown" - "github.com/arangodb/kube-arangodb/pkg/util/svc" -) - -var ( - cmdMLStorage = &cobra.Command{ - Use: "storage", - Run: func(cmd *cobra.Command, args []string) { - }, - Hidden: true, - } - - cmdMLStorageS3 = &cobra.Command{ - Use: "s3", - Short: "Run a GRPC service implementing the arangodb.operator.ml.storage.v1 API. Enterprise Edition only", - Run: cmdMLStorageS3Run, - } - - cmdMLStorageS3Options struct { - storage.ServiceConfig - } - - cmdMLStorageControllerOptions struct { - Configuration svc.Configuration - } -) - -func init() { - cmdML.AddCommand(cmdMLStorage) - cmdMLStorage.AddCommand(cmdMLStorageS3) - - f := cmdMLStorageS3.PersistentFlags() - f.StringVar(&cmdMLStorageControllerOptions.Configuration.Address, "controller.address", "", "Address the GRPC controller service will listen on (IP:port)") - f.StringVar(&cmdMLStorageS3Options.Configuration.Address, "server.address", "", "Address the GRPC service will listen on (IP:port)") - - f.StringVar(&cmdMLStorageS3Options.S3.Endpoint, "s3.endpoint", "", "Endpoint of S3 API implementation") - f.StringVar(&cmdMLStorageS3Options.S3.CACrtFile, "s3.ca-crt", "", "Path to file containing CA certificate to validate endpoint connection") - f.StringVar(&cmdMLStorageS3Options.S3.CAKeyFile, "s3.ca-key", "", "Path to file containing keyfile to validate endpoint connection") - f.BoolVar(&cmdMLStorageS3Options.S3.AllowInsecure, "s3.allow-insecure", false, "If set to true, the Endpoint certificates won't be checked") - f.BoolVar(&cmdMLStorageS3Options.S3.DisableSSL, "s3.disable-ssl", false, "If set to true, the SSL won't be used when connecting to Endpoint") - f.StringVar(&cmdMLStorageS3Options.S3.Region, "s3.region", "", "Region") - f.StringVar(&cmdMLStorageS3Options.S3.BucketName, "s3.bucket", "", "Bucket name") - f.StringVar(&cmdMLStorageS3Options.S3.AccessKeyFile, "s3.access-key", "", "Path to file containing S3 AccessKey") - f.StringVar(&cmdMLStorageS3Options.S3.SecretKeyFile, "s3.secret-key", "", "Path to file containing S3 SecretKey") -} - -func cmdMLStorageS3Run(cmd *cobra.Command, _ []string) { - if err := cmdMLStorageS3RunE(cmd); err != nil { - log.Error().Err(err).Msgf("Fatal") - os.Exit(1) - } -} - -func cmdMLStorageS3RunE(_ *cobra.Command) error { - health := svc.NewHealthService(cmdMLStorageControllerOptions.Configuration, svc.Readiness, shutdown.NewGlobalShutdownServer()) - - health.Start(shutdown.Context()) - - storageService, err := storage.NewService(shutdown.Context(), storage.StorageTypeS3Proxy, cmdMLStorageS3Options.ServiceConfig) - if err != nil { - return err - } - - svc := svc.NewService(cmdMLStorageS3Options.Configuration, storageService) - - svcRun := svc.StartWithHealth(shutdown.Context(), health) - - return svcRun.Wait() -} diff --git a/integrations/shared/v1/definition/empty.pb.go b/integrations/shared/v1/definition/empty.pb.go new file mode 100644 index 000000000..ef446f063 --- /dev/null +++ b/integrations/shared/v1/definition/empty.pb.go @@ -0,0 +1,156 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.21.1 +// source: integrations/shared/v1/definition/empty.proto + +package definition + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +type Empty struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Empty) Reset() { + *x = Empty{} + if protoimpl.UnsafeEnabled { + mi := &file_integrations_shared_v1_definition_empty_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Empty) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Empty) ProtoMessage() {} + +func (x *Empty) ProtoReflect() protoreflect.Message { + mi := &file_integrations_shared_v1_definition_empty_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Empty.ProtoReflect.Descriptor instead. +func (*Empty) Descriptor() ([]byte, []int) { + return file_integrations_shared_v1_definition_empty_proto_rawDescGZIP(), []int{0} +} + +var File_integrations_shared_v1_definition_empty_proto protoreflect.FileDescriptor + +var file_integrations_shared_v1_definition_empty_proto_rawDesc = []byte{ + 0x0a, 0x2d, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, + 0x68, 0x61, 0x72, 0x65, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x06, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, + 0x42, 0x45, 0x5a, 0x43, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, + 0x72, 0x61, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x2d, 0x61, 0x72, 0x61, + 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x66, + 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_integrations_shared_v1_definition_empty_proto_rawDescOnce sync.Once + file_integrations_shared_v1_definition_empty_proto_rawDescData = file_integrations_shared_v1_definition_empty_proto_rawDesc +) + +func file_integrations_shared_v1_definition_empty_proto_rawDescGZIP() []byte { + file_integrations_shared_v1_definition_empty_proto_rawDescOnce.Do(func() { + file_integrations_shared_v1_definition_empty_proto_rawDescData = protoimpl.X.CompressGZIP(file_integrations_shared_v1_definition_empty_proto_rawDescData) + }) + return file_integrations_shared_v1_definition_empty_proto_rawDescData +} + +var file_integrations_shared_v1_definition_empty_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_integrations_shared_v1_definition_empty_proto_goTypes = []interface{}{ + (*Empty)(nil), // 0: shared.Empty +} +var file_integrations_shared_v1_definition_empty_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_integrations_shared_v1_definition_empty_proto_init() } +func file_integrations_shared_v1_definition_empty_proto_init() { + if File_integrations_shared_v1_definition_empty_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_integrations_shared_v1_definition_empty_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Empty); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_integrations_shared_v1_definition_empty_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_integrations_shared_v1_definition_empty_proto_goTypes, + DependencyIndexes: file_integrations_shared_v1_definition_empty_proto_depIdxs, + MessageInfos: file_integrations_shared_v1_definition_empty_proto_msgTypes, + }.Build() + File_integrations_shared_v1_definition_empty_proto = out.File + file_integrations_shared_v1_definition_empty_proto_rawDesc = nil + file_integrations_shared_v1_definition_empty_proto_goTypes = nil + file_integrations_shared_v1_definition_empty_proto_depIdxs = nil +} diff --git a/integrations/shared/v1/definition/empty.proto b/integrations/shared/v1/definition/empty.proto new file mode 100644 index 000000000..bc96917de --- /dev/null +++ b/integrations/shared/v1/definition/empty.proto @@ -0,0 +1,27 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +syntax = "proto3"; + +option go_package = "github.com/arangodb/kube-arangodb/integrations/shared/v1/definition"; + +package shared; + +message Empty {} \ No newline at end of file diff --git a/integrations/shutdown/v1/consts.go b/integrations/shutdown/v1/consts.go new file mode 100644 index 000000000..ac55fa72a --- /dev/null +++ b/integrations/shutdown/v1/consts.go @@ -0,0 +1,25 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package v1 + +const ( + Name = "shutdown.v1" +) diff --git a/integrations/shutdown/v1/definition/shutdown.pb.go b/integrations/shutdown/v1/definition/shutdown.pb.go new file mode 100644 index 000000000..78ea62668 --- /dev/null +++ b/integrations/shutdown/v1/definition/shutdown.pb.go @@ -0,0 +1,99 @@ +// +// DISCLAIMER +// +// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.21.1 +// source: integrations/shutdown/v1/definition/shutdown.proto + +package definition + +import ( + definition "github.com/arangodb/kube-arangodb/integrations/shared/v1/definition" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +var File_integrations_shutdown_v1_definition_shutdown_proto protoreflect.FileDescriptor + +var file_integrations_shutdown_v1_definition_shutdown_proto_rawDesc = []byte{ + 0x0a, 0x32, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, + 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x1a, 0x2d, + 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x68, 0x61, + 0x72, 0x65, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x3c, 0x0a, + 0x08, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x30, 0x0a, 0x0e, 0x53, 0x68, 0x75, + 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x0d, 0x2e, 0x73, 0x68, + 0x61, 0x72, 0x65, 0x64, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x0d, 0x2e, 0x73, 0x68, 0x61, + 0x72, 0x65, 0x64, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x47, 0x5a, 0x45, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x72, 0x61, 0x6e, 0x67, 0x6f, + 0x64, 0x62, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x2d, 0x61, 0x72, 0x61, 0x6e, 0x67, 0x6f, 0x64, 0x62, + 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x68, + 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var file_integrations_shutdown_v1_definition_shutdown_proto_goTypes = []interface{}{ + (*definition.Empty)(nil), // 0: shared.Empty +} +var file_integrations_shutdown_v1_definition_shutdown_proto_depIdxs = []int32{ + 0, // 0: shutdown.Shutdown.ShutdownServer:input_type -> shared.Empty + 0, // 1: shutdown.Shutdown.ShutdownServer:output_type -> shared.Empty + 1, // [1:2] is the sub-list for method output_type + 0, // [0:1] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_integrations_shutdown_v1_definition_shutdown_proto_init() } +func file_integrations_shutdown_v1_definition_shutdown_proto_init() { + if File_integrations_shutdown_v1_definition_shutdown_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_integrations_shutdown_v1_definition_shutdown_proto_rawDesc, + NumEnums: 0, + NumMessages: 0, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_integrations_shutdown_v1_definition_shutdown_proto_goTypes, + DependencyIndexes: file_integrations_shutdown_v1_definition_shutdown_proto_depIdxs, + }.Build() + File_integrations_shutdown_v1_definition_shutdown_proto = out.File + file_integrations_shutdown_v1_definition_shutdown_proto_rawDesc = nil + file_integrations_shutdown_v1_definition_shutdown_proto_goTypes = nil + file_integrations_shutdown_v1_definition_shutdown_proto_depIdxs = nil +} diff --git a/pkg/api/shutdown/v1/operator.proto b/integrations/shutdown/v1/definition/shutdown.proto similarity index 76% rename from pkg/api/shutdown/v1/operator.proto rename to integrations/shutdown/v1/definition/shutdown.proto index eb02af2cf..cea1954ec 100644 --- a/pkg/api/shutdown/v1/operator.proto +++ b/integrations/shutdown/v1/definition/shutdown.proto @@ -20,12 +20,12 @@ syntax = "proto3"; -option go_package = "github.com/arangodb/kube-arangodb/pkg/api/shutdown"; +option go_package = "github.com/arangodb/kube-arangodb/integrations/shutdown/v1/definition"; -package server; +package shutdown; -import "pkg/api/server/operator.proto"; +import "integrations/shared/v1/definition/empty.proto"; service Shutdown { - rpc ShutdownServer (Empty) returns (Empty) {} + rpc ShutdownServer (shared.Empty) returns (shared.Empty) {} } \ No newline at end of file diff --git a/pkg/api/shutdown/v1/operator_grpc.pb.go b/integrations/shutdown/v1/definition/shutdown_grpc.pb.go similarity index 77% rename from pkg/api/shutdown/v1/operator_grpc.pb.go rename to integrations/shutdown/v1/definition/shutdown_grpc.pb.go index 9e561476d..2c339f029 100644 --- a/pkg/api/shutdown/v1/operator_grpc.pb.go +++ b/integrations/shutdown/v1/definition/shutdown_grpc.pb.go @@ -2,13 +2,13 @@ // versions: // - protoc-gen-go-grpc v1.2.0 // - protoc v3.21.1 -// source: pkg/api/shutdown/v1/operator.proto +// source: integrations/shutdown/v1/definition/shutdown.proto -package shutdown +package definition import ( context "context" - server "github.com/arangodb/kube-arangodb/pkg/api/server" + definition "github.com/arangodb/kube-arangodb/integrations/shared/v1/definition" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -23,7 +23,7 @@ const _ = grpc.SupportPackageIsVersion7 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type ShutdownClient interface { - ShutdownServer(ctx context.Context, in *server.Empty, opts ...grpc.CallOption) (*server.Empty, error) + ShutdownServer(ctx context.Context, in *definition.Empty, opts ...grpc.CallOption) (*definition.Empty, error) } type shutdownClient struct { @@ -34,9 +34,9 @@ func NewShutdownClient(cc grpc.ClientConnInterface) ShutdownClient { return &shutdownClient{cc} } -func (c *shutdownClient) ShutdownServer(ctx context.Context, in *server.Empty, opts ...grpc.CallOption) (*server.Empty, error) { - out := new(server.Empty) - err := c.cc.Invoke(ctx, "/server.Shutdown/ShutdownServer", in, out, opts...) +func (c *shutdownClient) ShutdownServer(ctx context.Context, in *definition.Empty, opts ...grpc.CallOption) (*definition.Empty, error) { + out := new(definition.Empty) + err := c.cc.Invoke(ctx, "/shutdown.Shutdown/ShutdownServer", in, out, opts...) if err != nil { return nil, err } @@ -47,7 +47,7 @@ func (c *shutdownClient) ShutdownServer(ctx context.Context, in *server.Empty, o // All implementations must embed UnimplementedShutdownServer // for forward compatibility type ShutdownServer interface { - ShutdownServer(context.Context, *server.Empty) (*server.Empty, error) + ShutdownServer(context.Context, *definition.Empty) (*definition.Empty, error) mustEmbedUnimplementedShutdownServer() } @@ -55,7 +55,7 @@ type ShutdownServer interface { type UnimplementedShutdownServer struct { } -func (UnimplementedShutdownServer) ShutdownServer(context.Context, *server.Empty) (*server.Empty, error) { +func (UnimplementedShutdownServer) ShutdownServer(context.Context, *definition.Empty) (*definition.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method ShutdownServer not implemented") } func (UnimplementedShutdownServer) mustEmbedUnimplementedShutdownServer() {} @@ -72,7 +72,7 @@ func RegisterShutdownServer(s grpc.ServiceRegistrar, srv ShutdownServer) { } func _Shutdown_ShutdownServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(server.Empty) + in := new(definition.Empty) if err := dec(in); err != nil { return nil, err } @@ -81,10 +81,10 @@ func _Shutdown_ShutdownServer_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/server.Shutdown/ShutdownServer", + FullMethod: "/shutdown.Shutdown/ShutdownServer", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ShutdownServer).ShutdownServer(ctx, req.(*server.Empty)) + return srv.(ShutdownServer).ShutdownServer(ctx, req.(*definition.Empty)) } return interceptor(ctx, in, info, handler) } @@ -93,7 +93,7 @@ func _Shutdown_ShutdownServer_Handler(srv interface{}, ctx context.Context, dec // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var Shutdown_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "server.Shutdown", + ServiceName: "shutdown.Shutdown", HandlerType: (*ShutdownServer)(nil), Methods: []grpc.MethodDesc{ { @@ -102,5 +102,5 @@ var Shutdown_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "pkg/api/shutdown/v1/operator.proto", + Metadata: "integrations/shutdown/v1/definition/shutdown.proto", } diff --git a/pkg/util/shutdown/grpc.go b/integrations/shutdown/v1/impl.go similarity index 67% rename from pkg/util/shutdown/grpc.go rename to integrations/shutdown/v1/impl.go index 04394f37c..6e2f4f7ab 100644 --- a/pkg/util/shutdown/grpc.go +++ b/integrations/shutdown/v1/impl.go @@ -18,7 +18,7 @@ // Copyright holder is ArangoDB GmbH, Cologne, Germany // -package shutdown +package v1 import ( "context" @@ -26,30 +26,26 @@ import ( "google.golang.org/grpc" - "github.com/arangodb/kube-arangodb/pkg/api/server" - pbShutdown "github.com/arangodb/kube-arangodb/pkg/api/shutdown/v1" + pbSharedV1 "github.com/arangodb/kube-arangodb/integrations/shared/v1/definition" + pbShutdownV1 "github.com/arangodb/kube-arangodb/integrations/shutdown/v1/definition" "github.com/arangodb/kube-arangodb/pkg/util/svc" ) -func NewGlobalShutdownServer() svc.Handler { - return NewShutdownServer(stop) -} - -func NewShutdownServer(closer context.CancelFunc) svc.Handler { +func New(closer context.CancelFunc) svc.Handler { return &impl{closer: closer} } -var _ pbShutdown.ShutdownServer = &impl{} +var _ pbShutdownV1.ShutdownServer = &impl{} var _ svc.Handler = &impl{} type impl struct { - pbShutdown.UnimplementedShutdownServer + pbShutdownV1.UnimplementedShutdownServer closer context.CancelFunc } func (i *impl) Name() string { - return "shutdown" + return Name } func (i *impl) Health() svc.HealthState { @@ -57,15 +53,15 @@ func (i *impl) Health() svc.HealthState { } func (i *impl) Register(registrar *grpc.Server) { - pbShutdown.RegisterShutdownServer(registrar, i) + pbShutdownV1.RegisterShutdownServer(registrar, i) } -func (i *impl) ShutdownServer(ctx context.Context, empty *server.Empty) (*server.Empty, error) { +func (i *impl) ShutdownServer(ctx context.Context, empty *pbSharedV1.Empty) (*pbSharedV1.Empty, error) { go func() { defer i.closer() time.Sleep(50 * time.Millisecond) }() - return &server.Empty{}, nil + return &pbSharedV1.Empty{}, nil } diff --git a/pkg/util/shutdown/grpc_test.go b/integrations/shutdown/v1/impl_test.go similarity index 80% rename from pkg/util/shutdown/grpc_test.go rename to integrations/shutdown/v1/impl_test.go index 349c63393..0f859f41b 100644 --- a/pkg/util/shutdown/grpc_test.go +++ b/integrations/shutdown/v1/impl_test.go @@ -18,7 +18,7 @@ // Copyright holder is ArangoDB GmbH, Cologne, Germany // -package shutdown +package v1 import ( "context" @@ -27,8 +27,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/arangodb/kube-arangodb/pkg/api/server" - pbShutdown "github.com/arangodb/kube-arangodb/pkg/api/shutdown/v1" + pbSharedV1 "github.com/arangodb/kube-arangodb/integrations/shared/v1/definition" + pbShutdownV1 "github.com/arangodb/kube-arangodb/integrations/shutdown/v1/definition" "github.com/arangodb/kube-arangodb/pkg/util/svc" "github.com/arangodb/kube-arangodb/pkg/util/tests/tgrpc" ) @@ -39,15 +39,15 @@ func Test_ShutdownGRPC(t *testing.T) { local := svc.NewService(svc.Configuration{ Address: "127.0.0.1:0", - }, NewShutdownServer(c)) + }, New(c)) start := local.Start(ctx) require.False(t, isContextDone(ctx)) - client := tgrpc.NewGRPCClient(t, ctx, pbShutdown.NewShutdownClient, start.Address()) + client := tgrpc.NewGRPCClient(t, ctx, pbShutdownV1.NewShutdownClient, start.Address()) - _, err := client.ShutdownServer(ctx, &server.Empty{}) + _, err := client.ShutdownServer(ctx, &pbSharedV1.Empty{}) require.NoError(t, err) time.Sleep(time.Second) diff --git a/pkg/api/shutdown/v1/operator.pb.go b/pkg/api/shutdown/v1/operator.pb.go deleted file mode 100644 index 385a3371b..000000000 --- a/pkg/api/shutdown/v1/operator.pb.go +++ /dev/null @@ -1,96 +0,0 @@ -// -// DISCLAIMER -// -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -// Copyright holder is ArangoDB GmbH, Cologne, Germany -// - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.21.1 -// source: pkg/api/shutdown/v1/operator.proto - -package shutdown - -import ( - server "github.com/arangodb/kube-arangodb/pkg/api/server" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -var File_pkg_api_shutdown_v1_operator_proto protoreflect.FileDescriptor - -var file_pkg_api_shutdown_v1_operator_proto_rawDesc = []byte{ - 0x0a, 0x22, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, - 0x77, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x1a, 0x1d, 0x70, 0x6b, - 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x6f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x3c, 0x0a, 0x08, 0x53, - 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x30, 0x0a, 0x0e, 0x53, 0x68, 0x75, 0x74, 0x64, - 0x6f, 0x77, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x0d, 0x2e, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x0d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x72, 0x61, 0x6e, 0x67, 0x6f, 0x64, 0x62, - 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x2d, 0x61, 0x72, 0x61, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x2f, 0x70, - 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var file_pkg_api_shutdown_v1_operator_proto_goTypes = []interface{}{ - (*server.Empty)(nil), // 0: server.Empty -} -var file_pkg_api_shutdown_v1_operator_proto_depIdxs = []int32{ - 0, // 0: server.Shutdown.ShutdownServer:input_type -> server.Empty - 0, // 1: server.Shutdown.ShutdownServer:output_type -> server.Empty - 1, // [1:2] is the sub-list for method output_type - 0, // [0:1] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_pkg_api_shutdown_v1_operator_proto_init() } -func file_pkg_api_shutdown_v1_operator_proto_init() { - if File_pkg_api_shutdown_v1_operator_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_pkg_api_shutdown_v1_operator_proto_rawDesc, - NumEnums: 0, - NumMessages: 0, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_pkg_api_shutdown_v1_operator_proto_goTypes, - DependencyIndexes: file_pkg_api_shutdown_v1_operator_proto_depIdxs, - }.Build() - File_pkg_api_shutdown_v1_operator_proto = out.File - file_pkg_api_shutdown_v1_operator_proto_rawDesc = nil - file_pkg_api_shutdown_v1_operator_proto_goTypes = nil - file_pkg_api_shutdown_v1_operator_proto_depIdxs = nil -} diff --git a/pkg/ml/storage/service.go b/pkg/ml/storage/configuration.go similarity index 74% rename from pkg/ml/storage/service.go rename to pkg/ml/storage/configuration.go index 9b892d474..578519bed 100644 --- a/pkg/ml/storage/service.go +++ b/pkg/ml/storage/configuration.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany +// Copyright 2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,16 +22,16 @@ package storage import ( "github.com/arangodb/kube-arangodb/pkg/ml/storage/s3" - "github.com/arangodb/kube-arangodb/pkg/util/svc" ) -type StorageType string +type Type string const ( - StorageTypeS3Proxy = StorageType("s3") + S3 = Type("s3") ) -type ServiceConfig struct { - Configuration svc.Configuration - S3 s3.Config +type Configuration struct { + Type Type + + S3 s3.Configuration } diff --git a/pkg/ml/storage/s3/s3.go b/pkg/ml/storage/s3/configuration.go similarity index 89% rename from pkg/ml/storage/s3/s3.go rename to pkg/ml/storage/s3/configuration.go index e610dd3d4..4cc33344a 100644 --- a/pkg/ml/storage/s3/s3.go +++ b/pkg/ml/storage/s3/configuration.go @@ -1,5 +1,7 @@ // -// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +22,7 @@ package s3 import "github.com/arangodb/kube-arangodb/pkg/util/errors" -type Config struct { +type Configuration struct { Endpoint string AllowInsecure bool CACrtFile string @@ -32,7 +34,7 @@ type Config struct { SecretKeyFile string // path to file containing S3 SecretKey } -func (c Config) Validate() error { +func (c Configuration) Validate() error { if c.AccessKeyFile == "" { return errors.Errorf("AccessKeyFile is not defined") } diff --git a/pkg/ml/storage/service.community.go b/pkg/ml/storage/service.community.go index 37da8a431..2bd609d7e 100644 --- a/pkg/ml/storage/service.community.go +++ b/pkg/ml/storage/service.community.go @@ -29,6 +29,6 @@ import ( "github.com/arangodb/kube-arangodb/pkg/util/svc" ) -func NewService(_ context.Context, _ StorageType, _ ServiceConfig) (svc.Handler, error) { +func NewService(_ context.Context, _ Configuration) (svc.Handler, error) { return nil, errors.New("this service is available only in enterprise edition of operator") } diff --git a/pkg/util/shutdown/shutdown.go b/pkg/util/shutdown/shutdown.go index 957a5766f..d5b9d2ff2 100644 --- a/pkg/util/shutdown/shutdown.go +++ b/pkg/util/shutdown/shutdown.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -25,6 +25,9 @@ import ( "os" "os/signal" "syscall" + + pbImplShutdownV1 "github.com/arangodb/kube-arangodb/integrations/shutdown/v1" + "github.com/arangodb/kube-arangodb/pkg/util/svc" ) func init() { @@ -40,6 +43,10 @@ func init() { }() } +func NewGlobalShutdownServer() svc.Handler { + return pbImplShutdownV1.New(stop) +} + var ( ctx context.Context stop context.CancelFunc diff --git a/pkg/util/svc/shutdown.go b/pkg/util/svc/shutdown.go new file mode 100644 index 000000000..920914ca1 --- /dev/null +++ b/pkg/util/svc/shutdown.go @@ -0,0 +1,27 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package svc + +import "context" + +type Shutdown interface { + Shutdown(cancelFunc context.CancelFunc) +} From bc5b2dbeda4d2fc6ddc2ec4ceb1ee81c9cf11207 Mon Sep 17 00:00:00 2001 From: Nikita Vaniasin Date: Tue, 13 Feb 2024 12:27:17 +0100 Subject: [PATCH 05/13] Move ML Extension example under "CRD overview" (#1588) Co-authored-by: Adam Janikowski <12255597+ajanikow@users.noreply.github.com> --- CHANGELOG.md | 1 + docs/mlextension-resource.md | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1131004a5..bbac548f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## [master](https://github.com/arangodb/kube-arangodb/tree/master) (N/A) - (Feature) Extract GRPC Server - (Feature) Extract Integration Service +- (Documentation) Move ML Extension example under "CRD overview" ## [1.2.37](https://github.com/arangodb/kube-arangodb/tree/1.2.37) (2024-01-22) - (Documentation) Improve documentation rendering for GitHub Pages diff --git a/docs/mlextension-resource.md b/docs/mlextension-resource.md index 6a575d3f2..55c6c3677 100644 --- a/docs/mlextension-resource.md +++ b/docs/mlextension-resource.md @@ -1,3 +1,9 @@ +--- +layout: page +parent: Custom resources overview +title: ArangoMLExtension +--- + # ArangoMLExtension Custom Resource From 6b68e581e28e021caf1e836089565fcbb2adf969 Mon Sep 17 00:00:00 2001 From: Kaveh Vahedipour Date: Tue, 13 Feb 2024 16:08:48 +0100 Subject: [PATCH 06/13] [Documentation] ArangoBackup url must not inlude slashes (#1593) --- docs/backup-resource.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/backup-resource.md b/docs/backup-resource.md index b59961abe..f2d2d511a 100644 --- a/docs/backup-resource.md +++ b/docs/backup-resource.md @@ -192,7 +192,7 @@ spec: deployment: name: "my-deployment" upload: - repositoryURL: "S3://test/kube-test" + repositoryURL: "S3:test/kube-test" credentialsSecretName: "my-s3-rclone-credentials" ``` @@ -212,7 +212,7 @@ spec: deployment: name: "my-deployment" download: - repositoryURL: "S3://test/kube-test" + repositoryURL: "S3:test/kube-test" credentialsSecretName: "my-s3-rclone-credentials" id: "backup-id" ``` From a3ee66825147bd8f8a97bac977323aea940fd0ee Mon Sep 17 00:00:00 2001 From: Adam Janikowski <12255597+ajanikow@users.noreply.github.com> Date: Wed, 14 Feb 2024 09:14:32 +0100 Subject: [PATCH 07/13] [Feature] Authentication Service V1 (#1592) --- .golangci.yaml | 4 + Makefile | 61 +- cmd/cmd.go | 1 + cmd/integration.go | 14 +- cmd/main-int/main_int.go | 60 ++ go.mod | 26 +- go.sum | 71 +-- integrations/authentication/v1/cache.go | 144 +++++ .../authentication/v1/configuration.go | 129 +++++ .../v1/definition/definition.pb.go | 531 ++++++++++++++++++ .../v1/definition/definition.proto | 85 +++ .../v1/definition/definition_grpc.pb.go | 145 +++++ .../authentication/v1/implementation.go | 204 +++++++ .../authentication/v1/implementation_test.go | 184 ++++++ .../authentication/v1/service_test.go | 191 +++++++ integrations/authentication/v1/utils_test.go | 71 +++ pkg/deployment/agency/config/config.go | 4 +- pkg/deployment/resources/secrets.go | 5 +- pkg/integrations/authentication_v1.go | 67 +++ {cmd => pkg}/integrations/integration.go | 0 {cmd => pkg}/integrations/logger.go | 0 {cmd => pkg}/integrations/register.go | 10 +- {cmd => pkg}/integrations/shutdown_v1.go | 0 {cmd => pkg}/integrations/storage_v1.go | 0 pkg/ml/container_jwt.go | 55 ++ pkg/util/file.go | 63 +++ pkg/util/k8sutil/secrets.go | 8 +- pkg/util/strings/strings.go | 12 +- pkg/util/token/errors.go | 46 ++ pkg/util/token/mods.go | 78 +++ pkg/util/token/parse.go | 63 +++ pkg/util/token/token.go | 69 +++ pkg/util/token/token_test.go | 129 +++++ 33 files changed, 2427 insertions(+), 103 deletions(-) create mode 100644 cmd/main-int/main_int.go create mode 100644 integrations/authentication/v1/cache.go create mode 100644 integrations/authentication/v1/configuration.go create mode 100644 integrations/authentication/v1/definition/definition.pb.go create mode 100644 integrations/authentication/v1/definition/definition.proto create mode 100644 integrations/authentication/v1/definition/definition_grpc.pb.go create mode 100644 integrations/authentication/v1/implementation.go create mode 100644 integrations/authentication/v1/implementation_test.go create mode 100644 integrations/authentication/v1/service_test.go create mode 100644 integrations/authentication/v1/utils_test.go create mode 100644 pkg/integrations/authentication_v1.go rename {cmd => pkg}/integrations/integration.go (100%) rename {cmd => pkg}/integrations/logger.go (100%) rename {cmd => pkg}/integrations/register.go (94%) rename {cmd => pkg}/integrations/shutdown_v1.go (100%) rename {cmd => pkg}/integrations/storage_v1.go (100%) create mode 100644 pkg/ml/container_jwt.go create mode 100644 pkg/util/file.go create mode 100644 pkg/util/token/errors.go create mode 100644 pkg/util/token/mods.go create mode 100644 pkg/util/token/parse.go create mode 100644 pkg/util/token/token.go create mode 100644 pkg/util/token/token_test.go diff --git a/.golangci.yaml b/.golangci.yaml index c957fdcee..72cec9f65 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -53,6 +53,10 @@ linters-settings: alias: pbShutdownV1 - pkg: github.com/arangodb/kube-arangodb/integrations/shutdown/v1 alias: pbImplShutdownV1 + - pkg: github.com/arangodb/kube-arangodb/integrations/authentication/v1/definition + alias: pbAuthenticationV1 + - pkg: github.com/arangodb/kube-arangodb/integrations/authentication/v1 + alias: pbImplAuthenticationV1 - pkg: github.com/arangodb/kube-arangodb/integrations/shared/v1/definition alias: pbSharedV1 - pkg: github.com/arangodb/kube-arangodb/integrations/shared/v1 diff --git a/Makefile b/Makefile index 881fc8bf7..700768b8b 100644 --- a/Makefile +++ b/Makefile @@ -223,16 +223,40 @@ endif BINNAME := $(PROJECT) BIN := $(BINDIR)/$(BINNAME) -VBIN_LINUX_AMD64 := $(BINDIR)/$(RELEASE_MODE)/linux/amd64/$(BINNAME) -VBIN_LINUX_ARM64 := $(BINDIR)/$(RELEASE_MODE)/linux/arm64/$(BINNAME) BIN_OPS_NAME := $(PROJECT)_ops BIN_OPS := $(BINDIR)/$(BIN_OPS_NAME) -VBIN_OPS_LINUX_AMD64 := $(BINDIR)/$(RELEASE_MODE)/linux/amd64/$(BIN_OPS_NAME) -VBIN_OPS_LINUX_ARM64 := $(BINDIR)/$(RELEASE_MODE)/linux/arm64/$(BIN_OPS_NAME) -VBIN_OPS_DARWIN_AMD64 := $(BINDIR)/$(RELEASE_MODE)/darwin/amd64/$(BIN_OPS_NAME) -VBIN_OPS_DARWIN_ARM64 := $(BINDIR)/$(RELEASE_MODE)/darwin/arm64/$(BIN_OPS_NAME) +BIN_INT_NAME := $(PROJECT)_integration +BIN_INT := $(BINDIR)/$(BIN_INT_NAME) + +define binary +$(eval _OS:=$(call UPPER_ENV,$1)) +$(eval _ARCH:=$(call UPPER_ENV,$2)) +VBIN_$(_OS)_$(_ARCH) := $(BINDIR)/$(RELEASE_MODE)/$1/$2/$(BINNAME) +VBIN_OPS_$(_OS)_$(_ARCH) := $(BINDIR)/$(RELEASE_MODE)/$1/$2/$(BIN_OPS_NAME) +VBIN_INT_$(_OS)_$(_ARCH) := $(BINDIR)/$(RELEASE_MODE)/$1/$2/$(BIN_INT_NAME) + +$$(VBIN_$(_OS)_$(_ARCH)): $$(SOURCES) dashboard/assets.go VERSION + @mkdir -p $(BINDIR)/$(RELEASE_MODE)/$1/$2 + CGO_ENABLED=0 GOOS=$1 GOARCH=$2 go build $${GOBUILDARGS} --tags "$$(GOBUILDTAGS)" $$(COMPILE_DEBUG_FLAGS) -installsuffix netgo -gcflags=all="$$(GOBUILDGCFLAGS)" -ldflags "$$(GOBUILDLDFLAGS)" -o $$@ ./cmd/main + +$$(VBIN_OPS_$(_OS)_$(_ARCH)): $$(SOURCES) dashboard/assets.go VERSION + @mkdir -p $(BINDIR)/$(RELEASE_MODE)/$1/$2 + CGO_ENABLED=0 GOOS=$1 GOARCH=$2 go build $${GOBUILDARGS} --tags "$$(GOBUILDTAGS)" $$(COMPILE_DEBUG_FLAGS) -installsuffix netgo -gcflags=all="$$(GOBUILDGCFLAGS)" -ldflags "$$(GOBUILDLDFLAGS)" -o $$@ ./cmd/main-ops + +$$(VBIN_INT_$(_OS)_$(_ARCH)): $$(SOURCES) dashboard/assets.go VERSION + @mkdir -p $(BINDIR)/$(RELEASE_MODE)/$1/$2 + CGO_ENABLED=0 GOOS=$1 GOARCH=$2 go build $${GOBUILDARGS} --tags "$$(GOBUILDTAGS)" $$(COMPILE_DEBUG_FLAGS) -installsuffix netgo -gcflags=all="$$(GOBUILDGCFLAGS)" -ldflags "$$(GOBUILDLDFLAGS)" -o $$@ ./cmd/main-int + +bin-all: $$(VBIN_$(_OS)_$(_ARCH)) $$(VBIN_OPS_$(_OS)_$(_ARCH)) $$(VBIN_INT_$(_OS)_$(_ARCH)) + +endef + +$(eval $(call binary,linux,amd64)) +$(eval $(call binary,linux,arm64)) +$(eval $(call binary,darwin,amd64)) +$(eval $(call binary,darwin,arm64)) ifdef VERBOSE TESTVERBOSEOPTIONS := -v @@ -421,27 +445,12 @@ dashboard/assets.go: $(DASHBOARDBUILDIMAGE) $(GOASSETSBUILDER) -s /dashboard/build/ -o dashboard/assets.go -p dashboard dashboard/build -.PHONY: bin bin-all -bin: $(BIN) -bin-all: $(BIN) $(VBIN_LINUX_AMD64) $(VBIN_LINUX_ARM64) - -$(VBIN_LINUX_AMD64): $(SOURCES) dashboard/assets.go VERSION - @mkdir -p $(BINDIR)/$(RELEASE_MODE)/linux/amd64 - CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build ${GOBUILDARGS} --tags "$(GOBUILDTAGS)" $(COMPILE_DEBUG_FLAGS) -installsuffix netgo -gcflags=all="$(GOBUILDGCFLAGS)" -ldflags "$(GOBUILDLDFLAGS)" -o $(VBIN_LINUX_AMD64) ./cmd/main - CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build ${GOBUILDARGS} --tags "$(GOBUILDTAGS)" $(COMPILE_DEBUG_FLAGS) -installsuffix netgo -gcflags=all="$(GOBUILDGCFLAGS)" -ldflags "$(GOBUILDLDFLAGS)" -o $(VBIN_OPS_LINUX_AMD64) ./cmd/main-ops - -$(VBIN_LINUX_ARM64): $(SOURCES) dashboard/assets.go VERSION - @mkdir -p $(BINDIR)/$(RELEASE_MODE)/linux/arm64 - CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build ${GOBUILDARGS} --tags "$(GOBUILDTAGS)" $(COMPILE_DEBUG_FLAGS) -installsuffix netgo -gcflags=all="$(GOBUILDGCFLAGS)" -ldflags "$(GOBUILDLDFLAGS)" -o $(VBIN_LINUX_ARM64) ./cmd/main - CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build ${GOBUILDARGS} --tags "$(GOBUILDTAGS)" $(COMPILE_DEBUG_FLAGS) -installsuffix netgo -gcflags=all="$(GOBUILDGCFLAGS)" -ldflags "$(GOBUILDLDFLAGS)" -o $(VBIN_OPS_LINUX_ARM64) ./cmd/main-ops +# Binaries -bin-ops-all: $(VBIN_LINUX_AMD64) $(VBIN_LINUX_ARM64) - @mkdir -p $(BINDIR)/$(RELEASE_MODE)/darwin/amd64 - CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build ${GOBUILDARGS} --tags "$(GOBUILDTAGS)" $(COMPILE_DEBUG_FLAGS) -installsuffix netgo -gcflags=all="$(GOBUILDGCFLAGS)" -ldflags "$(GOBUILDLDFLAGS)" -o $(VBIN_OPS_DARWIN_AMD64) ./cmd/main-ops - @mkdir -p $(BINDIR)/$(RELEASE_MODE)/darwin/arm64 - CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build ${GOBUILDARGS} --tags "$(GOBUILDTAGS)" $(COMPILE_DEBUG_FLAGS) -installsuffix netgo -gcflags=all="$(GOBUILDGCFLAGS)" -ldflags "$(GOBUILDLDFLAGS)" -o $(VBIN_OPS_DARWIN_ARM64) ./cmd/main-ops +.PHONY: bin +bin: $(BIN) -$(BIN): $(VBIN_LINUX_AMD64) +$(BIN): $(VBIN_LINUX_AMD64) $(VBIN_OPS_LINUX_AMD64) $(VBIN_INT_LINUX_AMD64) @cp "$(VBIN_LINUX_AMD64)" "$(BIN)" @cp "$(VBIN_OPS_LINUX_AMD64)" "$(BIN_OPS)" @@ -817,7 +826,7 @@ check-community: @$(MAKE) _check RELEASE_MODE=community _check: sync-crds - @$(MAKE) fmt yamlfmt license-verify linter run-unit-tests bin vulncheck-optional + @$(MAKE) fmt yamlfmt license-verify linter run-unit-tests bin-all vulncheck-optional generate: generate-internal generate-proto fmt yamlfmt diff --git a/cmd/cmd.go b/cmd/cmd.go index 64dc4272f..4933736e1 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -184,6 +184,7 @@ func init() { var deprecatedStr string f := cmdMain.Flags() + f.StringVar(&serverOptions.host, "server.host", defaultServerHost, "Host to listen on") f.IntVar(&serverOptions.port, "server.port", defaultServerPort, "Port to listen on") f.StringVar(&serverOptions.tlsSecretName, "server.tls-secret-name", "", "Name of secret containing tls.crt & tls.key for HTTPS server (if empty, self-signed certificate is used)") diff --git a/cmd/integration.go b/cmd/integration.go index d9eba96e9..3cb613c39 100644 --- a/cmd/integration.go +++ b/cmd/integration.go @@ -20,10 +20,20 @@ package cmd -import "github.com/arangodb/kube-arangodb/cmd/integrations" +import ( + "github.com/spf13/cobra" + + "github.com/arangodb/kube-arangodb/pkg/integrations" +) func init() { - if err := integrations.Register(&cmdMain); err != nil { + subCommand := &cobra.Command{ + Use: "integration", + } + + if err := integrations.Register(subCommand); err != nil { panic(err.Error()) } + + cmdMain.AddCommand(subCommand) } diff --git a/cmd/main-int/main_int.go b/cmd/main-int/main_int.go new file mode 100644 index 000000000..9dd27a376 --- /dev/null +++ b/cmd/main-int/main_int.go @@ -0,0 +1,60 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package main + +import ( + goflag "flag" + "os" + + "github.com/spf13/cobra" + flag "github.com/spf13/pflag" + + "github.com/arangodb/kube-arangodb/pkg/integrations" +) + +var ( + cmd = cobra.Command{ + Use: "arangodb_int", + RunE: func(cmd *cobra.Command, args []string) error { + return cmd.Usage() + }, + } +) + +func init() { + if err := integrations.Register(&cmd); err != nil { + panic(err.Error()) + } +} + +func Execute() int { + flag.CommandLine.AddGoFlagSet(goflag.CommandLine) + + if err := cmd.Execute(); err != nil { + return 1 + } + + return 0 +} + +func main() { + os.Exit(Execute()) +} diff --git a/go.mod b/go.mod index 8ac8189ca..343fcdf4f 100644 --- a/go.mod +++ b/go.mod @@ -36,11 +36,11 @@ require ( github.com/fsnotify/fsnotify v1.7.0 github.com/gin-gonic/gin v1.9.1 github.com/golang-jwt/jwt v3.2.2+incompatible - github.com/google/uuid v1.3.1 + github.com/google/uuid v1.4.0 github.com/jessevdk/go-assets v0.0.0-20160921144138-4f4301a06e15 github.com/josephburnett/jd v1.6.1 github.com/julienschmidt/httprouter v1.3.0 - github.com/magiconair/properties v1.8.5 + github.com/magiconair/properties v1.8.7 github.com/pkg/errors v0.9.1 github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.44.1 github.com/prometheus-operator/prometheus-operator/pkg/client v0.0.0-00010101000000-000000000000 @@ -49,13 +49,13 @@ require ( github.com/prometheus/prom2json v1.3.3 github.com/robfig/cron v1.2.0 github.com/rs/zerolog v1.19.0 - github.com/spf13/cobra v1.7.0 + github.com/spf13/cobra v1.8.0 github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.8.4 - golang.org/x/sync v0.4.0 + golang.org/x/sync v0.6.0 golang.org/x/sys v0.16.0 golang.org/x/text v0.14.0 - golang.org/x/time v0.3.0 + golang.org/x/time v0.5.0 google.golang.org/grpc v1.60.1 google.golang.org/protobuf v1.32.0 gopkg.in/yaml.v3 v3.0.1 @@ -74,7 +74,7 @@ require ( github.com/cenkalti/backoff/v4 v4.2.1 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect - github.com/davecgh/go-spew v1.1.1 // indirect + github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/dchest/siphash v1.2.2 // indirect github.com/emicklei/go-restful/v3 v3.9.0 // indirect github.com/evanphx/json-patch v4.12.0+incompatible // indirect @@ -109,19 +109,19 @@ require ( github.com/modern-go/reflect2 v1.0.2 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/pavel-v-chernykh/keystore-go v2.1.0+incompatible // indirect - github.com/pelletier/go-toml/v2 v2.0.8 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/pelletier/go-toml/v2 v2.1.1 // indirect + github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/prometheus/common v0.44.0 // indirect github.com/prometheus/procfs v0.10.1 // indirect github.com/stretchr/objx v0.4.0 // indirect github.com/twitchyliquid64/golang-asm v0.15.1 // indirect github.com/ugorji/go/codec v1.2.11 // indirect golang.org/x/arch v0.3.0 // indirect - golang.org/x/crypto v0.17.0 // indirect - golang.org/x/net v0.19.0 // indirect - golang.org/x/oauth2 v0.13.0 // indirect - golang.org/x/term v0.15.0 // indirect - golang.org/x/tools v0.12.0 // indirect + golang.org/x/crypto v0.18.0 // indirect + golang.org/x/net v0.20.0 // indirect + golang.org/x/oauth2 v0.15.0 // indirect + golang.org/x/term v0.16.0 // indirect + golang.org/x/tools v0.17.0 // indirect google.golang.org/appengine v1.6.8 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917 // indirect gopkg.in/inf.v0 v0.9.1 // indirect diff --git a/go.sum b/go.sum index 146501786..446d91115 100644 --- a/go.sum +++ b/go.sum @@ -603,8 +603,6 @@ github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c/go.mod h1:X0 github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= -github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= github.com/ajstarks/deck v0.0.0-20200831202436-30c9fc6549a9/go.mod h1:JynElWSGnm/4RlzPXRlREEwqTHAN3T56Bv2ITsFT3gY= github.com/ajstarks/deck/generate v0.0.0-20210309230005-c3f852c02e19/go.mod h1:T13YZdzov6OU0A1+RfKZiZN9ca6VeKdBdyDV+BY97Tk= github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= @@ -703,12 +701,14 @@ github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSV github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creack/pty v1.1.18/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dchest/siphash v1.2.2 h1:9DFz8tQwl9pTVt5iok/9zKyzA1Q6bRGiF3HPiEEVr9I= github.com/dchest/siphash v1.2.2/go.mod h1:q+IRvb2gOSrUnYoPqHiyHXS0FOBBOdl6tONBlVnOnt4= github.com/dchest/uniuri v0.0.0-20160212164326-8902c56451e9 h1:74lLNRzvsdIlkTgfDSMuaPjBr4cf6k7pwQQANm/yLKU= @@ -749,7 +749,6 @@ github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nos github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= github.com/gabriel-vasile/mimetype v1.4.2 h1:w5qFW6JKBz9Y393Y4q372O9A7cUSequkh1Q7OhCmWKU= github.com/gabriel-vasile/mimetype v1.4.2/go.mod h1:zApsH/mKG4w07erKIaJPFiX0Tsq9BFQgN3qGY5GnNgA= -github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= @@ -784,17 +783,11 @@ github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-logr/zapr v1.2.3/go.mod h1:eIauM6P8qSvTw5o2ez6UEAfGjQKrxQTl5EoK+Qa2oG4= -github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= github.com/go-openapi/jsonpointer v0.19.6 h1:eCs3fxoIi3Wh6vtgmLTOjdhSpiqphQ+DaPn38N2ZdrE= github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs= -github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= -github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg= github.com/go-openapi/jsonreference v0.20.1/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k= github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2KvnJRumpMGbE= github.com/go-openapi/jsonreference v0.20.2/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k= -github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= -github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= github.com/go-openapi/swag v0.22.3 h1:yMBqmnQ0gyZvEb/+KzuWZOXgllrXT4SADYbvDaXHv/g= github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14= github.com/go-pdf/fpdf v0.5.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M= @@ -867,7 +860,6 @@ github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= github.com/google/cel-go v0.16.1/go.mod h1:HXZKzB0LXqer5lHHgfWAnlYwJaQBDKMjxjulNQzhwhY= github.com/google/flatbuffers v2.0.8+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= -github.com/google/gnostic v0.5.7-v3refs/go.mod h1:73MKFl6jIHelAJNaBGFzt3SPtZULs9dYrGFt8OiIsHQ= github.com/google/gnostic-models v0.6.8 h1:yo/ABAfM5IMRsS1VnXjTBvUb61tFIHozhlYvRgGre9I= github.com/google/gnostic-models v0.6.8/go.mod h1:5n7qKqH0f5wFt+aWF8CW6pZLLNOfYuF5OpfBSENuI8U= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= @@ -916,8 +908,8 @@ github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLe github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4= -github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= +github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8= github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg= @@ -937,7 +929,6 @@ github.com/googleapis/gax-go/v2 v2.7.1/go.mod h1:4orTrqY6hXxxaUL4LHIPl6lGo8vAE38 github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= @@ -1029,11 +1020,8 @@ github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuz github.com/lyft/protoc-gen-star v0.6.1/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA= github.com/lyft/protoc-gen-star/v2 v2.0.1/go.mod h1:RcCdONR2ScXaYnQC5tUzxzlpA3WVYF7/opLeUgcQs/o= github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/magiconair/properties v1.8.5 h1:b6kJs+EmPFMYGkow9GiUyCyOvIwYetYJ3fSaWak/Gls= -github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= -github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= +github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= +github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= @@ -1073,7 +1061,6 @@ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8m github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= @@ -1114,8 +1101,8 @@ github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FI github.com/pavel-v-chernykh/keystore-go v2.1.0+incompatible h1:Jd6xfriVlJ6hWPvYOE0Ni0QWcNTLRehfGPFxr3eSL80= github.com/pavel-v-chernykh/keystore-go v2.1.0+incompatible/go.mod h1:xlUlxe/2ItGlQyMTstqeDv9r3U4obH7xYd26TbDQutY= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/pelletier/go-toml/v2 v2.0.8 h1:0ctb6s9mE31h0/lhu+J6OPmVeDxJn+kYnJc2jZR9tGQ= -github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNcZljzZR9VXg+4= +github.com/pelletier/go-toml/v2 v2.1.1 h1:LWAJwfNvjQZCFIDKWYQaM62NcYeYViCmWIwmOStowAI= +github.com/pelletier/go-toml/v2 v2.1.1/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/phpdave11/gofpdf v1.4.2/go.mod h1:zpO6xFn9yxo3YLyMvW8HcKWVdbNqgIfOOp2dXMnm1mY= github.com/phpdave11/gofpdi v1.0.12/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI= @@ -1128,8 +1115,9 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= +github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= github.com/pquerna/cachecontrol v0.1.0/go.mod h1:NrUG3Z7Rdu85UNR3vm7SOsl1nFIeSiQnrHV5K9mBcUI= github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.46.0 h1:J+aQlaDVIemgZDR1f/48MBaiA7rDTm6OyKSRhDX2ZTY= @@ -1215,8 +1203,9 @@ github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= -github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= +github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0= +github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= @@ -1318,8 +1307,8 @@ golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw= golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4= -golang.org/x/crypto v0.17.0 h1:r8bRNjWL3GshPW3gkd+RpvzWrZAwPS49OmTGZ/uhM4k= -golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= +golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc= +golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -1399,7 +1388,6 @@ golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= @@ -1455,8 +1443,8 @@ golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= -golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c= -golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= +golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo= +golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1487,8 +1475,8 @@ golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I golang.org/x/oauth2 v0.6.0/go.mod h1:ycmewcwgD4Rpr3eZJLSB4Kyyljb3qDh40vJ8STE5HKw= golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= -golang.org/x/oauth2 v0.13.0 h1:jDDenyj+WgFtmV3zYVoi8aE2BwtXFLWOA67ZfNWftiY= -golang.org/x/oauth2 v0.13.0/go.mod h1:/JMhi4ZRXAf4HG9LiNmxvk+45+96RUlVThiH8FzNBn0= +golang.org/x/oauth2 v0.15.0 h1:s8pnnxNVzjWyrvYdFUQq5llS1PX2zhPXmccZv99h7uQ= +golang.org/x/oauth2 v0.15.0/go.mod h1:q48ptWNTY5XWf+JNten23lcvHpLJ0ZSxF5ttTHKVCAM= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -1506,8 +1494,8 @@ golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ= -golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= +golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= +golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1625,8 +1613,8 @@ golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= -golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4= -golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= +golang.org/x/term v0.16.0 h1:m+B6fahuftsE9qjo0VWp2FW0mB3MTJvR0BaMQrq0pmE= +golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1652,8 +1640,9 @@ golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxb golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20220922220347-f3bd1da661af/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.1.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk= +golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -1728,8 +1717,8 @@ golang.org/x/tools v0.4.0/go.mod h1:UE5sM2OK9E/d67R0ANs2xJizIymRP5gJU295PvKXxjQ= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= golang.org/x/tools v0.8.0/go.mod h1:JxBZ99ISMI5ViVkT1tr6tdNmXeTrcpVSD3vZ1RsRdN4= -golang.org/x/tools v0.12.0 h1:YW6HUoUmYBpwSgyaGaZq1fHjrBjX1rlpZ54T6mu2kss= -golang.org/x/tools v0.12.0/go.mod h1:Sc0INKfu04TlqNoRA1hgpFZbhYXHPr4V5DzpSBTPqQM= +golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc= +golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -1844,7 +1833,6 @@ google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201019141844-1ed22bb0c154/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= @@ -2023,7 +2011,6 @@ gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLks gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= @@ -2047,7 +2034,6 @@ gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= @@ -2070,16 +2056,13 @@ k8s.io/client-go v0.28.5 h1:6UNmc33vuJhh3+SAOEKku3QnKa+DtPKGnhO2MR0IEbk= k8s.io/client-go v0.28.5/go.mod h1:+pt086yx1i0HAlHzM9S+RZQDqdlzuXFl4hY01uhpcpA= k8s.io/component-base v0.28.5/go.mod h1:gw2d8O28okS9RrsPuJnD2mFl2It0HH9neHiGi2xoXcY= k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= -k8s.io/gengo v0.0.0-20211129171323-c02415ce4185/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= k8s.io/gengo v0.0.0-20220902162205-c0856e24416d/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= -k8s.io/klog/v2 v2.70.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= k8s.io/klog/v2 v2.80.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= k8s.io/klog/v2 v2.100.1 h1:7WCHKK6K8fNhTqfBhISHQ97KrnJNFZMcQvKp7gP/tmg= k8s.io/klog/v2 v2.100.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= k8s.io/kms v0.28.5/go.mod h1:BuOJ8gZRpTFPw4g/OXNfy9ljhuG+U2mT8SK3+3TuCxs= -k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1/go.mod h1:C/N6wCaBHeBHkHUesQOQy2/MZqGgMAFPqGsGQLdbZBU= k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 h1:LyMgNKD2P8Wn1iAwQU5OhxCKlKJy0sHc+PcDwFB24dQ= k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9/go.mod h1:wZK2AVp1uHCp4VamDVgBP2COHZjqD1T68Rf0CM3YjSM= k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= diff --git a/integrations/authentication/v1/cache.go b/integrations/authentication/v1/cache.go new file mode 100644 index 000000000..7c52e4536 --- /dev/null +++ b/integrations/authentication/v1/cache.go @@ -0,0 +1,144 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package v1 + +import ( + "io" + "os" + "path" + "sort" + "time" + + "github.com/arangodb/kube-arangodb/pkg/util" + "github.com/arangodb/kube-arangodb/pkg/util/errors" +) + +const MaxSize = 128 + +type cache struct { + parent *implementation + + eol time.Time + + signingToken []byte + + validationTokens [][]byte +} + +func (i *implementation) newCache() (*cache, error) { + files, err := os.ReadDir(i.cfg.Path) + if err != nil { + return nil, err + } + + var keys []string + var tokens = make(map[string][]byte) + + for _, file := range files { + if file.IsDir() { + continue + } + + data, err := util.OpenWithRead(path.Join(i.cfg.Path, file.Name()), MaxSize) + if err != nil { + continue + } + + if len(data) == 0 { + continue + } + + buff := make([]byte, 32) + + for id := range buff { + buff[id] = 0 + } + + copy(buff, data) + + keys = append(keys, file.Name()) + tokens[file.Name()] = buff + } + + if len(keys) == 0 { + return nil, io.ErrUnexpectedEOF + } + + sort.Strings(keys) + + data := make([][]byte, len(keys)) + + for id := range data { + data[id] = tokens[keys[id]] + } + + cache := cache{ + parent: i, + eol: time.Now().Add(i.cfg.TTL), + signingToken: tokens[keys[0]], + validationTokens: data, + } + + return &cache, nil +} + +func (i *implementation) localGetCache() *cache { + if c := i.cache; c != nil && c.eol.After(time.Now()) { + return c + } + + return nil +} + +func (i *implementation) withCache() (*cache, error) { + if c := i.getCache(); c != nil { + return c, nil + } + + return i.refreshCache() +} + +func (i *implementation) getCache() *cache { + i.lock.RLock() + defer i.lock.RUnlock() + + return i.localGetCache() +} + +func (i *implementation) refreshCache() (*cache, error) { + i.lock.Lock() + defer i.lock.Unlock() + + if c := i.localGetCache(); c != nil { + return c, nil + } + + // Get was not successful, retry + + if c, err := i.newCache(); err != nil { + return nil, err + } else if c == nil { + return nil, errors.Errorf("cache returned is nil") + } else { + i.cache = c + return i.cache, nil + } +} diff --git a/integrations/authentication/v1/configuration.go b/integrations/authentication/v1/configuration.go new file mode 100644 index 000000000..b45adea14 --- /dev/null +++ b/integrations/authentication/v1/configuration.go @@ -0,0 +1,129 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package v1 + +import ( + "time" + + "github.com/arangodb/kube-arangodb/pkg/util/errors" + "github.com/arangodb/kube-arangodb/pkg/util/strings" +) + +const ( + DefaultAdminUser = "root" + + DefaultUser = "root" + + DefaultTTL = 15 * time.Second + + DefaultTokenMinTTL = time.Minute + DefaultTokenMaxTTL = time.Hour + DefaultTokenDefaultTTL = time.Hour +) + +type Mod func(c Configuration) Configuration + +func NewConfiguration() Configuration { + return Configuration{ + Enabled: true, + TTL: DefaultTTL, + Path: "", + Create: Token{ + DefaultUser: DefaultUser, + AllowedUsers: nil, + MinTTL: DefaultTokenMinTTL, + MaxTTL: DefaultTokenMaxTTL, + DefaultTTL: DefaultTokenDefaultTTL, + }, + } +} + +type Configuration struct { + Enabled bool + + TTL time.Duration + + Path string + + Create Token +} + +func (c Configuration) With(mods ...Mod) Configuration { + n := c + + for _, mod := range mods { + n = mod(n) + } + + return n +} + +func (c Configuration) Validate() error { + if c.Path == "" { + return errors.Errorf("Path should not be empty") + } + + if c.TTL < 0 { + return errors.Errorf("TTLS should be not negative") + } + + if err := c.Create.Validate(); err != nil { + return errors.Wrapf(err, "Token validation failed") + } + + return nil +} + +type Token struct { + DefaultUser string + + AllowedUsers []string + + MinTTL, MaxTTL, DefaultTTL time.Duration +} + +func (t Token) Validate() error { + if t.MinTTL < 0 { + return errors.Errorf("MinTTL Cannot be lower than 0") + } + + if t.MaxTTL < t.MinTTL { + return errors.Errorf("MaxTTL Cannot be lower than MinTTL") + } + + if t.DefaultTTL < t.MinTTL { + return errors.Errorf("DefautTTL Cannot be lower than MinTTL") + } + + if t.DefaultTTL > t.MaxTTL { + return errors.Errorf("DefautTTL Cannot be higher than MaxTTL") + } + + if len(t.AllowedUsers) > 0 { + // We are enforcing allowed users + + if !strings.ListContains(t.AllowedUsers, t.DefaultUser) { + return errors.Errorf("DefaultUser should be always allowed") + } + } + + return nil +} diff --git a/integrations/authentication/v1/definition/definition.pb.go b/integrations/authentication/v1/definition/definition.pb.go new file mode 100644 index 000000000..3ecd6a9f9 --- /dev/null +++ b/integrations/authentication/v1/definition/definition.pb.go @@ -0,0 +1,531 @@ +// +// DISCLAIMER +// +// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.21.1 +// source: integrations/authentication/v1/definition/definition.proto + +package definition + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// ValidateRequest defines request for AuthenticationV1 Validate Request +type ValidateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Token specifies a token extracted from the request or used currently + Token string `protobuf:"bytes,1,opt,name=Token,proto3" json:"Token,omitempty"` +} + +func (x *ValidateRequest) Reset() { + *x = ValidateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_integrations_authentication_v1_definition_definition_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateRequest) ProtoMessage() {} + +func (x *ValidateRequest) ProtoReflect() protoreflect.Message { + mi := &file_integrations_authentication_v1_definition_definition_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateRequest.ProtoReflect.Descriptor instead. +func (*ValidateRequest) Descriptor() ([]byte, []int) { + return file_integrations_authentication_v1_definition_definition_proto_rawDescGZIP(), []int{0} +} + +func (x *ValidateRequest) GetToken() string { + if x != nil { + return x.Token + } + return "" +} + +// ValidateResponse defines response for AuthenticationV1 Validate Request +type ValidateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // IsValid returns information about the validity of the token + IsValid bool `protobuf:"varint,1,opt,name=IsValid,proto3" json:"IsValid,omitempty"` + // Message message for the validation phase + Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"` + // Details returns token details if the token is valid + Details *ValidateResponseDetails `protobuf:"bytes,3,opt,name=Details,proto3,oneof" json:"Details,omitempty"` +} + +func (x *ValidateResponse) Reset() { + *x = ValidateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_integrations_authentication_v1_definition_definition_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateResponse) ProtoMessage() {} + +func (x *ValidateResponse) ProtoReflect() protoreflect.Message { + mi := &file_integrations_authentication_v1_definition_definition_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateResponse.ProtoReflect.Descriptor instead. +func (*ValidateResponse) Descriptor() ([]byte, []int) { + return file_integrations_authentication_v1_definition_definition_proto_rawDescGZIP(), []int{1} +} + +func (x *ValidateResponse) GetIsValid() bool { + if x != nil { + return x.IsValid + } + return false +} + +func (x *ValidateResponse) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +func (x *ValidateResponse) GetDetails() *ValidateResponseDetails { + if x != nil { + return x.Details + } + return nil +} + +// ValidateResponseDetails defines optional response for AuthenticationV1 Validate Request. +// Returned only if the Token provided in the request is valid. +type ValidateResponseDetails struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Lifetime specify the lifetime of the token + Lifetime *durationpb.Duration `protobuf:"bytes,1,opt,name=Lifetime,proto3" json:"Lifetime,omitempty"` + // User returns the User used in the Token. If a user is not specified, `root` is returned + User string `protobuf:"bytes,2,opt,name=User,proto3" json:"User,omitempty"` +} + +func (x *ValidateResponseDetails) Reset() { + *x = ValidateResponseDetails{} + if protoimpl.UnsafeEnabled { + mi := &file_integrations_authentication_v1_definition_definition_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValidateResponseDetails) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValidateResponseDetails) ProtoMessage() {} + +func (x *ValidateResponseDetails) ProtoReflect() protoreflect.Message { + mi := &file_integrations_authentication_v1_definition_definition_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValidateResponseDetails.ProtoReflect.Descriptor instead. +func (*ValidateResponseDetails) Descriptor() ([]byte, []int) { + return file_integrations_authentication_v1_definition_definition_proto_rawDescGZIP(), []int{2} +} + +func (x *ValidateResponseDetails) GetLifetime() *durationpb.Duration { + if x != nil { + return x.Lifetime + } + return nil +} + +func (x *ValidateResponseDetails) GetUser() string { + if x != nil { + return x.User + } + return "" +} + +// CreateTokenRequest defines request for AuthenticationV1 CreateToken Request +type CreateTokenRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Lifetime specifies the lifetime of the token as duration. Defaults to 1 hour + Lifetime *durationpb.Duration `protobuf:"bytes,1,opt,name=Lifetime,proto3,oneof" json:"Lifetime,omitempty"` + // User specify the User for which token should be created. By default, the default user is used (root in most cases) + User *string `protobuf:"bytes,2,opt,name=User,proto3,oneof" json:"User,omitempty"` +} + +func (x *CreateTokenRequest) Reset() { + *x = CreateTokenRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_integrations_authentication_v1_definition_definition_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateTokenRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateTokenRequest) ProtoMessage() {} + +func (x *CreateTokenRequest) ProtoReflect() protoreflect.Message { + mi := &file_integrations_authentication_v1_definition_definition_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateTokenRequest.ProtoReflect.Descriptor instead. +func (*CreateTokenRequest) Descriptor() ([]byte, []int) { + return file_integrations_authentication_v1_definition_definition_proto_rawDescGZIP(), []int{3} +} + +func (x *CreateTokenRequest) GetLifetime() *durationpb.Duration { + if x != nil { + return x.Lifetime + } + return nil +} + +func (x *CreateTokenRequest) GetUser() string { + if x != nil && x.User != nil { + return *x.User + } + return "" +} + +// CreateTokenResponse defines response for AuthenticationV1 CreateToken Request +type CreateTokenResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Lifetime specify the lifetime of the token as the duration + Lifetime *durationpb.Duration `protobuf:"bytes,1,opt,name=Lifetime,proto3" json:"Lifetime,omitempty"` + // User returns the User used in the Token + User string `protobuf:"bytes,2,opt,name=User,proto3" json:"User,omitempty"` + // Token returns the Token as a string + Token string `protobuf:"bytes,3,opt,name=Token,proto3" json:"Token,omitempty"` +} + +func (x *CreateTokenResponse) Reset() { + *x = CreateTokenResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_integrations_authentication_v1_definition_definition_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateTokenResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateTokenResponse) ProtoMessage() {} + +func (x *CreateTokenResponse) ProtoReflect() protoreflect.Message { + mi := &file_integrations_authentication_v1_definition_definition_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateTokenResponse.ProtoReflect.Descriptor instead. +func (*CreateTokenResponse) Descriptor() ([]byte, []int) { + return file_integrations_authentication_v1_definition_definition_proto_rawDescGZIP(), []int{4} +} + +func (x *CreateTokenResponse) GetLifetime() *durationpb.Duration { + if x != nil { + return x.Lifetime + } + return nil +} + +func (x *CreateTokenResponse) GetUser() string { + if x != nil { + return x.User + } + return "" +} + +func (x *CreateTokenResponse) GetToken() string { + if x != nil { + return x.Token + } + return "" +} + +var File_integrations_authentication_v1_definition_definition_proto protoreflect.FileDescriptor + +var file_integrations_authentication_v1_definition_definition_proto_rawDesc = []byte{ + 0x0a, 0x3a, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, + 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, + 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x64, 0x65, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x61, 0x75, + 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x27, 0x0a, 0x0f, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9a, 0x01, 0x0a, 0x10, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x49, 0x73, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x49, 0x73, 0x56, + 0x61, 0x6c, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x46, + 0x0a, 0x07, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x27, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x48, 0x00, 0x52, 0x07, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x73, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x73, 0x22, 0x64, 0x0a, 0x17, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x35, 0x0a, + 0x08, 0x4c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x4c, 0x69, 0x66, 0x65, + 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x55, 0x73, 0x65, 0x72, 0x22, 0x7f, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, + 0x0a, 0x08, 0x4c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x4c, + 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x55, 0x73, + 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x04, 0x55, 0x73, 0x65, 0x72, + 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x4c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, + 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x55, 0x73, 0x65, 0x72, 0x22, 0x76, 0x0a, 0x13, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x35, 0x0a, 0x08, 0x4c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x4c, + 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x54, 0x6f, 0x6b, 0x65, + 0x6e, 0x32, 0xbd, 0x01, 0x0a, 0x10, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x31, 0x12, 0x4f, 0x0a, 0x08, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x12, 0x1f, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x22, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, + 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61, 0x75, 0x74, + 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x00, 0x42, 0x3e, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x61, 0x72, 0x61, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x2d, 0x61, 0x72, + 0x61, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_integrations_authentication_v1_definition_definition_proto_rawDescOnce sync.Once + file_integrations_authentication_v1_definition_definition_proto_rawDescData = file_integrations_authentication_v1_definition_definition_proto_rawDesc +) + +func file_integrations_authentication_v1_definition_definition_proto_rawDescGZIP() []byte { + file_integrations_authentication_v1_definition_definition_proto_rawDescOnce.Do(func() { + file_integrations_authentication_v1_definition_definition_proto_rawDescData = protoimpl.X.CompressGZIP(file_integrations_authentication_v1_definition_definition_proto_rawDescData) + }) + return file_integrations_authentication_v1_definition_definition_proto_rawDescData +} + +var file_integrations_authentication_v1_definition_definition_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_integrations_authentication_v1_definition_definition_proto_goTypes = []interface{}{ + (*ValidateRequest)(nil), // 0: authentication.ValidateRequest + (*ValidateResponse)(nil), // 1: authentication.ValidateResponse + (*ValidateResponseDetails)(nil), // 2: authentication.ValidateResponseDetails + (*CreateTokenRequest)(nil), // 3: authentication.CreateTokenRequest + (*CreateTokenResponse)(nil), // 4: authentication.CreateTokenResponse + (*durationpb.Duration)(nil), // 5: google.protobuf.Duration +} +var file_integrations_authentication_v1_definition_definition_proto_depIdxs = []int32{ + 2, // 0: authentication.ValidateResponse.Details:type_name -> authentication.ValidateResponseDetails + 5, // 1: authentication.ValidateResponseDetails.Lifetime:type_name -> google.protobuf.Duration + 5, // 2: authentication.CreateTokenRequest.Lifetime:type_name -> google.protobuf.Duration + 5, // 3: authentication.CreateTokenResponse.Lifetime:type_name -> google.protobuf.Duration + 0, // 4: authentication.AuthenticationV1.Validate:input_type -> authentication.ValidateRequest + 3, // 5: authentication.AuthenticationV1.CreateToken:input_type -> authentication.CreateTokenRequest + 1, // 6: authentication.AuthenticationV1.Validate:output_type -> authentication.ValidateResponse + 4, // 7: authentication.AuthenticationV1.CreateToken:output_type -> authentication.CreateTokenResponse + 6, // [6:8] is the sub-list for method output_type + 4, // [4:6] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_integrations_authentication_v1_definition_definition_proto_init() } +func file_integrations_authentication_v1_definition_definition_proto_init() { + if File_integrations_authentication_v1_definition_definition_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_integrations_authentication_v1_definition_definition_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_integrations_authentication_v1_definition_definition_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_integrations_authentication_v1_definition_definition_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidateResponseDetails); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_integrations_authentication_v1_definition_definition_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateTokenRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_integrations_authentication_v1_definition_definition_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateTokenResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_integrations_authentication_v1_definition_definition_proto_msgTypes[1].OneofWrappers = []interface{}{} + file_integrations_authentication_v1_definition_definition_proto_msgTypes[3].OneofWrappers = []interface{}{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_integrations_authentication_v1_definition_definition_proto_rawDesc, + NumEnums: 0, + NumMessages: 5, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_integrations_authentication_v1_definition_definition_proto_goTypes, + DependencyIndexes: file_integrations_authentication_v1_definition_definition_proto_depIdxs, + MessageInfos: file_integrations_authentication_v1_definition_definition_proto_msgTypes, + }.Build() + File_integrations_authentication_v1_definition_definition_proto = out.File + file_integrations_authentication_v1_definition_definition_proto_rawDesc = nil + file_integrations_authentication_v1_definition_definition_proto_goTypes = nil + file_integrations_authentication_v1_definition_definition_proto_depIdxs = nil +} diff --git a/integrations/authentication/v1/definition/definition.proto b/integrations/authentication/v1/definition/definition.proto new file mode 100644 index 000000000..e68688de2 --- /dev/null +++ b/integrations/authentication/v1/definition/definition.proto @@ -0,0 +1,85 @@ +// +// DISCLAIMER +// +// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +syntax = "proto3"; + +import "google/protobuf/duration.proto"; + +option go_package = "github.com/arangodb/kube-arangodb/integrations/v1/definition"; + +package authentication; + +// AuthenticationV1 define ServiceInterface for Authentication V1 +service AuthenticationV1 { + // Validate and ensure that Authentication details are valid returns information about the user + rpc Validate (ValidateRequest) returns (ValidateResponse) {} + + // CreateToken creates a token for the specified user + rpc CreateToken (CreateTokenRequest) returns (CreateTokenResponse) {} +} + +// ValidateRequest defines request for AuthenticationV1 Validate Request +message ValidateRequest { + // Token specifies a token extracted from the request or used currently + string Token = 1; +} + +// ValidateResponse defines response for AuthenticationV1 Validate Request +message ValidateResponse { + // IsValid returns information about the validity of the token + bool IsValid = 1; + + // Message message for the validation phase + string Message = 2; + + // Details returns token details if the token is valid + optional ValidateResponseDetails Details = 3; +} + +// ValidateResponseDetails defines optional response for AuthenticationV1 Validate Request. +// Returned only if the Token provided in the request is valid. +message ValidateResponseDetails { + // Lifetime specify the lifetime of the token + google.protobuf.Duration Lifetime = 1; + + // User returns the User used in the Token. If a user is not specified, `root` is returned + string User = 2; +} + +// CreateTokenRequest defines request for AuthenticationV1 CreateToken Request +message CreateTokenRequest { + // Lifetime specifies the lifetime of the token as duration. Defaults to 1 hour + optional google.protobuf.Duration Lifetime = 1; + + // User specify the User for which token should be created. By default, the default user is used (root in most cases) + optional string User = 2; +} + +// CreateTokenResponse defines response for AuthenticationV1 CreateToken Request +message CreateTokenResponse { + // Lifetime specify the lifetime of the token as the duration + google.protobuf.Duration Lifetime = 1; + + // User returns the User used in the Token + string User = 2; + + // Token returns the Token as a string + string Token = 3; +} \ No newline at end of file diff --git a/integrations/authentication/v1/definition/definition_grpc.pb.go b/integrations/authentication/v1/definition/definition_grpc.pb.go new file mode 100644 index 000000000..220cc08a8 --- /dev/null +++ b/integrations/authentication/v1/definition/definition_grpc.pb.go @@ -0,0 +1,145 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc v3.21.1 +// source: integrations/authentication/v1/definition/definition.proto + +package definition + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// AuthenticationV1Client is the client API for AuthenticationV1 service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type AuthenticationV1Client interface { + // Validate and ensure that Authentication details are valid returns information about the user + Validate(ctx context.Context, in *ValidateRequest, opts ...grpc.CallOption) (*ValidateResponse, error) + // CreateToken creates a token for the specified user + CreateToken(ctx context.Context, in *CreateTokenRequest, opts ...grpc.CallOption) (*CreateTokenResponse, error) +} + +type authenticationV1Client struct { + cc grpc.ClientConnInterface +} + +func NewAuthenticationV1Client(cc grpc.ClientConnInterface) AuthenticationV1Client { + return &authenticationV1Client{cc} +} + +func (c *authenticationV1Client) Validate(ctx context.Context, in *ValidateRequest, opts ...grpc.CallOption) (*ValidateResponse, error) { + out := new(ValidateResponse) + err := c.cc.Invoke(ctx, "/authentication.AuthenticationV1/Validate", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *authenticationV1Client) CreateToken(ctx context.Context, in *CreateTokenRequest, opts ...grpc.CallOption) (*CreateTokenResponse, error) { + out := new(CreateTokenResponse) + err := c.cc.Invoke(ctx, "/authentication.AuthenticationV1/CreateToken", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// AuthenticationV1Server is the server API for AuthenticationV1 service. +// All implementations must embed UnimplementedAuthenticationV1Server +// for forward compatibility +type AuthenticationV1Server interface { + // Validate and ensure that Authentication details are valid returns information about the user + Validate(context.Context, *ValidateRequest) (*ValidateResponse, error) + // CreateToken creates a token for the specified user + CreateToken(context.Context, *CreateTokenRequest) (*CreateTokenResponse, error) + mustEmbedUnimplementedAuthenticationV1Server() +} + +// UnimplementedAuthenticationV1Server must be embedded to have forward compatible implementations. +type UnimplementedAuthenticationV1Server struct { +} + +func (UnimplementedAuthenticationV1Server) Validate(context.Context, *ValidateRequest) (*ValidateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Validate not implemented") +} +func (UnimplementedAuthenticationV1Server) CreateToken(context.Context, *CreateTokenRequest) (*CreateTokenResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateToken not implemented") +} +func (UnimplementedAuthenticationV1Server) mustEmbedUnimplementedAuthenticationV1Server() {} + +// UnsafeAuthenticationV1Server may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to AuthenticationV1Server will +// result in compilation errors. +type UnsafeAuthenticationV1Server interface { + mustEmbedUnimplementedAuthenticationV1Server() +} + +func RegisterAuthenticationV1Server(s grpc.ServiceRegistrar, srv AuthenticationV1Server) { + s.RegisterService(&AuthenticationV1_ServiceDesc, srv) +} + +func _AuthenticationV1_Validate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ValidateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthenticationV1Server).Validate(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/authentication.AuthenticationV1/Validate", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthenticationV1Server).Validate(ctx, req.(*ValidateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _AuthenticationV1_CreateToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateTokenRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthenticationV1Server).CreateToken(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/authentication.AuthenticationV1/CreateToken", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthenticationV1Server).CreateToken(ctx, req.(*CreateTokenRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// AuthenticationV1_ServiceDesc is the grpc.ServiceDesc for AuthenticationV1 service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var AuthenticationV1_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "authentication.AuthenticationV1", + HandlerType: (*AuthenticationV1Server)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Validate", + Handler: _AuthenticationV1_Validate_Handler, + }, + { + MethodName: "CreateToken", + Handler: _AuthenticationV1_CreateToken_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "integrations/authentication/v1/definition/definition.proto", +} diff --git a/integrations/authentication/v1/implementation.go b/integrations/authentication/v1/implementation.go new file mode 100644 index 000000000..7ffa71a99 --- /dev/null +++ b/integrations/authentication/v1/implementation.go @@ -0,0 +1,204 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package v1 + +import ( + "context" + "sync" + "time" + + "google.golang.org/grpc" + "google.golang.org/protobuf/types/known/durationpb" + + pbAuthenticationV1 "github.com/arangodb/kube-arangodb/integrations/authentication/v1/definition" + "github.com/arangodb/kube-arangodb/pkg/util" + "github.com/arangodb/kube-arangodb/pkg/util/errors" + "github.com/arangodb/kube-arangodb/pkg/util/strings" + "github.com/arangodb/kube-arangodb/pkg/util/svc" + "github.com/arangodb/kube-arangodb/pkg/util/token" +) + +func New(ctx context.Context, cfg Configuration) (svc.Handler, error) { + return newInternal(ctx, cfg) +} + +func newInternal(ctx context.Context, cfg Configuration) (*implementation, error) { + if err := cfg.Validate(); err != nil { + return nil, err + } + + obj := &implementation{ + cfg: cfg, + ctx: ctx, + } + + return obj, nil +} + +var _ pbAuthenticationV1.AuthenticationV1Server = &implementation{} +var _ svc.Handler = &implementation{} + +type implementation struct { + pbAuthenticationV1.UnimplementedAuthenticationV1Server + + lock sync.RWMutex + + ctx context.Context + cfg Configuration + + cache *cache +} + +func (i *implementation) Name() string { + return "authentication.v1" +} + +func (i *implementation) Health() svc.HealthState { + return svc.Healthy +} + +func (i *implementation) Register(registrar *grpc.Server) { + pbAuthenticationV1.RegisterAuthenticationV1Server(registrar, i) +} + +func (i *implementation) Validate(ctx context.Context, request *pbAuthenticationV1.ValidateRequest) (*pbAuthenticationV1.ValidateResponse, error) { + if request == nil { + return nil, errors.Errorf("Request is nil") + } + + if !i.cfg.Enabled { + return &pbAuthenticationV1.ValidateResponse{ + IsValid: true, + Details: &pbAuthenticationV1.ValidateResponseDetails{ + Lifetime: durationpb.New(DefaultTokenMaxTTL), + User: DefaultAdminUser, + }, + }, nil + } + + cache, err := i.withCache() + if err != nil { + return nil, err + } + + user, exp, err := i.extractTokenDetails(cache, request.GetToken()) + if err != nil { + return &pbAuthenticationV1.ValidateResponse{ + IsValid: false, + Message: err.Error(), + }, nil + } + + return &pbAuthenticationV1.ValidateResponse{ + IsValid: true, + Details: &pbAuthenticationV1.ValidateResponseDetails{ + Lifetime: durationpb.New(exp), + User: user, + }, + }, nil +} + +func (i *implementation) CreateToken(ctx context.Context, request *pbAuthenticationV1.CreateTokenRequest) (*pbAuthenticationV1.CreateTokenResponse, error) { + if request == nil { + return nil, errors.Errorf("Request is nil") + } + + if !i.cfg.Enabled { + // Authentication is not enabled, pass with empty token + + return &pbAuthenticationV1.CreateTokenResponse{ + Lifetime: durationpb.New(DefaultTokenMaxTTL), + User: DefaultAdminUser, + Token: "", + }, nil + } + + cache, err := i.withCache() + if err != nil { + return nil, err + } + + user := util.TypeOrDefault(request.User, i.cfg.Create.DefaultUser) + duration := i.cfg.Create.DefaultTTL + if v := request.Lifetime; v != nil { + duration = v.AsDuration() + } + + // Check configuration + if v := i.cfg.Create.AllowedUsers; len(v) > 0 { + if !strings.ListContains(v, user) { + return nil, errors.Errorf("User %s is not allowed", user) + } + } + + if v := i.cfg.Create.MaxTTL; duration > v { + duration = v + } + + if v := i.cfg.Create.MinTTL; duration < v { + duration = v + } + + // Token is validated, we can continue with creation + secret := cache.signingToken + + signedToken, err := token.New(secret, token.NewClaims().With(token.WithDefaultClaims(), token.WithCurrentIAT(), token.WithDuration(duration), token.WithUsername(user))) + if err != nil { + return nil, err + } + + user, exp, err := i.extractTokenDetails(cache, signedToken) + if err != nil { + return nil, err + } + + return &pbAuthenticationV1.CreateTokenResponse{ + Lifetime: durationpb.New(exp), + User: user, + Token: signedToken, + }, nil +} + +func (i *implementation) extractTokenDetails(cache *cache, t string) (string, time.Duration, error) { + // Let's check if token is signed properly + + p, err := token.ParseWithAny(t, cache.validationTokens...) + if err != nil { + return "", 0, err + } + + user := DefaultAdminUser + if v, ok := p[token.ClaimPreferredUsername]; ok { + if s, ok := v.(string); ok { + user = s + } + } + + duration := DefaultTokenMaxTTL + + if v, ok := p[token.ClaimEXP]; ok { + if s, ok := v.(int64); ok { + duration = time.Until(time.Unix(s, 0)) + } + } + + return user, duration, nil +} diff --git a/integrations/authentication/v1/implementation_test.go b/integrations/authentication/v1/implementation_test.go new file mode 100644 index 000000000..20b8271d3 --- /dev/null +++ b/integrations/authentication/v1/implementation_test.go @@ -0,0 +1,184 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package v1 + +import ( + "context" + "testing" + "time" + + "github.com/stretchr/testify/require" + "google.golang.org/protobuf/types/known/durationpb" + + pbAuthenticationV1 "github.com/arangodb/kube-arangodb/integrations/authentication/v1/definition" + "github.com/arangodb/kube-arangodb/pkg/util" +) + +func Test_Basic(t *testing.T) { + directory := t.TempDir() + + reSaveJWTTokens(t, directory, generateJWTToken(), generateJWTToken(), generateJWTToken(), generateJWTToken(), generateJWTToken(), generateJWTToken()) + + ctx, c := context.WithCancel(context.Background()) + defer c() + + s, err := newInternal(ctx, Configuration{ + Path: directory, + TTL: time.Duration(0), + }) + require.NoError(t, err) + + // Create token + tokenResponse, err := s.CreateToken(context.Background(), &pbAuthenticationV1.CreateTokenRequest{ + Lifetime: durationpb.New(time.Minute), + User: util.NewType(DefaultUser), + }) + require.NoError(t, err) + + validateResponse, err := s.Validate(context.Background(), &pbAuthenticationV1.ValidateRequest{ + Token: tokenResponse.Token, + }) + + require.NoError(t, err) + + require.True(t, validateResponse.IsValid) + require.NotNil(t, validateResponse.Details) + require.EqualValues(t, DefaultUser, validateResponse.Details.User) +} + +func Test_Flow_WithoutTTL(t *testing.T) { + directory := t.TempDir() + + ctx, c := context.WithCancel(context.Background()) + defer c() + + cfg := NewConfiguration() + + cfg.Path = directory + cfg.TTL = time.Duration(0) + + s, err := newInternal(ctx, cfg) + require.NoError(t, err) + + secret1 := generateJWTToken() + secret2 := generateJWTToken() + + var token1, token2 string + + t.Run("Ensure we cant work without secrets", func(t *testing.T) { + _, err := s.CreateToken(context.Background(), &pbAuthenticationV1.CreateTokenRequest{}) + require.EqualError(t, err, "unexpected EOF") + }) + + t.Run("Save secret1", func(t *testing.T) { + reSaveJWTTokens(t, directory, secret1) + }) + + t.Run("Create token1", func(t *testing.T) { + response, err := s.CreateToken(context.Background(), &pbAuthenticationV1.CreateTokenRequest{}) + require.NoError(t, err) + require.NotNil(t, response) + token1 = response.Token + }) + + t.Run("Validate token1", func(t *testing.T) { + response, err := s.Validate(context.Background(), &pbAuthenticationV1.ValidateRequest{ + Token: token1, + }) + require.NoError(t, err) + require.NotNil(t, response) + require.True(t, response.IsValid) + require.EqualValues(t, cfg.Create.DefaultUser, response.Details.User) + }) + + t.Run("Save secret2", func(t *testing.T) { + reSaveJWTTokens(t, directory, secret2) + }) + + t.Run("Create token2", func(t *testing.T) { + response, err := s.CreateToken(context.Background(), &pbAuthenticationV1.CreateTokenRequest{}) + require.NoError(t, err) + require.NotNil(t, response) + token2 = response.Token + }) + + t.Run("Validate token2", func(t *testing.T) { + response, err := s.Validate(context.Background(), &pbAuthenticationV1.ValidateRequest{ + Token: token2, + }) + require.NoError(t, err) + require.NotNil(t, response) + require.True(t, response.IsValid) + require.EqualValues(t, cfg.Create.DefaultUser, response.Details.User) + }) + + t.Run("Save secret1", func(t *testing.T) { + reSaveJWTTokens(t, directory, secret1) + }) + + t.Run("Validate token2", func(t *testing.T) { + response, err := s.Validate(context.Background(), &pbAuthenticationV1.ValidateRequest{ + Token: token2, + }) + require.NoError(t, err) + require.NotNil(t, response) + require.False(t, response.IsValid) + require.EqualValues(t, "signature is invalid", response.Message) + }) + + t.Run("Save secret2", func(t *testing.T) { + reSaveJWTTokens(t, directory, secret2) + }) + + t.Run("Validate token1", func(t *testing.T) { + response, err := s.Validate(context.Background(), &pbAuthenticationV1.ValidateRequest{ + Token: token1, + }) + require.NoError(t, err) + require.NotNil(t, response) + require.False(t, response.IsValid) + require.EqualValues(t, "signature is invalid", response.Message) + }) + + t.Run("Save secret1 & secret2", func(t *testing.T) { + reSaveJWTTokens(t, directory, secret1, secret2) + }) + + t.Run("Validate token1", func(t *testing.T) { + response, err := s.Validate(context.Background(), &pbAuthenticationV1.ValidateRequest{ + Token: token1, + }) + require.NoError(t, err) + require.NotNil(t, response) + require.True(t, response.IsValid) + require.EqualValues(t, cfg.Create.DefaultUser, response.Details.User) + }) + + t.Run("Validate token2", func(t *testing.T) { + response, err := s.Validate(context.Background(), &pbAuthenticationV1.ValidateRequest{ + Token: token2, + }) + require.NoError(t, err) + require.NotNil(t, response) + require.True(t, response.IsValid) + require.EqualValues(t, cfg.Create.DefaultUser, response.Details.User) + }) +} diff --git a/integrations/authentication/v1/service_test.go b/integrations/authentication/v1/service_test.go new file mode 100644 index 000000000..af26e4bd7 --- /dev/null +++ b/integrations/authentication/v1/service_test.go @@ -0,0 +1,191 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package v1 + +import ( + "context" + "testing" + + "github.com/stretchr/testify/require" + + pbAuthenticationV1 "github.com/arangodb/kube-arangodb/integrations/authentication/v1/definition" + "github.com/arangodb/kube-arangodb/pkg/util" + "github.com/arangodb/kube-arangodb/pkg/util/svc" + "github.com/arangodb/kube-arangodb/pkg/util/tests/tgrpc" +) + +func Handler(t *testing.T, ctx context.Context, mods ...Mod) svc.Handler { + handler, err := New(ctx, NewConfiguration().With(mods...)) + require.NoError(t, err) + + return handler +} + +func Client(t *testing.T, ctx context.Context, mods ...Mod) (pbAuthenticationV1.AuthenticationV1Client, string) { + directory := t.TempDir() + + var currentMods []Mod + + currentMods = append(currentMods, func(c Configuration) Configuration { + c.Path = directory + return c + }) + + currentMods = append(currentMods, mods...) + + local := svc.NewService(svc.Configuration{ + Address: "127.0.0.1:0", + }, Handler(t, ctx, currentMods...)) + + start := local.Start(ctx) + + client := tgrpc.NewGRPCClient(t, ctx, pbAuthenticationV1.NewAuthenticationV1Client, start.Address()) + + return client, directory +} + +func Test_Service(t *testing.T) { + ctx, c := context.WithCancel(context.Background()) + defer c() + + client, directory := Client(t, ctx) + + reSaveJWTTokens(t, directory, generateJWTToken()) + + token, err := client.CreateToken(ctx, &pbAuthenticationV1.CreateTokenRequest{}) + require.NoError(t, err) + + t.Logf("Token generated for user %s: %s", token.User, token.Token) + + require.EqualValues(t, "root", token.User) + + valid, err := client.Validate(ctx, &pbAuthenticationV1.ValidateRequest{ + Token: token.Token, + }) + require.NoError(t, err) + + require.True(t, valid.IsValid) + require.NotNil(t, valid.Details) + require.EqualValues(t, token.User, valid.Details.User) +} + +func Test_Service_DifferentDefaultUser(t *testing.T) { + ctx, c := context.WithCancel(context.Background()) + defer c() + + client, directory := Client(t, ctx, func(c Configuration) Configuration { + c.Create.DefaultUser = "different" + return c + }) + + reSaveJWTTokens(t, directory, generateJWTToken()) + + token, err := client.CreateToken(ctx, &pbAuthenticationV1.CreateTokenRequest{}) + require.NoError(t, err) + + t.Logf("Token generated for user %s: %s", token.User, token.Token) + + require.EqualValues(t, "different", token.User) + + valid, err := client.Validate(ctx, &pbAuthenticationV1.ValidateRequest{ + Token: token.Token, + }) + require.NoError(t, err) + + require.True(t, valid.IsValid) + require.NotNil(t, valid.Details) + require.EqualValues(t, token.User, valid.Details.User) +} + +func Test_Service_AskForDefaultIfAllowed(t *testing.T) { + ctx, c := context.WithCancel(context.Background()) + defer c() + + client, directory := Client(t, ctx, func(c Configuration) Configuration { + c.Create.AllowedUsers = []string{"root"} + return c + }) + + reSaveJWTTokens(t, directory, generateJWTToken()) + + token, err := client.CreateToken(ctx, &pbAuthenticationV1.CreateTokenRequest{}) + require.NoError(t, err) + + t.Logf("Token generated for user %s: %s", token.User, token.Token) + + require.EqualValues(t, "root", token.User) + + valid, err := client.Validate(ctx, &pbAuthenticationV1.ValidateRequest{ + Token: token.Token, + }) + require.NoError(t, err) + + require.True(t, valid.IsValid) + require.NotNil(t, valid.Details) + require.EqualValues(t, token.User, valid.Details.User) +} + +func Test_Service_AskForNonDefaultIfAllowed(t *testing.T) { + ctx, c := context.WithCancel(context.Background()) + defer c() + + client, directory := Client(t, ctx, func(c Configuration) Configuration { + c.Create.AllowedUsers = []string{"root", "other"} + return c + }) + + reSaveJWTTokens(t, directory, generateJWTToken()) + + token, err := client.CreateToken(ctx, &pbAuthenticationV1.CreateTokenRequest{ + User: util.NewType("other"), + }) + require.NoError(t, err) + + t.Logf("Token generated for user %s: %s", token.User, token.Token) + + require.EqualValues(t, "other", token.User) + + valid, err := client.Validate(ctx, &pbAuthenticationV1.ValidateRequest{ + Token: token.Token, + }) + require.NoError(t, err) + + require.True(t, valid.IsValid) + require.NotNil(t, valid.Details) + require.EqualValues(t, token.User, valid.Details.User) +} + +func Test_Service_AskForDefaultIfBlocked(t *testing.T) { + ctx, c := context.WithCancel(context.Background()) + defer c() + + client, directory := Client(t, ctx, func(c Configuration) Configuration { + c.Create.AllowedUsers = []string{"root"} + return c + }) + + reSaveJWTTokens(t, directory, generateJWTToken()) + + _, err := client.CreateToken(ctx, &pbAuthenticationV1.CreateTokenRequest{ + User: util.NewType("blocked"), + }) + require.EqualError(t, err, "rpc error: code = Unknown desc = User blocked is not allowed") +} diff --git a/integrations/authentication/v1/utils_test.go b/integrations/authentication/v1/utils_test.go new file mode 100644 index 000000000..db464c888 --- /dev/null +++ b/integrations/authentication/v1/utils_test.go @@ -0,0 +1,71 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package v1 + +import ( + "os" + "path" + "testing" + + "github.com/stretchr/testify/require" + + "github.com/arangodb/kube-arangodb/pkg/util" +) + +type tokenType [32]byte + +func generateJWTToken() tokenType { + var tokenData tokenType + util.Rand().Read(tokenData[:]) + return tokenData +} + +func reSaveJWTTokens(t *testing.T, directory string, datas ...tokenType) { + cleanJWTTokens(t, directory) + saveJWTTokens(t, directory, datas...) +} + +func cleanJWTTokens(t *testing.T, directory string) { + files, err := os.ReadDir(directory) + require.NoError(t, err) + + for _, f := range files { + require.NoError(t, os.Remove(path.Join(directory, f.Name()))) + } + + files, err = os.ReadDir(directory) + require.NoError(t, err) + require.Len(t, files, 0) +} + +func saveJWTTokens(t *testing.T, directory string, datas ...tokenType) { + require.True(t, len(datas) > 0, "Required at least one token") + saveJWTToken(t, directory, "-", datas[0]) + + for _, data := range datas { + saveJWTToken(t, directory, util.SHA256(data[:]), data) + } +} + +func saveJWTToken(t *testing.T, directory, name string, data tokenType) { + fn := path.Join(directory, name) + require.NoError(t, os.WriteFile(fn, data[:], 0644)) +} diff --git a/pkg/deployment/agency/config/config.go b/pkg/deployment/agency/config/config.go index d355c25a9..7874e30a3 100644 --- a/pkg/deployment/agency/config/config.go +++ b/pkg/deployment/agency/config/config.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -27,7 +27,7 @@ import ( ) func Init(cmd *cobra.Command) error { - f := cmd.PersistentFlags() + f := cmd.Flags() f.Bool("agency.poll-enabled", false, "The Agency poll functionality enablement (EnterpriseEdition Only)") diff --git a/pkg/deployment/resources/secrets.go b/pkg/deployment/resources/secrets.go index 23cab190b..5998b4b61 100644 --- a/pkg/deployment/resources/secrets.go +++ b/pkg/deployment/resources/secrets.go @@ -49,6 +49,7 @@ import ( secretv1 "github.com/arangodb/kube-arangodb/pkg/util/k8sutil/inspector/secret/v1" "github.com/arangodb/kube-arangodb/pkg/util/k8sutil/kerrors" "github.com/arangodb/kube-arangodb/pkg/util/k8sutil/tls" + "github.com/arangodb/kube-arangodb/pkg/util/token" ) var ( @@ -422,8 +423,8 @@ func AppendKeyfileToKeyfolder(ctx context.Context, cachedStatus inspectorInterfa var ( exporterTokenClaims = jg.MapClaims{ - "iss": "arangodb", - "server_id": "exporter", + token.ClaimISS: token.ClaimISSValue, + "server_id": "exporter", "allowed_paths": []interface{}{"/_admin/statistics", "/_admin/statistics-description", shared.ArangoExporterInternalEndpoint, shared.ArangoExporterInternalEndpointV2, shared.ArangoExporterStatusEndpoint, shared.ArangoExporterClusterHealthEndpoint}, diff --git a/pkg/integrations/authentication_v1.go b/pkg/integrations/authentication_v1.go new file mode 100644 index 000000000..3bac99342 --- /dev/null +++ b/pkg/integrations/authentication_v1.go @@ -0,0 +1,67 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package integrations + +import ( + "context" + + "github.com/spf13/cobra" + + pbImplAuthenticationV1 "github.com/arangodb/kube-arangodb/integrations/authentication/v1" + "github.com/arangodb/kube-arangodb/pkg/util/svc" +) + +func init() { + register(func() Integration { + return &authenticationV1{} + }) +} + +type authenticationV1 struct { + config pbImplAuthenticationV1.Configuration +} + +func (a *authenticationV1) Register(cmd *cobra.Command, arg ArgGen) error { + f := cmd.Flags() + + f.StringVar(&a.config.Path, arg("path"), "", "Path to the JWT Folder") + f.BoolVar(&a.config.Enabled, arg("enabled"), true, "Defines if Authentication is enabled") + f.DurationVar(&a.config.TTL, arg("ttl"), pbImplAuthenticationV1.DefaultTTL, "TTL of the JWT cache") + f.StringVar(&a.config.Create.DefaultUser, arg("token.user"), pbImplAuthenticationV1.DefaultUser, "Default user of the Token") + f.DurationVar(&a.config.Create.DefaultTTL, arg("token.ttl.default"), pbImplAuthenticationV1.DefaultTokenDefaultTTL, "Default Token TTL") + f.DurationVar(&a.config.Create.MinTTL, arg("token.ttl.min"), pbImplAuthenticationV1.DefaultTokenMinTTL, "Min Token TTL") + f.DurationVar(&a.config.Create.MaxTTL, arg("token.ttl.max"), pbImplAuthenticationV1.DefaultTokenMaxTTL, "Max Token TTL") + f.StringSliceVar(&a.config.Create.AllowedUsers, arg("token.allowed"), []string{}, "Allowed users for the Token") + + return nil +} + +func (a *authenticationV1) Handler(ctx context.Context) (svc.Handler, error) { + return pbImplAuthenticationV1.New(ctx, a.config) +} + +func (a *authenticationV1) Name() string { + return "authentication.v1" +} + +func (a *authenticationV1) Description() string { + return "Enable AuthenticationV1 Integration Service" +} diff --git a/cmd/integrations/integration.go b/pkg/integrations/integration.go similarity index 100% rename from cmd/integrations/integration.go rename to pkg/integrations/integration.go diff --git a/cmd/integrations/logger.go b/pkg/integrations/logger.go similarity index 100% rename from cmd/integrations/logger.go rename to pkg/integrations/logger.go diff --git a/cmd/integrations/register.go b/pkg/integrations/register.go similarity index 94% rename from cmd/integrations/register.go rename to pkg/integrations/register.go index fed120a53..807687e23 100644 --- a/cmd/integrations/register.go +++ b/pkg/integrations/register.go @@ -77,12 +77,9 @@ func (c *configuration) Register(cmd *cobra.Command) error { return c.registered[i].Name() < c.registered[j].Name() }) - subCommand := &cobra.Command{ - Use: "integration", - RunE: c.run, - } + cmd.RunE = c.run - f := subCommand.Flags() + f := cmd.Flags() f.StringVar(&c.health.config.Address, "health.address", "0.0.0.0:9091", "Address to expose health service") f.BoolVar(&c.health.shutdownEnabled, "health.shutdown.enabled", true, "Determines if shutdown service should be enabled and exposed") @@ -93,14 +90,13 @@ func (c *configuration) Register(cmd *cobra.Command) error { f.Bool(prefix, false, service.Description()) - if err := service.Register(subCommand, func(name string) string { + if err := service.Register(cmd, func(name string) string { return fmt.Sprintf("%s.%s", prefix, name) }); err != nil { return errors.Wrapf(err, "Unable to register service %s", service.Name()) } } - cmd.AddCommand(subCommand) return nil } diff --git a/cmd/integrations/shutdown_v1.go b/pkg/integrations/shutdown_v1.go similarity index 100% rename from cmd/integrations/shutdown_v1.go rename to pkg/integrations/shutdown_v1.go diff --git a/cmd/integrations/storage_v1.go b/pkg/integrations/storage_v1.go similarity index 100% rename from cmd/integrations/storage_v1.go rename to pkg/integrations/storage_v1.go diff --git a/pkg/ml/container_jwt.go b/pkg/ml/container_jwt.go new file mode 100644 index 000000000..758753693 --- /dev/null +++ b/pkg/ml/container_jwt.go @@ -0,0 +1,55 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package ml + +import ( + core "k8s.io/api/core/v1" + + api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1" + shared "github.com/arangodb/kube-arangodb/pkg/apis/shared" + "github.com/arangodb/kube-arangodb/pkg/deployment/pod" +) + +func AddJWTFolderToPod(deployment *api.ArangoDeployment, spec *core.PodTemplateSpec, integrationContainer *core.Container) { + if deployment.GetAcceptedSpec().Authentication.IsAuthenticated() { + spec.Spec.Volumes = append(spec.Spec.Volumes, core.Volume{ + Name: shared.ClusterJWTSecretVolumeName, + VolumeSource: core.VolumeSource{ + Secret: &core.SecretVolumeSource{ + SecretName: pod.JWTSecretFolder(deployment.GetName()), + }, + }, + }) + } else { + spec.Spec.Volumes = append(spec.Spec.Volumes, core.Volume{ + Name: shared.ClusterJWTSecretVolumeName, + VolumeSource: core.VolumeSource{ + EmptyDir: &core.EmptyDirVolumeSource{}, + }, + }) + } + + integrationContainer.VolumeMounts = append(integrationContainer.VolumeMounts, core.VolumeMount{ + Name: shared.ClusterJWTSecretVolumeName, + ReadOnly: true, + MountPath: shared.ClusterJWTSecretVolumeMountDir, + }) +} diff --git a/pkg/util/file.go b/pkg/util/file.go new file mode 100644 index 000000000..154914f43 --- /dev/null +++ b/pkg/util/file.go @@ -0,0 +1,63 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package util + +import ( + "io" + "os" + + "github.com/pkg/errors" +) + +func OpenWithRead(path string, size int) ([]byte, error) { + f, err := os.OpenFile(path, os.O_RDONLY, 0644) + if err != nil { + return nil, err + } + + buff := make([]byte, size+1) + if s, err := Read(f, buff); err != nil { + if nerr := f.Close(); nerr != nil { + return nil, nerr + } + + return nil, err + } else if s == 0 { + return nil, io.ErrUnexpectedEOF + } else { + return buff[:s], nil + } +} + +func Read(in io.Reader, buff []byte) (int, error) { + readed := 0 + for { + s, err := in.Read(buff) + readed += s + if err != nil { + if errors.Is(err, io.EOF) { + return readed, nil + } + + return readed, err + } + } +} diff --git a/pkg/util/k8sutil/secrets.go b/pkg/util/k8sutil/secrets.go index 6bb4a5c91..865da02f5 100644 --- a/pkg/util/k8sutil/secrets.go +++ b/pkg/util/k8sutil/secrets.go @@ -23,7 +23,6 @@ package k8sutil import ( "context" - jg "github.com/golang-jwt/jwt" core "k8s.io/api/core/v1" meta "k8s.io/apimachinery/pkg/apis/meta/v1" @@ -35,6 +34,7 @@ import ( "github.com/arangodb/kube-arangodb/pkg/util/globals" secretv1 "github.com/arangodb/kube-arangodb/pkg/util/k8sutil/inspector/secret/v1" "github.com/arangodb/kube-arangodb/pkg/util/k8sutil/kerrors" + "github.com/arangodb/kube-arangodb/pkg/util/token" ) // ValidateEncryptionKeySecret checks that a secret with given name in given namespace @@ -302,12 +302,8 @@ func CreateJWTFromSecret(ctx context.Context, cachedSecrets secretv1.ReadInterfa if err != nil { return errors.WithStack(err) } - // Create a new token object, specifying signing method and the claims - // you would like it to contain. - token := jg.NewWithClaims(jg.SigningMethodHS256, jg.MapClaims(claims)) - // Sign and get the complete encoded token as a string using the secret - signedToken, err := token.SignedString([]byte(secret)) + signedToken, err := token.New([]byte(secret), claims) if err != nil { return errors.WithStack(err) } diff --git a/pkg/util/strings/strings.go b/pkg/util/strings/strings.go index 873a33ce0..52fa89a11 100644 --- a/pkg/util/strings/strings.go +++ b/pkg/util/strings/strings.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,6 +28,16 @@ import ( "golang.org/x/text/language" ) +func ListContains(a []string, b string) bool { + for _, v := range a { + if v == b { + return true + } + } + + return false +} + func CompareStrings(a, b string) bool { return a == b } diff --git a/pkg/util/token/errors.go b/pkg/util/token/errors.go new file mode 100644 index 000000000..4ef1a0fef --- /dev/null +++ b/pkg/util/token/errors.go @@ -0,0 +1,46 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package token + +import ( + jg "github.com/golang-jwt/jwt" + + "github.com/arangodb/kube-arangodb/pkg/util/errors" +) + +func IsSignatureInvalidError(err error) bool { + return isJQError(err, jg.ErrSignatureInvalid) +} + +func isJQError(err, expected error) bool { + if err == nil || expected == nil { + return false + } + + var v *jg.ValidationError + if errors.As(err, &v) { + if errors.Is(v.Inner, expected) { + return true + } + } + + return false +} diff --git a/pkg/util/token/mods.go b/pkg/util/token/mods.go new file mode 100644 index 000000000..17bf135aa --- /dev/null +++ b/pkg/util/token/mods.go @@ -0,0 +1,78 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package token + +import ( + "time" + + jg "github.com/golang-jwt/jwt" +) + +var defaultTokenClaims = jg.MapClaims{ + ClaimISS: ClaimISSValue, +} + +func WithDefaultClaims() Mod { + return func(in Claims) Claims { + for k, v := range defaultTokenClaims { + if _, ok := in[k]; !ok { + in[k] = v + } + } + + return in + } +} + +func WithUsername(username string) Mod { + return func(in Claims) Claims { + in[ClaimPreferredUsername] = username + return in + } +} + +func WithCurrentIAT() Mod { + return func(in Claims) Claims { + in[ClaimIAT] = time.Now().Unix() + return in + } +} + +func WithIAT(time time.Time) Mod { + return func(in Claims) Claims { + in[ClaimIAT] = time.Unix() + return in + } +} + +func WithDuration(dur time.Duration) Mod { + return func(in Claims) Claims { + in[ClaimEXP] = time.Now().Add(dur).Unix() + return in + } +} + +func WithExp(time time.Time) Mod { + return func(in Claims) Claims { + in[ClaimEXP] = time.Unix() + return in + } +} diff --git a/pkg/util/token/parse.go b/pkg/util/token/parse.go new file mode 100644 index 000000000..97704f1ab --- /dev/null +++ b/pkg/util/token/parse.go @@ -0,0 +1,63 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package token + +import ( + jg "github.com/golang-jwt/jwt" + + "github.com/arangodb/kube-arangodb/pkg/util/errors" +) + +func Parse(token string, secret []byte) (Claims, error) { + parsedToken, err := jg.Parse(token, func(token *jg.Token) (i interface{}, err error) { + return secret, nil + }) + + if err != nil { + return nil, err + } + + tokenClaims, ok := parsedToken.Claims.(jg.MapClaims) + if !ok { + return nil, errors.Errorf("Invalid token provided") + } + + return Claims(tokenClaims), nil +} + +func ParseWithAny(token string, secrets ...[]byte) (Claims, error) { + for _, secret := range secrets { + if c, err := Parse(token, secret); err != nil { + if IsSignatureInvalidError(err) { + continue + } + + return nil, err + } else { + return c, nil + } + } + + return nil, &jg.ValidationError{ + Inner: jg.ErrSignatureInvalid, + Errors: 1, + } +} diff --git a/pkg/util/token/token.go b/pkg/util/token/token.go new file mode 100644 index 000000000..4bce5de76 --- /dev/null +++ b/pkg/util/token/token.go @@ -0,0 +1,69 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package token + +import ( + jg "github.com/golang-jwt/jwt" + + "github.com/arangodb/kube-arangodb/pkg/util/errors" +) + +const ( + ClaimISS = "iss" + ClaimISSValue = "arangodb" + ClaimEXP = "exp" + ClaimIAT = "iat" + ClaimPreferredUsername = "preferred_username" +) + +type Mod func(in Claims) Claims + +func NewClaims() Claims { + return Claims{} +} + +type Claims jg.MapClaims + +func (t Claims) With(mods ...Mod) Claims { + q := t + + if q == nil { + q = Claims{} + } + + for _, mod := range mods { + q = mod(q) + } + + return q +} + +func New(secret []byte, claims map[string]interface{}) (string, error) { + token := jg.NewWithClaims(jg.SigningMethodHS256, jg.MapClaims(claims)) + + // Sign and get the complete encoded token as a string using the secret + signedToken, err := token.SignedString(secret) + if err != nil { + return "", errors.WithStack(err) + } + + return signedToken, nil +} diff --git a/pkg/util/token/token_test.go b/pkg/util/token/token_test.go new file mode 100644 index 000000000..c90e87103 --- /dev/null +++ b/pkg/util/token/token_test.go @@ -0,0 +1,129 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package token + +import ( + "testing" + "time" + + "github.com/stretchr/testify/require" + + "github.com/arangodb/kube-arangodb/pkg/util" +) + +func secret() []byte { + d := make([]byte, 32) + + util.Rand().Read(d) + + return d +} + +func sign(t *testing.T, secret []byte, mods ...Mod) string { + token, err := New(secret, NewClaims().With(mods...)) + require.NoError(t, err) + return token +} + +func Test_TokenSign(t *testing.T) { + t.Run("Signed properly token", func(t *testing.T) { + s := secret() + + token := sign(t, s, WithCurrentIAT()) + + claims, err := Parse(token, s) + require.NoError(t, err) + + require.Contains(t, claims, ClaimIAT) + }) + + t.Run("Signed in future token", func(t *testing.T) { + s := secret() + + token := sign(t, s, WithIAT(time.Now().Add(time.Hour))) + + _, err := Parse(token, s) + require.EqualError(t, err, "Token used before issued") + }) + + t.Run("Expired", func(t *testing.T) { + s := secret() + + token := sign(t, s, WithIAT(time.Now().Add(-time.Hour)), WithDuration(-time.Second)) + + _, err := Parse(token, s) + require.EqualError(t, err, "Token is expired") + }) + + t.Run("Invalid secret", func(t *testing.T) { + s := secret() + s2 := secret() + + token := sign(t, s, WithCurrentIAT()) + + _, err := Parse(token, s2) + require.EqualError(t, err, "signature is invalid") + require.True(t, IsSignatureInvalidError(err)) + }) + + t.Run("Signed properly token with first", func(t *testing.T) { + s := secret() + s2 := secret() + + token := sign(t, s, WithCurrentIAT()) + + claims, err := ParseWithAny(token, s, s2) + require.NoError(t, err) + + require.Contains(t, claims, ClaimIAT) + }) + + t.Run("Signed properly token with second", func(t *testing.T) { + s := secret() + s2 := secret() + + token := sign(t, s, WithCurrentIAT()) + + claims, err := ParseWithAny(token, s2, s) + require.NoError(t, err) + + require.Contains(t, claims, ClaimIAT) + }) + + t.Run("Without secrets", func(t *testing.T) { + s := secret() + + token := sign(t, s, WithCurrentIAT()) + + _, err := ParseWithAny(token) + require.True(t, IsSignatureInvalidError(err)) + }) + + t.Run("Expired with second", func(t *testing.T) { + s := secret() + s2 := secret() + + token := sign(t, s, WithIAT(time.Now().Add(-time.Hour)), WithDuration(-time.Second)) + + _, err := ParseWithAny(token, s2, s) + require.EqualError(t, err, "Token is expired") + }) +} From 524d642b9a26f6347e47478b5ec2a81f1a541ab1 Mon Sep 17 00:00:00 2001 From: Adam Janikowski <12255597+ajanikow@users.noreply.github.com> Date: Fri, 16 Feb 2024 10:04:43 +0100 Subject: [PATCH 08/13] [Feature] Authorization Service V0 (#1594) --- .golangci.yaml | 4 + .protolint.yaml | 6 + CHANGELOG.md | 2 + Makefile | 10 + .../authentication/v1/definition/consts.go | 25 ++ .../v1/definition/definition.pb.go | 147 +++---- .../v1/definition/definition.proto | 52 +-- .../authentication/v1/implementation.go | 2 +- .../authorization/v0/definition/consts.go | 25 ++ .../v0/definition/definition.pb.go | 371 ++++++++++++++++++ .../v0/definition/definition.proto | 73 ++++ .../v0/definition/definition_grpc.pb.go | 107 +++++ .../authorization/v0/implementation.go | 70 ++++ integrations/authorization/v0/service_test.go | 55 +++ integrations/shared/v1/definition/empty.pb.go | 1 + integrations/shared/v1/definition/empty.proto | 8 +- .../shutdown/v1/definition/shutdown.pb.go | 24 +- .../shutdown/v1/definition/shutdown.proto | 12 +- .../v1/definition/shutdown_grpc.pb.go | 70 ++-- integrations/shutdown/v1/impl.go | 8 +- integrations/shutdown/v1/impl_test.go | 18 +- integrations/shutdown/v1/service_test.go | 66 ++++ pkg/api/grpc.go | 27 +- pkg/api/server/operator.pb.go | 237 +++++------ pkg/api/server/operator.proto | 47 ++- pkg/api/server/operator_grpc.pb.go | 41 +- pkg/integrations/authentication_v1.go | 3 +- pkg/integrations/authorization_v0.go | 56 +++ pkg/util/{ => closer}/close.go | 13 +- pkg/util/http/requests.go | 6 +- 30 files changed, 1234 insertions(+), 352 deletions(-) create mode 100644 .protolint.yaml create mode 100644 integrations/authentication/v1/definition/consts.go create mode 100644 integrations/authorization/v0/definition/consts.go create mode 100644 integrations/authorization/v0/definition/definition.pb.go create mode 100644 integrations/authorization/v0/definition/definition.proto create mode 100644 integrations/authorization/v0/definition/definition_grpc.pb.go create mode 100644 integrations/authorization/v0/implementation.go create mode 100644 integrations/authorization/v0/service_test.go create mode 100644 integrations/shutdown/v1/service_test.go create mode 100644 pkg/integrations/authorization_v0.go rename pkg/util/{ => closer}/close.go (84%) diff --git a/.golangci.yaml b/.golangci.yaml index 72cec9f65..ad831fe5f 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -57,6 +57,10 @@ linters-settings: alias: pbAuthenticationV1 - pkg: github.com/arangodb/kube-arangodb/integrations/authentication/v1 alias: pbImplAuthenticationV1 + - pkg: github.com/arangodb/kube-arangodb/integrations/authorization/v0/definition + alias: pbAuthorizationV0 + - pkg: github.com/arangodb/kube-arangodb/integrations/authorization/v0 + alias: pbImplAuthorizationV0 - pkg: github.com/arangodb/kube-arangodb/integrations/shared/v1/definition alias: pbSharedV1 - pkg: github.com/arangodb/kube-arangodb/integrations/shared/v1 diff --git a/.protolint.yaml b/.protolint.yaml new file mode 100644 index 000000000..55515e364 --- /dev/null +++ b/.protolint.yaml @@ -0,0 +1,6 @@ +lint: + rules: + all_default: true + rules_option: + max_line_length: + max_chars: 128 diff --git a/CHANGELOG.md b/CHANGELOG.md index bbac548f0..b3ecd386f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ - (Feature) Extract GRPC Server - (Feature) Extract Integration Service - (Documentation) Move ML Extension example under "CRD overview" +- (Feature) Authentication Service V1 +- (Feature) Authorization Service V0 ## [1.2.37](https://github.com/arangodb/kube-arangodb/tree/1.2.37) (2024-01-22) - (Documentation) Improve documentation rendering for GitHub Pages diff --git a/Makefile b/Makefile index 700768b8b..95bf8f510 100644 --- a/Makefile +++ b/Makefile @@ -347,6 +347,14 @@ linter: linter-fix: @$(GOPATH)/bin/golangci-lint run --fix --build-tags "$(GOBUILDTAGS)" $(foreach LINT_EXCLUDE,$(LINT_EXCLUDES),--exclude '$(LINT_EXCLUDE)') ./... +.PHONY: protolint protolint-fix + +protolint: + @$(GOPATH)/bin/protolint lint $(PROTOSOURCES) + +protolint-fix: + @$(GOPATH)/bin/protolint lint --fix $(PROTOSOURCES) + .PHONY: vulncheck vulncheck-optional vulncheck: @echo ">> Checking for known vulnerabilities (required)" @@ -726,6 +734,8 @@ tools-min: update-vendor @GOBIN=$(GOPATH)/bin go install github.com/google/addlicense@6d92264d717064f28b32464f0f9693a5b4ef0239 @echo ">> Fetching yamlfmt" @GOBIN=$(GOPATH)/bin go install github.com/google/yamlfmt/cmd/yamlfmt@v0.10.0 + @echo ">> Fetching protolinter" + @GOBIN=$(GOPATH)/bin go install github.com/yoheimuta/protolint/cmd/protolint@v0.47.5 .PHONY: tools tools: tools-min diff --git a/integrations/authentication/v1/definition/consts.go b/integrations/authentication/v1/definition/consts.go new file mode 100644 index 000000000..616792668 --- /dev/null +++ b/integrations/authentication/v1/definition/consts.go @@ -0,0 +1,25 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package definition + +const ( + Name = "authentication.v1" +) diff --git a/integrations/authentication/v1/definition/definition.pb.go b/integrations/authentication/v1/definition/definition.pb.go index 3ecd6a9f9..9323b29f8 100644 --- a/integrations/authentication/v1/definition/definition.pb.go +++ b/integrations/authentication/v1/definition/definition.pb.go @@ -47,8 +47,8 @@ type ValidateRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Token specifies a token extracted from the request or used currently - Token string `protobuf:"bytes,1,opt,name=Token,proto3" json:"Token,omitempty"` + // token specifies a token extracted from the request or used currently + Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` } func (x *ValidateRequest) Reset() { @@ -96,12 +96,12 @@ type ValidateResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // IsValid returns information about the validity of the token - IsValid bool `protobuf:"varint,1,opt,name=IsValid,proto3" json:"IsValid,omitempty"` - // Message message for the validation phase - Message string `protobuf:"bytes,2,opt,name=Message,proto3" json:"Message,omitempty"` - // Details returns token details if the token is valid - Details *ValidateResponseDetails `protobuf:"bytes,3,opt,name=Details,proto3,oneof" json:"Details,omitempty"` + // is_valid returns information about the validity of the token + IsValid bool `protobuf:"varint,1,opt,name=is_valid,json=isValid,proto3" json:"is_valid,omitempty"` + // message message for the validation phase + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + // details returns token details if the token is valid + Details *ValidateResponseDetails `protobuf:"bytes,3,opt,name=details,proto3,oneof" json:"details,omitempty"` } func (x *ValidateResponse) Reset() { @@ -164,10 +164,10 @@ type ValidateResponseDetails struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Lifetime specify the lifetime of the token - Lifetime *durationpb.Duration `protobuf:"bytes,1,opt,name=Lifetime,proto3" json:"Lifetime,omitempty"` - // User returns the User used in the Token. If a user is not specified, `root` is returned - User string `protobuf:"bytes,2,opt,name=User,proto3" json:"User,omitempty"` + // lifetime specify the lifetime of the token + Lifetime *durationpb.Duration `protobuf:"bytes,1,opt,name=lifetime,proto3" json:"lifetime,omitempty"` + // user returns the User used in the Token. If a user is not specified, `root` is returned + User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` } func (x *ValidateResponseDetails) Reset() { @@ -222,10 +222,10 @@ type CreateTokenRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Lifetime specifies the lifetime of the token as duration. Defaults to 1 hour - Lifetime *durationpb.Duration `protobuf:"bytes,1,opt,name=Lifetime,proto3,oneof" json:"Lifetime,omitempty"` - // User specify the User for which token should be created. By default, the default user is used (root in most cases) - User *string `protobuf:"bytes,2,opt,name=User,proto3,oneof" json:"User,omitempty"` + // lifetime specifies the lifetime of the token as duration. Defaults to 1 hour + Lifetime *durationpb.Duration `protobuf:"bytes,1,opt,name=lifetime,proto3,oneof" json:"lifetime,omitempty"` + // user specify the User for which token should be created. By default, the default user is used (root in most cases) + User *string `protobuf:"bytes,2,opt,name=user,proto3,oneof" json:"user,omitempty"` } func (x *CreateTokenRequest) Reset() { @@ -280,12 +280,12 @@ type CreateTokenResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Lifetime specify the lifetime of the token as the duration - Lifetime *durationpb.Duration `protobuf:"bytes,1,opt,name=Lifetime,proto3" json:"Lifetime,omitempty"` - // User returns the User used in the Token - User string `protobuf:"bytes,2,opt,name=User,proto3" json:"User,omitempty"` - // Token returns the Token as a string - Token string `protobuf:"bytes,3,opt,name=Token,proto3" json:"Token,omitempty"` + // lifetime specify the lifetime of the token as the duration + Lifetime *durationpb.Duration `protobuf:"bytes,1,opt,name=lifetime,proto3" json:"lifetime,omitempty"` + // user returns the User used in the Token + User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + // token returns the Token as a string + Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` } func (x *CreateTokenResponse) Reset() { @@ -352,55 +352,56 @@ var file_integrations_authentication_v1_definition_definition_proto_rawDesc = [] 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x27, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x14, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9a, 0x01, 0x0a, 0x10, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x49, 0x73, - 0x56, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x49, 0x73, 0x56, - 0x61, 0x6c, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x46, - 0x0a, 0x07, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x27, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x48, 0x00, 0x52, 0x07, 0x44, 0x65, 0x74, 0x61, - 0x69, 0x6c, 0x73, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x44, 0x65, 0x74, 0x61, 0x69, - 0x6c, 0x73, 0x22, 0x64, 0x0a, 0x17, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x35, 0x0a, - 0x08, 0x4c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x4c, 0x69, 0x66, 0x65, - 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x55, 0x73, 0x65, 0x72, 0x22, 0x7f, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, - 0x0a, 0x08, 0x4c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9b, 0x01, 0x0a, 0x10, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, + 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, + 0x46, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x27, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x48, 0x00, 0x52, 0x07, 0x64, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x73, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x64, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x73, 0x22, 0x64, 0x0a, 0x17, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x35, + 0x0a, 0x08, 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x4c, - 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x55, 0x73, - 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x04, 0x55, 0x73, 0x65, 0x72, - 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x4c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, - 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x55, 0x73, 0x65, 0x72, 0x22, 0x76, 0x0a, 0x13, 0x43, 0x72, 0x65, + 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x69, 0x66, + 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x7f, 0x0a, 0x12, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x3a, 0x0a, 0x08, 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, + 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x75, + 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x04, 0x75, 0x73, 0x65, + 0x72, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, + 0x65, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x22, 0x76, 0x0a, 0x13, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x35, 0x0a, 0x08, 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, + 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, + 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, + 0x65, 0x6e, 0x32, 0xbd, 0x01, 0x0a, 0x10, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x31, 0x12, 0x4f, 0x0a, 0x08, 0x56, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x65, 0x12, 0x1f, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x22, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, + 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, + 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61, 0x75, + 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x35, 0x0a, 0x08, 0x4c, 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x4c, - 0x69, 0x66, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x54, - 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x54, 0x6f, 0x6b, 0x65, - 0x6e, 0x32, 0xbd, 0x01, 0x0a, 0x10, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x31, 0x12, 0x4f, 0x0a, 0x08, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, - 0x74, 0x65, 0x12, 0x1f, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x22, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, - 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61, 0x75, 0x74, - 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x00, 0x42, 0x3e, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x61, 0x72, 0x61, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x2d, 0x61, 0x72, - 0x61, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, + 0x22, 0x00, 0x42, 0x4d, 0x5a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x61, 0x72, 0x61, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x2d, 0x61, + 0x72, 0x61, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } @@ -426,10 +427,10 @@ var file_integrations_authentication_v1_definition_definition_proto_goTypes = [] (*durationpb.Duration)(nil), // 5: google.protobuf.Duration } var file_integrations_authentication_v1_definition_definition_proto_depIdxs = []int32{ - 2, // 0: authentication.ValidateResponse.Details:type_name -> authentication.ValidateResponseDetails - 5, // 1: authentication.ValidateResponseDetails.Lifetime:type_name -> google.protobuf.Duration - 5, // 2: authentication.CreateTokenRequest.Lifetime:type_name -> google.protobuf.Duration - 5, // 3: authentication.CreateTokenResponse.Lifetime:type_name -> google.protobuf.Duration + 2, // 0: authentication.ValidateResponse.details:type_name -> authentication.ValidateResponseDetails + 5, // 1: authentication.ValidateResponseDetails.lifetime:type_name -> google.protobuf.Duration + 5, // 2: authentication.CreateTokenRequest.lifetime:type_name -> google.protobuf.Duration + 5, // 3: authentication.CreateTokenResponse.lifetime:type_name -> google.protobuf.Duration 0, // 4: authentication.AuthenticationV1.Validate:input_type -> authentication.ValidateRequest 3, // 5: authentication.AuthenticationV1.CreateToken:input_type -> authentication.CreateTokenRequest 1, // 6: authentication.AuthenticationV1.Validate:output_type -> authentication.ValidateResponse diff --git a/integrations/authentication/v1/definition/definition.proto b/integrations/authentication/v1/definition/definition.proto index e68688de2..478c86fe7 100644 --- a/integrations/authentication/v1/definition/definition.proto +++ b/integrations/authentication/v1/definition/definition.proto @@ -20,11 +20,11 @@ syntax = "proto3"; +package authentication; + import "google/protobuf/duration.proto"; -option go_package = "github.com/arangodb/kube-arangodb/integrations/v1/definition"; - -package authentication; +option go_package = "github.com/arangodb/kube-arangodb/integrations/authentication/v1/definition"; // AuthenticationV1 define ServiceInterface for Authentication V1 service AuthenticationV1 { @@ -37,49 +37,49 @@ service AuthenticationV1 { // ValidateRequest defines request for AuthenticationV1 Validate Request message ValidateRequest { - // Token specifies a token extracted from the request or used currently - string Token = 1; + // token specifies a token extracted from the request or used currently + string token = 1; } // ValidateResponse defines response for AuthenticationV1 Validate Request message ValidateResponse { - // IsValid returns information about the validity of the token - bool IsValid = 1; + // is_valid returns information about the validity of the token + bool is_valid = 1; - // Message message for the validation phase - string Message = 2; + // message message for the validation phase + string message = 2; - // Details returns token details if the token is valid - optional ValidateResponseDetails Details = 3; + // details returns token details if the token is valid + optional ValidateResponseDetails details = 3; } // ValidateResponseDetails defines optional response for AuthenticationV1 Validate Request. // Returned only if the Token provided in the request is valid. message ValidateResponseDetails { - // Lifetime specify the lifetime of the token - google.protobuf.Duration Lifetime = 1; + // lifetime specify the lifetime of the token + google.protobuf.Duration lifetime = 1; - // User returns the User used in the Token. If a user is not specified, `root` is returned - string User = 2; + // user returns the User used in the Token. If a user is not specified, `root` is returned + string user = 2; } // CreateTokenRequest defines request for AuthenticationV1 CreateToken Request message CreateTokenRequest { - // Lifetime specifies the lifetime of the token as duration. Defaults to 1 hour - optional google.protobuf.Duration Lifetime = 1; + // lifetime specifies the lifetime of the token as duration. Defaults to 1 hour + optional google.protobuf.Duration lifetime = 1; - // User specify the User for which token should be created. By default, the default user is used (root in most cases) - optional string User = 2; + // user specify the User for which token should be created. By default, the default user is used (root in most cases) + optional string user = 2; } // CreateTokenResponse defines response for AuthenticationV1 CreateToken Request message CreateTokenResponse { - // Lifetime specify the lifetime of the token as the duration - google.protobuf.Duration Lifetime = 1; + // lifetime specify the lifetime of the token as the duration + google.protobuf.Duration lifetime = 1; - // User returns the User used in the Token - string User = 2; + // user returns the User used in the Token + string user = 2; - // Token returns the Token as a string - string Token = 3; -} \ No newline at end of file + // token returns the Token as a string + string token = 3; +} diff --git a/integrations/authentication/v1/implementation.go b/integrations/authentication/v1/implementation.go index 7ffa71a99..856c153fc 100644 --- a/integrations/authentication/v1/implementation.go +++ b/integrations/authentication/v1/implementation.go @@ -68,7 +68,7 @@ type implementation struct { } func (i *implementation) Name() string { - return "authentication.v1" + return pbAuthenticationV1.Name } func (i *implementation) Health() svc.HealthState { diff --git a/integrations/authorization/v0/definition/consts.go b/integrations/authorization/v0/definition/consts.go new file mode 100644 index 000000000..875b03527 --- /dev/null +++ b/integrations/authorization/v0/definition/consts.go @@ -0,0 +1,25 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package definition + +const ( + Name = "authorization.v0" +) diff --git a/integrations/authorization/v0/definition/definition.pb.go b/integrations/authorization/v0/definition/definition.pb.go new file mode 100644 index 000000000..0d562bb8b --- /dev/null +++ b/integrations/authorization/v0/definition/definition.pb.go @@ -0,0 +1,371 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.21.1 +// source: integrations/authorization/v0/definition/definition.proto + +package definition + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Action define action used for Authorization +type Action int32 + +const ( + // ACTION_ANY_UNSPECIFIED is used when there is no Action defined for call + Action_ACTION_ANY_UNSPECIFIED Action = 0 + // ACTION_LIST define Action List + Action_ACTION_LIST Action = 1 + // ACTION_GET define Action Get + Action_ACTION_GET Action = 2 + // ACTION_CREATE define Action Create + Action_ACTION_CREATE Action = 3 + // ACTION_DELETE define Action Delete + Action_ACTION_DELETE Action = 4 +) + +// Enum value maps for Action. +var ( + Action_name = map[int32]string{ + 0: "ACTION_ANY_UNSPECIFIED", + 1: "ACTION_LIST", + 2: "ACTION_GET", + 3: "ACTION_CREATE", + 4: "ACTION_DELETE", + } + Action_value = map[string]int32{ + "ACTION_ANY_UNSPECIFIED": 0, + "ACTION_LIST": 1, + "ACTION_GET": 2, + "ACTION_CREATE": 3, + "ACTION_DELETE": 4, + } +) + +func (x Action) Enum() *Action { + p := new(Action) + *p = x + return p +} + +func (x Action) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Action) Descriptor() protoreflect.EnumDescriptor { + return file_integrations_authorization_v0_definition_definition_proto_enumTypes[0].Descriptor() +} + +func (Action) Type() protoreflect.EnumType { + return &file_integrations_authorization_v0_definition_definition_proto_enumTypes[0] +} + +func (x Action) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Action.Descriptor instead. +func (Action) EnumDescriptor() ([]byte, []int) { + return file_integrations_authorization_v0_definition_definition_proto_rawDescGZIP(), []int{0} +} + +// CanRequest define Can method Request Body +type CanRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // user define the Requester User + User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` + // action define the Action type + Action Action `protobuf:"varint,2,opt,name=action,proto3,enum=authorization.Action" json:"action,omitempty"` + // api Keeps the information about API, For example training, prediction + Api string `protobuf:"bytes,3,opt,name=api,proto3" json:"api,omitempty"` + // version keeps the information about used API Version, optional + Version *string `protobuf:"bytes,4,opt,name=version,proto3,oneof" json:"version,omitempty"` + // name keeps the information about Resource name, used in Get/Create/Delete requests + Name *string `protobuf:"bytes,5,opt,name=name,proto3,oneof" json:"name,omitempty"` +} + +func (x *CanRequest) Reset() { + *x = CanRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_integrations_authorization_v0_definition_definition_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanRequest) ProtoMessage() {} + +func (x *CanRequest) ProtoReflect() protoreflect.Message { + mi := &file_integrations_authorization_v0_definition_definition_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CanRequest.ProtoReflect.Descriptor instead. +func (*CanRequest) Descriptor() ([]byte, []int) { + return file_integrations_authorization_v0_definition_definition_proto_rawDescGZIP(), []int{0} +} + +func (x *CanRequest) GetUser() string { + if x != nil { + return x.User + } + return "" +} + +func (x *CanRequest) GetAction() Action { + if x != nil { + return x.Action + } + return Action_ACTION_ANY_UNSPECIFIED +} + +func (x *CanRequest) GetApi() string { + if x != nil { + return x.Api + } + return "" +} + +func (x *CanRequest) GetVersion() string { + if x != nil && x.Version != nil { + return *x.Version + } + return "" +} + +func (x *CanRequest) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +// CanResponse define Can method Response Body +type CanResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // allowed keeps the information if request is allowed + Allowed bool `protobuf:"varint,1,opt,name=allowed,proto3" json:"allowed,omitempty"` + // message keeps the information about allow/deny + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` +} + +func (x *CanResponse) Reset() { + *x = CanResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_integrations_authorization_v0_definition_definition_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CanResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CanResponse) ProtoMessage() {} + +func (x *CanResponse) ProtoReflect() protoreflect.Message { + mi := &file_integrations_authorization_v0_definition_definition_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CanResponse.ProtoReflect.Descriptor instead. +func (*CanResponse) Descriptor() ([]byte, []int) { + return file_integrations_authorization_v0_definition_definition_proto_rawDescGZIP(), []int{1} +} + +func (x *CanResponse) GetAllowed() bool { + if x != nil { + return x.Allowed + } + return false +} + +func (x *CanResponse) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +var File_integrations_authorization_v0_definition_definition_proto protoreflect.FileDescriptor + +var file_integrations_authorization_v0_definition_definition_proto_rawDesc = []byte{ + 0x0a, 0x39, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x30, 0x2f, + 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xae, 0x01, 0x0a, 0x0a, 0x43, + 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x2d, 0x0a, + 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, + 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, + 0x61, 0x70, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x70, 0x69, 0x12, 0x1d, + 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, + 0x00, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x41, 0x0a, 0x0b, 0x43, + 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x6c, + 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x61, 0x6c, 0x6c, + 0x6f, 0x77, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2a, 0x6b, + 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x43, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x41, 0x4e, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, + 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4c, + 0x49, 0x53, 0x54, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x47, 0x45, 0x54, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x43, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x04, 0x32, 0x51, 0x0a, 0x0f, 0x41, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x30, 0x12, 0x3e, + 0x0a, 0x03, 0x43, 0x61, 0x6e, 0x12, 0x19, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1a, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x43, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x4c, + 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x72, 0x61, + 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x2d, 0x61, 0x72, 0x61, 0x6e, 0x67, + 0x6f, 0x64, 0x62, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, + 0x30, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_integrations_authorization_v0_definition_definition_proto_rawDescOnce sync.Once + file_integrations_authorization_v0_definition_definition_proto_rawDescData = file_integrations_authorization_v0_definition_definition_proto_rawDesc +) + +func file_integrations_authorization_v0_definition_definition_proto_rawDescGZIP() []byte { + file_integrations_authorization_v0_definition_definition_proto_rawDescOnce.Do(func() { + file_integrations_authorization_v0_definition_definition_proto_rawDescData = protoimpl.X.CompressGZIP(file_integrations_authorization_v0_definition_definition_proto_rawDescData) + }) + return file_integrations_authorization_v0_definition_definition_proto_rawDescData +} + +var file_integrations_authorization_v0_definition_definition_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_integrations_authorization_v0_definition_definition_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_integrations_authorization_v0_definition_definition_proto_goTypes = []interface{}{ + (Action)(0), // 0: authorization.Action + (*CanRequest)(nil), // 1: authorization.CanRequest + (*CanResponse)(nil), // 2: authorization.CanResponse +} +var file_integrations_authorization_v0_definition_definition_proto_depIdxs = []int32{ + 0, // 0: authorization.CanRequest.action:type_name -> authorization.Action + 1, // 1: authorization.AuthorizationV0.Can:input_type -> authorization.CanRequest + 2, // 2: authorization.AuthorizationV0.Can:output_type -> authorization.CanResponse + 2, // [2:3] is the sub-list for method output_type + 1, // [1:2] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_integrations_authorization_v0_definition_definition_proto_init() } +func file_integrations_authorization_v0_definition_definition_proto_init() { + if File_integrations_authorization_v0_definition_definition_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_integrations_authorization_v0_definition_definition_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_integrations_authorization_v0_definition_definition_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CanResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_integrations_authorization_v0_definition_definition_proto_msgTypes[0].OneofWrappers = []interface{}{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_integrations_authorization_v0_definition_definition_proto_rawDesc, + NumEnums: 1, + NumMessages: 2, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_integrations_authorization_v0_definition_definition_proto_goTypes, + DependencyIndexes: file_integrations_authorization_v0_definition_definition_proto_depIdxs, + EnumInfos: file_integrations_authorization_v0_definition_definition_proto_enumTypes, + MessageInfos: file_integrations_authorization_v0_definition_definition_proto_msgTypes, + }.Build() + File_integrations_authorization_v0_definition_definition_proto = out.File + file_integrations_authorization_v0_definition_definition_proto_rawDesc = nil + file_integrations_authorization_v0_definition_definition_proto_goTypes = nil + file_integrations_authorization_v0_definition_definition_proto_depIdxs = nil +} diff --git a/integrations/authorization/v0/definition/definition.proto b/integrations/authorization/v0/definition/definition.proto new file mode 100644 index 000000000..22a8e5fc7 --- /dev/null +++ b/integrations/authorization/v0/definition/definition.proto @@ -0,0 +1,73 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +syntax = "proto3"; + +package authorization; + +option go_package = "github.com/arangodb/kube-arangodb/integrations/authorization/v0/definition"; + +// AuthorizationV0 define AuthorizationV0 Interface +service AuthorizationV0 { + // Can validate if specified request is allowed + rpc Can (CanRequest) returns (CanResponse) {} +} + +// Action define action used for Authorization +enum Action { + // ACTION_ANY_UNSPECIFIED is used when there is no Action defined for call + ACTION_ANY_UNSPECIFIED = 0; + + // ACTION_LIST define Action List + ACTION_LIST = 1; + // ACTION_GET define Action Get + ACTION_GET = 2; + // ACTION_CREATE define Action Create + ACTION_CREATE = 3; + // ACTION_DELETE define Action Delete + ACTION_DELETE = 4; +} + +// CanRequest define Can method Request Body +message CanRequest { + // user define the Requester User + string user = 1; + + // action define the Action type + Action action = 2; + + // api Keeps the information about API, For example training, prediction + string api = 3; + + // version keeps the information about used API Version, optional + optional string version = 4; + + // name keeps the information about Resource name, used in Get/Create/Delete requests + optional string name = 5; +} + +// CanResponse define Can method Response Body +message CanResponse { + // allowed keeps the information if request is allowed + bool allowed = 1; + + // message keeps the information about allow/deny + string message = 2; +} diff --git a/integrations/authorization/v0/definition/definition_grpc.pb.go b/integrations/authorization/v0/definition/definition_grpc.pb.go new file mode 100644 index 000000000..a384c3dfd --- /dev/null +++ b/integrations/authorization/v0/definition/definition_grpc.pb.go @@ -0,0 +1,107 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc v3.21.1 +// source: integrations/authorization/v0/definition/definition.proto + +package definition + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// AuthorizationV0Client is the client API for AuthorizationV0 service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type AuthorizationV0Client interface { + // Can validate if specified request is allowed + Can(ctx context.Context, in *CanRequest, opts ...grpc.CallOption) (*CanResponse, error) +} + +type authorizationV0Client struct { + cc grpc.ClientConnInterface +} + +func NewAuthorizationV0Client(cc grpc.ClientConnInterface) AuthorizationV0Client { + return &authorizationV0Client{cc} +} + +func (c *authorizationV0Client) Can(ctx context.Context, in *CanRequest, opts ...grpc.CallOption) (*CanResponse, error) { + out := new(CanResponse) + err := c.cc.Invoke(ctx, "/authorization.AuthorizationV0/Can", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// AuthorizationV0Server is the server API for AuthorizationV0 service. +// All implementations must embed UnimplementedAuthorizationV0Server +// for forward compatibility +type AuthorizationV0Server interface { + // Can validate if specified request is allowed + Can(context.Context, *CanRequest) (*CanResponse, error) + mustEmbedUnimplementedAuthorizationV0Server() +} + +// UnimplementedAuthorizationV0Server must be embedded to have forward compatible implementations. +type UnimplementedAuthorizationV0Server struct { +} + +func (UnimplementedAuthorizationV0Server) Can(context.Context, *CanRequest) (*CanResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Can not implemented") +} +func (UnimplementedAuthorizationV0Server) mustEmbedUnimplementedAuthorizationV0Server() {} + +// UnsafeAuthorizationV0Server may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to AuthorizationV0Server will +// result in compilation errors. +type UnsafeAuthorizationV0Server interface { + mustEmbedUnimplementedAuthorizationV0Server() +} + +func RegisterAuthorizationV0Server(s grpc.ServiceRegistrar, srv AuthorizationV0Server) { + s.RegisterService(&AuthorizationV0_ServiceDesc, srv) +} + +func _AuthorizationV0_Can_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CanRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthorizationV0Server).Can(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/authorization.AuthorizationV0/Can", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthorizationV0Server).Can(ctx, req.(*CanRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// AuthorizationV0_ServiceDesc is the grpc.ServiceDesc for AuthorizationV0 service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var AuthorizationV0_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "authorization.AuthorizationV0", + HandlerType: (*AuthorizationV0Server)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Can", + Handler: _AuthorizationV0_Can_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "integrations/authorization/v0/definition/definition.proto", +} diff --git a/integrations/authorization/v0/implementation.go b/integrations/authorization/v0/implementation.go new file mode 100644 index 000000000..fff5d31f5 --- /dev/null +++ b/integrations/authorization/v0/implementation.go @@ -0,0 +1,70 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package v0 + +import ( + "context" + "fmt" + + "google.golang.org/grpc" + + pbAuthorizationV0 "github.com/arangodb/kube-arangodb/integrations/authorization/v0/definition" + "github.com/arangodb/kube-arangodb/pkg/util/errors" + "github.com/arangodb/kube-arangodb/pkg/util/svc" +) + +var _ pbAuthorizationV0.AuthorizationV0Server = &implementation{} +var _ svc.Handler = &implementation{} + +func New() svc.Handler { + return newInternal() +} + +func newInternal() *implementation { + return &implementation{} +} + +type implementation struct { + pbAuthorizationV0.UnimplementedAuthorizationV0Server +} + +func (i *implementation) Name() string { + return pbAuthorizationV0.Name +} + +func (i *implementation) Health() svc.HealthState { + return svc.Healthy +} + +func (i *implementation) Register(registrar *grpc.Server) { + pbAuthorizationV0.RegisterAuthorizationV0Server(registrar, i) +} + +func (i *implementation) Can(ctx context.Context, request *pbAuthorizationV0.CanRequest) (*pbAuthorizationV0.CanResponse, error) { + if request == nil { + return nil, errors.Errorf("Request is nil") + } + + return &pbAuthorizationV0.CanResponse{ + Allowed: true, + Message: fmt.Sprintf("Access by user `%s` to resource `%s/%s` has been granted", request.GetUser(), request.GetApi(), request.GetAction()), + }, nil +} diff --git a/integrations/authorization/v0/service_test.go b/integrations/authorization/v0/service_test.go new file mode 100644 index 000000000..43754c212 --- /dev/null +++ b/integrations/authorization/v0/service_test.go @@ -0,0 +1,55 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package v0 + +import ( + "context" + "testing" + + "github.com/stretchr/testify/require" + + pbAuthorizationV0 "github.com/arangodb/kube-arangodb/integrations/authorization/v0/definition" + "github.com/arangodb/kube-arangodb/pkg/util/svc" + "github.com/arangodb/kube-arangodb/pkg/util/tests/tgrpc" +) + +func Client(t *testing.T, ctx context.Context) pbAuthorizationV0.AuthorizationV0Client { + local := svc.NewService(svc.Configuration{ + Address: "127.0.0.1:0", + }, New()) + + start := local.Start(ctx) + + client := tgrpc.NewGRPCClient(t, ctx, pbAuthorizationV0.NewAuthorizationV0Client, start.Address()) + + return client +} + +func Test_AllowAll(t *testing.T) { + ctx, c := context.WithCancel(context.Background()) + defer c() + + client := Client(t, ctx) + + resp, err := client.Can(ctx, &pbAuthorizationV0.CanRequest{}) + require.NoError(t, err) + require.True(t, resp.Allowed) +} diff --git a/integrations/shared/v1/definition/empty.pb.go b/integrations/shared/v1/definition/empty.pb.go index ef446f063..e2b096a4e 100644 --- a/integrations/shared/v1/definition/empty.pb.go +++ b/integrations/shared/v1/definition/empty.pb.go @@ -40,6 +40,7 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) +// Empty contains empty message used by other protos type Empty struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/integrations/shared/v1/definition/empty.proto b/integrations/shared/v1/definition/empty.proto index bc96917de..b4dc93a54 100644 --- a/integrations/shared/v1/definition/empty.proto +++ b/integrations/shared/v1/definition/empty.proto @@ -20,8 +20,10 @@ syntax = "proto3"; -option go_package = "github.com/arangodb/kube-arangodb/integrations/shared/v1/definition"; - package shared; -message Empty {} \ No newline at end of file +option go_package = "github.com/arangodb/kube-arangodb/integrations/shared/v1/definition"; + +// Empty contains empty message used by other protos +message Empty { +} diff --git a/integrations/shutdown/v1/definition/shutdown.pb.go b/integrations/shutdown/v1/definition/shutdown.pb.go index 78ea62668..665f6d7ef 100644 --- a/integrations/shutdown/v1/definition/shutdown.pb.go +++ b/integrations/shutdown/v1/definition/shutdown.pb.go @@ -49,24 +49,24 @@ var file_integrations_shutdown_v1_definition_shutdown_proto_rawDesc = []byte{ 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x1a, 0x2d, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x3c, 0x0a, - 0x08, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x30, 0x0a, 0x0e, 0x53, 0x68, 0x75, - 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x0d, 0x2e, 0x73, 0x68, - 0x61, 0x72, 0x65, 0x64, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x0d, 0x2e, 0x73, 0x68, 0x61, - 0x72, 0x65, 0x64, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x47, 0x5a, 0x45, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x72, 0x61, 0x6e, 0x67, 0x6f, - 0x64, 0x62, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x2d, 0x61, 0x72, 0x61, 0x6e, 0x67, 0x6f, 0x64, 0x62, - 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x68, - 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6e, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x38, 0x0a, + 0x0a, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x56, 0x31, 0x12, 0x2a, 0x0a, 0x08, 0x53, + 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x0d, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x0d, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, + 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x47, 0x5a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x72, 0x61, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x2f, 0x6b, + 0x75, 0x62, 0x65, 0x2d, 0x61, 0x72, 0x61, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x2f, 0x69, 0x6e, 0x74, + 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, + 0x77, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var file_integrations_shutdown_v1_definition_shutdown_proto_goTypes = []interface{}{ (*definition.Empty)(nil), // 0: shared.Empty } var file_integrations_shutdown_v1_definition_shutdown_proto_depIdxs = []int32{ - 0, // 0: shutdown.Shutdown.ShutdownServer:input_type -> shared.Empty - 0, // 1: shutdown.Shutdown.ShutdownServer:output_type -> shared.Empty + 0, // 0: shutdown.ShutdownV1.Shutdown:input_type -> shared.Empty + 0, // 1: shutdown.ShutdownV1.Shutdown:output_type -> shared.Empty 1, // [1:2] is the sub-list for method output_type 0, // [0:1] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name diff --git a/integrations/shutdown/v1/definition/shutdown.proto b/integrations/shutdown/v1/definition/shutdown.proto index cea1954ec..f850cc986 100644 --- a/integrations/shutdown/v1/definition/shutdown.proto +++ b/integrations/shutdown/v1/definition/shutdown.proto @@ -20,12 +20,14 @@ syntax = "proto3"; -option go_package = "github.com/arangodb/kube-arangodb/integrations/shutdown/v1/definition"; - package shutdown; import "integrations/shared/v1/definition/empty.proto"; -service Shutdown { - rpc ShutdownServer (shared.Empty) returns (shared.Empty) {} -} \ No newline at end of file +option go_package = "github.com/arangodb/kube-arangodb/integrations/shutdown/v1/definition"; + +// ShutdownV1 Service implementation +service ShutdownV1 { + // ShutdownServer sends the shutdown request + rpc Shutdown (shared.Empty) returns (shared.Empty) {} +} diff --git a/integrations/shutdown/v1/definition/shutdown_grpc.pb.go b/integrations/shutdown/v1/definition/shutdown_grpc.pb.go index 2c339f029..343470da6 100644 --- a/integrations/shutdown/v1/definition/shutdown_grpc.pb.go +++ b/integrations/shutdown/v1/definition/shutdown_grpc.pb.go @@ -19,86 +19,88 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// ShutdownClient is the client API for Shutdown service. +// ShutdownV1Client is the client API for ShutdownV1 service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type ShutdownClient interface { - ShutdownServer(ctx context.Context, in *definition.Empty, opts ...grpc.CallOption) (*definition.Empty, error) +type ShutdownV1Client interface { + // ShutdownServer sends the shutdown request + Shutdown(ctx context.Context, in *definition.Empty, opts ...grpc.CallOption) (*definition.Empty, error) } -type shutdownClient struct { +type shutdownV1Client struct { cc grpc.ClientConnInterface } -func NewShutdownClient(cc grpc.ClientConnInterface) ShutdownClient { - return &shutdownClient{cc} +func NewShutdownV1Client(cc grpc.ClientConnInterface) ShutdownV1Client { + return &shutdownV1Client{cc} } -func (c *shutdownClient) ShutdownServer(ctx context.Context, in *definition.Empty, opts ...grpc.CallOption) (*definition.Empty, error) { +func (c *shutdownV1Client) Shutdown(ctx context.Context, in *definition.Empty, opts ...grpc.CallOption) (*definition.Empty, error) { out := new(definition.Empty) - err := c.cc.Invoke(ctx, "/shutdown.Shutdown/ShutdownServer", in, out, opts...) + err := c.cc.Invoke(ctx, "/shutdown.ShutdownV1/Shutdown", in, out, opts...) if err != nil { return nil, err } return out, nil } -// ShutdownServer is the server API for Shutdown service. -// All implementations must embed UnimplementedShutdownServer +// ShutdownV1Server is the server API for ShutdownV1 service. +// All implementations must embed UnimplementedShutdownV1Server // for forward compatibility -type ShutdownServer interface { - ShutdownServer(context.Context, *definition.Empty) (*definition.Empty, error) - mustEmbedUnimplementedShutdownServer() +type ShutdownV1Server interface { + // ShutdownServer sends the shutdown request + Shutdown(context.Context, *definition.Empty) (*definition.Empty, error) + mustEmbedUnimplementedShutdownV1Server() } -// UnimplementedShutdownServer must be embedded to have forward compatible implementations. -type UnimplementedShutdownServer struct { +// UnimplementedShutdownV1Server must be embedded to have forward compatible implementations. +type UnimplementedShutdownV1Server struct { } -func (UnimplementedShutdownServer) ShutdownServer(context.Context, *definition.Empty) (*definition.Empty, error) { - return nil, status.Errorf(codes.Unimplemented, "method ShutdownServer not implemented") +func (UnimplementedShutdownV1Server) Shutdown(context.Context, *definition.Empty) (*definition.Empty, error) { + return nil, status.Errorf(codes.Unimplemented, "method Shutdown not implemented") } -func (UnimplementedShutdownServer) mustEmbedUnimplementedShutdownServer() {} +func (UnimplementedShutdownV1Server) mustEmbedUnimplementedShutdownV1Server() {} -// UnsafeShutdownServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to ShutdownServer will +// UnsafeShutdownV1Server may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to ShutdownV1Server will // result in compilation errors. -type UnsafeShutdownServer interface { - mustEmbedUnimplementedShutdownServer() +type UnsafeShutdownV1Server interface { + mustEmbedUnimplementedShutdownV1Server() } -func RegisterShutdownServer(s grpc.ServiceRegistrar, srv ShutdownServer) { - s.RegisterService(&Shutdown_ServiceDesc, srv) +func RegisterShutdownV1Server(s grpc.ServiceRegistrar, srv ShutdownV1Server) { + s.RegisterService(&ShutdownV1_ServiceDesc, srv) } -func _Shutdown_ShutdownServer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _ShutdownV1_Shutdown_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(definition.Empty) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(ShutdownServer).ShutdownServer(ctx, in) + return srv.(ShutdownV1Server).Shutdown(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/shutdown.Shutdown/ShutdownServer", + FullMethod: "/shutdown.ShutdownV1/Shutdown", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ShutdownServer).ShutdownServer(ctx, req.(*definition.Empty)) + return srv.(ShutdownV1Server).Shutdown(ctx, req.(*definition.Empty)) } return interceptor(ctx, in, info, handler) } -// Shutdown_ServiceDesc is the grpc.ServiceDesc for Shutdown service. +// ShutdownV1_ServiceDesc is the grpc.ServiceDesc for ShutdownV1 service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var Shutdown_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "shutdown.Shutdown", - HandlerType: (*ShutdownServer)(nil), +var ShutdownV1_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "shutdown.ShutdownV1", + HandlerType: (*ShutdownV1Server)(nil), Methods: []grpc.MethodDesc{ { - MethodName: "ShutdownServer", - Handler: _Shutdown_ShutdownServer_Handler, + MethodName: "Shutdown", + Handler: _ShutdownV1_Shutdown_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/integrations/shutdown/v1/impl.go b/integrations/shutdown/v1/impl.go index 6e2f4f7ab..3e369e84e 100644 --- a/integrations/shutdown/v1/impl.go +++ b/integrations/shutdown/v1/impl.go @@ -35,11 +35,11 @@ func New(closer context.CancelFunc) svc.Handler { return &impl{closer: closer} } -var _ pbShutdownV1.ShutdownServer = &impl{} +var _ pbShutdownV1.ShutdownV1Server = &impl{} var _ svc.Handler = &impl{} type impl struct { - pbShutdownV1.UnimplementedShutdownServer + pbShutdownV1.UnimplementedShutdownV1Server closer context.CancelFunc } @@ -53,10 +53,10 @@ func (i *impl) Health() svc.HealthState { } func (i *impl) Register(registrar *grpc.Server) { - pbShutdownV1.RegisterShutdownServer(registrar, i) + pbShutdownV1.RegisterShutdownV1Server(registrar, i) } -func (i *impl) ShutdownServer(ctx context.Context, empty *pbSharedV1.Empty) (*pbSharedV1.Empty, error) { +func (i *impl) Shutdown(ctx context.Context, empty *pbSharedV1.Empty) (*pbSharedV1.Empty, error) { go func() { defer i.closer() diff --git a/integrations/shutdown/v1/impl_test.go b/integrations/shutdown/v1/impl_test.go index 0f859f41b..5060cd220 100644 --- a/integrations/shutdown/v1/impl_test.go +++ b/integrations/shutdown/v1/impl_test.go @@ -29,6 +29,7 @@ import ( pbSharedV1 "github.com/arangodb/kube-arangodb/integrations/shared/v1/definition" pbShutdownV1 "github.com/arangodb/kube-arangodb/integrations/shutdown/v1/definition" + "github.com/arangodb/kube-arangodb/pkg/util/closer" "github.com/arangodb/kube-arangodb/pkg/util/svc" "github.com/arangodb/kube-arangodb/pkg/util/tests/tgrpc" ) @@ -43,25 +44,16 @@ func Test_ShutdownGRPC(t *testing.T) { start := local.Start(ctx) - require.False(t, isContextDone(ctx)) + require.False(t, closer.IsChannelClosed(ctx.Done())) - client := tgrpc.NewGRPCClient(t, ctx, pbShutdownV1.NewShutdownClient, start.Address()) + client := tgrpc.NewGRPCClient(t, ctx, pbShutdownV1.NewShutdownV1Client, start.Address()) - _, err := client.ShutdownServer(ctx, &pbSharedV1.Empty{}) + _, err := client.Shutdown(ctx, &pbSharedV1.Empty{}) require.NoError(t, err) time.Sleep(time.Second) - require.True(t, isContextDone(ctx)) + require.True(t, closer.IsChannelClosed(ctx.Done())) require.NoError(t, start.Wait()) } - -func isContextDone(ctx context.Context) bool { - select { - case <-ctx.Done(): - return true - default: - return false - } -} diff --git a/integrations/shutdown/v1/service_test.go b/integrations/shutdown/v1/service_test.go new file mode 100644 index 000000000..bd0b61050 --- /dev/null +++ b/integrations/shutdown/v1/service_test.go @@ -0,0 +1,66 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package v1 + +import ( + "context" + "testing" + "time" + + "github.com/stretchr/testify/require" + + pbSharedV1 "github.com/arangodb/kube-arangodb/integrations/shared/v1/definition" + pbShutdownV1 "github.com/arangodb/kube-arangodb/integrations/shutdown/v1/definition" + "github.com/arangodb/kube-arangodb/pkg/util/closer" + "github.com/arangodb/kube-arangodb/pkg/util/svc" + "github.com/arangodb/kube-arangodb/pkg/util/tests/tgrpc" +) + +func Client(t *testing.T, ctx context.Context, c context.CancelFunc) pbShutdownV1.ShutdownV1Client { + local := svc.NewService(svc.Configuration{ + Address: "127.0.0.1:0", + }, New(c)) + + start := local.Start(ctx) + + client := tgrpc.NewGRPCClient(t, ctx, pbShutdownV1.NewShutdownV1Client, start.Address()) + + return client +} + +func Test_AllowAll(t *testing.T) { + ctx, c := context.WithCancel(context.Background()) + defer c() + + nctx, nc := context.WithCancel(ctx) + + client := Client(t, ctx, nc) + + require.False(t, closer.IsChannelClosed(nctx.Done())) + + _, err := client.Shutdown(ctx, &pbSharedV1.Empty{}) + require.NoError(t, err) + + time.Sleep(100 * time.Millisecond) + + require.True(t, closer.IsChannelClosed(nctx.Done())) + +} diff --git a/pkg/api/grpc.go b/pkg/api/grpc.go index b633e0746..bd19062df 100644 --- a/pkg/api/grpc.go +++ b/pkg/api/grpc.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2016-2022 ArangoDB GmbH, Cologne, Germany +// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,12 +24,13 @@ import ( "context" "fmt" + pbSharedV1 "github.com/arangodb/kube-arangodb/integrations/shared/v1/definition" pb "github.com/arangodb/kube-arangodb/pkg/api/server" "github.com/arangodb/kube-arangodb/pkg/logging" "github.com/arangodb/kube-arangodb/pkg/version" ) -func (s *Server) GetVersion(ctx context.Context, _ *pb.Empty) (*pb.Version, error) { +func (s *Server) GetVersion(ctx context.Context, _ *pbSharedV1.Empty) (*pb.Version, error) { v := version.GetVersionV1() return &pb.Version{ Version: string(v.Version), @@ -41,12 +42,12 @@ func (s *Server) GetVersion(ctx context.Context, _ *pb.Empty) (*pb.Version, erro } var loglevelMap = map[pb.LogLevel]logging.Level{ - pb.LogLevel_TRACE: logging.Trace, - pb.LogLevel_DEBUG: logging.Debug, - pb.LogLevel_INFO: logging.Info, - pb.LogLevel_WARN: logging.Warn, - pb.LogLevel_ERROR: logging.Error, - pb.LogLevel_FATAL: logging.Fatal, + pb.LogLevel_LOG_LEVEL_TRACE_UNSPECIFIED: logging.Trace, + pb.LogLevel_LOG_LEVEL_DEBUG: logging.Debug, + pb.LogLevel_LOG_LEVEL_INFO: logging.Info, + pb.LogLevel_LOG_LEVEL_WARN: logging.Warn, + pb.LogLevel_LOG_LEVEL_ERROR: logging.Error, + pb.LogLevel_LOG_LEVEL_FATAL: logging.Fatal, } func logLevelToGRPC(l logging.Level) pb.LogLevel { @@ -55,10 +56,10 @@ func logLevelToGRPC(l logging.Level) pb.LogLevel { return grpcVal } } - return pb.LogLevel_DEBUG + return pb.LogLevel_LOG_LEVEL_DEBUG } -func (s *Server) GetLogLevel(ctx context.Context, _ *pb.Empty) (*pb.LogLevelConfig, error) { +func (s *Server) GetLogLevel(ctx context.Context, _ *pbSharedV1.Empty) (*pb.LogLevelConfig, error) { l := s.getLogLevelsByTopics() topics := make(map[string]pb.LogLevel, len(l)) @@ -70,15 +71,15 @@ func (s *Server) GetLogLevel(ctx context.Context, _ *pb.Empty) (*pb.LogLevelConf }, nil } -func (s *Server) SetLogLevel(ctx context.Context, cfg *pb.LogLevelConfig) (*pb.Empty, error) { +func (s *Server) SetLogLevel(ctx context.Context, cfg *pb.LogLevelConfig) (*pbSharedV1.Empty, error) { l := make(map[string]logging.Level, len(cfg.Topics)) for topic, grpcLevel := range cfg.Topics { level, ok := loglevelMap[grpcLevel] if !ok { - return &pb.Empty{}, fmt.Errorf("unknown log level %s for topic %s", grpcLevel, topic) + return &pbSharedV1.Empty{}, fmt.Errorf("unknown log level %s for topic %s", grpcLevel, topic) } l[topic] = level } s.setLogLevelsByTopics(l) - return &pb.Empty{}, nil + return &pbSharedV1.Empty{}, nil } diff --git a/pkg/api/server/operator.pb.go b/pkg/api/server/operator.pb.go index ed87a37e0..633c94914 100644 --- a/pkg/api/server/operator.pb.go +++ b/pkg/api/server/operator.pb.go @@ -27,6 +27,7 @@ package server import ( + definition "github.com/arangodb/kube-arangodb/integrations/shared/v1/definition" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -40,34 +41,41 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) +// LogLevel defined the Log Levels type LogLevel int32 const ( - LogLevel_TRACE LogLevel = 0 - LogLevel_DEBUG LogLevel = 1 - LogLevel_INFO LogLevel = 2 - LogLevel_WARN LogLevel = 3 - LogLevel_ERROR LogLevel = 4 - LogLevel_FATAL LogLevel = 5 + // LOG_LEVEL_TRACE_UNSPECIFIED defines Trace or Undefined log level + LogLevel_LOG_LEVEL_TRACE_UNSPECIFIED LogLevel = 0 + // LOG_LEVEL_DEBUG defines Debug log level + LogLevel_LOG_LEVEL_DEBUG LogLevel = 1 + // LOG_LEVEL_INFO defines Info log level + LogLevel_LOG_LEVEL_INFO LogLevel = 2 + // LOG_LEVEL_WARN defines Warn log level + LogLevel_LOG_LEVEL_WARN LogLevel = 3 + // LOG_LEVEL_ERROR defines Error log level + LogLevel_LOG_LEVEL_ERROR LogLevel = 4 + // LOG_LEVEL_FATAL defines Fatal log level + LogLevel_LOG_LEVEL_FATAL LogLevel = 5 ) // Enum value maps for LogLevel. var ( LogLevel_name = map[int32]string{ - 0: "TRACE", - 1: "DEBUG", - 2: "INFO", - 3: "WARN", - 4: "ERROR", - 5: "FATAL", + 0: "LOG_LEVEL_TRACE_UNSPECIFIED", + 1: "LOG_LEVEL_DEBUG", + 2: "LOG_LEVEL_INFO", + 3: "LOG_LEVEL_WARN", + 4: "LOG_LEVEL_ERROR", + 5: "LOG_LEVEL_FATAL", } LogLevel_value = map[string]int32{ - "TRACE": 0, - "DEBUG": 1, - "INFO": 2, - "WARN": 3, - "ERROR": 4, - "FATAL": 5, + "LOG_LEVEL_TRACE_UNSPECIFIED": 0, + "LOG_LEVEL_DEBUG": 1, + "LOG_LEVEL_INFO": 2, + "LOG_LEVEL_WARN": 3, + "LOG_LEVEL_ERROR": 4, + "LOG_LEVEL_FATAL": 5, } ) @@ -98,60 +106,28 @@ func (LogLevel) EnumDescriptor() ([]byte, []int) { return file_pkg_api_server_operator_proto_rawDescGZIP(), []int{0} } -type Empty struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *Empty) Reset() { - *x = Empty{} - if protoimpl.UnsafeEnabled { - mi := &file_pkg_api_server_operator_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Empty) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Empty) ProtoMessage() {} - -func (x *Empty) ProtoReflect() protoreflect.Message { - mi := &file_pkg_api_server_operator_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Empty.ProtoReflect.Descriptor instead. -func (*Empty) Descriptor() ([]byte, []int) { - return file_pkg_api_server_operator_proto_rawDescGZIP(), []int{0} -} - +// Version define the version details type Version struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - Build string `protobuf:"bytes,2,opt,name=build,proto3" json:"build,omitempty"` - Edition string `protobuf:"bytes,3,opt,name=edition,proto3" json:"edition,omitempty"` + // version keeps version info + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + // build keeps build info + Build string `protobuf:"bytes,2,opt,name=build,proto3" json:"build,omitempty"` + // edition keeps the Operator edition + Edition string `protobuf:"bytes,3,opt,name=edition,proto3" json:"edition,omitempty"` + // go_version keeps the version of go used in build GoVersion string `protobuf:"bytes,4,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"` + // build_date keeps the build date BuildDate string `protobuf:"bytes,5,opt,name=build_date,json=buildDate,proto3" json:"build_date,omitempty"` } func (x *Version) Reset() { *x = Version{} if protoimpl.UnsafeEnabled { - mi := &file_pkg_api_server_operator_proto_msgTypes[1] + mi := &file_pkg_api_server_operator_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -164,7 +140,7 @@ func (x *Version) String() string { func (*Version) ProtoMessage() {} func (x *Version) ProtoReflect() protoreflect.Message { - mi := &file_pkg_api_server_operator_proto_msgTypes[1] + mi := &file_pkg_api_server_operator_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -177,7 +153,7 @@ func (x *Version) ProtoReflect() protoreflect.Message { // Deprecated: Use Version.ProtoReflect.Descriptor instead. func (*Version) Descriptor() ([]byte, []int) { - return file_pkg_api_server_operator_proto_rawDescGZIP(), []int{1} + return file_pkg_api_server_operator_proto_rawDescGZIP(), []int{0} } func (x *Version) GetVersion() string { @@ -215,18 +191,20 @@ func (x *Version) GetBuildDate() string { return "" } +// LogLevelConfig define the LogLevel Configs type LogLevelConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + // topics define map of the topics and corresponding log levels Topics map[string]LogLevel `protobuf:"bytes,1,rep,name=topics,proto3" json:"topics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=server.LogLevel"` } func (x *LogLevelConfig) Reset() { *x = LogLevelConfig{} if protoimpl.UnsafeEnabled { - mi := &file_pkg_api_server_operator_proto_msgTypes[2] + mi := &file_pkg_api_server_operator_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -239,7 +217,7 @@ func (x *LogLevelConfig) String() string { func (*LogLevelConfig) ProtoMessage() {} func (x *LogLevelConfig) ProtoReflect() protoreflect.Message { - mi := &file_pkg_api_server_operator_proto_msgTypes[2] + mi := &file_pkg_api_server_operator_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -252,7 +230,7 @@ func (x *LogLevelConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use LogLevelConfig.ProtoReflect.Descriptor instead. func (*LogLevelConfig) Descriptor() ([]byte, []int) { - return file_pkg_api_server_operator_proto_rawDescGZIP(), []int{2} + return file_pkg_api_server_operator_proto_rawDescGZIP(), []int{1} } func (x *LogLevelConfig) GetTopics() map[string]LogLevel { @@ -267,46 +245,53 @@ var File_pkg_api_server_operator_proto protoreflect.FileDescriptor var file_pkg_api_server_operator_proto_rawDesc = []byte{ 0x0a, 0x1d, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, - 0x22, 0x91, 0x01, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x18, 0x0a, 0x07, - 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, - 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x6f, 0x5f, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x6f, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, - 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, - 0x44, 0x61, 0x74, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x0e, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, - 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x2e, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, - 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x74, 0x6f, 0x70, - 0x69, 0x63, 0x73, 0x1a, 0x4b, 0x0a, 0x0b, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67, - 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x2a, 0x4a, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x09, 0x0a, 0x05, - 0x54, 0x52, 0x41, 0x43, 0x45, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x45, 0x42, 0x55, 0x47, - 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, - 0x57, 0x41, 0x52, 0x4e, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, - 0x04, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x41, 0x54, 0x41, 0x4c, 0x10, 0x05, 0x32, 0xaa, 0x01, 0x0a, - 0x08, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x2e, 0x0a, 0x0a, 0x47, 0x65, 0x74, - 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x0f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, - 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x36, 0x0a, 0x0b, 0x47, 0x65, 0x74, - 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x0d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x2e, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, - 0x00, 0x12, 0x36, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, - 0x12, 0x16, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, - 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x0d, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, - 0x72, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x32, 0x5a, 0x30, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x72, 0x61, 0x6e, 0x67, 0x6f, 0x64, 0x62, - 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x2d, 0x61, 0x72, 0x61, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x2f, 0x70, - 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x1a, 0x2d, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2f, 0x76, 0x31, 0x2f, + 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x01, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, + 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x75, 0x69, + 0x6c, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, + 0x67, 0x6f, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x67, 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x62, + 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x44, 0x61, 0x74, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x0e, 0x4c, + 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3a, 0x0a, + 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, + 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x1a, 0x4b, 0x0a, 0x0b, 0x54, 0x6f, 0x70, + 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x92, 0x01, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x4c, 0x65, + 0x76, 0x65, 0x6c, 0x12, 0x1f, 0x0a, 0x1b, 0x4c, 0x4f, 0x47, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, + 0x5f, 0x54, 0x52, 0x41, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, + 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x4c, 0x4f, 0x47, 0x5f, 0x4c, 0x45, 0x56, 0x45, + 0x4c, 0x5f, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x4f, 0x47, + 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x02, 0x12, 0x12, 0x0a, + 0x0e, 0x4c, 0x4f, 0x47, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x57, 0x41, 0x52, 0x4e, 0x10, + 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x4c, 0x4f, 0x47, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x45, + 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x4c, 0x4f, 0x47, 0x5f, 0x4c, 0x45, + 0x56, 0x45, 0x4c, 0x5f, 0x46, 0x41, 0x54, 0x41, 0x4c, 0x10, 0x05, 0x32, 0xaa, 0x01, 0x0a, 0x08, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x2e, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0d, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, + 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x0f, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x12, 0x36, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4c, + 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x0d, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, + 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x00, + 0x12, 0x36, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, + 0x16, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, + 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x0d, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x32, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x72, 0x61, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x2f, + 0x6b, 0x75, 0x62, 0x65, 0x2d, 0x61, 0x72, 0x61, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x2f, 0x70, 0x6b, + 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -322,23 +307,23 @@ func file_pkg_api_server_operator_proto_rawDescGZIP() []byte { } var file_pkg_api_server_operator_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_pkg_api_server_operator_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_pkg_api_server_operator_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_pkg_api_server_operator_proto_goTypes = []interface{}{ - (LogLevel)(0), // 0: server.LogLevel - (*Empty)(nil), // 1: server.Empty - (*Version)(nil), // 2: server.Version - (*LogLevelConfig)(nil), // 3: server.LogLevelConfig - nil, // 4: server.LogLevelConfig.TopicsEntry + (LogLevel)(0), // 0: server.LogLevel + (*Version)(nil), // 1: server.Version + (*LogLevelConfig)(nil), // 2: server.LogLevelConfig + nil, // 3: server.LogLevelConfig.TopicsEntry + (*definition.Empty)(nil), // 4: shared.Empty } var file_pkg_api_server_operator_proto_depIdxs = []int32{ - 4, // 0: server.LogLevelConfig.topics:type_name -> server.LogLevelConfig.TopicsEntry + 3, // 0: server.LogLevelConfig.topics:type_name -> server.LogLevelConfig.TopicsEntry 0, // 1: server.LogLevelConfig.TopicsEntry.value:type_name -> server.LogLevel - 1, // 2: server.Operator.GetVersion:input_type -> server.Empty - 1, // 3: server.Operator.GetLogLevel:input_type -> server.Empty - 3, // 4: server.Operator.SetLogLevel:input_type -> server.LogLevelConfig - 2, // 5: server.Operator.GetVersion:output_type -> server.Version - 3, // 6: server.Operator.GetLogLevel:output_type -> server.LogLevelConfig - 1, // 7: server.Operator.SetLogLevel:output_type -> server.Empty + 4, // 2: server.Operator.GetVersion:input_type -> shared.Empty + 4, // 3: server.Operator.GetLogLevel:input_type -> shared.Empty + 2, // 4: server.Operator.SetLogLevel:input_type -> server.LogLevelConfig + 1, // 5: server.Operator.GetVersion:output_type -> server.Version + 2, // 6: server.Operator.GetLogLevel:output_type -> server.LogLevelConfig + 4, // 7: server.Operator.SetLogLevel:output_type -> shared.Empty 5, // [5:8] is the sub-list for method output_type 2, // [2:5] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name @@ -353,18 +338,6 @@ func file_pkg_api_server_operator_proto_init() { } if !protoimpl.UnsafeEnabled { file_pkg_api_server_operator_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Empty); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pkg_api_server_operator_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Version); i { case 0: return &v.state @@ -376,7 +349,7 @@ func file_pkg_api_server_operator_proto_init() { return nil } } - file_pkg_api_server_operator_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_pkg_api_server_operator_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LogLevelConfig); i { case 0: return &v.state @@ -395,7 +368,7 @@ func file_pkg_api_server_operator_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_pkg_api_server_operator_proto_rawDesc, NumEnums: 1, - NumMessages: 4, + NumMessages: 3, NumExtensions: 0, NumServices: 1, }, diff --git a/pkg/api/server/operator.proto b/pkg/api/server/operator.proto index c71d129d0..39e480267 100644 --- a/pkg/api/server/operator.proto +++ b/pkg/api/server/operator.proto @@ -20,35 +20,56 @@ syntax = "proto3"; -option go_package = "github.com/arangodb/kube-arangodb/pkg/api/server"; - package server; +import "integrations/shared/v1/definition/empty.proto"; + +option go_package = "github.com/arangodb/kube-arangodb/pkg/api/server"; + +// Operator defined Operator service service Operator { - rpc GetVersion (Empty) returns (Version) {} - rpc GetLogLevel (Empty) returns (LogLevelConfig) {} - rpc SetLogLevel (LogLevelConfig) returns (Empty) {} -} + // GetVersion returns Operator version + rpc GetVersion (shared.Empty) returns (Version) {} -message Empty {} + // GetLogLevel returns Operator LogLevels + rpc GetLogLevel (shared.Empty) returns (LogLevelConfig) {} + + // SetLogLevel sets Operator LogLevels + rpc SetLogLevel (LogLevelConfig) returns (shared.Empty) {} +} +// Version define the version details message Version { + // version keeps version info string version = 1; + // build keeps build info string build = 2; + // edition keeps the Operator edition string edition = 3; + // go_version keeps the version of go used in build string go_version = 4; + // build_date keeps the build date string build_date = 5; } +// LogLevel defined the Log Levels enum LogLevel { - TRACE = 0; - DEBUG = 1; - INFO = 2; - WARN = 3; - ERROR = 4; - FATAL = 5; + // LOG_LEVEL_TRACE_UNSPECIFIED defines Trace or Undefined log level + LOG_LEVEL_TRACE_UNSPECIFIED = 0; + // LOG_LEVEL_DEBUG defines Debug log level + LOG_LEVEL_DEBUG = 1; + // LOG_LEVEL_INFO defines Info log level + LOG_LEVEL_INFO = 2; + // LOG_LEVEL_WARN defines Warn log level + LOG_LEVEL_WARN = 3; + // LOG_LEVEL_ERROR defines Error log level + LOG_LEVEL_ERROR = 4; + // LOG_LEVEL_FATAL defines Fatal log level + LOG_LEVEL_FATAL = 5; } +// LogLevelConfig define the LogLevel Configs message LogLevelConfig { + // topics define map of the topics and corresponding log levels map topics = 1; } diff --git a/pkg/api/server/operator_grpc.pb.go b/pkg/api/server/operator_grpc.pb.go index 49aebc0e8..7bf0b016d 100644 --- a/pkg/api/server/operator_grpc.pb.go +++ b/pkg/api/server/operator_grpc.pb.go @@ -8,6 +8,7 @@ package server import ( context "context" + definition "github.com/arangodb/kube-arangodb/integrations/shared/v1/definition" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -22,9 +23,12 @@ const _ = grpc.SupportPackageIsVersion7 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type OperatorClient interface { - GetVersion(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Version, error) - GetLogLevel(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*LogLevelConfig, error) - SetLogLevel(ctx context.Context, in *LogLevelConfig, opts ...grpc.CallOption) (*Empty, error) + // GetVersion returns Operator version + GetVersion(ctx context.Context, in *definition.Empty, opts ...grpc.CallOption) (*Version, error) + // GetLogLevel returns Operator LogLevels + GetLogLevel(ctx context.Context, in *definition.Empty, opts ...grpc.CallOption) (*LogLevelConfig, error) + // SetLogLevel sets Operator LogLevels + SetLogLevel(ctx context.Context, in *LogLevelConfig, opts ...grpc.CallOption) (*definition.Empty, error) } type operatorClient struct { @@ -35,7 +39,7 @@ func NewOperatorClient(cc grpc.ClientConnInterface) OperatorClient { return &operatorClient{cc} } -func (c *operatorClient) GetVersion(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Version, error) { +func (c *operatorClient) GetVersion(ctx context.Context, in *definition.Empty, opts ...grpc.CallOption) (*Version, error) { out := new(Version) err := c.cc.Invoke(ctx, "/server.Operator/GetVersion", in, out, opts...) if err != nil { @@ -44,7 +48,7 @@ func (c *operatorClient) GetVersion(ctx context.Context, in *Empty, opts ...grpc return out, nil } -func (c *operatorClient) GetLogLevel(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*LogLevelConfig, error) { +func (c *operatorClient) GetLogLevel(ctx context.Context, in *definition.Empty, opts ...grpc.CallOption) (*LogLevelConfig, error) { out := new(LogLevelConfig) err := c.cc.Invoke(ctx, "/server.Operator/GetLogLevel", in, out, opts...) if err != nil { @@ -53,8 +57,8 @@ func (c *operatorClient) GetLogLevel(ctx context.Context, in *Empty, opts ...grp return out, nil } -func (c *operatorClient) SetLogLevel(ctx context.Context, in *LogLevelConfig, opts ...grpc.CallOption) (*Empty, error) { - out := new(Empty) +func (c *operatorClient) SetLogLevel(ctx context.Context, in *LogLevelConfig, opts ...grpc.CallOption) (*definition.Empty, error) { + out := new(definition.Empty) err := c.cc.Invoke(ctx, "/server.Operator/SetLogLevel", in, out, opts...) if err != nil { return nil, err @@ -66,9 +70,12 @@ func (c *operatorClient) SetLogLevel(ctx context.Context, in *LogLevelConfig, op // All implementations must embed UnimplementedOperatorServer // for forward compatibility type OperatorServer interface { - GetVersion(context.Context, *Empty) (*Version, error) - GetLogLevel(context.Context, *Empty) (*LogLevelConfig, error) - SetLogLevel(context.Context, *LogLevelConfig) (*Empty, error) + // GetVersion returns Operator version + GetVersion(context.Context, *definition.Empty) (*Version, error) + // GetLogLevel returns Operator LogLevels + GetLogLevel(context.Context, *definition.Empty) (*LogLevelConfig, error) + // SetLogLevel sets Operator LogLevels + SetLogLevel(context.Context, *LogLevelConfig) (*definition.Empty, error) mustEmbedUnimplementedOperatorServer() } @@ -76,13 +83,13 @@ type OperatorServer interface { type UnimplementedOperatorServer struct { } -func (UnimplementedOperatorServer) GetVersion(context.Context, *Empty) (*Version, error) { +func (UnimplementedOperatorServer) GetVersion(context.Context, *definition.Empty) (*Version, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVersion not implemented") } -func (UnimplementedOperatorServer) GetLogLevel(context.Context, *Empty) (*LogLevelConfig, error) { +func (UnimplementedOperatorServer) GetLogLevel(context.Context, *definition.Empty) (*LogLevelConfig, error) { return nil, status.Errorf(codes.Unimplemented, "method GetLogLevel not implemented") } -func (UnimplementedOperatorServer) SetLogLevel(context.Context, *LogLevelConfig) (*Empty, error) { +func (UnimplementedOperatorServer) SetLogLevel(context.Context, *LogLevelConfig) (*definition.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method SetLogLevel not implemented") } func (UnimplementedOperatorServer) mustEmbedUnimplementedOperatorServer() {} @@ -99,7 +106,7 @@ func RegisterOperatorServer(s grpc.ServiceRegistrar, srv OperatorServer) { } func _Operator_GetVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Empty) + in := new(definition.Empty) if err := dec(in); err != nil { return nil, err } @@ -111,13 +118,13 @@ func _Operator_GetVersion_Handler(srv interface{}, ctx context.Context, dec func FullMethod: "/server.Operator/GetVersion", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperatorServer).GetVersion(ctx, req.(*Empty)) + return srv.(OperatorServer).GetVersion(ctx, req.(*definition.Empty)) } return interceptor(ctx, in, info, handler) } func _Operator_GetLogLevel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Empty) + in := new(definition.Empty) if err := dec(in); err != nil { return nil, err } @@ -129,7 +136,7 @@ func _Operator_GetLogLevel_Handler(srv interface{}, ctx context.Context, dec fun FullMethod: "/server.Operator/GetLogLevel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperatorServer).GetLogLevel(ctx, req.(*Empty)) + return srv.(OperatorServer).GetLogLevel(ctx, req.(*definition.Empty)) } return interceptor(ctx, in, info, handler) } diff --git a/pkg/integrations/authentication_v1.go b/pkg/integrations/authentication_v1.go index 3bac99342..b7aa60719 100644 --- a/pkg/integrations/authentication_v1.go +++ b/pkg/integrations/authentication_v1.go @@ -26,6 +26,7 @@ import ( "github.com/spf13/cobra" pbImplAuthenticationV1 "github.com/arangodb/kube-arangodb/integrations/authentication/v1" + pbAuthenticationV1 "github.com/arangodb/kube-arangodb/integrations/authentication/v1/definition" "github.com/arangodb/kube-arangodb/pkg/util/svc" ) @@ -59,7 +60,7 @@ func (a *authenticationV1) Handler(ctx context.Context) (svc.Handler, error) { } func (a *authenticationV1) Name() string { - return "authentication.v1" + return pbAuthenticationV1.Name } func (a *authenticationV1) Description() string { diff --git a/pkg/integrations/authorization_v0.go b/pkg/integrations/authorization_v0.go new file mode 100644 index 000000000..7cb0efce1 --- /dev/null +++ b/pkg/integrations/authorization_v0.go @@ -0,0 +1,56 @@ +// +// DISCLAIMER +// +// Copyright 2024 ArangoDB GmbH, Cologne, Germany +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Copyright holder is ArangoDB GmbH, Cologne, Germany +// + +package integrations + +import ( + "context" + + "github.com/spf13/cobra" + + pbImplAuthorizationV0 "github.com/arangodb/kube-arangodb/integrations/authorization/v0" + pbAuthorizationV0 "github.com/arangodb/kube-arangodb/integrations/authorization/v0/definition" + "github.com/arangodb/kube-arangodb/pkg/util/svc" +) + +func init() { + register(func() Integration { + return &authorizationV0{} + }) +} + +type authorizationV0 struct { +} + +func (a authorizationV0) Name() string { + return pbAuthorizationV0.Name +} + +func (a authorizationV0) Description() string { + return "Enable AuthorizationV0 Integration Service" +} + +func (a authorizationV0) Register(cmd *cobra.Command, arg ArgGen) error { + return nil +} + +func (a authorizationV0) Handler(ctx context.Context) (svc.Handler, error) { + return pbImplAuthorizationV0.New(), nil +} diff --git a/pkg/util/close.go b/pkg/util/closer/close.go similarity index 84% rename from pkg/util/close.go rename to pkg/util/closer/close.go index 8e5b04e9a..36f07a492 100644 --- a/pkg/util/close.go +++ b/pkg/util/closer/close.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ // Copyright holder is ArangoDB GmbH, Cologne, Germany // -package util +package closer import "sync" @@ -52,3 +52,12 @@ func CloseOnce(c Close) Close { close: c, } } + +func IsChannelClosed[T any](in <-chan T) bool { + select { + case <-in: + return true + default: + return false + } +} diff --git a/pkg/util/http/requests.go b/pkg/util/http/requests.go index 0adc3c049..319d321e8 100644 --- a/pkg/util/http/requests.go +++ b/pkg/util/http/requests.go @@ -1,7 +1,7 @@ // // DISCLAIMER // -// Copyright 2023 ArangoDB GmbH, Cologne, Germany +// Copyright 2023-2024 ArangoDB GmbH, Cologne, Germany // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,7 +24,7 @@ import ( "encoding/json" "net/http" - "github.com/arangodb/kube-arangodb/pkg/util" + "github.com/arangodb/kube-arangodb/pkg/util/closer" "github.com/arangodb/kube-arangodb/pkg/util/errors" ) @@ -39,7 +39,7 @@ func RequestInvoke[T interface{}](invoker RequestInvoker, request *http.Request) } if body := resp.Body; body != nil { - c := util.CloseOnce(body) + c := closer.CloseOnce(body) defer c.Close() var obj T From 966af7a043d5ff8b62db5430cb4594e5129323ad Mon Sep 17 00:00:00 2001 From: jwierzbo Date: Wed, 21 Feb 2024 10:19:06 +0100 Subject: [PATCH 09/13] Updated to 1.2.38-preview-1 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 1161a3940..996d62676 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.37+git \ No newline at end of file +1.2.38-preview-1+git \ No newline at end of file From 2ae4d8a022321ff7857f677fe6638145d6d12bd1 Mon Sep 17 00:00:00 2001 From: Adam Janikowski <12255597+ajanikow@users.noreply.github.com> Date: Thu, 22 Feb 2024 08:13:11 +0100 Subject: [PATCH 10/13] [Documentation] Bump Documentation Reference (#1597) --- docs/api/ArangoBackup.V1.md | 62 +- docs/api/ArangoBackupPolicy.V1.md | 32 +- docs/api/ArangoDeployment.V1.md | 1294 ++++++++++---------- docs/api/ArangoDeploymentReplication.V1.md | 24 +- docs/api/ArangoJob.V1.md | 4 +- docs/api/ArangoLocalStorage.V1Alpha.md | 16 +- docs/api/ArangoMLBatchJob.V1Alpha1.md | 12 +- docs/api/ArangoMLCronJob.V1Alpha1.md | 12 +- docs/api/ArangoMLExtension.V1Alpha1.md | 380 +++--- docs/api/ArangoMLStorage.V1Alpha1.md | 42 +- docs/api/ArangoMember.V1.md | 20 +- 11 files changed, 949 insertions(+), 949 deletions(-) diff --git a/docs/api/ArangoBackup.V1.md b/docs/api/ArangoBackup.V1.md index 8fa8d431c..2a5e19fd8 100644 --- a/docs/api/ArangoBackup.V1.md +++ b/docs/api/ArangoBackup.V1.md @@ -10,7 +10,7 @@ title: ArangoBackup V1 ### .spec.backoff.iterations -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec_backoff.go#L31) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec_backoff.go#L31) Iterations defines number of iterations before reaching MaxDelay. Default to 5 @@ -18,7 +18,7 @@ Iterations defines number of iterations before reaching MaxDelay. Default to 5 ### .spec.backoff.max_delay -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec_backoff.go#L29) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec_backoff.go#L29) MaxDelay defines maximum delay in seconds. Default to 600 @@ -26,7 +26,7 @@ MaxDelay defines maximum delay in seconds. Default to 600 ### .spec.backoff.max_iterations -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec_backoff.go#L33) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec_backoff.go#L33) MaxIterations defines maximum number of iterations after backoff will be disabled. Default to nil (no limit) @@ -34,7 +34,7 @@ MaxIterations defines maximum number of iterations after backoff will be disable ### .spec.backoff.min_delay -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec_backoff.go#L27) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec_backoff.go#L27) MinDelay defines minimum delay in seconds. Default to 30 @@ -42,7 +42,7 @@ MinDelay defines minimum delay in seconds. Default to 30 ### .spec.deployment.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L54) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec.go#L54) Name of the ArangoDeployment Custom Resource within same namespace as ArangoBackup Custom Resource. @@ -52,7 +52,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.download.autoDelete -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L84) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec.go#L84) AutoDelete removes the ArangoBackup resource (which removes the backup from the cluster) after successful upload @@ -62,7 +62,7 @@ Default Value: `false` ### .spec.download.credentialsSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L81) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec.go#L81) CredentialsSecretName is the name of the secret used while accessing repository @@ -75,7 +75,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.download.id -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L92) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec.go#L92) ID of the ArangoBackup to be downloaded @@ -85,7 +85,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.download.repositoryURL -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L77) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec.go#L77) RepositoryURL is the URL path for file storage Same repositoryURL needs to be defined in `credentialsSecretName` if protocol is other than local. @@ -106,7 +106,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.lifetime -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L47) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec.go#L47) Lifetime is the time after which the backup will be deleted. Format: "1.5h" or "2h45m". @@ -114,7 +114,7 @@ Lifetime is the time after which the backup will be deleted. Format: "1.5h" or " ### .spec.options.allowInconsistent -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L66) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec.go#L66) AllowInconsistent flag for Backup creation request. If this value is set to true, backup is taken even if we are not able to acquire lock. @@ -127,7 +127,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.options.timeout -Type: `number` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L61) +Type: `number` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec.go#L61) Timeout for Backup creation request in seconds. Works only when AsyncBackupCreation feature is set to false. @@ -139,7 +139,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.policyName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L42) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec.go#L42) PolicyName name of the ArangoBackupPolicy which created this Custom Resource @@ -149,7 +149,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.upload.autoDelete -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L84) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec.go#L84) AutoDelete removes the ArangoBackup resource (which removes the backup from the cluster) after successful upload @@ -159,7 +159,7 @@ Default Value: `false` ### .spec.upload.credentialsSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L81) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec.go#L81) CredentialsSecretName is the name of the secret used while accessing repository @@ -172,7 +172,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.upload.repositoryURL -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L77) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec.go#L77) RepositoryURL is the URL path for file storage Same repositoryURL needs to be defined in `credentialsSecretName` if protocol is other than local. @@ -193,7 +193,7 @@ This field is **immutable**: can't be changed after backup creation ### .status.available -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status.go#L36) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_status.go#L36) Available Determines if we can restore from ArangoBackup @@ -201,13 +201,13 @@ Available Determines if we can restore from ArangoBackup ### .status.backoff.iterations -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status_backoff.go#L30) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_status_backoff.go#L30) *** ### .status.backup.downloaded -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status.go#L66) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_status.go#L66) Downloaded Determines if ArangoBackup has been downloaded. @@ -215,25 +215,25 @@ Downloaded Determines if ArangoBackup has been downloaded. ### .status.backup.id -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status.go#L56) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_status.go#L56) *** ### .status.backup.imported -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status.go#L67) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_status.go#L67) *** ### .status.backup.keys -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status.go#L70) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_status.go#L70) *** ### .status.backup.numberOfDBServers -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status.go#L62) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_status.go#L62) NumberOfDBServers Cluster size of the Backup in ArangoDB @@ -241,13 +241,13 @@ NumberOfDBServers Cluster size of the Backup in ArangoDB ### .status.backup.potentiallyInconsistent -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status.go#L58) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_status.go#L58) *** ### .status.backup.sizeInBytes -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status.go#L60) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_status.go#L60) SizeInBytes Size of the Backup in ArangoDB. @@ -255,7 +255,7 @@ SizeInBytes Size of the Backup in ArangoDB. ### .status.backup.uploaded -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status.go#L64) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_status.go#L64) Uploaded Determines if ArangoBackup has been uploaded @@ -263,13 +263,13 @@ Uploaded Determines if ArangoBackup has been uploaded ### .status.backup.version -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_status.go#L57) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_status.go#L57) *** ### .status.message -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_state.go#L91) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_state.go#L91) Message for the state this object is in. @@ -277,7 +277,7 @@ Message for the state this object is in. ### .status.progress.jobID -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_state.go#L114) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_state.go#L114) JobID ArangoDB job ID for uploading or downloading @@ -285,7 +285,7 @@ JobID ArangoDB job ID for uploading or downloading ### .status.progress.progress -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_state.go#L117) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_state.go#L117) Progress ArangoDB job progress in percents @@ -298,7 +298,7 @@ Example: ### .status.state -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_state.go#L85) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_state.go#L85) State holds the current high level state of the backup diff --git a/docs/api/ArangoBackupPolicy.V1.md b/docs/api/ArangoBackupPolicy.V1.md index ab9a73cb2..dd439a76f 100644 --- a/docs/api/ArangoBackupPolicy.V1.md +++ b/docs/api/ArangoBackupPolicy.V1.md @@ -10,7 +10,7 @@ title: ArangoBackupPolicy V1 ### .spec.allowConcurrent -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_policy_spec.go#L35) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_policy_spec.go#L35) AllowConcurrent if false, ArangoBackup will not be created when previous Backups are not finished @@ -20,7 +20,7 @@ Default Value: `true` ### .spec.maxBackups -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_policy_spec.go#L43) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_policy_spec.go#L43) MaxBackups defines how many backups should be kept in history (per deployment). Oldest healthy Backups will be deleted. If not specified or 0 then no limit is applied @@ -31,7 +31,7 @@ Default Value: `0` ### .spec.schedule -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_policy_spec.go#L32) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_policy_spec.go#L32) Schedule is cron-compatible specification of backup schedule Parsed by https://godoc.org/github.com/robfig/cron @@ -40,7 +40,7 @@ Parsed by https://godoc.org/github.com/robfig/cron ### .spec.selector -Type: `meta.LabelSelector` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_policy_spec.go#L39) +Type: `meta.LabelSelector` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_policy_spec.go#L39) DeploymentSelector Selector definition for selecting matching ArangoBackup Custom Resources. @@ -51,7 +51,7 @@ Links: ### .spec.template.backoff.iterations -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec_backoff.go#L31) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec_backoff.go#L31) Iterations defines number of iterations before reaching MaxDelay. Default to 5 @@ -59,7 +59,7 @@ Iterations defines number of iterations before reaching MaxDelay. Default to 5 ### .spec.template.backoff.max_delay -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec_backoff.go#L29) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec_backoff.go#L29) MaxDelay defines maximum delay in seconds. Default to 600 @@ -67,7 +67,7 @@ MaxDelay defines maximum delay in seconds. Default to 600 ### .spec.template.backoff.max_iterations -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec_backoff.go#L33) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec_backoff.go#L33) MaxIterations defines maximum number of iterations after backoff will be disabled. Default to nil (no limit) @@ -75,7 +75,7 @@ MaxIterations defines maximum number of iterations after backoff will be disable ### .spec.template.backoff.min_delay -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec_backoff.go#L27) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec_backoff.go#L27) MinDelay defines minimum delay in seconds. Default to 30 @@ -83,7 +83,7 @@ MinDelay defines minimum delay in seconds. Default to 30 ### .spec.template.lifetime -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_policy_spec.go#L61) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_policy_spec.go#L61) Lifetime is the time after which the backup will be deleted. Format: "1.5h" or "2h45m". @@ -91,7 +91,7 @@ Lifetime is the time after which the backup will be deleted. Format: "1.5h" or " ### .spec.template.options.allowInconsistent -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L66) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec.go#L66) AllowInconsistent flag for Backup creation request. If this value is set to true, backup is taken even if we are not able to acquire lock. @@ -104,7 +104,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.template.options.timeout -Type: `number` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L61) +Type: `number` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec.go#L61) Timeout for Backup creation request in seconds. Works only when AsyncBackupCreation feature is set to false. @@ -116,7 +116,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.template.upload.autoDelete -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L84) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec.go#L84) AutoDelete removes the ArangoBackup resource (which removes the backup from the cluster) after successful upload @@ -126,7 +126,7 @@ Default Value: `false` ### .spec.template.upload.credentialsSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L81) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec.go#L81) CredentialsSecretName is the name of the secret used while accessing repository @@ -139,7 +139,7 @@ This field is **immutable**: can't be changed after backup creation ### .spec.template.upload.repositoryURL -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_spec.go#L77) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_spec.go#L77) RepositoryURL is the URL path for file storage Same repositoryURL needs to be defined in `credentialsSecretName` if protocol is other than local. @@ -160,7 +160,7 @@ This field is **immutable**: can't be changed after backup creation ### .status.message -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_policy_status.go#L33) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_policy_status.go#L33) Message from the operator in case of failures - schedule not valid, ArangoBackupPolicy not valid @@ -168,7 +168,7 @@ Message from the operator in case of failures - schedule not valid, ArangoBackup ### .status.scheduled -Type: `meta.Time` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/backup/v1/backup_policy_status.go#L31) +Type: `meta.Time` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/backup/v1/backup_policy_status.go#L31) Scheduled Next scheduled time in UTC diff --git a/docs/api/ArangoDeployment.V1.md b/docs/api/ArangoDeployment.V1.md index 1b99adc3a..1506635eb 100644 --- a/docs/api/ArangoDeployment.V1.md +++ b/docs/api/ArangoDeployment.V1.md @@ -10,7 +10,7 @@ title: ArangoDeployment V1 ### .spec.agents.affinity -Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L180) +Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L180) Affinity specified additional affinity settings in ArangoDB Pod definitions @@ -21,7 +21,7 @@ Links: ### .spec.agents.allowMemberRecreation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L222) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L222) AllowMemberRecreation allows to recreate member. This setting changes the member recreation logic based on group: @@ -32,7 +32,7 @@ This setting changes the member recreation logic based on group: ### .spec.agents.annotations -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L125) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L125) Annotations specified the annotations added to Pods in this group. Annotations are merged with `spec.annotations`. @@ -41,7 +41,7 @@ Annotations are merged with `spec.annotations`. ### .spec.agents.annotationsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L127) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L127) AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored @@ -49,7 +49,7 @@ AnnotationsIgnoreList list regexp or plain definitions which annotations should ### .spec.agents.annotationsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L129) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L129) AnnotationsMode Define annotations mode which should be use while overriding annotations @@ -57,7 +57,7 @@ AnnotationsMode Define annotations mode which should be use while overriding ann ### .spec.agents.antiAffinity -Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L176) +Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L176) AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions @@ -68,7 +68,7 @@ Links: ### .spec.agents.args -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L85) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L85) Args setting specifies additional command-line arguments passed to all servers of this group. @@ -78,7 +78,7 @@ Default Value: `[]` ### .spec.agents.count -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L77) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L77) Count setting specifies the number of servers to start for the given group. For the Agent group, this value must be a positive, odd number. @@ -91,7 +91,7 @@ as for the `dbservers` group. ### .spec.agents.entrypoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L87) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L87) Entrypoint overrides container executable @@ -99,19 +99,19 @@ Entrypoint overrides container executable ### .spec.agents.envs\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L26) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_env_var.go#L26) *** ### .spec.agents.envs\[int\].value -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L27) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_env_var.go#L27) *** ### .spec.agents.ephemeralVolumes.apps.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -122,7 +122,7 @@ Links: ### .spec.agents.ephemeralVolumes.temp.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -133,7 +133,7 @@ Links: ### .spec.agents.exporterPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L235) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L235) ExporterPort define Port used by exporter @@ -141,7 +141,7 @@ ExporterPort define Port used by exporter ### .spec.agents.extendedRotationCheck -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L205) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L205) ExtendedRotationCheck extend checks for rotation @@ -149,7 +149,7 @@ ExtendedRotationCheck extend checks for rotation ### .spec.agents.externalPortEnabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L217) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L217) ExternalPortEnabled if external port should be enabled. If is set to false, ports needs to be exposed via sidecar. Only for ArangoD members @@ -157,7 +157,7 @@ ExternalPortEnabled if external port should be enabled. If is set to false, port ### .spec.agents.indexMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L228) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L228) IndexMethod define group Indexing method @@ -169,7 +169,7 @@ Possible Values: ### .spec.agents.initContainers.containers -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L91) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_init_containers.go#L91) Containers contains list of containers @@ -180,7 +180,7 @@ Links: ### .spec.agents.initContainers.mode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L94) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_init_containers.go#L94) Mode keep container replace mode @@ -188,7 +188,7 @@ Mode keep container replace mode ### .spec.agents.internalPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L213) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L213) InternalPort define port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -196,7 +196,7 @@ InternalPort define port used in internal communication, can be accessed over lo ### .spec.agents.internalPortProtocol -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L215) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L215) InternalPortProtocol define protocol of port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -204,7 +204,7 @@ InternalPortProtocol define protocol of port used in internal communication, can ### .spec.agents.labels -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L131) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L131) Labels specified the labels added to Pods in this group. @@ -212,7 +212,7 @@ Labels specified the labels added to Pods in this group. ### .spec.agents.labelsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L133) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L133) LabelsIgnoreList list regexp or plain definitions which labels should be ignored @@ -220,7 +220,7 @@ LabelsIgnoreList list regexp or plain definitions which labels should be ignored ### .spec.agents.labelsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L135) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L135) LabelsMode Define labels mode which should be use while overriding labels @@ -228,7 +228,7 @@ LabelsMode Define labels mode which should be use while overriding labels ### .spec.agents.maxCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L81) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L81) MaxCount specifies a maximum for the count of servers. If set, a specification is invalid if `count > maxCount`. @@ -236,7 +236,7 @@ MaxCount specifies a maximum for the count of servers. If set, a specification i ### .spec.agents.memoryReservation -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L107) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L107) MemoryReservation determines the system reservation of memory while calculating `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` value. If this field is set, `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` is reduced by a specified value in percent. @@ -251,7 +251,7 @@ Default Value: `0` ### .spec.agents.minCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L79) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L79) MinCount specifies a minimum for the count of servers. If set, a specification is invalid if `count < minCount`. @@ -259,7 +259,7 @@ MinCount specifies a minimum for the count of servers. If set, a specification i ### .spec.agents.nodeAffinity -Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L184) +Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L184) NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions @@ -270,7 +270,7 @@ Links: ### .spec.agents.nodeSelector -Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L150) +Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L150) NodeSelector setting specifies a set of labels to be used as `nodeSelector` for Pods of this node. @@ -281,7 +281,7 @@ Links: ### .spec.agents.numactl.args -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) Args define list of the numactl process @@ -291,7 +291,7 @@ Default Value: `[]` ### .spec.agents.numactl.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) Enabled define if numactl should be enabled @@ -301,7 +301,7 @@ Default Value: `false` ### .spec.agents.numactl.path -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) Path define numactl path within the container @@ -311,7 +311,7 @@ Default Value: `/usr/bin/numactl` ### .spec.agents.overrideDetectedNumberOfCores -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L113) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L113) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES` Container Environment Variable @@ -327,7 +327,7 @@ Default Value: `true` ### .spec.agents.overrideDetectedTotalMemory -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L101) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L101) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` Container Environment Variable @@ -343,19 +343,19 @@ Default Value: `true` ### .spec.agents.podModes.network -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) *** ### .spec.agents.podModes.pid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) *** ### .spec.agents.port -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L233) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L233) Port define Port used by member @@ -363,7 +363,7 @@ Port define Port used by member ### .spec.agents.priorityClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L156) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L156) PriorityClassName specifies a priority class name Will be forwarded to the pod spec. @@ -375,7 +375,7 @@ Links: ### .spec.agents.probes.livenessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L245) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L245) LivenessProbeDisabled if set to true, the operator does not generate a liveness probe for new pods belonging to this group @@ -385,7 +385,7 @@ Default Value: `false` ### .spec.agents.probes.livenessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -397,7 +397,7 @@ Default Value: `3` ### .spec.agents.probes.livenessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -408,7 +408,7 @@ Default Value: `2` ### .spec.agents.probes.livenessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -419,7 +419,7 @@ Default Value: `10` ### .spec.agents.probes.livenessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -430,7 +430,7 @@ Default Value: `1` ### .spec.agents.probes.livenessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -441,7 +441,7 @@ Default Value: `2` ### .spec.agents.probes.ReadinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L252) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L252) OldReadinessProbeDisabled if true readinessProbes are disabled Deprecated: This field is deprecated, kept only for backward compatibility. @@ -450,7 +450,7 @@ Deprecated: This field is deprecated, kept only for backward compatibility. ### .spec.agents.probes.readinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L254) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L254) ReadinessProbeDisabled override flag for probe disabled in good manner (lowercase) with backward compatibility @@ -458,7 +458,7 @@ ReadinessProbeDisabled override flag for probe disabled in good manner (lowercas ### .spec.agents.probes.readinessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -470,7 +470,7 @@ Default Value: `3` ### .spec.agents.probes.readinessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -481,7 +481,7 @@ Default Value: `2` ### .spec.agents.probes.readinessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -492,7 +492,7 @@ Default Value: `10` ### .spec.agents.probes.readinessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -503,7 +503,7 @@ Default Value: `1` ### .spec.agents.probes.readinessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -514,7 +514,7 @@ Default Value: `2` ### .spec.agents.probes.startupProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L259) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L259) StartupProbeDisabled if true startupProbes are disabled @@ -522,7 +522,7 @@ StartupProbeDisabled if true startupProbes are disabled ### .spec.agents.probes.startupProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -534,7 +534,7 @@ Default Value: `3` ### .spec.agents.probes.startupProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -545,7 +545,7 @@ Default Value: `2` ### .spec.agents.probes.startupProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -556,7 +556,7 @@ Default Value: `10` ### .spec.agents.probes.startupProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -567,7 +567,7 @@ Default Value: `1` ### .spec.agents.probes.startupProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -578,7 +578,7 @@ Default Value: `2` ### .spec.agents.pvcResizeMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L170) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L170) VolumeResizeMode specified resize mode for PVCs and PVs @@ -590,7 +590,7 @@ Possible Values: ### .spec.agents.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L95) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L95) Resources holds resource requests & limits @@ -601,7 +601,7 @@ Links: ### .spec.agents.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L89) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L89) SchedulerName define scheduler name used for group @@ -609,7 +609,7 @@ SchedulerName define scheduler name used for group ### .spec.agents.securityContext.addCapabilities -Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) +Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) AddCapabilities add new capabilities to containers @@ -617,7 +617,7 @@ AddCapabilities add new capabilities to containers ### .spec.agents.securityContext.allowPrivilegeEscalation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process. @@ -625,7 +625,7 @@ AllowPrivilegeEscalation Controls whether a process can gain more privileges tha ### .spec.agents.securityContext.dropAllCapabilities -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0. @@ -634,7 +634,7 @@ Deprecated: This field is added for backward compatibility. Will be removed in 1 ### .spec.agents.securityContext.fsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) FSGroup is a special supplemental group that applies to all containers in a pod. @@ -642,7 +642,7 @@ FSGroup is a special supplemental group that applies to all containers in a pod. ### .spec.agents.securityContext.privileged -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. @@ -651,7 +651,7 @@ essentially equivalent to root on the host. ### .spec.agents.securityContext.readOnlyRootFilesystem -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only. @@ -659,7 +659,7 @@ ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-o ### .spec.agents.securityContext.runAsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) RunAsGroup is the GID to run the entrypoint of the container process. @@ -667,7 +667,7 @@ RunAsGroup is the GID to run the entrypoint of the container process. ### .spec.agents.securityContext.runAsNonRoot -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) RunAsNonRoot if true, indicates that the container must run as a non-root user. @@ -675,7 +675,7 @@ RunAsNonRoot if true, indicates that the container must run as a non-root user. ### .spec.agents.securityContext.runAsUser -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) RunAsUser is the UID to run the entrypoint of the container process. @@ -683,7 +683,7 @@ RunAsUser is the UID to run the entrypoint of the container process. ### .spec.agents.securityContext.seccompProfile -Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) +Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. @@ -694,7 +694,7 @@ Links: ### .spec.agents.securityContext.seLinuxOptions -Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) +Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) SELinuxOptions are the labels to be applied to the container @@ -705,7 +705,7 @@ Links: ### .spec.agents.securityContext.supplementalGroups -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. @@ -714,7 +714,7 @@ the fsGroup (if specified), and group memberships defined in the container image ### .spec.agents.securityContext.sysctls -Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) +Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. @@ -735,7 +735,7 @@ sysctls: ### .spec.agents.serviceAccountName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L146) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L146) ServiceAccountName setting specifies the `serviceAccountName` for the `Pods` created for each server of this group. If empty, it defaults to using the @@ -750,7 +750,7 @@ to that service account. ### .spec.agents.shutdownDelay -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L211) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L211) ShutdownDelay define how long operator should delay finalizer removal after shutdown @@ -758,7 +758,7 @@ ShutdownDelay define how long operator should delay finalizer removal after shut ### .spec.agents.shutdownMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L209) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L209) ShutdownMethod describe procedure of member shutdown taken by Operator @@ -766,7 +766,7 @@ ShutdownMethod describe procedure of member shutdown taken by Operator ### .spec.agents.sidecarCoreNames -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L187) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L187) SidecarCoreNames is a list of sidecar containers which must run in the pod. Some names (e.g.: "server", "worker") are reserved, and they don't have any impact. @@ -775,7 +775,7 @@ Some names (e.g.: "server", "worker") are reserved, and they don't have any impa ### .spec.agents.sidecars -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L191) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L191) Sidecars specifies a list of additional containers to be started @@ -786,7 +786,7 @@ Links: ### .spec.agents.storageClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L91) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L91) StorageClassName specifies the classname for storage of the servers. @@ -794,7 +794,7 @@ StorageClassName specifies the classname for storage of the servers. ### .spec.agents.terminationGracePeriodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L224) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L224) TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for pods - via silent rotation @@ -802,7 +802,7 @@ TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for ### .spec.agents.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L122) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L122) Tolerations specifies the tolerations added to Pods in this group. By default, suitable tolerations are set for the following keys with the `NoExecute` effect: @@ -818,7 +818,7 @@ Links: ### .spec.agents.volumeAllowShrink -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L172) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L172) Deprecated: VolumeAllowShrink allows shrink the volume @@ -826,7 +826,7 @@ Deprecated: VolumeAllowShrink allows shrink the volume ### .spec.agents.volumeClaimTemplate -Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L165) +Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L165) VolumeClaimTemplate specifies a volumeClaimTemplate used by operator to create to volume claims for pods of this group. This setting is not available for group `coordinators`, `syncmasters` & `syncworkers`. @@ -842,7 +842,7 @@ Links: ### .spec.agents.volumeMounts -Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L201) +Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L201) VolumeMounts define list of volume mounts mounted into server container @@ -853,7 +853,7 @@ Links: ### .spec.agents.volumes\[int\].configMap -Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L138) +Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L138) ConfigMap which should be mounted into pod @@ -864,7 +864,7 @@ Links: ### .spec.agents.volumes\[int\].emptyDir -Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L143) +Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L143) EmptyDir @@ -875,7 +875,7 @@ Links: ### .spec.agents.volumes\[int\].hostPath -Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L148) +Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L148) HostPath @@ -886,7 +886,7 @@ Links: ### .spec.agents.volumes\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L128) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L128) Name of volume @@ -894,7 +894,7 @@ Name of volume ### .spec.agents.volumes\[int\].persistentVolumeClaim -Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L153) +Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L153) PersistentVolumeClaim @@ -905,7 +905,7 @@ Links: ### .spec.agents.volumes\[int\].secret -Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L133) +Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L133) Secret which should be mounted into pod @@ -916,7 +916,7 @@ Links: ### .spec.allowUnsafeUpgrade -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L152) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L152) AllowUnsafeUpgrade determines if upgrade on missing member or with not in sync shards is allowed @@ -924,7 +924,7 @@ AllowUnsafeUpgrade determines if upgrade on missing member or with not in sync s ### .spec.annotations -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L115) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L115) Annotations specifies the annotations added to all ArangoDeployment owned resources (pods, services, PVC’s, PDB’s). @@ -932,7 +932,7 @@ Annotations specifies the annotations added to all ArangoDeployment owned resour ### .spec.annotationsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L118) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L118) AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored @@ -940,7 +940,7 @@ AnnotationsIgnoreList list regexp or plain definitions which annotations should ### .spec.annotationsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L124) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L124) AnnotationsMode defines annotations mode which should be use while overriding annotations. @@ -953,7 +953,7 @@ Possible Values: ### .spec.architecture -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L254) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L254) Architecture defines the list of supported architectures. First element on the list is marked as default architecture. @@ -974,7 +974,7 @@ Default Value: `['amd64']` ### .spec.auth.jwtSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/authentication_spec.go#L38) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/authentication_spec.go#L38) JWTSecretName setting specifies the name of a kubernetes `Secret` that contains a secret key used for generating JWT tokens to access all ArangoDB servers. @@ -988,7 +988,7 @@ Changing secret key results in restarting of a whole cluster. ### .spec.bootstrap.passwordSecretNames -Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/bootstrap.go#L62) +Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/bootstrap.go#L62) PasswordSecretNames contains a map of username to password-secret-name This setting specifies a secret name for the credentials per specific users. @@ -1006,7 +1006,7 @@ Links: ### .spec.chaos.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/chaos_spec.go#L33) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/chaos_spec.go#L33) Enabled switches the chaos monkey for a deployment on or off. @@ -1014,7 +1014,7 @@ Enabled switches the chaos monkey for a deployment on or off. ### .spec.chaos.interval -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/chaos_spec.go#L35) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/chaos_spec.go#L35) Interval is the time between events @@ -1022,7 +1022,7 @@ Interval is the time between events ### .spec.chaos.kill-pod-probability -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/chaos_spec.go#L37) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/chaos_spec.go#L37) KillPodProbability is the chance of a pod being killed during an event @@ -1030,7 +1030,7 @@ KillPodProbability is the chance of a pod being killed during an event ### .spec.ClusterDomain -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L226) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L226) ClusterDomain define domain used in the kubernetes cluster. Required only of domain is not set to default (cluster.local) @@ -1041,7 +1041,7 @@ Default Value: `cluster.local` ### .spec.communicationMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L234) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L234) CommunicationMethod define communication method used in deployment @@ -1056,7 +1056,7 @@ Possible Values: ### .spec.coordinators.affinity -Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L180) +Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L180) Affinity specified additional affinity settings in ArangoDB Pod definitions @@ -1067,7 +1067,7 @@ Links: ### .spec.coordinators.allowMemberRecreation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L222) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L222) AllowMemberRecreation allows to recreate member. This setting changes the member recreation logic based on group: @@ -1078,7 +1078,7 @@ This setting changes the member recreation logic based on group: ### .spec.coordinators.annotations -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L125) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L125) Annotations specified the annotations added to Pods in this group. Annotations are merged with `spec.annotations`. @@ -1087,7 +1087,7 @@ Annotations are merged with `spec.annotations`. ### .spec.coordinators.annotationsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L127) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L127) AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored @@ -1095,7 +1095,7 @@ AnnotationsIgnoreList list regexp or plain definitions which annotations should ### .spec.coordinators.annotationsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L129) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L129) AnnotationsMode Define annotations mode which should be use while overriding annotations @@ -1103,7 +1103,7 @@ AnnotationsMode Define annotations mode which should be use while overriding ann ### .spec.coordinators.antiAffinity -Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L176) +Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L176) AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions @@ -1114,7 +1114,7 @@ Links: ### .spec.coordinators.args -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L85) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L85) Args setting specifies additional command-line arguments passed to all servers of this group. @@ -1124,7 +1124,7 @@ Default Value: `[]` ### .spec.coordinators.count -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L77) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L77) Count setting specifies the number of servers to start for the given group. For the Agent group, this value must be a positive, odd number. @@ -1137,7 +1137,7 @@ as for the `dbservers` group. ### .spec.coordinators.entrypoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L87) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L87) Entrypoint overrides container executable @@ -1145,19 +1145,19 @@ Entrypoint overrides container executable ### .spec.coordinators.envs\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L26) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_env_var.go#L26) *** ### .spec.coordinators.envs\[int\].value -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L27) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_env_var.go#L27) *** ### .spec.coordinators.ephemeralVolumes.apps.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -1168,7 +1168,7 @@ Links: ### .spec.coordinators.ephemeralVolumes.temp.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -1179,7 +1179,7 @@ Links: ### .spec.coordinators.exporterPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L235) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L235) ExporterPort define Port used by exporter @@ -1187,7 +1187,7 @@ ExporterPort define Port used by exporter ### .spec.coordinators.extendedRotationCheck -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L205) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L205) ExtendedRotationCheck extend checks for rotation @@ -1195,7 +1195,7 @@ ExtendedRotationCheck extend checks for rotation ### .spec.coordinators.externalPortEnabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L217) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L217) ExternalPortEnabled if external port should be enabled. If is set to false, ports needs to be exposed via sidecar. Only for ArangoD members @@ -1203,7 +1203,7 @@ ExternalPortEnabled if external port should be enabled. If is set to false, port ### .spec.coordinators.indexMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L228) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L228) IndexMethod define group Indexing method @@ -1215,7 +1215,7 @@ Possible Values: ### .spec.coordinators.initContainers.containers -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L91) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_init_containers.go#L91) Containers contains list of containers @@ -1226,7 +1226,7 @@ Links: ### .spec.coordinators.initContainers.mode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L94) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_init_containers.go#L94) Mode keep container replace mode @@ -1234,7 +1234,7 @@ Mode keep container replace mode ### .spec.coordinators.internalPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L213) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L213) InternalPort define port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -1242,7 +1242,7 @@ InternalPort define port used in internal communication, can be accessed over lo ### .spec.coordinators.internalPortProtocol -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L215) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L215) InternalPortProtocol define protocol of port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -1250,7 +1250,7 @@ InternalPortProtocol define protocol of port used in internal communication, can ### .spec.coordinators.labels -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L131) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L131) Labels specified the labels added to Pods in this group. @@ -1258,7 +1258,7 @@ Labels specified the labels added to Pods in this group. ### .spec.coordinators.labelsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L133) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L133) LabelsIgnoreList list regexp or plain definitions which labels should be ignored @@ -1266,7 +1266,7 @@ LabelsIgnoreList list regexp or plain definitions which labels should be ignored ### .spec.coordinators.labelsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L135) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L135) LabelsMode Define labels mode which should be use while overriding labels @@ -1274,7 +1274,7 @@ LabelsMode Define labels mode which should be use while overriding labels ### .spec.coordinators.maxCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L81) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L81) MaxCount specifies a maximum for the count of servers. If set, a specification is invalid if `count > maxCount`. @@ -1282,7 +1282,7 @@ MaxCount specifies a maximum for the count of servers. If set, a specification i ### .spec.coordinators.memoryReservation -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L107) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L107) MemoryReservation determines the system reservation of memory while calculating `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` value. If this field is set, `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` is reduced by a specified value in percent. @@ -1297,7 +1297,7 @@ Default Value: `0` ### .spec.coordinators.minCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L79) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L79) MinCount specifies a minimum for the count of servers. If set, a specification is invalid if `count < minCount`. @@ -1305,7 +1305,7 @@ MinCount specifies a minimum for the count of servers. If set, a specification i ### .spec.coordinators.nodeAffinity -Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L184) +Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L184) NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions @@ -1316,7 +1316,7 @@ Links: ### .spec.coordinators.nodeSelector -Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L150) +Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L150) NodeSelector setting specifies a set of labels to be used as `nodeSelector` for Pods of this node. @@ -1327,7 +1327,7 @@ Links: ### .spec.coordinators.numactl.args -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) Args define list of the numactl process @@ -1337,7 +1337,7 @@ Default Value: `[]` ### .spec.coordinators.numactl.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) Enabled define if numactl should be enabled @@ -1347,7 +1347,7 @@ Default Value: `false` ### .spec.coordinators.numactl.path -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) Path define numactl path within the container @@ -1357,7 +1357,7 @@ Default Value: `/usr/bin/numactl` ### .spec.coordinators.overrideDetectedNumberOfCores -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L113) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L113) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES` Container Environment Variable @@ -1373,7 +1373,7 @@ Default Value: `true` ### .spec.coordinators.overrideDetectedTotalMemory -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L101) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L101) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` Container Environment Variable @@ -1389,19 +1389,19 @@ Default Value: `true` ### .spec.coordinators.podModes.network -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) *** ### .spec.coordinators.podModes.pid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) *** ### .spec.coordinators.port -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L233) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L233) Port define Port used by member @@ -1409,7 +1409,7 @@ Port define Port used by member ### .spec.coordinators.priorityClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L156) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L156) PriorityClassName specifies a priority class name Will be forwarded to the pod spec. @@ -1421,7 +1421,7 @@ Links: ### .spec.coordinators.probes.livenessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L245) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L245) LivenessProbeDisabled if set to true, the operator does not generate a liveness probe for new pods belonging to this group @@ -1431,7 +1431,7 @@ Default Value: `false` ### .spec.coordinators.probes.livenessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -1443,7 +1443,7 @@ Default Value: `3` ### .spec.coordinators.probes.livenessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -1454,7 +1454,7 @@ Default Value: `2` ### .spec.coordinators.probes.livenessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -1465,7 +1465,7 @@ Default Value: `10` ### .spec.coordinators.probes.livenessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -1476,7 +1476,7 @@ Default Value: `1` ### .spec.coordinators.probes.livenessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -1487,7 +1487,7 @@ Default Value: `2` ### .spec.coordinators.probes.ReadinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L252) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L252) OldReadinessProbeDisabled if true readinessProbes are disabled Deprecated: This field is deprecated, kept only for backward compatibility. @@ -1496,7 +1496,7 @@ Deprecated: This field is deprecated, kept only for backward compatibility. ### .spec.coordinators.probes.readinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L254) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L254) ReadinessProbeDisabled override flag for probe disabled in good manner (lowercase) with backward compatibility @@ -1504,7 +1504,7 @@ ReadinessProbeDisabled override flag for probe disabled in good manner (lowercas ### .spec.coordinators.probes.readinessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -1516,7 +1516,7 @@ Default Value: `3` ### .spec.coordinators.probes.readinessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -1527,7 +1527,7 @@ Default Value: `2` ### .spec.coordinators.probes.readinessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -1538,7 +1538,7 @@ Default Value: `10` ### .spec.coordinators.probes.readinessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -1549,7 +1549,7 @@ Default Value: `1` ### .spec.coordinators.probes.readinessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -1560,7 +1560,7 @@ Default Value: `2` ### .spec.coordinators.probes.startupProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L259) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L259) StartupProbeDisabled if true startupProbes are disabled @@ -1568,7 +1568,7 @@ StartupProbeDisabled if true startupProbes are disabled ### .spec.coordinators.probes.startupProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -1580,7 +1580,7 @@ Default Value: `3` ### .spec.coordinators.probes.startupProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -1591,7 +1591,7 @@ Default Value: `2` ### .spec.coordinators.probes.startupProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -1602,7 +1602,7 @@ Default Value: `10` ### .spec.coordinators.probes.startupProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -1613,7 +1613,7 @@ Default Value: `1` ### .spec.coordinators.probes.startupProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -1624,7 +1624,7 @@ Default Value: `2` ### .spec.coordinators.pvcResizeMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L170) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L170) VolumeResizeMode specified resize mode for PVCs and PVs @@ -1636,7 +1636,7 @@ Possible Values: ### .spec.coordinators.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L95) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L95) Resources holds resource requests & limits @@ -1647,7 +1647,7 @@ Links: ### .spec.coordinators.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L89) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L89) SchedulerName define scheduler name used for group @@ -1655,7 +1655,7 @@ SchedulerName define scheduler name used for group ### .spec.coordinators.securityContext.addCapabilities -Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) +Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) AddCapabilities add new capabilities to containers @@ -1663,7 +1663,7 @@ AddCapabilities add new capabilities to containers ### .spec.coordinators.securityContext.allowPrivilegeEscalation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process. @@ -1671,7 +1671,7 @@ AllowPrivilegeEscalation Controls whether a process can gain more privileges tha ### .spec.coordinators.securityContext.dropAllCapabilities -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0. @@ -1680,7 +1680,7 @@ Deprecated: This field is added for backward compatibility. Will be removed in 1 ### .spec.coordinators.securityContext.fsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) FSGroup is a special supplemental group that applies to all containers in a pod. @@ -1688,7 +1688,7 @@ FSGroup is a special supplemental group that applies to all containers in a pod. ### .spec.coordinators.securityContext.privileged -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. @@ -1697,7 +1697,7 @@ essentially equivalent to root on the host. ### .spec.coordinators.securityContext.readOnlyRootFilesystem -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only. @@ -1705,7 +1705,7 @@ ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-o ### .spec.coordinators.securityContext.runAsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) RunAsGroup is the GID to run the entrypoint of the container process. @@ -1713,7 +1713,7 @@ RunAsGroup is the GID to run the entrypoint of the container process. ### .spec.coordinators.securityContext.runAsNonRoot -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) RunAsNonRoot if true, indicates that the container must run as a non-root user. @@ -1721,7 +1721,7 @@ RunAsNonRoot if true, indicates that the container must run as a non-root user. ### .spec.coordinators.securityContext.runAsUser -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) RunAsUser is the UID to run the entrypoint of the container process. @@ -1729,7 +1729,7 @@ RunAsUser is the UID to run the entrypoint of the container process. ### .spec.coordinators.securityContext.seccompProfile -Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) +Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. @@ -1740,7 +1740,7 @@ Links: ### .spec.coordinators.securityContext.seLinuxOptions -Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) +Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) SELinuxOptions are the labels to be applied to the container @@ -1751,7 +1751,7 @@ Links: ### .spec.coordinators.securityContext.supplementalGroups -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. @@ -1760,7 +1760,7 @@ the fsGroup (if specified), and group memberships defined in the container image ### .spec.coordinators.securityContext.sysctls -Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) +Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. @@ -1781,7 +1781,7 @@ sysctls: ### .spec.coordinators.serviceAccountName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L146) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L146) ServiceAccountName setting specifies the `serviceAccountName` for the `Pods` created for each server of this group. If empty, it defaults to using the @@ -1796,7 +1796,7 @@ to that service account. ### .spec.coordinators.shutdownDelay -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L211) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L211) ShutdownDelay define how long operator should delay finalizer removal after shutdown @@ -1804,7 +1804,7 @@ ShutdownDelay define how long operator should delay finalizer removal after shut ### .spec.coordinators.shutdownMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L209) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L209) ShutdownMethod describe procedure of member shutdown taken by Operator @@ -1812,7 +1812,7 @@ ShutdownMethod describe procedure of member shutdown taken by Operator ### .spec.coordinators.sidecarCoreNames -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L187) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L187) SidecarCoreNames is a list of sidecar containers which must run in the pod. Some names (e.g.: "server", "worker") are reserved, and they don't have any impact. @@ -1821,7 +1821,7 @@ Some names (e.g.: "server", "worker") are reserved, and they don't have any impa ### .spec.coordinators.sidecars -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L191) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L191) Sidecars specifies a list of additional containers to be started @@ -1832,7 +1832,7 @@ Links: ### .spec.coordinators.storageClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L91) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L91) StorageClassName specifies the classname for storage of the servers. @@ -1840,7 +1840,7 @@ StorageClassName specifies the classname for storage of the servers. ### .spec.coordinators.terminationGracePeriodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L224) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L224) TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for pods - via silent rotation @@ -1848,7 +1848,7 @@ TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for ### .spec.coordinators.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L122) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L122) Tolerations specifies the tolerations added to Pods in this group. By default, suitable tolerations are set for the following keys with the `NoExecute` effect: @@ -1864,7 +1864,7 @@ Links: ### .spec.coordinators.volumeAllowShrink -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L172) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L172) Deprecated: VolumeAllowShrink allows shrink the volume @@ -1872,7 +1872,7 @@ Deprecated: VolumeAllowShrink allows shrink the volume ### .spec.coordinators.volumeClaimTemplate -Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L165) +Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L165) VolumeClaimTemplate specifies a volumeClaimTemplate used by operator to create to volume claims for pods of this group. This setting is not available for group `coordinators`, `syncmasters` & `syncworkers`. @@ -1888,7 +1888,7 @@ Links: ### .spec.coordinators.volumeMounts -Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L201) +Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L201) VolumeMounts define list of volume mounts mounted into server container @@ -1899,7 +1899,7 @@ Links: ### .spec.coordinators.volumes\[int\].configMap -Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L138) +Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L138) ConfigMap which should be mounted into pod @@ -1910,7 +1910,7 @@ Links: ### .spec.coordinators.volumes\[int\].emptyDir -Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L143) +Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L143) EmptyDir @@ -1921,7 +1921,7 @@ Links: ### .spec.coordinators.volumes\[int\].hostPath -Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L148) +Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L148) HostPath @@ -1932,7 +1932,7 @@ Links: ### .spec.coordinators.volumes\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L128) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L128) Name of volume @@ -1940,7 +1940,7 @@ Name of volume ### .spec.coordinators.volumes\[int\].persistentVolumeClaim -Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L153) +Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L153) PersistentVolumeClaim @@ -1951,7 +1951,7 @@ Links: ### .spec.coordinators.volumes\[int\].secret -Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L133) +Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L133) Secret which should be mounted into pod @@ -1962,7 +1962,7 @@ Links: ### .spec.database.maintenance -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/database_spec.go#L25) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/database_spec.go#L25) Maintenance manage maintenance mode on Cluster side. Requires maintenance feature to be enabled @@ -1970,7 +1970,7 @@ Maintenance manage maintenance mode on Cluster side. Requires maintenance featur ### .spec.dbservers.affinity -Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L180) +Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L180) Affinity specified additional affinity settings in ArangoDB Pod definitions @@ -1981,7 +1981,7 @@ Links: ### .spec.dbservers.allowMemberRecreation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L222) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L222) AllowMemberRecreation allows to recreate member. This setting changes the member recreation logic based on group: @@ -1992,7 +1992,7 @@ This setting changes the member recreation logic based on group: ### .spec.dbservers.annotations -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L125) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L125) Annotations specified the annotations added to Pods in this group. Annotations are merged with `spec.annotations`. @@ -2001,7 +2001,7 @@ Annotations are merged with `spec.annotations`. ### .spec.dbservers.annotationsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L127) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L127) AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored @@ -2009,7 +2009,7 @@ AnnotationsIgnoreList list regexp or plain definitions which annotations should ### .spec.dbservers.annotationsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L129) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L129) AnnotationsMode Define annotations mode which should be use while overriding annotations @@ -2017,7 +2017,7 @@ AnnotationsMode Define annotations mode which should be use while overriding ann ### .spec.dbservers.antiAffinity -Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L176) +Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L176) AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions @@ -2028,7 +2028,7 @@ Links: ### .spec.dbservers.args -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L85) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L85) Args setting specifies additional command-line arguments passed to all servers of this group. @@ -2038,7 +2038,7 @@ Default Value: `[]` ### .spec.dbservers.count -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L77) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L77) Count setting specifies the number of servers to start for the given group. For the Agent group, this value must be a positive, odd number. @@ -2051,7 +2051,7 @@ as for the `dbservers` group. ### .spec.dbservers.entrypoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L87) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L87) Entrypoint overrides container executable @@ -2059,19 +2059,19 @@ Entrypoint overrides container executable ### .spec.dbservers.envs\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L26) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_env_var.go#L26) *** ### .spec.dbservers.envs\[int\].value -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L27) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_env_var.go#L27) *** ### .spec.dbservers.ephemeralVolumes.apps.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -2082,7 +2082,7 @@ Links: ### .spec.dbservers.ephemeralVolumes.temp.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -2093,7 +2093,7 @@ Links: ### .spec.dbservers.exporterPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L235) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L235) ExporterPort define Port used by exporter @@ -2101,7 +2101,7 @@ ExporterPort define Port used by exporter ### .spec.dbservers.extendedRotationCheck -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L205) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L205) ExtendedRotationCheck extend checks for rotation @@ -2109,7 +2109,7 @@ ExtendedRotationCheck extend checks for rotation ### .spec.dbservers.externalPortEnabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L217) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L217) ExternalPortEnabled if external port should be enabled. If is set to false, ports needs to be exposed via sidecar. Only for ArangoD members @@ -2117,7 +2117,7 @@ ExternalPortEnabled if external port should be enabled. If is set to false, port ### .spec.dbservers.indexMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L228) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L228) IndexMethod define group Indexing method @@ -2129,7 +2129,7 @@ Possible Values: ### .spec.dbservers.initContainers.containers -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L91) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_init_containers.go#L91) Containers contains list of containers @@ -2140,7 +2140,7 @@ Links: ### .spec.dbservers.initContainers.mode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L94) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_init_containers.go#L94) Mode keep container replace mode @@ -2148,7 +2148,7 @@ Mode keep container replace mode ### .spec.dbservers.internalPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L213) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L213) InternalPort define port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -2156,7 +2156,7 @@ InternalPort define port used in internal communication, can be accessed over lo ### .spec.dbservers.internalPortProtocol -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L215) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L215) InternalPortProtocol define protocol of port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -2164,7 +2164,7 @@ InternalPortProtocol define protocol of port used in internal communication, can ### .spec.dbservers.labels -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L131) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L131) Labels specified the labels added to Pods in this group. @@ -2172,7 +2172,7 @@ Labels specified the labels added to Pods in this group. ### .spec.dbservers.labelsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L133) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L133) LabelsIgnoreList list regexp or plain definitions which labels should be ignored @@ -2180,7 +2180,7 @@ LabelsIgnoreList list regexp or plain definitions which labels should be ignored ### .spec.dbservers.labelsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L135) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L135) LabelsMode Define labels mode which should be use while overriding labels @@ -2188,7 +2188,7 @@ LabelsMode Define labels mode which should be use while overriding labels ### .spec.dbservers.maxCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L81) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L81) MaxCount specifies a maximum for the count of servers. If set, a specification is invalid if `count > maxCount`. @@ -2196,7 +2196,7 @@ MaxCount specifies a maximum for the count of servers. If set, a specification i ### .spec.dbservers.memoryReservation -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L107) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L107) MemoryReservation determines the system reservation of memory while calculating `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` value. If this field is set, `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` is reduced by a specified value in percent. @@ -2211,7 +2211,7 @@ Default Value: `0` ### .spec.dbservers.minCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L79) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L79) MinCount specifies a minimum for the count of servers. If set, a specification is invalid if `count < minCount`. @@ -2219,7 +2219,7 @@ MinCount specifies a minimum for the count of servers. If set, a specification i ### .spec.dbservers.nodeAffinity -Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L184) +Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L184) NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions @@ -2230,7 +2230,7 @@ Links: ### .spec.dbservers.nodeSelector -Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L150) +Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L150) NodeSelector setting specifies a set of labels to be used as `nodeSelector` for Pods of this node. @@ -2241,7 +2241,7 @@ Links: ### .spec.dbservers.numactl.args -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) Args define list of the numactl process @@ -2251,7 +2251,7 @@ Default Value: `[]` ### .spec.dbservers.numactl.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) Enabled define if numactl should be enabled @@ -2261,7 +2261,7 @@ Default Value: `false` ### .spec.dbservers.numactl.path -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) Path define numactl path within the container @@ -2271,7 +2271,7 @@ Default Value: `/usr/bin/numactl` ### .spec.dbservers.overrideDetectedNumberOfCores -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L113) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L113) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES` Container Environment Variable @@ -2287,7 +2287,7 @@ Default Value: `true` ### .spec.dbservers.overrideDetectedTotalMemory -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L101) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L101) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` Container Environment Variable @@ -2303,19 +2303,19 @@ Default Value: `true` ### .spec.dbservers.podModes.network -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) *** ### .spec.dbservers.podModes.pid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) *** ### .spec.dbservers.port -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L233) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L233) Port define Port used by member @@ -2323,7 +2323,7 @@ Port define Port used by member ### .spec.dbservers.priorityClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L156) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L156) PriorityClassName specifies a priority class name Will be forwarded to the pod spec. @@ -2335,7 +2335,7 @@ Links: ### .spec.dbservers.probes.livenessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L245) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L245) LivenessProbeDisabled if set to true, the operator does not generate a liveness probe for new pods belonging to this group @@ -2345,7 +2345,7 @@ Default Value: `false` ### .spec.dbservers.probes.livenessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -2357,7 +2357,7 @@ Default Value: `3` ### .spec.dbservers.probes.livenessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -2368,7 +2368,7 @@ Default Value: `2` ### .spec.dbservers.probes.livenessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -2379,7 +2379,7 @@ Default Value: `10` ### .spec.dbservers.probes.livenessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -2390,7 +2390,7 @@ Default Value: `1` ### .spec.dbservers.probes.livenessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -2401,7 +2401,7 @@ Default Value: `2` ### .spec.dbservers.probes.ReadinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L252) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L252) OldReadinessProbeDisabled if true readinessProbes are disabled Deprecated: This field is deprecated, kept only for backward compatibility. @@ -2410,7 +2410,7 @@ Deprecated: This field is deprecated, kept only for backward compatibility. ### .spec.dbservers.probes.readinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L254) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L254) ReadinessProbeDisabled override flag for probe disabled in good manner (lowercase) with backward compatibility @@ -2418,7 +2418,7 @@ ReadinessProbeDisabled override flag for probe disabled in good manner (lowercas ### .spec.dbservers.probes.readinessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -2430,7 +2430,7 @@ Default Value: `3` ### .spec.dbservers.probes.readinessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -2441,7 +2441,7 @@ Default Value: `2` ### .spec.dbservers.probes.readinessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -2452,7 +2452,7 @@ Default Value: `10` ### .spec.dbservers.probes.readinessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -2463,7 +2463,7 @@ Default Value: `1` ### .spec.dbservers.probes.readinessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -2474,7 +2474,7 @@ Default Value: `2` ### .spec.dbservers.probes.startupProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L259) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L259) StartupProbeDisabled if true startupProbes are disabled @@ -2482,7 +2482,7 @@ StartupProbeDisabled if true startupProbes are disabled ### .spec.dbservers.probes.startupProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -2494,7 +2494,7 @@ Default Value: `3` ### .spec.dbservers.probes.startupProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -2505,7 +2505,7 @@ Default Value: `2` ### .spec.dbservers.probes.startupProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -2516,7 +2516,7 @@ Default Value: `10` ### .spec.dbservers.probes.startupProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -2527,7 +2527,7 @@ Default Value: `1` ### .spec.dbservers.probes.startupProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -2538,7 +2538,7 @@ Default Value: `2` ### .spec.dbservers.pvcResizeMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L170) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L170) VolumeResizeMode specified resize mode for PVCs and PVs @@ -2550,7 +2550,7 @@ Possible Values: ### .spec.dbservers.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L95) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L95) Resources holds resource requests & limits @@ -2561,7 +2561,7 @@ Links: ### .spec.dbservers.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L89) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L89) SchedulerName define scheduler name used for group @@ -2569,7 +2569,7 @@ SchedulerName define scheduler name used for group ### .spec.dbservers.securityContext.addCapabilities -Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) +Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) AddCapabilities add new capabilities to containers @@ -2577,7 +2577,7 @@ AddCapabilities add new capabilities to containers ### .spec.dbservers.securityContext.allowPrivilegeEscalation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process. @@ -2585,7 +2585,7 @@ AllowPrivilegeEscalation Controls whether a process can gain more privileges tha ### .spec.dbservers.securityContext.dropAllCapabilities -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0. @@ -2594,7 +2594,7 @@ Deprecated: This field is added for backward compatibility. Will be removed in 1 ### .spec.dbservers.securityContext.fsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) FSGroup is a special supplemental group that applies to all containers in a pod. @@ -2602,7 +2602,7 @@ FSGroup is a special supplemental group that applies to all containers in a pod. ### .spec.dbservers.securityContext.privileged -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. @@ -2611,7 +2611,7 @@ essentially equivalent to root on the host. ### .spec.dbservers.securityContext.readOnlyRootFilesystem -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only. @@ -2619,7 +2619,7 @@ ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-o ### .spec.dbservers.securityContext.runAsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) RunAsGroup is the GID to run the entrypoint of the container process. @@ -2627,7 +2627,7 @@ RunAsGroup is the GID to run the entrypoint of the container process. ### .spec.dbservers.securityContext.runAsNonRoot -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) RunAsNonRoot if true, indicates that the container must run as a non-root user. @@ -2635,7 +2635,7 @@ RunAsNonRoot if true, indicates that the container must run as a non-root user. ### .spec.dbservers.securityContext.runAsUser -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) RunAsUser is the UID to run the entrypoint of the container process. @@ -2643,7 +2643,7 @@ RunAsUser is the UID to run the entrypoint of the container process. ### .spec.dbservers.securityContext.seccompProfile -Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) +Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. @@ -2654,7 +2654,7 @@ Links: ### .spec.dbservers.securityContext.seLinuxOptions -Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) +Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) SELinuxOptions are the labels to be applied to the container @@ -2665,7 +2665,7 @@ Links: ### .spec.dbservers.securityContext.supplementalGroups -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. @@ -2674,7 +2674,7 @@ the fsGroup (if specified), and group memberships defined in the container image ### .spec.dbservers.securityContext.sysctls -Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) +Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. @@ -2695,7 +2695,7 @@ sysctls: ### .spec.dbservers.serviceAccountName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L146) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L146) ServiceAccountName setting specifies the `serviceAccountName` for the `Pods` created for each server of this group. If empty, it defaults to using the @@ -2710,7 +2710,7 @@ to that service account. ### .spec.dbservers.shutdownDelay -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L211) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L211) ShutdownDelay define how long operator should delay finalizer removal after shutdown @@ -2718,7 +2718,7 @@ ShutdownDelay define how long operator should delay finalizer removal after shut ### .spec.dbservers.shutdownMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L209) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L209) ShutdownMethod describe procedure of member shutdown taken by Operator @@ -2726,7 +2726,7 @@ ShutdownMethod describe procedure of member shutdown taken by Operator ### .spec.dbservers.sidecarCoreNames -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L187) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L187) SidecarCoreNames is a list of sidecar containers which must run in the pod. Some names (e.g.: "server", "worker") are reserved, and they don't have any impact. @@ -2735,7 +2735,7 @@ Some names (e.g.: "server", "worker") are reserved, and they don't have any impa ### .spec.dbservers.sidecars -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L191) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L191) Sidecars specifies a list of additional containers to be started @@ -2746,7 +2746,7 @@ Links: ### .spec.dbservers.storageClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L91) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L91) StorageClassName specifies the classname for storage of the servers. @@ -2754,7 +2754,7 @@ StorageClassName specifies the classname for storage of the servers. ### .spec.dbservers.terminationGracePeriodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L224) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L224) TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for pods - via silent rotation @@ -2762,7 +2762,7 @@ TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for ### .spec.dbservers.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L122) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L122) Tolerations specifies the tolerations added to Pods in this group. By default, suitable tolerations are set for the following keys with the `NoExecute` effect: @@ -2778,7 +2778,7 @@ Links: ### .spec.dbservers.volumeAllowShrink -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L172) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L172) Deprecated: VolumeAllowShrink allows shrink the volume @@ -2786,7 +2786,7 @@ Deprecated: VolumeAllowShrink allows shrink the volume ### .spec.dbservers.volumeClaimTemplate -Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L165) +Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L165) VolumeClaimTemplate specifies a volumeClaimTemplate used by operator to create to volume claims for pods of this group. This setting is not available for group `coordinators`, `syncmasters` & `syncworkers`. @@ -2802,7 +2802,7 @@ Links: ### .spec.dbservers.volumeMounts -Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L201) +Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L201) VolumeMounts define list of volume mounts mounted into server container @@ -2813,7 +2813,7 @@ Links: ### .spec.dbservers.volumes\[int\].configMap -Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L138) +Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L138) ConfigMap which should be mounted into pod @@ -2824,7 +2824,7 @@ Links: ### .spec.dbservers.volumes\[int\].emptyDir -Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L143) +Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L143) EmptyDir @@ -2835,7 +2835,7 @@ Links: ### .spec.dbservers.volumes\[int\].hostPath -Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L148) +Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L148) HostPath @@ -2846,7 +2846,7 @@ Links: ### .spec.dbservers.volumes\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L128) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L128) Name of volume @@ -2854,7 +2854,7 @@ Name of volume ### .spec.dbservers.volumes\[int\].persistentVolumeClaim -Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L153) +Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L153) PersistentVolumeClaim @@ -2865,7 +2865,7 @@ Links: ### .spec.dbservers.volumes\[int\].secret -Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L133) +Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L133) Secret which should be mounted into pod @@ -2876,7 +2876,7 @@ Links: ### .spec.disableIPv6 -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L98) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L98) DisableIPv6 setting prevents the use of IPv6 addresses by ArangoDB servers. This setting cannot be changed after the deployment has been created. @@ -2887,7 +2887,7 @@ Default Value: `false` ### .spec.downtimeAllowed -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L93) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L93) DowntimeAllowed setting is used to allow automatic reconciliation actions that yield some downtime of the ArangoDB deployment. When this setting is set to false, no automatic action that may result in downtime is allowed. @@ -2903,7 +2903,7 @@ Default Value: `false` ### .spec.environment -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L54) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L54) Environment setting specifies the type of environment in which the deployment is created. @@ -2915,7 +2915,7 @@ Possible Values: ### .spec.externalAccess.advertisedEndpoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L58) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/external_access_spec.go#L58) AdvertisedEndpoint is passed to the coordinators/single servers for advertising a specific endpoint @@ -2923,7 +2923,7 @@ AdvertisedEndpoint is passed to the coordinators/single servers for advertising ### .spec.externalAccess.loadBalancerIP -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L48) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/external_access_spec.go#L48) LoadBalancerIP define optional IP used to configure a load-balancer on, in case of Auto or LoadBalancer type. If you do not specify this setting, an IP will be chosen automatically by the load-balancer provisioner. @@ -2932,7 +2932,7 @@ If you do not specify this setting, an IP will be chosen automatically by the lo ### .spec.externalAccess.loadBalancerSourceRanges -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L55) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/external_access_spec.go#L55) LoadBalancerSourceRanges define LoadBalancerSourceRanges used for LoadBalancer Service type If specified and supported by the platform, this will restrict traffic through the cloud-provider @@ -2946,7 +2946,7 @@ Links: ### .spec.externalAccess.managedServiceNames -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L62) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/external_access_spec.go#L62) ManagedServiceNames keeps names of services which are not managed by KubeArangoDB. It is only relevant when type of service is `managed`. @@ -2955,7 +2955,7 @@ It is only relevant when type of service is `managed`. ### .spec.externalAccess.nodePort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L44) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/external_access_spec.go#L44) NodePort define optional port used in case of Auto or NodePort type. This setting is used when `spec.externalAccess.type` is set to `NodePort` or `Auto`. @@ -2965,7 +2965,7 @@ If you do not specify this setting, a random port will be chosen automatically. ### .spec.externalAccess.type -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L39) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/external_access_spec.go#L39) Type specifies the type of Service that will be created to provide access to the ArangoDB deployment from outside the Kubernetes cluster. @@ -2979,13 +2979,13 @@ Possible Values: ### .spec.features.foxx.queues -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_features.go#L24) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_features.go#L24) *** ### .spec.id.affinity -Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_id_group_spec.go#L48) +Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_id_group_spec.go#L48) Affinity specified additional affinity settings in ArangoDB Pod definitions @@ -2996,7 +2996,7 @@ Links: ### .spec.id.antiAffinity -Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_id_group_spec.go#L44) +Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_id_group_spec.go#L44) AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions @@ -3007,7 +3007,7 @@ Links: ### .spec.id.args -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_id_group_spec.go#L32) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_id_group_spec.go#L32) Args setting specifies additional command-line arguments passed to all servers of this group. @@ -3017,7 +3017,7 @@ Default Value: `[]` ### .spec.id.entrypoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_id_group_spec.go#L28) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_id_group_spec.go#L28) Entrypoint overrides container executable @@ -3025,7 +3025,7 @@ Entrypoint overrides container executable ### .spec.id.nodeAffinity -Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_id_group_spec.go#L52) +Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_id_group_spec.go#L52) NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions @@ -3036,7 +3036,7 @@ Links: ### .spec.id.nodeSelector -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_id_group_spec.go#L38) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_id_group_spec.go#L38) NodeSelector specifies a set of selectors for nodes @@ -3044,7 +3044,7 @@ NodeSelector specifies a set of selectors for nodes ### .spec.id.priorityClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_id_group_spec.go#L40) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_id_group_spec.go#L40) PriorityClassName specifies a priority class name @@ -3052,7 +3052,7 @@ PriorityClassName specifies a priority class name ### .spec.id.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_id_group_spec.go#L60) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_id_group_spec.go#L60) Resources holds resource requests & limits @@ -3063,7 +3063,7 @@ Links: ### .spec.id.securityContext.addCapabilities -Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) +Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) AddCapabilities add new capabilities to containers @@ -3071,7 +3071,7 @@ AddCapabilities add new capabilities to containers ### .spec.id.securityContext.allowPrivilegeEscalation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process. @@ -3079,7 +3079,7 @@ AllowPrivilegeEscalation Controls whether a process can gain more privileges tha ### .spec.id.securityContext.dropAllCapabilities -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0. @@ -3088,7 +3088,7 @@ Deprecated: This field is added for backward compatibility. Will be removed in 1 ### .spec.id.securityContext.fsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) FSGroup is a special supplemental group that applies to all containers in a pod. @@ -3096,7 +3096,7 @@ FSGroup is a special supplemental group that applies to all containers in a pod. ### .spec.id.securityContext.privileged -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. @@ -3105,7 +3105,7 @@ essentially equivalent to root on the host. ### .spec.id.securityContext.readOnlyRootFilesystem -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only. @@ -3113,7 +3113,7 @@ ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-o ### .spec.id.securityContext.runAsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) RunAsGroup is the GID to run the entrypoint of the container process. @@ -3121,7 +3121,7 @@ RunAsGroup is the GID to run the entrypoint of the container process. ### .spec.id.securityContext.runAsNonRoot -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) RunAsNonRoot if true, indicates that the container must run as a non-root user. @@ -3129,7 +3129,7 @@ RunAsNonRoot if true, indicates that the container must run as a non-root user. ### .spec.id.securityContext.runAsUser -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) RunAsUser is the UID to run the entrypoint of the container process. @@ -3137,7 +3137,7 @@ RunAsUser is the UID to run the entrypoint of the container process. ### .spec.id.securityContext.seccompProfile -Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) +Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. @@ -3148,7 +3148,7 @@ Links: ### .spec.id.securityContext.seLinuxOptions -Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) +Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) SELinuxOptions are the labels to be applied to the container @@ -3159,7 +3159,7 @@ Links: ### .spec.id.securityContext.supplementalGroups -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. @@ -3168,7 +3168,7 @@ the fsGroup (if specified), and group memberships defined in the container image ### .spec.id.securityContext.sysctls -Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) +Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. @@ -3189,7 +3189,7 @@ sysctls: ### .spec.id.serviceAccountName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_id_group_spec.go#L54) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_id_group_spec.go#L54) ServiceAccountName specifies the name of the service account used for Pods in this group. @@ -3197,7 +3197,7 @@ ServiceAccountName specifies the name of the service account used for Pods in th ### .spec.id.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_id_group_spec.go#L36) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_id_group_spec.go#L36) Tolerations specifies the tolerations added to Pods in this group. @@ -3208,7 +3208,7 @@ Links: ### .spec.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L67) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L67) Image specifies the docker image to use for all ArangoDB servers. In a development environment this setting defaults to arangodb/arangodb:latest. @@ -3219,7 +3219,7 @@ It is highly recommend to use explicit version (not latest) for production envir ### .spec.imageDiscoveryMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L83) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L83) ImageDiscoveryMode specifies the image discovery mode. @@ -3231,7 +3231,7 @@ Possible Values: ### .spec.imagePullPolicy -Type: `core.PullPolicy` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L75) +Type: `core.PullPolicy` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L75) ImagePullPolicy specifies the pull policy for the docker image to use for all ArangoDB servers. @@ -3247,7 +3247,7 @@ Possible Values: ### .spec.imagePullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L78) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L78) ImagePullSecrets specifies the list of image pull secrets for the docker image to use for all ArangoDB servers. @@ -3255,7 +3255,7 @@ ImagePullSecrets specifies the list of image pull secrets for the docker image t ### .spec.labels -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L127) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L127) Labels specifies the labels added to Pods in this group. @@ -3263,7 +3263,7 @@ Labels specifies the labels added to Pods in this group. ### .spec.labelsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L130) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L130) LabelsIgnoreList list regexp or plain definitions which labels should be ignored @@ -3271,7 +3271,7 @@ LabelsIgnoreList list regexp or plain definitions which labels should be ignored ### .spec.labelsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L136) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L136) LabelsMode Define labels mode which should be use while overriding labels @@ -3284,7 +3284,7 @@ Possible Values: ### .spec.license.secretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/license_spec.go#L33) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/license_spec.go#L33) SecretName setting specifies the name of a kubernetes `Secret` that contains the license key token used for enterprise images. This value is not used for @@ -3294,7 +3294,7 @@ the Community Edition. ### .spec.lifecycle.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/lifecycle_spec.go#L31) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/lifecycle_spec.go#L31) Resources holds resource requests & limits @@ -3305,7 +3305,7 @@ Links: ### .spec.memberPropagationMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L209) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L209) MemberPropagationMode defines how changes to pod spec should be propogated. Changes to a pod’s configuration require a restart of that pod in almost all cases. @@ -3321,7 +3321,7 @@ Possible Values: ### .spec.metrics.authentication.jwtTokenSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_metrics_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_metrics_spec.go#L34) JWTTokenSecretName contains the name of the JWT kubernetes secret used for authentication @@ -3329,7 +3329,7 @@ JWTTokenSecretName contains the name of the JWT kubernetes secret used for authe ### .spec.metrics.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_metrics_spec.go#L81) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_metrics_spec.go#L81) Enabled if this is set to `true`, the operator runs a sidecar container for every Agent, DB-Server, Coordinator and Single server. @@ -3343,7 +3343,7 @@ Default Value: `false` ### .spec.metrics.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_metrics_spec.go#L83) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_metrics_spec.go#L83) deprecated @@ -3351,7 +3351,7 @@ deprecated ### .spec.metrics.mode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_metrics_spec.go#L90) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_metrics_spec.go#L90) deprecated @@ -3359,13 +3359,13 @@ deprecated ### .spec.metrics.port -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_metrics_spec.go#L99) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_metrics_spec.go#L99) *** ### .spec.metrics.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_metrics_spec.go#L88) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_metrics_spec.go#L88) Resources holds resource requests & limits @@ -3376,19 +3376,19 @@ Links: ### .spec.metrics.serviceMonitor.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_metrics_service_monitor_spec.go#L24) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_metrics_service_monitor_spec.go#L24) *** ### .spec.metrics.serviceMonitor.labels -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_metrics_service_monitor_spec.go#L25) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_metrics_service_monitor_spec.go#L25) *** ### .spec.metrics.tls -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_metrics_spec.go#L95) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_metrics_spec.go#L95) TLS defines if TLS should be enabled on Metrics exporter endpoint. This option will enable TLS only if TLS is enabled on ArangoDeployment, @@ -3400,7 +3400,7 @@ Default Value: `true` ### .spec.mode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L49) Mode specifies the type of ArangoDB deployment to create. @@ -3415,7 +3415,7 @@ This field is **immutable**: Change of the ArangoDeployment Mode is not possible ### .spec.networkAttachedVolumes -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L112) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L112) NetworkAttachedVolumes If set to `true`, a ResignLeadership operation will be triggered when a DB-Server pod is evicted (rather than a CleanOutServer operation). @@ -3429,25 +3429,25 @@ Default Value: `true` ### .spec.rebalancer.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/rebalancer_spec.go#L26) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/rebalancer_spec.go#L26) *** ### .spec.rebalancer.optimizers.leader -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/rebalancer_spec.go#L74) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/rebalancer_spec.go#L74) *** ### .spec.rebalancer.parallelMoves -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/rebalancer_spec.go#L28) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/rebalancer_spec.go#L28) *** ### .spec.rebalancer.readers.count -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/rebalancer_spec.go#L62) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/rebalancer_spec.go#L62) deprecated does not work in Rebalancer V2 Count Enable Shard Count machanism @@ -3456,13 +3456,13 @@ Count Enable Shard Count machanism ### .spec.recovery.autoRecover -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/recovery_spec.go#L26) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/recovery_spec.go#L26) *** ### .spec.restoreEncryptionSecret -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L149) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L149) RestoreEncryptionSecret specifies optional name of secret which contains encryption key used for restore @@ -3470,7 +3470,7 @@ RestoreEncryptionSecret specifies optional name of secret which contains encrypt ### .spec.restoreFrom -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L146) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L146) RestoreFrom setting specifies a `ArangoBackup` resource name the cluster should be restored from. After a restore or failure to do so, the status of the deployment contains information about the restore operation in the restore key. @@ -3485,7 +3485,7 @@ A new restore attempt is made if and only if either in the status restore is not ### .spec.rocksdb.encryption.keySecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/rocksdb_spec.go#L37) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/rocksdb_spec.go#L37) KeySecretName setting specifies the name of a Kubernetes `Secret` that contains an encryption key used for encrypting all data stored by ArangoDB servers. When an encryption key is used, encryption of the data in the cluster is enabled, without it encryption is disabled. @@ -3498,7 +3498,7 @@ The secret specified by this setting, must have a data field named 'key' contain ### .spec.single.affinity -Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L180) +Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L180) Affinity specified additional affinity settings in ArangoDB Pod definitions @@ -3509,7 +3509,7 @@ Links: ### .spec.single.allowMemberRecreation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L222) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L222) AllowMemberRecreation allows to recreate member. This setting changes the member recreation logic based on group: @@ -3520,7 +3520,7 @@ This setting changes the member recreation logic based on group: ### .spec.single.annotations -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L125) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L125) Annotations specified the annotations added to Pods in this group. Annotations are merged with `spec.annotations`. @@ -3529,7 +3529,7 @@ Annotations are merged with `spec.annotations`. ### .spec.single.annotationsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L127) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L127) AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored @@ -3537,7 +3537,7 @@ AnnotationsIgnoreList list regexp or plain definitions which annotations should ### .spec.single.annotationsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L129) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L129) AnnotationsMode Define annotations mode which should be use while overriding annotations @@ -3545,7 +3545,7 @@ AnnotationsMode Define annotations mode which should be use while overriding ann ### .spec.single.antiAffinity -Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L176) +Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L176) AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions @@ -3556,7 +3556,7 @@ Links: ### .spec.single.args -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L85) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L85) Args setting specifies additional command-line arguments passed to all servers of this group. @@ -3566,7 +3566,7 @@ Default Value: `[]` ### .spec.single.count -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L77) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L77) Count setting specifies the number of servers to start for the given group. For the Agent group, this value must be a positive, odd number. @@ -3579,7 +3579,7 @@ as for the `dbservers` group. ### .spec.single.entrypoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L87) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L87) Entrypoint overrides container executable @@ -3587,19 +3587,19 @@ Entrypoint overrides container executable ### .spec.single.envs\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L26) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_env_var.go#L26) *** ### .spec.single.envs\[int\].value -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L27) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_env_var.go#L27) *** ### .spec.single.ephemeralVolumes.apps.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -3610,7 +3610,7 @@ Links: ### .spec.single.ephemeralVolumes.temp.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -3621,7 +3621,7 @@ Links: ### .spec.single.exporterPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L235) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L235) ExporterPort define Port used by exporter @@ -3629,7 +3629,7 @@ ExporterPort define Port used by exporter ### .spec.single.extendedRotationCheck -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L205) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L205) ExtendedRotationCheck extend checks for rotation @@ -3637,7 +3637,7 @@ ExtendedRotationCheck extend checks for rotation ### .spec.single.externalPortEnabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L217) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L217) ExternalPortEnabled if external port should be enabled. If is set to false, ports needs to be exposed via sidecar. Only for ArangoD members @@ -3645,7 +3645,7 @@ ExternalPortEnabled if external port should be enabled. If is set to false, port ### .spec.single.indexMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L228) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L228) IndexMethod define group Indexing method @@ -3657,7 +3657,7 @@ Possible Values: ### .spec.single.initContainers.containers -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L91) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_init_containers.go#L91) Containers contains list of containers @@ -3668,7 +3668,7 @@ Links: ### .spec.single.initContainers.mode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L94) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_init_containers.go#L94) Mode keep container replace mode @@ -3676,7 +3676,7 @@ Mode keep container replace mode ### .spec.single.internalPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L213) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L213) InternalPort define port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -3684,7 +3684,7 @@ InternalPort define port used in internal communication, can be accessed over lo ### .spec.single.internalPortProtocol -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L215) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L215) InternalPortProtocol define protocol of port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -3692,7 +3692,7 @@ InternalPortProtocol define protocol of port used in internal communication, can ### .spec.single.labels -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L131) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L131) Labels specified the labels added to Pods in this group. @@ -3700,7 +3700,7 @@ Labels specified the labels added to Pods in this group. ### .spec.single.labelsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L133) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L133) LabelsIgnoreList list regexp or plain definitions which labels should be ignored @@ -3708,7 +3708,7 @@ LabelsIgnoreList list regexp or plain definitions which labels should be ignored ### .spec.single.labelsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L135) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L135) LabelsMode Define labels mode which should be use while overriding labels @@ -3716,7 +3716,7 @@ LabelsMode Define labels mode which should be use while overriding labels ### .spec.single.maxCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L81) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L81) MaxCount specifies a maximum for the count of servers. If set, a specification is invalid if `count > maxCount`. @@ -3724,7 +3724,7 @@ MaxCount specifies a maximum for the count of servers. If set, a specification i ### .spec.single.memoryReservation -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L107) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L107) MemoryReservation determines the system reservation of memory while calculating `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` value. If this field is set, `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` is reduced by a specified value in percent. @@ -3739,7 +3739,7 @@ Default Value: `0` ### .spec.single.minCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L79) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L79) MinCount specifies a minimum for the count of servers. If set, a specification is invalid if `count < minCount`. @@ -3747,7 +3747,7 @@ MinCount specifies a minimum for the count of servers. If set, a specification i ### .spec.single.nodeAffinity -Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L184) +Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L184) NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions @@ -3758,7 +3758,7 @@ Links: ### .spec.single.nodeSelector -Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L150) +Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L150) NodeSelector setting specifies a set of labels to be used as `nodeSelector` for Pods of this node. @@ -3769,7 +3769,7 @@ Links: ### .spec.single.numactl.args -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) Args define list of the numactl process @@ -3779,7 +3779,7 @@ Default Value: `[]` ### .spec.single.numactl.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) Enabled define if numactl should be enabled @@ -3789,7 +3789,7 @@ Default Value: `false` ### .spec.single.numactl.path -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) Path define numactl path within the container @@ -3799,7 +3799,7 @@ Default Value: `/usr/bin/numactl` ### .spec.single.overrideDetectedNumberOfCores -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L113) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L113) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES` Container Environment Variable @@ -3815,7 +3815,7 @@ Default Value: `true` ### .spec.single.overrideDetectedTotalMemory -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L101) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L101) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` Container Environment Variable @@ -3831,19 +3831,19 @@ Default Value: `true` ### .spec.single.podModes.network -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) *** ### .spec.single.podModes.pid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) *** ### .spec.single.port -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L233) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L233) Port define Port used by member @@ -3851,7 +3851,7 @@ Port define Port used by member ### .spec.single.priorityClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L156) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L156) PriorityClassName specifies a priority class name Will be forwarded to the pod spec. @@ -3863,7 +3863,7 @@ Links: ### .spec.single.probes.livenessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L245) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L245) LivenessProbeDisabled if set to true, the operator does not generate a liveness probe for new pods belonging to this group @@ -3873,7 +3873,7 @@ Default Value: `false` ### .spec.single.probes.livenessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -3885,7 +3885,7 @@ Default Value: `3` ### .spec.single.probes.livenessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -3896,7 +3896,7 @@ Default Value: `2` ### .spec.single.probes.livenessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -3907,7 +3907,7 @@ Default Value: `10` ### .spec.single.probes.livenessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -3918,7 +3918,7 @@ Default Value: `1` ### .spec.single.probes.livenessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -3929,7 +3929,7 @@ Default Value: `2` ### .spec.single.probes.ReadinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L252) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L252) OldReadinessProbeDisabled if true readinessProbes are disabled Deprecated: This field is deprecated, kept only for backward compatibility. @@ -3938,7 +3938,7 @@ Deprecated: This field is deprecated, kept only for backward compatibility. ### .spec.single.probes.readinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L254) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L254) ReadinessProbeDisabled override flag for probe disabled in good manner (lowercase) with backward compatibility @@ -3946,7 +3946,7 @@ ReadinessProbeDisabled override flag for probe disabled in good manner (lowercas ### .spec.single.probes.readinessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -3958,7 +3958,7 @@ Default Value: `3` ### .spec.single.probes.readinessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -3969,7 +3969,7 @@ Default Value: `2` ### .spec.single.probes.readinessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -3980,7 +3980,7 @@ Default Value: `10` ### .spec.single.probes.readinessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -3991,7 +3991,7 @@ Default Value: `1` ### .spec.single.probes.readinessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -4002,7 +4002,7 @@ Default Value: `2` ### .spec.single.probes.startupProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L259) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L259) StartupProbeDisabled if true startupProbes are disabled @@ -4010,7 +4010,7 @@ StartupProbeDisabled if true startupProbes are disabled ### .spec.single.probes.startupProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -4022,7 +4022,7 @@ Default Value: `3` ### .spec.single.probes.startupProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -4033,7 +4033,7 @@ Default Value: `2` ### .spec.single.probes.startupProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -4044,7 +4044,7 @@ Default Value: `10` ### .spec.single.probes.startupProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -4055,7 +4055,7 @@ Default Value: `1` ### .spec.single.probes.startupProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -4066,7 +4066,7 @@ Default Value: `2` ### .spec.single.pvcResizeMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L170) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L170) VolumeResizeMode specified resize mode for PVCs and PVs @@ -4078,7 +4078,7 @@ Possible Values: ### .spec.single.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L95) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L95) Resources holds resource requests & limits @@ -4089,7 +4089,7 @@ Links: ### .spec.single.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L89) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L89) SchedulerName define scheduler name used for group @@ -4097,7 +4097,7 @@ SchedulerName define scheduler name used for group ### .spec.single.securityContext.addCapabilities -Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) +Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) AddCapabilities add new capabilities to containers @@ -4105,7 +4105,7 @@ AddCapabilities add new capabilities to containers ### .spec.single.securityContext.allowPrivilegeEscalation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process. @@ -4113,7 +4113,7 @@ AllowPrivilegeEscalation Controls whether a process can gain more privileges tha ### .spec.single.securityContext.dropAllCapabilities -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0. @@ -4122,7 +4122,7 @@ Deprecated: This field is added for backward compatibility. Will be removed in 1 ### .spec.single.securityContext.fsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) FSGroup is a special supplemental group that applies to all containers in a pod. @@ -4130,7 +4130,7 @@ FSGroup is a special supplemental group that applies to all containers in a pod. ### .spec.single.securityContext.privileged -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. @@ -4139,7 +4139,7 @@ essentially equivalent to root on the host. ### .spec.single.securityContext.readOnlyRootFilesystem -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only. @@ -4147,7 +4147,7 @@ ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-o ### .spec.single.securityContext.runAsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) RunAsGroup is the GID to run the entrypoint of the container process. @@ -4155,7 +4155,7 @@ RunAsGroup is the GID to run the entrypoint of the container process. ### .spec.single.securityContext.runAsNonRoot -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) RunAsNonRoot if true, indicates that the container must run as a non-root user. @@ -4163,7 +4163,7 @@ RunAsNonRoot if true, indicates that the container must run as a non-root user. ### .spec.single.securityContext.runAsUser -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) RunAsUser is the UID to run the entrypoint of the container process. @@ -4171,7 +4171,7 @@ RunAsUser is the UID to run the entrypoint of the container process. ### .spec.single.securityContext.seccompProfile -Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) +Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. @@ -4182,7 +4182,7 @@ Links: ### .spec.single.securityContext.seLinuxOptions -Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) +Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) SELinuxOptions are the labels to be applied to the container @@ -4193,7 +4193,7 @@ Links: ### .spec.single.securityContext.supplementalGroups -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. @@ -4202,7 +4202,7 @@ the fsGroup (if specified), and group memberships defined in the container image ### .spec.single.securityContext.sysctls -Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) +Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. @@ -4223,7 +4223,7 @@ sysctls: ### .spec.single.serviceAccountName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L146) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L146) ServiceAccountName setting specifies the `serviceAccountName` for the `Pods` created for each server of this group. If empty, it defaults to using the @@ -4238,7 +4238,7 @@ to that service account. ### .spec.single.shutdownDelay -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L211) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L211) ShutdownDelay define how long operator should delay finalizer removal after shutdown @@ -4246,7 +4246,7 @@ ShutdownDelay define how long operator should delay finalizer removal after shut ### .spec.single.shutdownMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L209) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L209) ShutdownMethod describe procedure of member shutdown taken by Operator @@ -4254,7 +4254,7 @@ ShutdownMethod describe procedure of member shutdown taken by Operator ### .spec.single.sidecarCoreNames -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L187) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L187) SidecarCoreNames is a list of sidecar containers which must run in the pod. Some names (e.g.: "server", "worker") are reserved, and they don't have any impact. @@ -4263,7 +4263,7 @@ Some names (e.g.: "server", "worker") are reserved, and they don't have any impa ### .spec.single.sidecars -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L191) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L191) Sidecars specifies a list of additional containers to be started @@ -4274,7 +4274,7 @@ Links: ### .spec.single.storageClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L91) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L91) StorageClassName specifies the classname for storage of the servers. @@ -4282,7 +4282,7 @@ StorageClassName specifies the classname for storage of the servers. ### .spec.single.terminationGracePeriodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L224) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L224) TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for pods - via silent rotation @@ -4290,7 +4290,7 @@ TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for ### .spec.single.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L122) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L122) Tolerations specifies the tolerations added to Pods in this group. By default, suitable tolerations are set for the following keys with the `NoExecute` effect: @@ -4306,7 +4306,7 @@ Links: ### .spec.single.volumeAllowShrink -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L172) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L172) Deprecated: VolumeAllowShrink allows shrink the volume @@ -4314,7 +4314,7 @@ Deprecated: VolumeAllowShrink allows shrink the volume ### .spec.single.volumeClaimTemplate -Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L165) +Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L165) VolumeClaimTemplate specifies a volumeClaimTemplate used by operator to create to volume claims for pods of this group. This setting is not available for group `coordinators`, `syncmasters` & `syncworkers`. @@ -4330,7 +4330,7 @@ Links: ### .spec.single.volumeMounts -Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L201) +Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L201) VolumeMounts define list of volume mounts mounted into server container @@ -4341,7 +4341,7 @@ Links: ### .spec.single.volumes\[int\].configMap -Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L138) +Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L138) ConfigMap which should be mounted into pod @@ -4352,7 +4352,7 @@ Links: ### .spec.single.volumes\[int\].emptyDir -Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L143) +Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L143) EmptyDir @@ -4363,7 +4363,7 @@ Links: ### .spec.single.volumes\[int\].hostPath -Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L148) +Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L148) HostPath @@ -4374,7 +4374,7 @@ Links: ### .spec.single.volumes\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L128) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L128) Name of volume @@ -4382,7 +4382,7 @@ Name of volume ### .spec.single.volumes\[int\].persistentVolumeClaim -Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L153) +Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L153) PersistentVolumeClaim @@ -4393,7 +4393,7 @@ Links: ### .spec.single.volumes\[int\].secret -Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L133) +Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L133) Secret which should be mounted into pod @@ -4404,7 +4404,7 @@ Links: ### .spec.storageEngine -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L61) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L61) StorageEngine specifies the type of storage engine used for all servers in the cluster. @@ -4418,7 +4418,7 @@ This field is **immutable**: This setting cannot be changed after the cluster ha ### .spec.sync.auth.clientCASecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/sync_authentication_spec.go#L41) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/sync_authentication_spec.go#L41) ClientCASecretName setting specifies the name of a kubernetes `Secret` that contains a PEM encoded CA certificate used for client certificate verification @@ -4429,7 +4429,7 @@ This is a required setting when `spec.sync.enabled` is `true`. ### .spec.sync.auth.jwtSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/sync_authentication_spec.go#L36) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/sync_authentication_spec.go#L36) JWTSecretName setting specifies the name of a kubernetes `Secret` that contains the JWT token used for accessing all ArangoSync master servers. @@ -4441,7 +4441,7 @@ and stored in a `Secret` with given name. ### .spec.sync.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/sync_spec.go#L34) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/sync_spec.go#L34) Enabled setting enables/disables support for data center 2 data center replication in the cluster. When enabled, the cluster will contain @@ -4453,7 +4453,7 @@ Default Value: `false` ### .spec.sync.externalAccess.accessPackageSecretNames -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/sync_external_access_spec.go#L49) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/sync_external_access_spec.go#L49) AccessPackageSecretNames setting specifies the names of zero of more `Secrets` that will be created by the deployment operator containing "access packages". An access package contains those `Secrets` that are needed @@ -4469,7 +4469,7 @@ Links: ### .spec.sync.externalAccess.advertisedEndpoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L58) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/external_access_spec.go#L58) AdvertisedEndpoint is passed to the coordinators/single servers for advertising a specific endpoint @@ -4477,7 +4477,7 @@ AdvertisedEndpoint is passed to the coordinators/single servers for advertising ### .spec.sync.externalAccess.loadBalancerIP -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L48) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/external_access_spec.go#L48) LoadBalancerIP define optional IP used to configure a load-balancer on, in case of Auto or LoadBalancer type. If you do not specify this setting, an IP will be chosen automatically by the load-balancer provisioner. @@ -4486,7 +4486,7 @@ If you do not specify this setting, an IP will be chosen automatically by the lo ### .spec.sync.externalAccess.loadBalancerSourceRanges -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L55) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/external_access_spec.go#L55) LoadBalancerSourceRanges define LoadBalancerSourceRanges used for LoadBalancer Service type If specified and supported by the platform, this will restrict traffic through the cloud-provider @@ -4500,7 +4500,7 @@ Links: ### .spec.sync.externalAccess.managedServiceNames -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L62) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/external_access_spec.go#L62) ManagedServiceNames keeps names of services which are not managed by KubeArangoDB. It is only relevant when type of service is `managed`. @@ -4509,7 +4509,7 @@ It is only relevant when type of service is `managed`. ### .spec.sync.externalAccess.masterEndpoint -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/sync_external_access_spec.go#L40) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/sync_external_access_spec.go#L40) MasterEndpoint setting specifies the master endpoint(s) advertised by the ArangoSync SyncMasters. If not set, this setting defaults to: @@ -4520,7 +4520,7 @@ If not set, this setting defaults to: ### .spec.sync.externalAccess.nodePort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L44) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/external_access_spec.go#L44) NodePort define optional port used in case of Auto or NodePort type. This setting is used when `spec.externalAccess.type` is set to `NodePort` or `Auto`. @@ -4530,7 +4530,7 @@ If you do not specify this setting, a random port will be chosen automatically. ### .spec.sync.externalAccess.type -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/external_access_spec.go#L39) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/external_access_spec.go#L39) Type specifies the type of Service that will be created to provide access to the ArangoDB deployment from outside the Kubernetes cluster. @@ -4544,13 +4544,13 @@ Possible Values: ### .spec.sync.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/sync_spec.go#L40) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/sync_spec.go#L40) *** ### .spec.sync.monitoring.tokenSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/sync_monitoring_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/sync_monitoring_spec.go#L34) TokenSecretName setting specifies the name of a kubernetes `Secret` that contains the bearer token used for accessing all monitoring endpoints of all arangod/arangosync servers. @@ -4560,7 +4560,7 @@ When not specified, no monitoring token is used. ### .spec.sync.tls.altNames -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/tls_spec.go#L72) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/tls_spec.go#L72) AltNames setting specifies a list of alternate names that will be added to all generated certificates. These names can be DNS names or email addresses. @@ -4570,7 +4570,7 @@ The default value is empty. ### .spec.sync.tls.caSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/tls_spec.go#L67) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/tls_spec.go#L67) CASecretName setting specifies the name of a kubernetes `Secret` that contains a standard CA certificate + private key used to sign certificates for individual @@ -4587,19 +4587,19 @@ The specified `Secret`, must contain the following data fields: ### .spec.sync.tls.mode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/tls_spec.go#L81) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/tls_spec.go#L81) *** ### .spec.sync.tls.sni.mapping.\ -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/tls_sni_spec.go#L30) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/tls_sni_spec.go#L30) *** ### .spec.sync.tls.ttl -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/tls_spec.go#L79) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/tls_spec.go#L79) TTL setting specifies the time to live of all generated server certificates. When the server certificate is about to expire, it will be automatically replaced @@ -4613,7 +4613,7 @@ Default Value: `"2160h" (about 3 months)` ### .spec.syncmasters.affinity -Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L180) +Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L180) Affinity specified additional affinity settings in ArangoDB Pod definitions @@ -4624,7 +4624,7 @@ Links: ### .spec.syncmasters.allowMemberRecreation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L222) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L222) AllowMemberRecreation allows to recreate member. This setting changes the member recreation logic based on group: @@ -4635,7 +4635,7 @@ This setting changes the member recreation logic based on group: ### .spec.syncmasters.annotations -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L125) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L125) Annotations specified the annotations added to Pods in this group. Annotations are merged with `spec.annotations`. @@ -4644,7 +4644,7 @@ Annotations are merged with `spec.annotations`. ### .spec.syncmasters.annotationsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L127) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L127) AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored @@ -4652,7 +4652,7 @@ AnnotationsIgnoreList list regexp or plain definitions which annotations should ### .spec.syncmasters.annotationsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L129) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L129) AnnotationsMode Define annotations mode which should be use while overriding annotations @@ -4660,7 +4660,7 @@ AnnotationsMode Define annotations mode which should be use while overriding ann ### .spec.syncmasters.antiAffinity -Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L176) +Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L176) AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions @@ -4671,7 +4671,7 @@ Links: ### .spec.syncmasters.args -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L85) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L85) Args setting specifies additional command-line arguments passed to all servers of this group. @@ -4681,7 +4681,7 @@ Default Value: `[]` ### .spec.syncmasters.count -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L77) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L77) Count setting specifies the number of servers to start for the given group. For the Agent group, this value must be a positive, odd number. @@ -4694,7 +4694,7 @@ as for the `dbservers` group. ### .spec.syncmasters.entrypoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L87) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L87) Entrypoint overrides container executable @@ -4702,19 +4702,19 @@ Entrypoint overrides container executable ### .spec.syncmasters.envs\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L26) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_env_var.go#L26) *** ### .spec.syncmasters.envs\[int\].value -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L27) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_env_var.go#L27) *** ### .spec.syncmasters.ephemeralVolumes.apps.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -4725,7 +4725,7 @@ Links: ### .spec.syncmasters.ephemeralVolumes.temp.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -4736,7 +4736,7 @@ Links: ### .spec.syncmasters.exporterPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L235) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L235) ExporterPort define Port used by exporter @@ -4744,7 +4744,7 @@ ExporterPort define Port used by exporter ### .spec.syncmasters.extendedRotationCheck -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L205) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L205) ExtendedRotationCheck extend checks for rotation @@ -4752,7 +4752,7 @@ ExtendedRotationCheck extend checks for rotation ### .spec.syncmasters.externalPortEnabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L217) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L217) ExternalPortEnabled if external port should be enabled. If is set to false, ports needs to be exposed via sidecar. Only for ArangoD members @@ -4760,7 +4760,7 @@ ExternalPortEnabled if external port should be enabled. If is set to false, port ### .spec.syncmasters.indexMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L228) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L228) IndexMethod define group Indexing method @@ -4772,7 +4772,7 @@ Possible Values: ### .spec.syncmasters.initContainers.containers -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L91) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_init_containers.go#L91) Containers contains list of containers @@ -4783,7 +4783,7 @@ Links: ### .spec.syncmasters.initContainers.mode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L94) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_init_containers.go#L94) Mode keep container replace mode @@ -4791,7 +4791,7 @@ Mode keep container replace mode ### .spec.syncmasters.internalPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L213) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L213) InternalPort define port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -4799,7 +4799,7 @@ InternalPort define port used in internal communication, can be accessed over lo ### .spec.syncmasters.internalPortProtocol -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L215) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L215) InternalPortProtocol define protocol of port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -4807,7 +4807,7 @@ InternalPortProtocol define protocol of port used in internal communication, can ### .spec.syncmasters.labels -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L131) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L131) Labels specified the labels added to Pods in this group. @@ -4815,7 +4815,7 @@ Labels specified the labels added to Pods in this group. ### .spec.syncmasters.labelsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L133) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L133) LabelsIgnoreList list regexp or plain definitions which labels should be ignored @@ -4823,7 +4823,7 @@ LabelsIgnoreList list regexp or plain definitions which labels should be ignored ### .spec.syncmasters.labelsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L135) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L135) LabelsMode Define labels mode which should be use while overriding labels @@ -4831,7 +4831,7 @@ LabelsMode Define labels mode which should be use while overriding labels ### .spec.syncmasters.maxCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L81) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L81) MaxCount specifies a maximum for the count of servers. If set, a specification is invalid if `count > maxCount`. @@ -4839,7 +4839,7 @@ MaxCount specifies a maximum for the count of servers. If set, a specification i ### .spec.syncmasters.memoryReservation -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L107) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L107) MemoryReservation determines the system reservation of memory while calculating `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` value. If this field is set, `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` is reduced by a specified value in percent. @@ -4854,7 +4854,7 @@ Default Value: `0` ### .spec.syncmasters.minCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L79) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L79) MinCount specifies a minimum for the count of servers. If set, a specification is invalid if `count < minCount`. @@ -4862,7 +4862,7 @@ MinCount specifies a minimum for the count of servers. If set, a specification i ### .spec.syncmasters.nodeAffinity -Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L184) +Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L184) NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions @@ -4873,7 +4873,7 @@ Links: ### .spec.syncmasters.nodeSelector -Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L150) +Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L150) NodeSelector setting specifies a set of labels to be used as `nodeSelector` for Pods of this node. @@ -4884,7 +4884,7 @@ Links: ### .spec.syncmasters.numactl.args -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) Args define list of the numactl process @@ -4894,7 +4894,7 @@ Default Value: `[]` ### .spec.syncmasters.numactl.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) Enabled define if numactl should be enabled @@ -4904,7 +4904,7 @@ Default Value: `false` ### .spec.syncmasters.numactl.path -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) Path define numactl path within the container @@ -4914,7 +4914,7 @@ Default Value: `/usr/bin/numactl` ### .spec.syncmasters.overrideDetectedNumberOfCores -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L113) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L113) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES` Container Environment Variable @@ -4930,7 +4930,7 @@ Default Value: `true` ### .spec.syncmasters.overrideDetectedTotalMemory -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L101) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L101) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` Container Environment Variable @@ -4946,19 +4946,19 @@ Default Value: `true` ### .spec.syncmasters.podModes.network -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) *** ### .spec.syncmasters.podModes.pid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) *** ### .spec.syncmasters.port -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L233) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L233) Port define Port used by member @@ -4966,7 +4966,7 @@ Port define Port used by member ### .spec.syncmasters.priorityClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L156) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L156) PriorityClassName specifies a priority class name Will be forwarded to the pod spec. @@ -4978,7 +4978,7 @@ Links: ### .spec.syncmasters.probes.livenessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L245) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L245) LivenessProbeDisabled if set to true, the operator does not generate a liveness probe for new pods belonging to this group @@ -4988,7 +4988,7 @@ Default Value: `false` ### .spec.syncmasters.probes.livenessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -5000,7 +5000,7 @@ Default Value: `3` ### .spec.syncmasters.probes.livenessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -5011,7 +5011,7 @@ Default Value: `2` ### .spec.syncmasters.probes.livenessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -5022,7 +5022,7 @@ Default Value: `10` ### .spec.syncmasters.probes.livenessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -5033,7 +5033,7 @@ Default Value: `1` ### .spec.syncmasters.probes.livenessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -5044,7 +5044,7 @@ Default Value: `2` ### .spec.syncmasters.probes.ReadinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L252) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L252) OldReadinessProbeDisabled if true readinessProbes are disabled Deprecated: This field is deprecated, kept only for backward compatibility. @@ -5053,7 +5053,7 @@ Deprecated: This field is deprecated, kept only for backward compatibility. ### .spec.syncmasters.probes.readinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L254) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L254) ReadinessProbeDisabled override flag for probe disabled in good manner (lowercase) with backward compatibility @@ -5061,7 +5061,7 @@ ReadinessProbeDisabled override flag for probe disabled in good manner (lowercas ### .spec.syncmasters.probes.readinessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -5073,7 +5073,7 @@ Default Value: `3` ### .spec.syncmasters.probes.readinessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -5084,7 +5084,7 @@ Default Value: `2` ### .spec.syncmasters.probes.readinessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -5095,7 +5095,7 @@ Default Value: `10` ### .spec.syncmasters.probes.readinessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -5106,7 +5106,7 @@ Default Value: `1` ### .spec.syncmasters.probes.readinessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -5117,7 +5117,7 @@ Default Value: `2` ### .spec.syncmasters.probes.startupProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L259) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L259) StartupProbeDisabled if true startupProbes are disabled @@ -5125,7 +5125,7 @@ StartupProbeDisabled if true startupProbes are disabled ### .spec.syncmasters.probes.startupProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -5137,7 +5137,7 @@ Default Value: `3` ### .spec.syncmasters.probes.startupProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -5148,7 +5148,7 @@ Default Value: `2` ### .spec.syncmasters.probes.startupProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -5159,7 +5159,7 @@ Default Value: `10` ### .spec.syncmasters.probes.startupProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -5170,7 +5170,7 @@ Default Value: `1` ### .spec.syncmasters.probes.startupProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -5181,7 +5181,7 @@ Default Value: `2` ### .spec.syncmasters.pvcResizeMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L170) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L170) VolumeResizeMode specified resize mode for PVCs and PVs @@ -5193,7 +5193,7 @@ Possible Values: ### .spec.syncmasters.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L95) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L95) Resources holds resource requests & limits @@ -5204,7 +5204,7 @@ Links: ### .spec.syncmasters.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L89) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L89) SchedulerName define scheduler name used for group @@ -5212,7 +5212,7 @@ SchedulerName define scheduler name used for group ### .spec.syncmasters.securityContext.addCapabilities -Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) +Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) AddCapabilities add new capabilities to containers @@ -5220,7 +5220,7 @@ AddCapabilities add new capabilities to containers ### .spec.syncmasters.securityContext.allowPrivilegeEscalation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process. @@ -5228,7 +5228,7 @@ AllowPrivilegeEscalation Controls whether a process can gain more privileges tha ### .spec.syncmasters.securityContext.dropAllCapabilities -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0. @@ -5237,7 +5237,7 @@ Deprecated: This field is added for backward compatibility. Will be removed in 1 ### .spec.syncmasters.securityContext.fsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) FSGroup is a special supplemental group that applies to all containers in a pod. @@ -5245,7 +5245,7 @@ FSGroup is a special supplemental group that applies to all containers in a pod. ### .spec.syncmasters.securityContext.privileged -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. @@ -5254,7 +5254,7 @@ essentially equivalent to root on the host. ### .spec.syncmasters.securityContext.readOnlyRootFilesystem -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only. @@ -5262,7 +5262,7 @@ ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-o ### .spec.syncmasters.securityContext.runAsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) RunAsGroup is the GID to run the entrypoint of the container process. @@ -5270,7 +5270,7 @@ RunAsGroup is the GID to run the entrypoint of the container process. ### .spec.syncmasters.securityContext.runAsNonRoot -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) RunAsNonRoot if true, indicates that the container must run as a non-root user. @@ -5278,7 +5278,7 @@ RunAsNonRoot if true, indicates that the container must run as a non-root user. ### .spec.syncmasters.securityContext.runAsUser -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) RunAsUser is the UID to run the entrypoint of the container process. @@ -5286,7 +5286,7 @@ RunAsUser is the UID to run the entrypoint of the container process. ### .spec.syncmasters.securityContext.seccompProfile -Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) +Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. @@ -5297,7 +5297,7 @@ Links: ### .spec.syncmasters.securityContext.seLinuxOptions -Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) +Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) SELinuxOptions are the labels to be applied to the container @@ -5308,7 +5308,7 @@ Links: ### .spec.syncmasters.securityContext.supplementalGroups -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. @@ -5317,7 +5317,7 @@ the fsGroup (if specified), and group memberships defined in the container image ### .spec.syncmasters.securityContext.sysctls -Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) +Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. @@ -5338,7 +5338,7 @@ sysctls: ### .spec.syncmasters.serviceAccountName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L146) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L146) ServiceAccountName setting specifies the `serviceAccountName` for the `Pods` created for each server of this group. If empty, it defaults to using the @@ -5353,7 +5353,7 @@ to that service account. ### .spec.syncmasters.shutdownDelay -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L211) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L211) ShutdownDelay define how long operator should delay finalizer removal after shutdown @@ -5361,7 +5361,7 @@ ShutdownDelay define how long operator should delay finalizer removal after shut ### .spec.syncmasters.shutdownMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L209) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L209) ShutdownMethod describe procedure of member shutdown taken by Operator @@ -5369,7 +5369,7 @@ ShutdownMethod describe procedure of member shutdown taken by Operator ### .spec.syncmasters.sidecarCoreNames -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L187) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L187) SidecarCoreNames is a list of sidecar containers which must run in the pod. Some names (e.g.: "server", "worker") are reserved, and they don't have any impact. @@ -5378,7 +5378,7 @@ Some names (e.g.: "server", "worker") are reserved, and they don't have any impa ### .spec.syncmasters.sidecars -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L191) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L191) Sidecars specifies a list of additional containers to be started @@ -5389,7 +5389,7 @@ Links: ### .spec.syncmasters.storageClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L91) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L91) StorageClassName specifies the classname for storage of the servers. @@ -5397,7 +5397,7 @@ StorageClassName specifies the classname for storage of the servers. ### .spec.syncmasters.terminationGracePeriodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L224) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L224) TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for pods - via silent rotation @@ -5405,7 +5405,7 @@ TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for ### .spec.syncmasters.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L122) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L122) Tolerations specifies the tolerations added to Pods in this group. By default, suitable tolerations are set for the following keys with the `NoExecute` effect: @@ -5421,7 +5421,7 @@ Links: ### .spec.syncmasters.volumeAllowShrink -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L172) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L172) Deprecated: VolumeAllowShrink allows shrink the volume @@ -5429,7 +5429,7 @@ Deprecated: VolumeAllowShrink allows shrink the volume ### .spec.syncmasters.volumeClaimTemplate -Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L165) +Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L165) VolumeClaimTemplate specifies a volumeClaimTemplate used by operator to create to volume claims for pods of this group. This setting is not available for group `coordinators`, `syncmasters` & `syncworkers`. @@ -5445,7 +5445,7 @@ Links: ### .spec.syncmasters.volumeMounts -Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L201) +Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L201) VolumeMounts define list of volume mounts mounted into server container @@ -5456,7 +5456,7 @@ Links: ### .spec.syncmasters.volumes\[int\].configMap -Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L138) +Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L138) ConfigMap which should be mounted into pod @@ -5467,7 +5467,7 @@ Links: ### .spec.syncmasters.volumes\[int\].emptyDir -Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L143) +Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L143) EmptyDir @@ -5478,7 +5478,7 @@ Links: ### .spec.syncmasters.volumes\[int\].hostPath -Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L148) +Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L148) HostPath @@ -5489,7 +5489,7 @@ Links: ### .spec.syncmasters.volumes\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L128) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L128) Name of volume @@ -5497,7 +5497,7 @@ Name of volume ### .spec.syncmasters.volumes\[int\].persistentVolumeClaim -Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L153) +Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L153) PersistentVolumeClaim @@ -5508,7 +5508,7 @@ Links: ### .spec.syncmasters.volumes\[int\].secret -Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L133) +Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L133) Secret which should be mounted into pod @@ -5519,7 +5519,7 @@ Links: ### .spec.syncworkers.affinity -Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L180) +Type: `core.PodAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L180) Affinity specified additional affinity settings in ArangoDB Pod definitions @@ -5530,7 +5530,7 @@ Links: ### .spec.syncworkers.allowMemberRecreation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L222) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L222) AllowMemberRecreation allows to recreate member. This setting changes the member recreation logic based on group: @@ -5541,7 +5541,7 @@ This setting changes the member recreation logic based on group: ### .spec.syncworkers.annotations -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L125) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L125) Annotations specified the annotations added to Pods in this group. Annotations are merged with `spec.annotations`. @@ -5550,7 +5550,7 @@ Annotations are merged with `spec.annotations`. ### .spec.syncworkers.annotationsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L127) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L127) AnnotationsIgnoreList list regexp or plain definitions which annotations should be ignored @@ -5558,7 +5558,7 @@ AnnotationsIgnoreList list regexp or plain definitions which annotations should ### .spec.syncworkers.annotationsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L129) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L129) AnnotationsMode Define annotations mode which should be use while overriding annotations @@ -5566,7 +5566,7 @@ AnnotationsMode Define annotations mode which should be use while overriding ann ### .spec.syncworkers.antiAffinity -Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L176) +Type: `core.PodAntiAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L176) AntiAffinity specified additional antiAffinity settings in ArangoDB Pod definitions @@ -5577,7 +5577,7 @@ Links: ### .spec.syncworkers.args -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L85) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L85) Args setting specifies additional command-line arguments passed to all servers of this group. @@ -5587,7 +5587,7 @@ Default Value: `[]` ### .spec.syncworkers.count -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L77) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L77) Count setting specifies the number of servers to start for the given group. For the Agent group, this value must be a positive, odd number. @@ -5600,7 +5600,7 @@ as for the `dbservers` group. ### .spec.syncworkers.entrypoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L87) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L87) Entrypoint overrides container executable @@ -5608,19 +5608,19 @@ Entrypoint overrides container executable ### .spec.syncworkers.envs\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L26) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_env_var.go#L26) *** ### .spec.syncworkers.envs\[int\].value -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_env_var.go#L27) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_env_var.go#L27) *** ### .spec.syncworkers.ephemeralVolumes.apps.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -5631,7 +5631,7 @@ Links: ### .spec.syncworkers.ephemeralVolumes.temp.size -Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) +Type: `resource.Quantity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_ephemeral_volumes.go#L64) Size define size of the ephemeral volume @@ -5642,7 +5642,7 @@ Links: ### .spec.syncworkers.exporterPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L235) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L235) ExporterPort define Port used by exporter @@ -5650,7 +5650,7 @@ ExporterPort define Port used by exporter ### .spec.syncworkers.extendedRotationCheck -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L205) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L205) ExtendedRotationCheck extend checks for rotation @@ -5658,7 +5658,7 @@ ExtendedRotationCheck extend checks for rotation ### .spec.syncworkers.externalPortEnabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L217) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L217) ExternalPortEnabled if external port should be enabled. If is set to false, ports needs to be exposed via sidecar. Only for ArangoD members @@ -5666,7 +5666,7 @@ ExternalPortEnabled if external port should be enabled. If is set to false, port ### .spec.syncworkers.indexMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L228) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L228) IndexMethod define group Indexing method @@ -5678,7 +5678,7 @@ Possible Values: ### .spec.syncworkers.initContainers.containers -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L91) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_init_containers.go#L91) Containers contains list of containers @@ -5689,7 +5689,7 @@ Links: ### .spec.syncworkers.initContainers.mode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_init_containers.go#L94) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_init_containers.go#L94) Mode keep container replace mode @@ -5697,7 +5697,7 @@ Mode keep container replace mode ### .spec.syncworkers.internalPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L213) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L213) InternalPort define port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -5705,7 +5705,7 @@ InternalPort define port used in internal communication, can be accessed over lo ### .spec.syncworkers.internalPortProtocol -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L215) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L215) InternalPortProtocol define protocol of port used in internal communication, can be accessed over localhost via sidecar. Only for ArangoD members @@ -5713,7 +5713,7 @@ InternalPortProtocol define protocol of port used in internal communication, can ### .spec.syncworkers.labels -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L131) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L131) Labels specified the labels added to Pods in this group. @@ -5721,7 +5721,7 @@ Labels specified the labels added to Pods in this group. ### .spec.syncworkers.labelsIgnoreList -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L133) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L133) LabelsIgnoreList list regexp or plain definitions which labels should be ignored @@ -5729,7 +5729,7 @@ LabelsIgnoreList list regexp or plain definitions which labels should be ignored ### .spec.syncworkers.labelsMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L135) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L135) LabelsMode Define labels mode which should be use while overriding labels @@ -5737,7 +5737,7 @@ LabelsMode Define labels mode which should be use while overriding labels ### .spec.syncworkers.maxCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L81) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L81) MaxCount specifies a maximum for the count of servers. If set, a specification is invalid if `count > maxCount`. @@ -5745,7 +5745,7 @@ MaxCount specifies a maximum for the count of servers. If set, a specification i ### .spec.syncworkers.memoryReservation -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L107) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L107) MemoryReservation determines the system reservation of memory while calculating `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` value. If this field is set, `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` is reduced by a specified value in percent. @@ -5760,7 +5760,7 @@ Default Value: `0` ### .spec.syncworkers.minCount -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L79) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L79) MinCount specifies a minimum for the count of servers. If set, a specification is invalid if `count < minCount`. @@ -5768,7 +5768,7 @@ MinCount specifies a minimum for the count of servers. If set, a specification i ### .spec.syncworkers.nodeAffinity -Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L184) +Type: `core.NodeAffinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L184) NodeAffinity specified additional nodeAffinity settings in ArangoDB Pod definitions @@ -5779,7 +5779,7 @@ Links: ### .spec.syncworkers.nodeSelector -Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L150) +Type: `map[string]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L150) NodeSelector setting specifies a set of labels to be used as `nodeSelector` for Pods of this node. @@ -5790,7 +5790,7 @@ Links: ### .spec.syncworkers.numactl.args -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_numactl_spec.go#L38) Args define list of the numactl process @@ -5800,7 +5800,7 @@ Default Value: `[]` ### .spec.syncworkers.numactl.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_numactl_spec.go#L30) Enabled define if numactl should be enabled @@ -5810,7 +5810,7 @@ Default Value: `false` ### .spec.syncworkers.numactl.path -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_numactl_spec.go#L34) Path define numactl path within the container @@ -5820,7 +5820,7 @@ Default Value: `/usr/bin/numactl` ### .spec.syncworkers.overrideDetectedNumberOfCores -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L113) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L113) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_NUMBER_OF_CORES` Container Environment Variable @@ -5836,7 +5836,7 @@ Default Value: `true` ### .spec.syncworkers.overrideDetectedTotalMemory -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L101) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L101) **Important**: Values set by this feature override user-provided `ARANGODB_OVERRIDE_DETECTED_TOTAL_MEMORY` Container Environment Variable @@ -5852,19 +5852,19 @@ Default Value: `true` ### .spec.syncworkers.podModes.network -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L31) *** ### .spec.syncworkers.podModes.pid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec_pod_modes.go#L32) *** ### .spec.syncworkers.port -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L233) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L233) Port define Port used by member @@ -5872,7 +5872,7 @@ Port define Port used by member ### .spec.syncworkers.priorityClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L156) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L156) PriorityClassName specifies a priority class name Will be forwarded to the pod spec. @@ -5884,7 +5884,7 @@ Links: ### .spec.syncworkers.probes.livenessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L245) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L245) LivenessProbeDisabled if set to true, the operator does not generate a liveness probe for new pods belonging to this group @@ -5894,7 +5894,7 @@ Default Value: `false` ### .spec.syncworkers.probes.livenessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -5906,7 +5906,7 @@ Default Value: `3` ### .spec.syncworkers.probes.livenessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -5917,7 +5917,7 @@ Default Value: `2` ### .spec.syncworkers.probes.livenessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -5928,7 +5928,7 @@ Default Value: `10` ### .spec.syncworkers.probes.livenessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -5939,7 +5939,7 @@ Default Value: `1` ### .spec.syncworkers.probes.livenessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -5950,7 +5950,7 @@ Default Value: `2` ### .spec.syncworkers.probes.ReadinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L252) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L252) OldReadinessProbeDisabled if true readinessProbes are disabled Deprecated: This field is deprecated, kept only for backward compatibility. @@ -5959,7 +5959,7 @@ Deprecated: This field is deprecated, kept only for backward compatibility. ### .spec.syncworkers.probes.readinessProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L254) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L254) ReadinessProbeDisabled override flag for probe disabled in good manner (lowercase) with backward compatibility @@ -5967,7 +5967,7 @@ ReadinessProbeDisabled override flag for probe disabled in good manner (lowercas ### .spec.syncworkers.probes.readinessProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -5979,7 +5979,7 @@ Default Value: `3` ### .spec.syncworkers.probes.readinessProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -5990,7 +5990,7 @@ Default Value: `2` ### .spec.syncworkers.probes.readinessProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -6001,7 +6001,7 @@ Default Value: `10` ### .spec.syncworkers.probes.readinessProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -6012,7 +6012,7 @@ Default Value: `1` ### .spec.syncworkers.probes.readinessProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -6023,7 +6023,7 @@ Default Value: `2` ### .spec.syncworkers.probes.startupProbeDisabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L259) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L259) StartupProbeDisabled if true startupProbes are disabled @@ -6031,7 +6031,7 @@ StartupProbeDisabled if true startupProbes are disabled ### .spec.syncworkers.probes.startupProbeSpec.failureThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L295) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L295) FailureThreshold when a Pod starts and the probe fails, Kubernetes will try failureThreshold times before giving up. Giving up means restarting the container. @@ -6043,7 +6043,7 @@ Default Value: `3` ### .spec.syncworkers.probes.startupProbeSpec.initialDelaySeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L278) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L278) InitialDelaySeconds specifies number of seconds after the container has started before liveness or readiness probes are initiated. Minimum value is 0. @@ -6054,7 +6054,7 @@ Default Value: `2` ### .spec.syncworkers.probes.startupProbeSpec.periodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L282) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L282) PeriodSeconds How often (in seconds) to perform the probe. Minimum value is 1. @@ -6065,7 +6065,7 @@ Default Value: `10` ### .spec.syncworkers.probes.startupProbeSpec.successThreshold -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L290) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L290) SuccessThreshold Minimum consecutive successes for the probe to be considered successful after having failed. Minimum value is 1. @@ -6076,7 +6076,7 @@ Default Value: `1` ### .spec.syncworkers.probes.startupProbeSpec.timeoutSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L286) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L286) TimeoutSeconds specifies number of seconds after which the probe times out Minimum value is 1. @@ -6087,7 +6087,7 @@ Default Value: `2` ### .spec.syncworkers.pvcResizeMode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L170) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L170) VolumeResizeMode specified resize mode for PVCs and PVs @@ -6099,7 +6099,7 @@ Possible Values: ### .spec.syncworkers.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L95) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L95) Resources holds resource requests & limits @@ -6110,7 +6110,7 @@ Links: ### .spec.syncworkers.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L89) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L89) SchedulerName define scheduler name used for group @@ -6118,7 +6118,7 @@ SchedulerName define scheduler name used for group ### .spec.syncworkers.securityContext.addCapabilities -Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) +Type: `[]core.Capability` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L41) AddCapabilities add new capabilities to containers @@ -6126,7 +6126,7 @@ AddCapabilities add new capabilities to containers ### .spec.syncworkers.securityContext.allowPrivilegeEscalation -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L44) AllowPrivilegeEscalation Controls whether a process can gain more privileges than its parent process. @@ -6134,7 +6134,7 @@ AllowPrivilegeEscalation Controls whether a process can gain more privileges tha ### .spec.syncworkers.securityContext.dropAllCapabilities -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L38) DropAllCapabilities specifies if capabilities should be dropped for this pod containers Deprecated: This field is added for backward compatibility. Will be removed in 1.1.0. @@ -6143,7 +6143,7 @@ Deprecated: This field is added for backward compatibility. Will be removed in 1 ### .spec.syncworkers.securityContext.fsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L61) FSGroup is a special supplemental group that applies to all containers in a pod. @@ -6151,7 +6151,7 @@ FSGroup is a special supplemental group that applies to all containers in a pod. ### .spec.syncworkers.securityContext.privileged -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L47) Privileged If true, runs container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. @@ -6160,7 +6160,7 @@ essentially equivalent to root on the host. ### .spec.syncworkers.securityContext.readOnlyRootFilesystem -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L49) ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-only. @@ -6168,7 +6168,7 @@ ReadOnlyRootFilesystem if true, mounts the container's root filesystem as read-o ### .spec.syncworkers.securityContext.runAsGroup -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L55) RunAsGroup is the GID to run the entrypoint of the container process. @@ -6176,7 +6176,7 @@ RunAsGroup is the GID to run the entrypoint of the container process. ### .spec.syncworkers.securityContext.runAsNonRoot -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L51) RunAsNonRoot if true, indicates that the container must run as a non-root user. @@ -6184,7 +6184,7 @@ RunAsNonRoot if true, indicates that the container must run as a non-root user. ### .spec.syncworkers.securityContext.runAsUser -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L53) RunAsUser is the UID to run the entrypoint of the container process. @@ -6192,7 +6192,7 @@ RunAsUser is the UID to run the entrypoint of the container process. ### .spec.syncworkers.securityContext.seccompProfile -Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) +Type: `core.SeccompProfile` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L77) SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set. @@ -6203,7 +6203,7 @@ Links: ### .spec.syncworkers.securityContext.seLinuxOptions -Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) +Type: `core.SELinuxOptions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L82) SELinuxOptions are the labels to be applied to the container @@ -6214,7 +6214,7 @@ Links: ### .spec.syncworkers.securityContext.supplementalGroups -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L59) SupplementalGroups is a list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. @@ -6223,7 +6223,7 @@ the fsGroup (if specified), and group memberships defined in the container image ### .spec.syncworkers.securityContext.sysctls -Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) +Type: `map[string]intstr.IntOrString` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_security_context_spec.go#L72) Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. @@ -6244,7 +6244,7 @@ sysctls: ### .spec.syncworkers.serviceAccountName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L146) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L146) ServiceAccountName setting specifies the `serviceAccountName` for the `Pods` created for each server of this group. If empty, it defaults to using the @@ -6259,7 +6259,7 @@ to that service account. ### .spec.syncworkers.shutdownDelay -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L211) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L211) ShutdownDelay define how long operator should delay finalizer removal after shutdown @@ -6267,7 +6267,7 @@ ShutdownDelay define how long operator should delay finalizer removal after shut ### .spec.syncworkers.shutdownMethod -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L209) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L209) ShutdownMethod describe procedure of member shutdown taken by Operator @@ -6275,7 +6275,7 @@ ShutdownMethod describe procedure of member shutdown taken by Operator ### .spec.syncworkers.sidecarCoreNames -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L187) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L187) SidecarCoreNames is a list of sidecar containers which must run in the pod. Some names (e.g.: "server", "worker") are reserved, and they don't have any impact. @@ -6284,7 +6284,7 @@ Some names (e.g.: "server", "worker") are reserved, and they don't have any impa ### .spec.syncworkers.sidecars -Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L191) +Type: `[]core.Container` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L191) Sidecars specifies a list of additional containers to be started @@ -6295,7 +6295,7 @@ Links: ### .spec.syncworkers.storageClassName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L91) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L91) StorageClassName specifies the classname for storage of the servers. @@ -6303,7 +6303,7 @@ StorageClassName specifies the classname for storage of the servers. ### .spec.syncworkers.terminationGracePeriodSeconds -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L224) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L224) TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for pods - via silent rotation @@ -6311,7 +6311,7 @@ TerminationGracePeriodSeconds override default TerminationGracePeriodSeconds for ### .spec.syncworkers.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L122) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L122) Tolerations specifies the tolerations added to Pods in this group. By default, suitable tolerations are set for the following keys with the `NoExecute` effect: @@ -6327,7 +6327,7 @@ Links: ### .spec.syncworkers.volumeAllowShrink -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L172) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L172) Deprecated: VolumeAllowShrink allows shrink the volume @@ -6335,7 +6335,7 @@ Deprecated: VolumeAllowShrink allows shrink the volume ### .spec.syncworkers.volumeClaimTemplate -Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L165) +Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L165) VolumeClaimTemplate specifies a volumeClaimTemplate used by operator to create to volume claims for pods of this group. This setting is not available for group `coordinators`, `syncmasters` & `syncworkers`. @@ -6351,7 +6351,7 @@ Links: ### .spec.syncworkers.volumeMounts -Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_spec.go#L201) +Type: `[]ServerGroupSpecVolumeMount` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_spec.go#L201) VolumeMounts define list of volume mounts mounted into server container @@ -6362,7 +6362,7 @@ Links: ### .spec.syncworkers.volumes\[int\].configMap -Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L138) +Type: `core.ConfigMapVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L138) ConfigMap which should be mounted into pod @@ -6373,7 +6373,7 @@ Links: ### .spec.syncworkers.volumes\[int\].emptyDir -Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L143) +Type: `core.EmptyDirVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L143) EmptyDir @@ -6384,7 +6384,7 @@ Links: ### .spec.syncworkers.volumes\[int\].hostPath -Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L148) +Type: `core.HostPathVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L148) HostPath @@ -6395,7 +6395,7 @@ Links: ### .spec.syncworkers.volumes\[int\].name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L128) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L128) Name of volume @@ -6403,7 +6403,7 @@ Name of volume ### .spec.syncworkers.volumes\[int\].persistentVolumeClaim -Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L153) +Type: `core.PersistentVolumeClaimVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L153) PersistentVolumeClaim @@ -6414,7 +6414,7 @@ Links: ### .spec.syncworkers.volumes\[int\].secret -Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/server_group_volume.go#L133) +Type: `core.SecretVolumeSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/server_group_volume.go#L133) Secret which should be mounted into pod @@ -6425,7 +6425,7 @@ Links: ### .spec.timeouts.actions -Type: `map[string]meta.Duration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/timeouts.go#L44) +Type: `map[string]meta.Duration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/timeouts.go#L44) Actions keep map of the actions timeouts. @@ -6443,7 +6443,7 @@ actions: ### .spec.timeouts.maintenanceGracePeriod -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/timeouts.go#L36) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/timeouts.go#L36) MaintenanceGracePeriod action timeout @@ -6451,7 +6451,7 @@ MaintenanceGracePeriod action timeout ### .spec.timezone -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_spec.go#L258) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_spec.go#L258) Timezone if specified, will set a timezone for deployment. Must be in format accepted by "tzdata", e.g. `America/New_York` or `Europe/London` @@ -6460,7 +6460,7 @@ Must be in format accepted by "tzdata", e.g. `America/New_York` or `Europe/Londo ### .spec.tls.altNames -Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/tls_spec.go#L72) +Type: `[]string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/tls_spec.go#L72) AltNames setting specifies a list of alternate names that will be added to all generated certificates. These names can be DNS names or email addresses. @@ -6470,7 +6470,7 @@ The default value is empty. ### .spec.tls.caSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/tls_spec.go#L67) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/tls_spec.go#L67) CASecretName setting specifies the name of a kubernetes `Secret` that contains a standard CA certificate + private key used to sign certificates for individual @@ -6487,19 +6487,19 @@ The specified `Secret`, must contain the following data fields: ### .spec.tls.mode -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/tls_spec.go#L81) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/tls_spec.go#L81) *** ### .spec.tls.sni.mapping.\ -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/tls_sni_spec.go#L30) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/tls_sni_spec.go#L30) *** ### .spec.tls.ttl -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/tls_spec.go#L79) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/tls_spec.go#L79) TTL setting specifies the time to live of all generated server certificates. When the server certificate is about to expire, it will be automatically replaced @@ -6513,25 +6513,25 @@ Default Value: `"2160h" (about 3 months)` ### .spec.topology.enabled -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/topology_spec.go#L26) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/topology_spec.go#L26) *** ### .spec.topology.label -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/topology_spec.go#L28) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/topology_spec.go#L28) *** ### .spec.topology.zones -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/topology_spec.go#L27) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/topology_spec.go#L27) *** ### .spec.upgrade.autoUpgrade -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_upgrade_spec.go#L26) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_upgrade_spec.go#L26) AutoUpgrade flag specifies if upgrade should be auto-injected, even if is not required (in case of stuck) @@ -6541,7 +6541,7 @@ Default Value: `false` ### .spec.upgrade.debugLog -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/deployment_upgrade_spec.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/deployment_upgrade_spec.go#L30) DebugLog flag specifies if containers running upgrade process should print more debugging information. This applies only to init containers. diff --git a/docs/api/ArangoDeploymentReplication.V1.md b/docs/api/ArangoDeploymentReplication.V1.md index 2b776705a..914158971 100644 --- a/docs/api/ArangoDeploymentReplication.V1.md +++ b/docs/api/ArangoDeploymentReplication.V1.md @@ -10,7 +10,7 @@ title: ArangoDeploymentReplication V1 ### .spec.cancellation.ensureInSync -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/replication_spec.go#L38) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/replication/v1/replication_spec.go#L38) EnsureInSync if it is true then during cancellation process data consistency is required. Default value is true. @@ -19,7 +19,7 @@ Default value is true. ### .spec.cancellation.sourceReadOnly -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/replication_spec.go#L41) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/replication/v1/replication_spec.go#L41) SourceReadOnly if it true then after cancellation source data center should be in read-only mode. Default value is false. @@ -28,7 +28,7 @@ Default value is false. ### .spec.destination.auth.keyfileSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/endpoint_authentication_spec.go#L37) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/replication/v1/endpoint_authentication_spec.go#L37) KeyfileSecretName holds the name of a Secret containing a client authentication certificate formatted at keyfile in a `tls.keyfile` field. @@ -40,7 +40,7 @@ the synchronization and fetch the synchronization status. ### .spec.destination.auth.userSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/endpoint_authentication_spec.go#L42) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/replication/v1/endpoint_authentication_spec.go#L42) UserSecretName holds the name of a Secret containing a `username` & `password` field used for basic authentication. @@ -51,7 +51,7 @@ of the ArangoDB cluster at the endpoint. ### .spec.destination.deploymentName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/endpoint_spec.go#L36) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/replication/v1/endpoint_spec.go#L36) DeploymentName holds the name of an ArangoDeployment resource. If set, this provides default values for masterEndpoint, auth & tls. @@ -60,7 +60,7 @@ If set, this provides default values for masterEndpoint, auth & tls. ### .spec.destination.masterEndpoint -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/endpoint_spec.go#L42) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/replication/v1/endpoint_spec.go#L42) MasterEndpoint holds a list of URLs used to reach the syncmaster(s) Use this setting if the source cluster is not running inside a Kubernetes cluster @@ -73,7 +73,7 @@ Default Value: `[]` ### .spec.destination.tls.caSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/endpoint_tls_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/replication/v1/endpoint_tls_spec.go#L34) CASecretName holds the name of a Secret containing a ca.crt public key for TLS validation. This setting is required, unless `deploymentName` has been set. @@ -82,7 +82,7 @@ This setting is required, unless `deploymentName` has been set. ### .spec.source.auth.keyfileSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/endpoint_authentication_spec.go#L37) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/replication/v1/endpoint_authentication_spec.go#L37) KeyfileSecretName holds the name of a Secret containing a client authentication certificate formatted at keyfile in a `tls.keyfile` field. @@ -94,7 +94,7 @@ the synchronization and fetch the synchronization status. ### .spec.source.auth.userSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/endpoint_authentication_spec.go#L42) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/replication/v1/endpoint_authentication_spec.go#L42) UserSecretName holds the name of a Secret containing a `username` & `password` field used for basic authentication. @@ -105,7 +105,7 @@ of the ArangoDB cluster at the endpoint. ### .spec.source.deploymentName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/endpoint_spec.go#L36) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/replication/v1/endpoint_spec.go#L36) DeploymentName holds the name of an ArangoDeployment resource. If set, this provides default values for masterEndpoint, auth & tls. @@ -114,7 +114,7 @@ If set, this provides default values for masterEndpoint, auth & tls. ### .spec.source.masterEndpoint -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/endpoint_spec.go#L42) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/replication/v1/endpoint_spec.go#L42) MasterEndpoint holds a list of URLs used to reach the syncmaster(s) Use this setting if the source cluster is not running inside a Kubernetes cluster @@ -127,7 +127,7 @@ Default Value: `[]` ### .spec.source.tls.caSecretName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/replication/v1/endpoint_tls_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/replication/v1/endpoint_tls_spec.go#L34) CASecretName holds the name of a Secret containing a ca.crt public key for TLS validation. This setting is required, unless `deploymentName` has been set. diff --git a/docs/api/ArangoJob.V1.md b/docs/api/ArangoJob.V1.md index 947463c41..6ecca2322 100644 --- a/docs/api/ArangoJob.V1.md +++ b/docs/api/ArangoJob.V1.md @@ -10,7 +10,7 @@ title: ArangoJob V1 ### .spec.arangoDeploymentName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/apps/v1/job_spec.go#L27) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/apps/v1/job_spec.go#L27) ArangoDeploymentName holds the name of ArangoDeployment @@ -18,7 +18,7 @@ ArangoDeploymentName holds the name of ArangoDeployment ### .spec.jobTemplate -Type: `batch.JobSpec` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/apps/v1/job_spec.go#L33) +Type: `batch.JobSpec` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/apps/v1/job_spec.go#L33) JobTemplate holds the Kubernetes Job Template diff --git a/docs/api/ArangoLocalStorage.V1Alpha.md b/docs/api/ArangoLocalStorage.V1Alpha.md index 4d6bdaa0d..21490724a 100644 --- a/docs/api/ArangoLocalStorage.V1Alpha.md +++ b/docs/api/ArangoLocalStorage.V1Alpha.md @@ -10,7 +10,7 @@ title: ArangoLocalStorage V1Alpha ### .spec.localPath -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/storage/v1alpha/local_storage_spec.go#L36) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/storage/v1alpha/local_storage_spec.go#L36) LocalPath setting specifies one or more local directories (on the nodes) used to create persistent volumes in. @@ -18,7 +18,7 @@ LocalPath setting specifies one or more local directories (on the nodes) used to ### .spec.nodeSelector -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/storage/v1alpha/local_storage_spec.go#L43) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/storage/v1alpha/local_storage_spec.go#L43) NodeSelector setting specifies which nodes the operator will provision persistent volumes on. @@ -26,7 +26,7 @@ NodeSelector setting specifies which nodes the operator will provision persisten ### .spec.podCustomization.priority -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/storage/v1alpha/local_storage_pod_customization.go#L25) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/storage/v1alpha/local_storage_pod_customization.go#L25) Priority if defined, sets the priority for pods of storage provisioner @@ -34,7 +34,7 @@ Priority if defined, sets the priority for pods of storage provisioner ### .spec.privileged -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/storage/v1alpha/local_storage_spec.go#L45) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/storage/v1alpha/local_storage_spec.go#L45) Privileged if set, passes Privileged flag to SecurityContext for pods of storage provisioner @@ -42,7 +42,7 @@ Privileged if set, passes Privileged flag to SecurityContext for pods of storage ### .spec.storageClass.isDefault -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/storage/v1alpha/storage_class_spec.go#L42) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/storage/v1alpha/storage_class_spec.go#L42) IsDefault setting specifies if the created `StorageClass` will be marked as default storage class. @@ -53,7 +53,7 @@ Default Value: `false` ### .spec.storageClass.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/storage/v1alpha/storage_class_spec.go#L38) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/storage/v1alpha/storage_class_spec.go#L38) Name setting specifies the name of the storage class that created `PersistentVolume` will use. @@ -66,7 +66,7 @@ Default Value: `""` ### .spec.storageClass.reclaimPolicy -Type: `core.PersistentVolumeReclaimPolicy` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/storage/v1alpha/storage_class_spec.go#L46) +Type: `core.PersistentVolumeReclaimPolicy` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/storage/v1alpha/storage_class_spec.go#L46) ReclaimPolicy defines what happens to a persistent volume when released from its claim. @@ -77,7 +77,7 @@ Links: ### .spec.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/storage/v1alpha/local_storage_spec.go#L41) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/storage/v1alpha/local_storage_spec.go#L41) Tolerations specifies the tolerations added to pods of storage provisioner diff --git a/docs/api/ArangoMLBatchJob.V1Alpha1.md b/docs/api/ArangoMLBatchJob.V1Alpha1.md index 05adcee37..74c9611c8 100644 --- a/docs/api/ArangoMLBatchJob.V1Alpha1.md +++ b/docs/api/ArangoMLBatchJob.V1Alpha1.md @@ -10,7 +10,7 @@ title: ArangoMLBatchJob V1Alpha1 ### .spec -Type: `batch.Job` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/batchjob_spec.go#L33) +Type: `batch.Job` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/batchjob_spec.go#L33) Links: * [Kubernetes Documentation](https://godoc.org/k8s.io/api/batch/v1#JobSpec) @@ -19,7 +19,7 @@ Links: ### .status -Type: `batch.JobStatus` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/batchjob_status.go#L37) +Type: `batch.JobStatus` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/batchjob_status.go#L37) Links: * [Kubernetes Documentation](https://godoc.org/k8s.io/api/batch/v1#JobStatus) @@ -28,7 +28,7 @@ Links: ### .status.mlConditions -Type: `api.MLConditions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/batchjob_status.go#L33) +Type: `api.MLConditions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/batchjob_status.go#L33) MLConditions specific to the entire batch job @@ -36,7 +36,7 @@ MLConditions specific to the entire batch job ### .status.ref.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -44,7 +44,7 @@ Name of the object ### .status.ref.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -52,7 +52,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.ref.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID diff --git a/docs/api/ArangoMLCronJob.V1Alpha1.md b/docs/api/ArangoMLCronJob.V1Alpha1.md index 451b6ecf8..3a2e2095e 100644 --- a/docs/api/ArangoMLCronJob.V1Alpha1.md +++ b/docs/api/ArangoMLCronJob.V1Alpha1.md @@ -10,7 +10,7 @@ title: ArangoMLCronJob V1Alpha1 ### .spec -Type: `batch.CronJobSpec` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/cronjob_spec.go#L33) +Type: `batch.CronJobSpec` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/cronjob_spec.go#L33) Links: * [Kubernetes Documentation](https://godoc.org/k8s.io/api/batch/v1#CronJobSpec) @@ -19,7 +19,7 @@ Links: ### .status -Type: `batch.CronJobStatus` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/cronjob_status.go#L37) +Type: `batch.CronJobStatus` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/cronjob_status.go#L37) Links: * [Kubernetes Documentation](https://godoc.org/k8s.io/api/batch/v1#CronJobStatus) @@ -28,7 +28,7 @@ Links: ### .status.mlConditions -Type: `api.MLConditions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/cronjob_status.go#L33) +Type: `api.MLConditions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/cronjob_status.go#L33) MLConditions specific to the entire cron job @@ -36,7 +36,7 @@ MLConditions specific to the entire cron job ### .status.ref.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -44,7 +44,7 @@ Name of the object ### .status.ref.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -52,7 +52,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.ref.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID diff --git a/docs/api/ArangoMLExtension.V1Alpha1.md b/docs/api/ArangoMLExtension.V1Alpha1.md index 6b00deb7e..a27c513ad 100644 --- a/docs/api/ArangoMLExtension.V1Alpha1.md +++ b/docs/api/ArangoMLExtension.V1Alpha1.md @@ -10,7 +10,7 @@ title: ArangoMLExtension V1Alpha1 ### .spec.deployment.affinity -Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L37) +Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L37) Affinity defines scheduling constraints for workload @@ -21,7 +21,7 @@ Links: ### .spec.deployment.hostIPC -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L33) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L33) HostIPC defines to use the host's ipc namespace. @@ -31,7 +31,7 @@ Default Value: `false` ### .spec.deployment.hostNetwork -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L27) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L27) HostNetwork requests Host network for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. @@ -42,7 +42,7 @@ Default Value: `false` ### .spec.deployment.hostPID -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L30) HostPID define to use the host's pid namespace. @@ -52,7 +52,7 @@ Default Value: `false` ### .spec.deployment.nodeSelector -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L32) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L32) NodeSelector is a selector that must be true for the workload to fit on a node. @@ -63,7 +63,7 @@ Links: ### .spec.deployment.podSecurityContext -Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_pod.go#L29) +Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/security_pod.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -74,7 +74,7 @@ Links: ### .spec.deployment.prediction.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -85,7 +85,7 @@ Links: ### .spec.deployment.prediction.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -96,7 +96,7 @@ Links: ### .spec.deployment.prediction.gpu -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L31) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L31) GPU defined if GPU Jobs are enabled for component. In use only for ArangoMLExtensionSpecDeploymentComponentPrediction and ArangoMLExtensionSpecDeploymentComponentTraining @@ -106,7 +106,7 @@ Default Value: `false` ### .spec.deployment.prediction.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -114,7 +114,7 @@ Image define image details ### .spec.deployment.prediction.port -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L34) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L34) Port defines on which port the container will be listening for connections @@ -122,7 +122,7 @@ Port defines on which port the container will be listening for connections ### .spec.deployment.prediction.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -132,7 +132,7 @@ Default Value: `IfNotPresent` ### .spec.deployment.prediction.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -140,7 +140,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.deployment.prediction.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -151,7 +151,7 @@ Links: ### .spec.deployment.prediction.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -162,7 +162,7 @@ Links: ### .spec.deployment.project.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -173,7 +173,7 @@ Links: ### .spec.deployment.project.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -184,7 +184,7 @@ Links: ### .spec.deployment.project.gpu -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L31) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L31) GPU defined if GPU Jobs are enabled for component. In use only for ArangoMLExtensionSpecDeploymentComponentPrediction and ArangoMLExtensionSpecDeploymentComponentTraining @@ -194,7 +194,7 @@ Default Value: `false` ### .spec.deployment.project.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -202,7 +202,7 @@ Image define image details ### .spec.deployment.project.port -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L34) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L34) Port defines on which port the container will be listening for connections @@ -210,7 +210,7 @@ Port defines on which port the container will be listening for connections ### .spec.deployment.project.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -220,7 +220,7 @@ Default Value: `IfNotPresent` ### .spec.deployment.project.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -228,7 +228,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.deployment.project.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -239,7 +239,7 @@ Links: ### .spec.deployment.project.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -250,7 +250,7 @@ Links: ### .spec.deployment.replicas -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_spec_deployment.go#L56) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/extension_spec_deployment.go#L56) Replicas defines the number of replicas running specified components. No replicas created if no components are defined. @@ -260,7 +260,7 @@ Default Value: `1` ### .spec.deployment.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L47) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L47) SchedulerName specifies, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. @@ -271,7 +271,7 @@ Default Value: `""` ### .spec.deployment.service.type -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_spec_deployment_service.go#L37) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/extension_spec_deployment_service.go#L37) Type determines how the Service is exposed @@ -288,7 +288,7 @@ Possible Values: ### .spec.deployment.shareProcessNamespace -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L39) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L39) ShareProcessNamespace defines to share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers @@ -301,7 +301,7 @@ Default Value: `false` ### .spec.deployment.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L42) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L42) Tolerations defines tolerations @@ -312,7 +312,7 @@ Links: ### .spec.deployment.training.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -323,7 +323,7 @@ Links: ### .spec.deployment.training.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -334,7 +334,7 @@ Links: ### .spec.deployment.training.gpu -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L31) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L31) GPU defined if GPU Jobs are enabled for component. In use only for ArangoMLExtensionSpecDeploymentComponentPrediction and ArangoMLExtensionSpecDeploymentComponentTraining @@ -344,7 +344,7 @@ Default Value: `false` ### .spec.deployment.training.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -352,7 +352,7 @@ Image define image details ### .spec.deployment.training.port -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L34) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/extension_spec_deployment_component.go#L34) Port defines on which port the container will be listening for connections @@ -360,7 +360,7 @@ Port defines on which port the container will be listening for connections ### .spec.deployment.training.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -370,7 +370,7 @@ Default Value: `IfNotPresent` ### .spec.deployment.training.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -378,7 +378,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.deployment.training.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -389,7 +389,7 @@ Links: ### .spec.deployment.training.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -400,7 +400,7 @@ Links: ### .spec.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -408,7 +408,7 @@ Image define image details ### .spec.init.affinity -Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L37) +Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L37) Affinity defines scheduling constraints for workload @@ -419,7 +419,7 @@ Links: ### .spec.init.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -430,7 +430,7 @@ Links: ### .spec.init.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -441,7 +441,7 @@ Links: ### .spec.init.hostIPC -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L33) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L33) HostIPC defines to use the host's ipc namespace. @@ -451,7 +451,7 @@ Default Value: `false` ### .spec.init.hostNetwork -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L27) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L27) HostNetwork requests Host network for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. @@ -462,7 +462,7 @@ Default Value: `false` ### .spec.init.hostPID -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L30) HostPID define to use the host's pid namespace. @@ -472,7 +472,7 @@ Default Value: `false` ### .spec.init.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -480,7 +480,7 @@ Image define image details ### .spec.init.nodeSelector -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L32) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L32) NodeSelector is a selector that must be true for the workload to fit on a node. @@ -491,7 +491,7 @@ Links: ### .spec.init.podSecurityContext -Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_pod.go#L29) +Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/security_pod.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -502,7 +502,7 @@ Links: ### .spec.init.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -512,7 +512,7 @@ Default Value: `IfNotPresent` ### .spec.init.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -520,7 +520,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.init.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -531,7 +531,7 @@ Links: ### .spec.init.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L47) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L47) SchedulerName specifies, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. @@ -542,7 +542,7 @@ Default Value: `""` ### .spec.init.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -553,7 +553,7 @@ Links: ### .spec.init.shareProcessNamespace -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L39) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L39) ShareProcessNamespace defines to share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers @@ -566,7 +566,7 @@ Default Value: `false` ### .spec.init.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L42) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L42) Tolerations defines tolerations @@ -577,7 +577,7 @@ Links: ### .spec.jobsTemplates.featurization.cpu.affinity -Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L37) +Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L37) Affinity defines scheduling constraints for workload @@ -588,7 +588,7 @@ Links: ### .spec.jobsTemplates.featurization.cpu.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -599,7 +599,7 @@ Links: ### .spec.jobsTemplates.featurization.cpu.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -610,7 +610,7 @@ Links: ### .spec.jobsTemplates.featurization.cpu.hostIPC -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L33) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L33) HostIPC defines to use the host's ipc namespace. @@ -620,7 +620,7 @@ Default Value: `false` ### .spec.jobsTemplates.featurization.cpu.hostNetwork -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L27) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L27) HostNetwork requests Host network for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. @@ -631,7 +631,7 @@ Default Value: `false` ### .spec.jobsTemplates.featurization.cpu.hostPID -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L30) HostPID define to use the host's pid namespace. @@ -641,7 +641,7 @@ Default Value: `false` ### .spec.jobsTemplates.featurization.cpu.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -649,7 +649,7 @@ Image define image details ### .spec.jobsTemplates.featurization.cpu.nodeSelector -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L32) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L32) NodeSelector is a selector that must be true for the workload to fit on a node. @@ -660,7 +660,7 @@ Links: ### .spec.jobsTemplates.featurization.cpu.podSecurityContext -Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_pod.go#L29) +Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/security_pod.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -671,7 +671,7 @@ Links: ### .spec.jobsTemplates.featurization.cpu.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -681,7 +681,7 @@ Default Value: `IfNotPresent` ### .spec.jobsTemplates.featurization.cpu.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -689,7 +689,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.jobsTemplates.featurization.cpu.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -700,7 +700,7 @@ Links: ### .spec.jobsTemplates.featurization.cpu.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L47) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L47) SchedulerName specifies, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. @@ -711,7 +711,7 @@ Default Value: `""` ### .spec.jobsTemplates.featurization.cpu.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -722,7 +722,7 @@ Links: ### .spec.jobsTemplates.featurization.cpu.shareProcessNamespace -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L39) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L39) ShareProcessNamespace defines to share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers @@ -735,7 +735,7 @@ Default Value: `false` ### .spec.jobsTemplates.featurization.cpu.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L42) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L42) Tolerations defines tolerations @@ -746,7 +746,7 @@ Links: ### .spec.jobsTemplates.featurization.gpu.affinity -Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L37) +Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L37) Affinity defines scheduling constraints for workload @@ -757,7 +757,7 @@ Links: ### .spec.jobsTemplates.featurization.gpu.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -768,7 +768,7 @@ Links: ### .spec.jobsTemplates.featurization.gpu.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -779,7 +779,7 @@ Links: ### .spec.jobsTemplates.featurization.gpu.hostIPC -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L33) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L33) HostIPC defines to use the host's ipc namespace. @@ -789,7 +789,7 @@ Default Value: `false` ### .spec.jobsTemplates.featurization.gpu.hostNetwork -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L27) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L27) HostNetwork requests Host network for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. @@ -800,7 +800,7 @@ Default Value: `false` ### .spec.jobsTemplates.featurization.gpu.hostPID -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L30) HostPID define to use the host's pid namespace. @@ -810,7 +810,7 @@ Default Value: `false` ### .spec.jobsTemplates.featurization.gpu.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -818,7 +818,7 @@ Image define image details ### .spec.jobsTemplates.featurization.gpu.nodeSelector -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L32) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L32) NodeSelector is a selector that must be true for the workload to fit on a node. @@ -829,7 +829,7 @@ Links: ### .spec.jobsTemplates.featurization.gpu.podSecurityContext -Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_pod.go#L29) +Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/security_pod.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -840,7 +840,7 @@ Links: ### .spec.jobsTemplates.featurization.gpu.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -850,7 +850,7 @@ Default Value: `IfNotPresent` ### .spec.jobsTemplates.featurization.gpu.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -858,7 +858,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.jobsTemplates.featurization.gpu.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -869,7 +869,7 @@ Links: ### .spec.jobsTemplates.featurization.gpu.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L47) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L47) SchedulerName specifies, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. @@ -880,7 +880,7 @@ Default Value: `""` ### .spec.jobsTemplates.featurization.gpu.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -891,7 +891,7 @@ Links: ### .spec.jobsTemplates.featurization.gpu.shareProcessNamespace -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L39) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L39) ShareProcessNamespace defines to share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers @@ -904,7 +904,7 @@ Default Value: `false` ### .spec.jobsTemplates.featurization.gpu.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L42) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L42) Tolerations defines tolerations @@ -915,7 +915,7 @@ Links: ### .spec.jobsTemplates.prediction.cpu.affinity -Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L37) +Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L37) Affinity defines scheduling constraints for workload @@ -926,7 +926,7 @@ Links: ### .spec.jobsTemplates.prediction.cpu.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -937,7 +937,7 @@ Links: ### .spec.jobsTemplates.prediction.cpu.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -948,7 +948,7 @@ Links: ### .spec.jobsTemplates.prediction.cpu.hostIPC -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L33) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L33) HostIPC defines to use the host's ipc namespace. @@ -958,7 +958,7 @@ Default Value: `false` ### .spec.jobsTemplates.prediction.cpu.hostNetwork -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L27) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L27) HostNetwork requests Host network for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. @@ -969,7 +969,7 @@ Default Value: `false` ### .spec.jobsTemplates.prediction.cpu.hostPID -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L30) HostPID define to use the host's pid namespace. @@ -979,7 +979,7 @@ Default Value: `false` ### .spec.jobsTemplates.prediction.cpu.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -987,7 +987,7 @@ Image define image details ### .spec.jobsTemplates.prediction.cpu.nodeSelector -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L32) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L32) NodeSelector is a selector that must be true for the workload to fit on a node. @@ -998,7 +998,7 @@ Links: ### .spec.jobsTemplates.prediction.cpu.podSecurityContext -Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_pod.go#L29) +Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/security_pod.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -1009,7 +1009,7 @@ Links: ### .spec.jobsTemplates.prediction.cpu.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -1019,7 +1019,7 @@ Default Value: `IfNotPresent` ### .spec.jobsTemplates.prediction.cpu.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -1027,7 +1027,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.jobsTemplates.prediction.cpu.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -1038,7 +1038,7 @@ Links: ### .spec.jobsTemplates.prediction.cpu.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L47) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L47) SchedulerName specifies, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. @@ -1049,7 +1049,7 @@ Default Value: `""` ### .spec.jobsTemplates.prediction.cpu.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -1060,7 +1060,7 @@ Links: ### .spec.jobsTemplates.prediction.cpu.shareProcessNamespace -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L39) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L39) ShareProcessNamespace defines to share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers @@ -1073,7 +1073,7 @@ Default Value: `false` ### .spec.jobsTemplates.prediction.cpu.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L42) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L42) Tolerations defines tolerations @@ -1084,7 +1084,7 @@ Links: ### .spec.jobsTemplates.prediction.gpu.affinity -Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L37) +Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L37) Affinity defines scheduling constraints for workload @@ -1095,7 +1095,7 @@ Links: ### .spec.jobsTemplates.prediction.gpu.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -1106,7 +1106,7 @@ Links: ### .spec.jobsTemplates.prediction.gpu.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -1117,7 +1117,7 @@ Links: ### .spec.jobsTemplates.prediction.gpu.hostIPC -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L33) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L33) HostIPC defines to use the host's ipc namespace. @@ -1127,7 +1127,7 @@ Default Value: `false` ### .spec.jobsTemplates.prediction.gpu.hostNetwork -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L27) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L27) HostNetwork requests Host network for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. @@ -1138,7 +1138,7 @@ Default Value: `false` ### .spec.jobsTemplates.prediction.gpu.hostPID -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L30) HostPID define to use the host's pid namespace. @@ -1148,7 +1148,7 @@ Default Value: `false` ### .spec.jobsTemplates.prediction.gpu.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -1156,7 +1156,7 @@ Image define image details ### .spec.jobsTemplates.prediction.gpu.nodeSelector -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L32) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L32) NodeSelector is a selector that must be true for the workload to fit on a node. @@ -1167,7 +1167,7 @@ Links: ### .spec.jobsTemplates.prediction.gpu.podSecurityContext -Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_pod.go#L29) +Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/security_pod.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -1178,7 +1178,7 @@ Links: ### .spec.jobsTemplates.prediction.gpu.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -1188,7 +1188,7 @@ Default Value: `IfNotPresent` ### .spec.jobsTemplates.prediction.gpu.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -1196,7 +1196,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.jobsTemplates.prediction.gpu.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -1207,7 +1207,7 @@ Links: ### .spec.jobsTemplates.prediction.gpu.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L47) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L47) SchedulerName specifies, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. @@ -1218,7 +1218,7 @@ Default Value: `""` ### .spec.jobsTemplates.prediction.gpu.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -1229,7 +1229,7 @@ Links: ### .spec.jobsTemplates.prediction.gpu.shareProcessNamespace -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L39) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L39) ShareProcessNamespace defines to share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers @@ -1242,7 +1242,7 @@ Default Value: `false` ### .spec.jobsTemplates.prediction.gpu.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L42) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L42) Tolerations defines tolerations @@ -1253,7 +1253,7 @@ Links: ### .spec.jobsTemplates.training.cpu.affinity -Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L37) +Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L37) Affinity defines scheduling constraints for workload @@ -1264,7 +1264,7 @@ Links: ### .spec.jobsTemplates.training.cpu.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -1275,7 +1275,7 @@ Links: ### .spec.jobsTemplates.training.cpu.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -1286,7 +1286,7 @@ Links: ### .spec.jobsTemplates.training.cpu.hostIPC -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L33) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L33) HostIPC defines to use the host's ipc namespace. @@ -1296,7 +1296,7 @@ Default Value: `false` ### .spec.jobsTemplates.training.cpu.hostNetwork -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L27) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L27) HostNetwork requests Host network for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. @@ -1307,7 +1307,7 @@ Default Value: `false` ### .spec.jobsTemplates.training.cpu.hostPID -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L30) HostPID define to use the host's pid namespace. @@ -1317,7 +1317,7 @@ Default Value: `false` ### .spec.jobsTemplates.training.cpu.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -1325,7 +1325,7 @@ Image define image details ### .spec.jobsTemplates.training.cpu.nodeSelector -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L32) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L32) NodeSelector is a selector that must be true for the workload to fit on a node. @@ -1336,7 +1336,7 @@ Links: ### .spec.jobsTemplates.training.cpu.podSecurityContext -Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_pod.go#L29) +Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/security_pod.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -1347,7 +1347,7 @@ Links: ### .spec.jobsTemplates.training.cpu.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -1357,7 +1357,7 @@ Default Value: `IfNotPresent` ### .spec.jobsTemplates.training.cpu.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -1365,7 +1365,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.jobsTemplates.training.cpu.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -1376,7 +1376,7 @@ Links: ### .spec.jobsTemplates.training.cpu.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L47) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L47) SchedulerName specifies, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. @@ -1387,7 +1387,7 @@ Default Value: `""` ### .spec.jobsTemplates.training.cpu.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -1398,7 +1398,7 @@ Links: ### .spec.jobsTemplates.training.cpu.shareProcessNamespace -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L39) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L39) ShareProcessNamespace defines to share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers @@ -1411,7 +1411,7 @@ Default Value: `false` ### .spec.jobsTemplates.training.cpu.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L42) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L42) Tolerations defines tolerations @@ -1422,7 +1422,7 @@ Links: ### .spec.jobsTemplates.training.gpu.affinity -Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L37) +Type: `core.Affinity` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L37) Affinity defines scheduling constraints for workload @@ -1433,7 +1433,7 @@ Links: ### .spec.jobsTemplates.training.gpu.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -1444,7 +1444,7 @@ Links: ### .spec.jobsTemplates.training.gpu.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -1455,7 +1455,7 @@ Links: ### .spec.jobsTemplates.training.gpu.hostIPC -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L33) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L33) HostIPC defines to use the host's ipc namespace. @@ -1465,7 +1465,7 @@ Default Value: `false` ### .spec.jobsTemplates.training.gpu.hostNetwork -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L27) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L27) HostNetwork requests Host network for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. @@ -1476,7 +1476,7 @@ Default Value: `false` ### .spec.jobsTemplates.training.gpu.hostPID -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L30) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L30) HostPID define to use the host's pid namespace. @@ -1486,7 +1486,7 @@ Default Value: `false` ### .spec.jobsTemplates.training.gpu.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -1494,7 +1494,7 @@ Image define image details ### .spec.jobsTemplates.training.gpu.nodeSelector -Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L32) +Type: `object` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L32) NodeSelector is a selector that must be true for the workload to fit on a node. @@ -1505,7 +1505,7 @@ Links: ### .spec.jobsTemplates.training.gpu.podSecurityContext -Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_pod.go#L29) +Type: `core.PodSecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/security_pod.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -1516,7 +1516,7 @@ Links: ### .spec.jobsTemplates.training.gpu.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -1526,7 +1526,7 @@ Default Value: `IfNotPresent` ### .spec.jobsTemplates.training.gpu.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -1534,7 +1534,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.jobsTemplates.training.gpu.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -1545,7 +1545,7 @@ Links: ### .spec.jobsTemplates.training.gpu.schedulerName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L47) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L47) SchedulerName specifies, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. @@ -1556,7 +1556,7 @@ Default Value: `""` ### .spec.jobsTemplates.training.gpu.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -1567,7 +1567,7 @@ Links: ### .spec.jobsTemplates.training.gpu.shareProcessNamespace -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/container_namespace.go#L39) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/container_namespace.go#L39) ShareProcessNamespace defines to share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers @@ -1580,7 +1580,7 @@ Default Value: `false` ### .spec.jobsTemplates.training.gpu.tolerations -Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/scheduling.go#L42) +Type: `[]core.Toleration` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/scheduling.go#L42) Tolerations defines tolerations @@ -1591,7 +1591,7 @@ Links: ### .spec.metadataService.local.arangoMLFeatureStore -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_spec_metadata_service.go#L65) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/extension_spec_metadata_service.go#L65) ArangoMLFeatureStoreDatabase define Database name to be used as MetadataService Backend in ArangoMLFeatureStoreDatabase @@ -1601,7 +1601,7 @@ Default Value: `arangomlfeaturestore` ### .spec.metadataService.local.arangoPipeDatabase -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_spec_metadata_service.go#L61) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/extension_spec_metadata_service.go#L61) ArangoPipeDatabase define Database name to be used as MetadataService Backend in ArangoPipe @@ -1611,7 +1611,7 @@ Default Value: `arangopipe` ### .spec.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -1621,7 +1621,7 @@ Default Value: `IfNotPresent` ### .spec.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -1629,7 +1629,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.storage.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -1637,7 +1637,7 @@ Name of the object ### .spec.storage.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -1645,7 +1645,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .spec.storage.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -1653,7 +1653,7 @@ UID keeps the information about object UID ### .status.arangoDB.jwtTokenSecret.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -1661,7 +1661,7 @@ Name of the object ### .status.arangoDB.jwtTokenSecret.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -1669,7 +1669,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.arangoDB.jwtTokenSecret.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -1677,7 +1677,7 @@ UID keeps the information about object UID ### .status.arangoDB.secret.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -1685,7 +1685,7 @@ Name of the object ### .status.arangoDB.secret.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -1693,7 +1693,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.arangoDB.secret.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -1701,7 +1701,7 @@ UID keeps the information about object UID ### .status.conditions -Type: `api.Conditions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_status.go#L31) +Type: `api.Conditions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/extension_status.go#L31) Conditions specific to the entire extension @@ -1709,7 +1709,7 @@ Conditions specific to the entire extension ### .status.metadataService.jwtTokenSecret.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -1717,7 +1717,7 @@ Name of the object ### .status.metadataService.jwtTokenSecret.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -1725,7 +1725,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.metadataService.jwtTokenSecret.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -1733,7 +1733,7 @@ UID keeps the information about object UID ### .status.metadataService.local.arangoMLFeatureStore -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_status_metadata_service.go#L41) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/extension_status_metadata_service.go#L41) ArangoMLFeatureStoreDatabase define Database name to be used as MetadataService Backend @@ -1741,7 +1741,7 @@ ArangoMLFeatureStoreDatabase define Database name to be used as MetadataService ### .status.metadataService.local.arangoPipe -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_status_metadata_service.go#L38) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/extension_status_metadata_service.go#L38) ArangoPipeDatabase define Database name to be used as MetadataService Backend @@ -1749,7 +1749,7 @@ ArangoPipeDatabase define Database name to be used as MetadataService Backend ### .status.metadataService.secret.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -1757,7 +1757,7 @@ Name of the object ### .status.metadataService.secret.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -1765,7 +1765,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.metadataService.secret.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -1773,19 +1773,19 @@ UID keeps the information about object UID ### .status.reconciliation.serviceChecksum -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_status_reconciliation.go#L25) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/extension_status_reconciliation.go#L25) *** ### .status.reconciliation.statefulSetChecksum -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/extension_status_reconciliation.go#L24) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/extension_status_reconciliation.go#L24) *** ### .status.serviceAccount.cluster.binding.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -1793,7 +1793,7 @@ Name of the object ### .status.serviceAccount.cluster.binding.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -1801,7 +1801,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.serviceAccount.cluster.binding.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -1809,7 +1809,7 @@ UID keeps the information about object UID ### .status.serviceAccount.cluster.role.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -1817,7 +1817,7 @@ Name of the object ### .status.serviceAccount.cluster.role.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -1825,7 +1825,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.serviceAccount.cluster.role.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -1833,7 +1833,7 @@ UID keeps the information about object UID ### .status.serviceAccount.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -1841,7 +1841,7 @@ Name of the object ### .status.serviceAccount.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -1849,7 +1849,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.serviceAccount.namespaced.binding.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -1857,7 +1857,7 @@ Name of the object ### .status.serviceAccount.namespaced.binding.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -1865,7 +1865,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.serviceAccount.namespaced.binding.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -1873,7 +1873,7 @@ UID keeps the information about object UID ### .status.serviceAccount.namespaced.role.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -1881,7 +1881,7 @@ Name of the object ### .status.serviceAccount.namespaced.role.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -1889,7 +1889,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .status.serviceAccount.namespaced.role.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -1897,7 +1897,7 @@ UID keeps the information about object UID ### .status.serviceAccount.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID diff --git a/docs/api/ArangoMLStorage.V1Alpha1.md b/docs/api/ArangoMLStorage.V1Alpha1.md index 089c916d1..3962e6199 100644 --- a/docs/api/ArangoMLStorage.V1Alpha1.md +++ b/docs/api/ArangoMLStorage.V1Alpha1.md @@ -10,7 +10,7 @@ title: ArangoMLStorage V1Alpha1 ### .spec.backend.s3.allowInsecure -Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/storage_spec_backend_s3.go#L40) +Type: `boolean` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/storage_spec_backend_s3.go#L40) AllowInsecure if set to true, the Endpoint certificates won't be checked @@ -20,7 +20,7 @@ Default Value: `false` ### .spec.backend.s3.caSecret.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -28,7 +28,7 @@ Name of the object ### .spec.backend.s3.caSecret.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -36,7 +36,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .spec.backend.s3.caSecret.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -44,7 +44,7 @@ UID keeps the information about object UID ### .spec.backend.s3.credentialsSecret.name -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L46) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L46) Name of the object @@ -52,7 +52,7 @@ Name of the object ### .spec.backend.s3.credentialsSecret.namespace -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L49) Namespace of the object. Should default to the namespace of the parent object @@ -60,7 +60,7 @@ Namespace of the object. Should default to the namespace of the parent object ### .spec.backend.s3.credentialsSecret.uid -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/object.go#L52) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/object.go#L52) UID keeps the information about object UID @@ -68,7 +68,7 @@ UID keeps the information about object UID ### .spec.backend.s3.endpoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/storage_spec_backend_s3.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/storage_spec_backend_s3.go#L34) Endpoint specifies the S3 API-compatible endpoint which implements storage Required @@ -77,7 +77,7 @@ Required ### .spec.backend.s3.region -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/storage_spec_backend_s3.go#L49) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/storage_spec_backend_s3.go#L49) Region defines the availability zone name. @@ -87,7 +87,7 @@ Default Value: `""` ### .spec.bucketName -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/storage_spec.go#L30) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/storage_spec.go#L30) BucketName specifies the name of the bucket Required @@ -96,7 +96,7 @@ Required ### .spec.bucketPath -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/storage_spec.go#L34) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/storage_spec.go#L34) BucketPath specifies the path within the bucket @@ -106,7 +106,7 @@ Default Value: `/` ### .spec.mode.sidecar.controllerListenPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/storage_spec_mode_sidecar.go#L36) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/storage_spec_mode_sidecar.go#L36) ControllerListenPort defines on which port the sidecar container will be listening for controller requests @@ -116,7 +116,7 @@ Default Value: `9202` ### .spec.mode.sidecar.env -Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L33) +Type: `core.EnvVar` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L33) Env keeps the information about environment variables provided to the container @@ -127,7 +127,7 @@ Links: ### .spec.mode.sidecar.envFrom -Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/envs.go#L38) +Type: `core.EnvFromSource` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/envs.go#L38) EnvFrom keeps the information about environment variable sources provided to the container @@ -138,7 +138,7 @@ Links: ### .spec.mode.sidecar.image -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L31) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L31) Image define image details @@ -146,7 +146,7 @@ Image define image details ### .spec.mode.sidecar.listenPort -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/storage_spec_mode_sidecar.go#L32) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/storage_spec_mode_sidecar.go#L32) ListenPort defines on which port the sidecar container will be listening for connections @@ -156,7 +156,7 @@ Default Value: `9201` ### .spec.mode.sidecar.pullPolicy -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L35) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L35) PullPolicy define Image pull policy @@ -166,7 +166,7 @@ Default Value: `IfNotPresent` ### .spec.mode.sidecar.pullSecrets -Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/image.go#L38) +Type: `array` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/image.go#L38) PullSecrets define Secrets used to pull Image from registry @@ -174,7 +174,7 @@ PullSecrets define Secrets used to pull Image from registry ### .spec.mode.sidecar.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/resources.go#L34) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/resources.go#L34) Resources holds resource requests & limits for container @@ -185,7 +185,7 @@ Links: ### .spec.mode.sidecar.securityContext -Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/shared/v1/security_container.go#L29) +Type: `core.SecurityContext` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/shared/v1/security_container.go#L29) PodSecurityContext holds pod-level security attributes and common container settings. @@ -196,7 +196,7 @@ Links: ### .status.conditions -Type: `api.Conditions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/ml/v1alpha1/storage_status.go#L28) +Type: `api.Conditions` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/ml/v1alpha1/storage_status.go#L28) Conditions specific to the entire storage diff --git a/docs/api/ArangoMember.V1.md b/docs/api/ArangoMember.V1.md index d11de3e7c..11b701c1d 100644 --- a/docs/api/ArangoMember.V1.md +++ b/docs/api/ArangoMember.V1.md @@ -10,7 +10,7 @@ title: ArangoMember V1 ### .spec.deletion_priority -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/arango_member_spec.go#L47) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/arango_member_spec.go#L47) DeletionPriority define Deletion Priority. Higher value means higher priority. Default is 0. @@ -20,7 +20,7 @@ Example: set 1 for Coordinator which should be deleted first and scale down coor ### .spec.deploymentUID -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/arango_member_spec.go#L36) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/arango_member_spec.go#L36) DeploymentUID define Deployment UID. @@ -28,7 +28,7 @@ DeploymentUID define Deployment UID. ### .spec.group -Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/arango_member_spec.go#L31) +Type: `integer` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/arango_member_spec.go#L31) Group define Member Groups. @@ -36,13 +36,13 @@ Group define Member Groups. ### .spec.id -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/arango_member_spec.go#L33) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/arango_member_spec.go#L33) *** ### .spec.overrides.resources -Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/arango_member_spec_overrides.go#L38) +Type: `core.ResourceRequirements` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/arango_member_spec_overrides.go#L38) Resources holds resource requests & limits. Overrides template provided on the group level. @@ -53,7 +53,7 @@ Links: ### .spec.overrides.volumeClaimTemplate -Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/arango_member_spec_overrides.go#L33) +Type: `core.PersistentVolumeClaim` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/arango_member_spec_overrides.go#L33) VolumeClaimTemplate specifies a template for volume claims. Overrides template provided on the group level. @@ -64,7 +64,7 @@ Links: ### .spec.template.checksum -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/arango_member_pod_template.go#L60) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/arango_member_pod_template.go#L60) Checksum keep the Pod Spec Checksum (with ignored fields). @@ -72,7 +72,7 @@ Checksum keep the Pod Spec Checksum (with ignored fields). ### .spec.template.endpoint -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/arango_member_pod_template.go#L63) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/arango_member_pod_template.go#L63) Deprecated: Endpoint is not saved into the template @@ -80,7 +80,7 @@ Deprecated: Endpoint is not saved into the template ### .spec.template.podSpec -Type: `core.PodTemplateSpec` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/arango_member_pod_template.go#L54) +Type: `core.PodTemplateSpec` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/arango_member_pod_template.go#L54) PodSpec specifies the Pod Spec used for this Member. @@ -91,7 +91,7 @@ Links: ### .spec.template.podSpecChecksum -Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.37/pkg/apis/deployment/v1/arango_member_pod_template.go#L57) +Type: `string` [\[ref\]](https://github.com/arangodb/kube-arangodb/blob/1.2.38/pkg/apis/deployment/v1/arango_member_pod_template.go#L57) PodSpecChecksum keep the Pod Spec Checksum (without ignored fields). From 14a25e7d6373d643bff7b63fe2fa76c18c5e94ea Mon Sep 17 00:00:00 2001 From: Kaveh Vahedipour Date: Thu, 22 Feb 2024 09:16:35 +0100 Subject: [PATCH 11/13] [Documentation] Add upgrade procedure from community to enterprise (#1596) Co-authored-by: Adam Janikowski <12255597+ajanikow@users.noreply.github.com> --- docs/upgrading.md | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/docs/upgrading.md b/docs/upgrading.md index 73a3c0e73..394f2922f 100644 --- a/docs/upgrading.md +++ b/docs/upgrading.md @@ -7,10 +7,10 @@ one version to the next. It is highly recommended to take a backup of your data before upgrading ArangoDB using [arangodump](https://docs.arangodb.com/stable/components/tools/arangodump/) or [ArangoBackup CR](backup-resource.md). -## Upgrade an ArangoDB deployment +## Upgrade an ArangoDB deployment version To upgrade a cluster, change the version by changing -the `spec.image` setting and the apply the updated +the `spec.image` setting and then apply the updated custom resource using: ```bash @@ -29,3 +29,25 @@ is stopped, then the new version is started with `--database.auto-upgrade` and once that is finish the new version is started with the normal arguments. The process for major level upgrades depends on the specific version. + +## Upgrade an ArangoDB deployment to Enterprise edition + +In order to upgrade a cluster from community to enterprise, we have to +go through to the following adjustements to an existing deployment: + +* [Add a license key](https://arangodb.github.io/kube-arangodb/docs/how-to/set_license.html) +to the cluster +* Adjust `spec.image` to a valid enterprise image string +* Add `spec.license.secretName` to the introduced license key + +```bash +kubectl apply -f yourCustomResourceFile.yaml +``` + +The actual upgrade procedure follows exactly the same steps as +described above for a simple version upgrade in a sequential manner. + +Regardless of if you are not only changing the images of community and +enterprise of the same major, minor and patch levels, or upgrade both +to enterprise and a different version, the procedure is only performed +once in a combined step of upgrading version and edition. From f9553d85acdc679c4baebddec89b8d91a3614955 Mon Sep 17 00:00:00 2001 From: jwierzbo Date: Thu, 22 Feb 2024 13:37:10 +0100 Subject: [PATCH 12/13] Update CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3ecd386f..401c5b03a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # Change Log ## [master](https://github.com/arangodb/kube-arangodb/tree/master) (N/A) + +## [1.2.38](https://github.com/arangodb/kube-arangodb/tree/1.2.38) (2024-02-22) - (Feature) Extract GRPC Server - (Feature) Extract Integration Service - (Documentation) Move ML Extension example under "CRD overview" From ca7ec6d4996b8911653f1736a5b18d082b043cae Mon Sep 17 00:00:00 2001 From: ajanikow <12255597+ajanikow@users.noreply.github.com> Date: Thu, 22 Feb 2024 16:12:04 +0000 Subject: [PATCH 13/13] Updated to 1.2.38 --- README.md | 36 ++++---- VERSION | 2 +- chart/kube-arangodb-crd/Chart.yaml | 2 +- chart/kube-arangodb/Chart.yaml | 2 +- chart/kube-arangodb/values.yaml | 2 +- examples/reboot-pod.yaml | 2 +- manifests/arango-all.yaml | 82 +++++++++---------- manifests/arango-apps.yaml | 28 +++---- manifests/arango-backup.yaml | 22 ++--- manifests/arango-deployment-replication.yaml | 22 ++--- manifests/arango-deployment.yaml | 26 +++--- manifests/arango-k2kclustersync.yaml | 22 ++--- manifests/arango-ml.yaml | 22 ++--- manifests/arango-storage.yaml | 24 +++--- manifests/enterprise-all.yaml | 82 +++++++++---------- manifests/enterprise-apps.yaml | 28 +++---- manifests/enterprise-backup.yaml | 22 ++--- .../enterprise-deployment-replication.yaml | 22 ++--- manifests/enterprise-deployment.yaml | 26 +++--- manifests/enterprise-k2kclustersync.yaml | 22 ++--- manifests/enterprise-ml.yaml | 22 ++--- manifests/enterprise-storage.yaml | 24 +++--- .../all/enterprise-all.yaml | 82 +++++++++---------- .../apps/enterprise-apps.yaml | 28 +++---- .../backup/enterprise-backup.yaml | 22 ++--- .../enterprise-deployment-replication.yaml | 22 ++--- .../deployment/enterprise-deployment.yaml | 26 +++--- .../enterprise-k2kclustersync.yaml | 22 ++--- .../storage/enterprise-storage.yaml | 24 +++--- manifests/kustomize/all/arango-all.yaml | 82 +++++++++---------- manifests/kustomize/apps/arango-apps.yaml | 28 +++---- manifests/kustomize/apps/arango-ml.yaml | 22 ++--- manifests/kustomize/apps/enterprise-ml.yaml | 22 ++--- manifests/kustomize/backup/arango-backup.yaml | 22 ++--- .../arango-deployment-replication.yaml | 22 ++--- .../deployment/arango-deployment.yaml | 26 +++--- .../k2kclustersync/arango-k2kclustersync.yaml | 22 ++--- .../kustomize/storage/arango-storage.yaml | 24 +++--- 38 files changed, 519 insertions(+), 519 deletions(-) diff --git a/README.md b/README.md index 57b844c08..368f72df2 100644 --- a/README.md +++ b/README.md @@ -202,8 +202,8 @@ Flags: ## Installation and Usage Docker images: -- Community Edition: `arangodb/kube-arangodb:1.2.37` -- Enterprise Edition: `arangodb/kube-arangodb-enterprise:1.2.37` +- Community Edition: `arangodb/kube-arangodb:1.2.38` +- Enterprise Edition: `arangodb/kube-arangodb-enterprise:1.2.38` ### Installation of latest release using Kubectl @@ -212,22 +212,22 @@ running ArangoDB deployments. ##### Community Edition ```bash -kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.37/manifests/arango-crd.yaml -kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.37/manifests/arango-deployment.yaml +kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.38/manifests/arango-crd.yaml +kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.38/manifests/arango-deployment.yaml # To use `ArangoLocalStorage`, also run -kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.37/manifests/arango-storage.yaml +kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.38/manifests/arango-storage.yaml # To use `ArangoDeploymentReplication`, also run -kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.37/manifests/arango-deployment-replication.yaml +kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.38/manifests/arango-deployment-replication.yaml ``` ##### Enterprise Edition ```bash -kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.37/manifests/enterprise-crd.yaml -kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.37/manifests/enterprise-deployment.yaml +kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.38/manifests/enterprise-crd.yaml +kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.38/manifests/enterprise-deployment.yaml # To use `ArangoLocalStorage`, also run -kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.37/manifests/enterprise-storage.yaml +kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.38/manifests/enterprise-storage.yaml # To use `ArangoDeploymentReplication`, also run -kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.37/manifests/enterprise-deployment-replication.yaml +kubectl apply -f https://raw.githubusercontent.com/arangodb/kube-arangodb/1.2.38/manifests/enterprise-deployment-replication.yaml ``` ### Installation of latest release using kustomize @@ -267,17 +267,17 @@ Only use this procedure for clean installation of the operator. For upgrades see ##### Community Edition ```bash # The following will install the operator and basic CRDs resources. -helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.37/kube-arangodb-1.2.37.tgz +helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.38/kube-arangodb-1.2.38.tgz # To use `ArangoLocalStorage`, set field `operator.features.storage` to true -helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.37/kube-arangodb-1.2.37.tgz --set "operator.features.storage=true" +helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.38/kube-arangodb-1.2.38.tgz --set "operator.features.storage=true" ``` ##### Enterprise Edition ```bash # The following will install the operator and basic CRDs resources. -helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.37/kube-arangodb-1.2.37.tgz --set "operator.image=arangodb/kube-arangodb-enterprise:1.2.37" +helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.38/kube-arangodb-1.2.38.tgz --set "operator.image=arangodb/kube-arangodb-enterprise:1.2.38" # To use `ArangoLocalStorage`, set field `operator.features.storage` to true -helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.37/kube-arangodb-1.2.37.tgz --set "operator.image=arangodb/kube-arangodb-enterprise:1.2.37" --set "operator.features.storage=true" +helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.38/kube-arangodb-1.2.38.tgz --set "operator.image=arangodb/kube-arangodb-enterprise:1.2.38" --set "operator.features.storage=true" ``` ### Upgrading the operator using Helm @@ -306,17 +306,17 @@ Then you can install the new version with `helm install` as normal: ##### Community Edition ```bash # The following will install the operator and basic CRDs resources. -helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.37/kube-arangodb-1.2.37.tgz +helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.38/kube-arangodb-1.2.38.tgz # To use `ArangoLocalStorage`, set field `operator.features.storage` to true -helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.37/kube-arangodb-1.2.37.tgz --set "operator.features.storage=true" +helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.38/kube-arangodb-1.2.38.tgz --set "operator.features.storage=true" ``` ##### Enterprise Edition ```bash # The following will install the operator and basic CRDs resources. -helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.37/kube-arangodb-1.2.37.tgz --set "operator.image=arangodb/kube-arangodb-enterprise:1.2.37" +helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.38/kube-arangodb-1.2.38.tgz --set "operator.image=arangodb/kube-arangodb-enterprise:1.2.38" # To use `ArangoLocalStorage`, set field `operator.features.storage` to true -helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.37/kube-arangodb-1.2.37.tgz --set "operator.image=arangodb/kube-arangodb-enterprise:1.2.37" --set "operator.features.storage=true" +helm install --generate-name https://github.com/arangodb/kube-arangodb/releases/download/1.2.38/kube-arangodb-1.2.38.tgz --set "operator.image=arangodb/kube-arangodb-enterprise:1.2.38" --set "operator.features.storage=true" ``` ## Building diff --git a/VERSION b/VERSION index 996d62676..adf1ebc44 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.38-preview-1+git \ No newline at end of file +1.2.38 \ No newline at end of file diff --git a/chart/kube-arangodb-crd/Chart.yaml b/chart/kube-arangodb-crd/Chart.yaml index 55c57cd5e..15c3a8621 100644 --- a/chart/kube-arangodb-crd/Chart.yaml +++ b/chart/kube-arangodb-crd/Chart.yaml @@ -1,5 +1,5 @@ name: kube-arangodb-crd -version: 1.2.37 +version: 1.2.38 description: "ArangoDB Kubernetes Custom Resource Definitions (Deprecated)" tillerVersion: ">2.7" appVersion: 3.5.0 diff --git a/chart/kube-arangodb/Chart.yaml b/chart/kube-arangodb/Chart.yaml index 2c6a189ad..f80ebadc9 100644 --- a/chart/kube-arangodb/Chart.yaml +++ b/chart/kube-arangodb/Chart.yaml @@ -1,5 +1,5 @@ # do not switch to V2 yet - we still need to support Helm 2 apiVersion: v1 name: kube-arangodb -version: 1.2.37 +version: 1.2.38 description: "ArangoDB Kubernetes Operator" diff --git a/chart/kube-arangodb/values.yaml b/chart/kube-arangodb/values.yaml index a64ca03d6..cea884566 100644 --- a/chart/kube-arangodb/values.yaml +++ b/chart/kube-arangodb/values.yaml @@ -1,5 +1,5 @@ operator: - image: arangodb/kube-arangodb:1.2.37 + image: arangodb/kube-arangodb:1.2.38 imagePullPolicy: IfNotPresent imagePullSecrets: [] scope: legacy diff --git a/examples/reboot-pod.yaml b/examples/reboot-pod.yaml index 57e0fc1c5..a7406d35f 100644 --- a/examples/reboot-pod.yaml +++ b/examples/reboot-pod.yaml @@ -6,7 +6,7 @@ spec: restartPolicy: Never serviceAccountName: arango-deployment-operator-reboot containers: - - image: arangodb/kube-arangodb:1.2.37 + - image: arangodb/kube-arangodb:1.2.38 name: reboot command: ["arangodb_operator", "reboot"] args: diff --git a/manifests/arango-all.yaml b/manifests/arango-all.yaml index dc4cc8f49..3ee3d5fc9 100644 --- a/manifests/arango-all.yaml +++ b/manifests/arango-all.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -19,7 +19,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -31,7 +31,7 @@ metadata: name: arangolocalstorages.storage.arangodb.com labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -61,7 +61,7 @@ metadata: name: arango-all-operator-rbac-apps labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -77,7 +77,7 @@ metadata: name: arango-all-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -93,7 +93,7 @@ metadata: name: arango-all-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -119,7 +119,7 @@ metadata: name: arango-all-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -138,7 +138,7 @@ metadata: name: arango-all-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -157,7 +157,7 @@ metadata: name: arango-all-operator-rbac-k2kclustersync labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -173,7 +173,7 @@ metadata: name: arango-all-operator-rbac-ml labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -189,7 +189,7 @@ metadata: name: arango-all-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -217,7 +217,7 @@ metadata: name: arango-all-operator-rbac-apps labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -237,7 +237,7 @@ metadata: name: arango-all-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -257,7 +257,7 @@ metadata: name: arango-all-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -277,7 +277,7 @@ metadata: name: arango-all-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -297,7 +297,7 @@ metadata: name: arango-all-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -317,7 +317,7 @@ metadata: name: arango-all-operator-rbac-k2kclustersync labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -337,7 +337,7 @@ metadata: name: arango-all-operator-rbac-ml labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -357,7 +357,7 @@ metadata: name: arango-all-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -378,7 +378,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -412,7 +412,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -429,7 +429,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -461,7 +461,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -478,7 +478,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -519,7 +519,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -545,7 +545,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -574,7 +574,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -632,7 +632,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -658,7 +658,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -678,7 +678,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -699,7 +699,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -720,7 +720,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -741,7 +741,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -762,7 +762,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -783,7 +783,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -804,7 +804,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -825,7 +825,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -846,7 +846,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -881,7 +881,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -899,7 +899,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -938,7 +938,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.37 + image: arangodb/kube-arangodb:1.2.38 args: - --scope=legacy - --operator.deployment diff --git a/manifests/arango-apps.yaml b/manifests/arango-apps.yaml index eabdadf56..af6b4d4aa 100644 --- a/manifests/arango-apps.yaml +++ b/manifests/arango-apps.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -19,7 +19,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -31,7 +31,7 @@ metadata: name: arango-apps-operator-rbac-apps labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -47,7 +47,7 @@ metadata: name: arango-apps-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -73,7 +73,7 @@ metadata: name: arango-apps-operator-rbac-apps labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -93,7 +93,7 @@ metadata: name: arango-apps-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -114,7 +114,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -148,7 +148,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -165,7 +165,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -185,7 +185,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -206,7 +206,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -241,7 +241,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -259,7 +259,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -298,7 +298,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.37 + image: arangodb/kube-arangodb:1.2.38 args: - --scope=legacy - --mode.single diff --git a/manifests/arango-backup.yaml b/manifests/arango-backup.yaml index 69adad0c4..1d179d1df 100644 --- a/manifests/arango-backup.yaml +++ b/manifests/arango-backup.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -18,7 +18,7 @@ metadata: name: arango-backup-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -34,7 +34,7 @@ metadata: name: arango-backup-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -60,7 +60,7 @@ metadata: name: arango-backup-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -80,7 +80,7 @@ metadata: name: arango-backup-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -101,7 +101,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -133,7 +133,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -154,7 +154,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -189,7 +189,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -207,7 +207,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -246,7 +246,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.37 + image: arangodb/kube-arangodb:1.2.38 args: - --scope=legacy - --operator.backup diff --git a/manifests/arango-deployment-replication.yaml b/manifests/arango-deployment-replication.yaml index 1bc14d958..d1ec11384 100644 --- a/manifests/arango-deployment-replication.yaml +++ b/manifests/arango-deployment-replication.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -18,7 +18,7 @@ metadata: name: arango-deployment-replication-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -44,7 +44,7 @@ metadata: name: arango-deployment-replication-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -63,7 +63,7 @@ metadata: name: arango-deployment-replication-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -83,7 +83,7 @@ metadata: name: arango-deployment-replication-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -104,7 +104,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -130,7 +130,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -151,7 +151,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -186,7 +186,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -204,7 +204,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -243,7 +243,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.37 + image: arangodb/kube-arangodb:1.2.38 args: - --scope=legacy - --operator.deployment-replication diff --git a/manifests/arango-deployment.yaml b/manifests/arango-deployment.yaml index d2128c4da..36270233f 100644 --- a/manifests/arango-deployment.yaml +++ b/manifests/arango-deployment.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -18,7 +18,7 @@ metadata: name: arango-deployment-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -44,7 +44,7 @@ metadata: name: arango-deployment-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -63,7 +63,7 @@ metadata: name: arango-deployment-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -83,7 +83,7 @@ metadata: name: arango-deployment-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -104,7 +104,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -121,7 +121,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -162,7 +162,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -183,7 +183,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -204,7 +204,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -239,7 +239,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -257,7 +257,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -296,7 +296,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.37 + image: arangodb/kube-arangodb:1.2.38 args: - --scope=legacy - --operator.deployment diff --git a/manifests/arango-k2kclustersync.yaml b/manifests/arango-k2kclustersync.yaml index 467f3fbe2..ed09fb15b 100644 --- a/manifests/arango-k2kclustersync.yaml +++ b/manifests/arango-k2kclustersync.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -18,7 +18,7 @@ metadata: name: arango-k2kclustersync-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -44,7 +44,7 @@ metadata: name: arango-k2kclustersync-operator-rbac-k2kclustersync labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -60,7 +60,7 @@ metadata: name: arango-k2kclustersync-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -80,7 +80,7 @@ metadata: name: arango-k2kclustersync-operator-rbac-k2kclustersync labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -101,7 +101,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -130,7 +130,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -151,7 +151,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -186,7 +186,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -204,7 +204,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -243,7 +243,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.37 + image: arangodb/kube-arangodb:1.2.38 args: - --scope=legacy - --mode.single diff --git a/manifests/arango-ml.yaml b/manifests/arango-ml.yaml index 692211aa1..67268da7f 100644 --- a/manifests/arango-ml.yaml +++ b/manifests/arango-ml.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -18,7 +18,7 @@ metadata: name: arango-ml-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -44,7 +44,7 @@ metadata: name: arango-ml-operator-rbac-ml labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -60,7 +60,7 @@ metadata: name: arango-ml-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -80,7 +80,7 @@ metadata: name: arango-ml-operator-rbac-ml labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -101,7 +101,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -159,7 +159,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -180,7 +180,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -215,7 +215,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -233,7 +233,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -272,7 +272,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.37 + image: arangodb/kube-arangodb:1.2.38 args: - --scope=legacy - --mode.single diff --git a/manifests/arango-storage.yaml b/manifests/arango-storage.yaml index 3bad56b92..23df80973 100644 --- a/manifests/arango-storage.yaml +++ b/manifests/arango-storage.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -18,7 +18,7 @@ metadata: name: arangolocalstorages.storage.arangodb.com labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -48,7 +48,7 @@ metadata: name: arango-storage-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -74,7 +74,7 @@ metadata: name: arango-storage-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -102,7 +102,7 @@ metadata: name: arango-storage-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -122,7 +122,7 @@ metadata: name: arango-storage-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -143,7 +143,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -169,7 +169,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -190,7 +190,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -225,7 +225,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -243,7 +243,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -282,7 +282,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.37 + image: arangodb/kube-arangodb:1.2.38 args: - --scope=legacy - --operator.storage diff --git a/manifests/enterprise-all.yaml b/manifests/enterprise-all.yaml index dc2f715b9..d7b00cce8 100644 --- a/manifests/enterprise-all.yaml +++ b/manifests/enterprise-all.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -19,7 +19,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -31,7 +31,7 @@ metadata: name: arangolocalstorages.storage.arangodb.com labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -61,7 +61,7 @@ metadata: name: arango-all-operator-rbac-apps labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -77,7 +77,7 @@ metadata: name: arango-all-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -93,7 +93,7 @@ metadata: name: arango-all-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -119,7 +119,7 @@ metadata: name: arango-all-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -138,7 +138,7 @@ metadata: name: arango-all-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -157,7 +157,7 @@ metadata: name: arango-all-operator-rbac-k2kclustersync labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -173,7 +173,7 @@ metadata: name: arango-all-operator-rbac-ml labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -189,7 +189,7 @@ metadata: name: arango-all-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -217,7 +217,7 @@ metadata: name: arango-all-operator-rbac-apps labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -237,7 +237,7 @@ metadata: name: arango-all-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -257,7 +257,7 @@ metadata: name: arango-all-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -277,7 +277,7 @@ metadata: name: arango-all-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -297,7 +297,7 @@ metadata: name: arango-all-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -317,7 +317,7 @@ metadata: name: arango-all-operator-rbac-k2kclustersync labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -337,7 +337,7 @@ metadata: name: arango-all-operator-rbac-ml labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -357,7 +357,7 @@ metadata: name: arango-all-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -378,7 +378,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -412,7 +412,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -429,7 +429,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -461,7 +461,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -478,7 +478,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -519,7 +519,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -545,7 +545,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -574,7 +574,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -632,7 +632,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -658,7 +658,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -678,7 +678,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -699,7 +699,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -720,7 +720,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -741,7 +741,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -762,7 +762,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -783,7 +783,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -804,7 +804,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -825,7 +825,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -846,7 +846,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -881,7 +881,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -899,7 +899,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -938,7 +938,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb-enterprise:1.2.37 + image: arangodb/kube-arangodb-enterprise:1.2.38 args: - --scope=legacy - --operator.deployment diff --git a/manifests/enterprise-apps.yaml b/manifests/enterprise-apps.yaml index e5971772b..ec39a256f 100644 --- a/manifests/enterprise-apps.yaml +++ b/manifests/enterprise-apps.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -19,7 +19,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -31,7 +31,7 @@ metadata: name: arango-apps-operator-rbac-apps labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -47,7 +47,7 @@ metadata: name: arango-apps-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -73,7 +73,7 @@ metadata: name: arango-apps-operator-rbac-apps labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -93,7 +93,7 @@ metadata: name: arango-apps-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -114,7 +114,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -148,7 +148,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -165,7 +165,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -185,7 +185,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -206,7 +206,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -241,7 +241,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -259,7 +259,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -298,7 +298,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb-enterprise:1.2.37 + image: arangodb/kube-arangodb-enterprise:1.2.38 args: - --scope=legacy - --mode.single diff --git a/manifests/enterprise-backup.yaml b/manifests/enterprise-backup.yaml index 86aa74ee7..9ccb21959 100644 --- a/manifests/enterprise-backup.yaml +++ b/manifests/enterprise-backup.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -18,7 +18,7 @@ metadata: name: arango-backup-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -34,7 +34,7 @@ metadata: name: arango-backup-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -60,7 +60,7 @@ metadata: name: arango-backup-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -80,7 +80,7 @@ metadata: name: arango-backup-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -101,7 +101,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -133,7 +133,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -154,7 +154,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -189,7 +189,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -207,7 +207,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -246,7 +246,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb-enterprise:1.2.37 + image: arangodb/kube-arangodb-enterprise:1.2.38 args: - --scope=legacy - --operator.backup diff --git a/manifests/enterprise-deployment-replication.yaml b/manifests/enterprise-deployment-replication.yaml index adca55f81..86272bddd 100644 --- a/manifests/enterprise-deployment-replication.yaml +++ b/manifests/enterprise-deployment-replication.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -18,7 +18,7 @@ metadata: name: arango-deployment-replication-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -44,7 +44,7 @@ metadata: name: arango-deployment-replication-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -63,7 +63,7 @@ metadata: name: arango-deployment-replication-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -83,7 +83,7 @@ metadata: name: arango-deployment-replication-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -104,7 +104,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -130,7 +130,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -151,7 +151,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -186,7 +186,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -204,7 +204,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -243,7 +243,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb-enterprise:1.2.37 + image: arangodb/kube-arangodb-enterprise:1.2.38 args: - --scope=legacy - --operator.deployment-replication diff --git a/manifests/enterprise-deployment.yaml b/manifests/enterprise-deployment.yaml index 43c82cc07..5c497dd7b 100644 --- a/manifests/enterprise-deployment.yaml +++ b/manifests/enterprise-deployment.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -18,7 +18,7 @@ metadata: name: arango-deployment-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -44,7 +44,7 @@ metadata: name: arango-deployment-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -63,7 +63,7 @@ metadata: name: arango-deployment-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -83,7 +83,7 @@ metadata: name: arango-deployment-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -104,7 +104,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -121,7 +121,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -162,7 +162,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -183,7 +183,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -204,7 +204,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -239,7 +239,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -257,7 +257,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -296,7 +296,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb-enterprise:1.2.37 + image: arangodb/kube-arangodb-enterprise:1.2.38 args: - --scope=legacy - --operator.deployment diff --git a/manifests/enterprise-k2kclustersync.yaml b/manifests/enterprise-k2kclustersync.yaml index 8f800d864..3247b2e39 100644 --- a/manifests/enterprise-k2kclustersync.yaml +++ b/manifests/enterprise-k2kclustersync.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -18,7 +18,7 @@ metadata: name: arango-k2kclustersync-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -44,7 +44,7 @@ metadata: name: arango-k2kclustersync-operator-rbac-k2kclustersync labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -60,7 +60,7 @@ metadata: name: arango-k2kclustersync-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -80,7 +80,7 @@ metadata: name: arango-k2kclustersync-operator-rbac-k2kclustersync labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -101,7 +101,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -130,7 +130,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -151,7 +151,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -186,7 +186,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -204,7 +204,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -243,7 +243,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb-enterprise:1.2.37 + image: arangodb/kube-arangodb-enterprise:1.2.38 args: - --scope=legacy - --mode.single diff --git a/manifests/enterprise-ml.yaml b/manifests/enterprise-ml.yaml index 7b5f3b2b7..45b73b759 100644 --- a/manifests/enterprise-ml.yaml +++ b/manifests/enterprise-ml.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -18,7 +18,7 @@ metadata: name: arango-ml-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -44,7 +44,7 @@ metadata: name: arango-ml-operator-rbac-ml labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -60,7 +60,7 @@ metadata: name: arango-ml-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -80,7 +80,7 @@ metadata: name: arango-ml-operator-rbac-ml labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -101,7 +101,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -159,7 +159,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -180,7 +180,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -215,7 +215,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -233,7 +233,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -272,7 +272,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb-enterprise:1.2.37 + image: arangodb/kube-arangodb-enterprise:1.2.38 args: - --scope=legacy - --mode.single diff --git a/manifests/enterprise-storage.yaml b/manifests/enterprise-storage.yaml index 32573ab4f..63d742906 100644 --- a/manifests/enterprise-storage.yaml +++ b/manifests/enterprise-storage.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -18,7 +18,7 @@ metadata: name: arangolocalstorages.storage.arangodb.com labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -48,7 +48,7 @@ metadata: name: arango-storage-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -74,7 +74,7 @@ metadata: name: arango-storage-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -102,7 +102,7 @@ metadata: name: arango-storage-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -122,7 +122,7 @@ metadata: name: arango-storage-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -143,7 +143,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -169,7 +169,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -190,7 +190,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -225,7 +225,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -243,7 +243,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -282,7 +282,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb-enterprise:1.2.37 + image: arangodb/kube-arangodb-enterprise:1.2.38 args: - --scope=legacy - --operator.storage diff --git a/manifests/kustomize-enterprise/all/enterprise-all.yaml b/manifests/kustomize-enterprise/all/enterprise-all.yaml index dc2f715b9..d7b00cce8 100644 --- a/manifests/kustomize-enterprise/all/enterprise-all.yaml +++ b/manifests/kustomize-enterprise/all/enterprise-all.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -19,7 +19,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -31,7 +31,7 @@ metadata: name: arangolocalstorages.storage.arangodb.com labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -61,7 +61,7 @@ metadata: name: arango-all-operator-rbac-apps labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -77,7 +77,7 @@ metadata: name: arango-all-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -93,7 +93,7 @@ metadata: name: arango-all-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -119,7 +119,7 @@ metadata: name: arango-all-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -138,7 +138,7 @@ metadata: name: arango-all-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -157,7 +157,7 @@ metadata: name: arango-all-operator-rbac-k2kclustersync labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -173,7 +173,7 @@ metadata: name: arango-all-operator-rbac-ml labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -189,7 +189,7 @@ metadata: name: arango-all-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -217,7 +217,7 @@ metadata: name: arango-all-operator-rbac-apps labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -237,7 +237,7 @@ metadata: name: arango-all-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -257,7 +257,7 @@ metadata: name: arango-all-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -277,7 +277,7 @@ metadata: name: arango-all-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -297,7 +297,7 @@ metadata: name: arango-all-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -317,7 +317,7 @@ metadata: name: arango-all-operator-rbac-k2kclustersync labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -337,7 +337,7 @@ metadata: name: arango-all-operator-rbac-ml labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -357,7 +357,7 @@ metadata: name: arango-all-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -378,7 +378,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -412,7 +412,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -429,7 +429,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -461,7 +461,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -478,7 +478,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -519,7 +519,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -545,7 +545,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -574,7 +574,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -632,7 +632,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -658,7 +658,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -678,7 +678,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -699,7 +699,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -720,7 +720,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -741,7 +741,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -762,7 +762,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -783,7 +783,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -804,7 +804,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -825,7 +825,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -846,7 +846,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -881,7 +881,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -899,7 +899,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -938,7 +938,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb-enterprise:1.2.37 + image: arangodb/kube-arangodb-enterprise:1.2.38 args: - --scope=legacy - --operator.deployment diff --git a/manifests/kustomize-enterprise/apps/enterprise-apps.yaml b/manifests/kustomize-enterprise/apps/enterprise-apps.yaml index e5971772b..ec39a256f 100644 --- a/manifests/kustomize-enterprise/apps/enterprise-apps.yaml +++ b/manifests/kustomize-enterprise/apps/enterprise-apps.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -19,7 +19,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -31,7 +31,7 @@ metadata: name: arango-apps-operator-rbac-apps labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -47,7 +47,7 @@ metadata: name: arango-apps-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -73,7 +73,7 @@ metadata: name: arango-apps-operator-rbac-apps labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -93,7 +93,7 @@ metadata: name: arango-apps-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -114,7 +114,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -148,7 +148,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -165,7 +165,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -185,7 +185,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -206,7 +206,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -241,7 +241,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -259,7 +259,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -298,7 +298,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb-enterprise:1.2.37 + image: arangodb/kube-arangodb-enterprise:1.2.38 args: - --scope=legacy - --mode.single diff --git a/manifests/kustomize-enterprise/backup/enterprise-backup.yaml b/manifests/kustomize-enterprise/backup/enterprise-backup.yaml index 86aa74ee7..9ccb21959 100644 --- a/manifests/kustomize-enterprise/backup/enterprise-backup.yaml +++ b/manifests/kustomize-enterprise/backup/enterprise-backup.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -18,7 +18,7 @@ metadata: name: arango-backup-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -34,7 +34,7 @@ metadata: name: arango-backup-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -60,7 +60,7 @@ metadata: name: arango-backup-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -80,7 +80,7 @@ metadata: name: arango-backup-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -101,7 +101,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -133,7 +133,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -154,7 +154,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -189,7 +189,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -207,7 +207,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -246,7 +246,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb-enterprise:1.2.37 + image: arangodb/kube-arangodb-enterprise:1.2.38 args: - --scope=legacy - --operator.backup diff --git a/manifests/kustomize-enterprise/deployment-replication/enterprise-deployment-replication.yaml b/manifests/kustomize-enterprise/deployment-replication/enterprise-deployment-replication.yaml index adca55f81..86272bddd 100644 --- a/manifests/kustomize-enterprise/deployment-replication/enterprise-deployment-replication.yaml +++ b/manifests/kustomize-enterprise/deployment-replication/enterprise-deployment-replication.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -18,7 +18,7 @@ metadata: name: arango-deployment-replication-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -44,7 +44,7 @@ metadata: name: arango-deployment-replication-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -63,7 +63,7 @@ metadata: name: arango-deployment-replication-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -83,7 +83,7 @@ metadata: name: arango-deployment-replication-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -104,7 +104,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -130,7 +130,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -151,7 +151,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -186,7 +186,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -204,7 +204,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -243,7 +243,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb-enterprise:1.2.37 + image: arangodb/kube-arangodb-enterprise:1.2.38 args: - --scope=legacy - --operator.deployment-replication diff --git a/manifests/kustomize-enterprise/deployment/enterprise-deployment.yaml b/manifests/kustomize-enterprise/deployment/enterprise-deployment.yaml index 43c82cc07..5c497dd7b 100644 --- a/manifests/kustomize-enterprise/deployment/enterprise-deployment.yaml +++ b/manifests/kustomize-enterprise/deployment/enterprise-deployment.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -18,7 +18,7 @@ metadata: name: arango-deployment-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -44,7 +44,7 @@ metadata: name: arango-deployment-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -63,7 +63,7 @@ metadata: name: arango-deployment-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -83,7 +83,7 @@ metadata: name: arango-deployment-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -104,7 +104,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -121,7 +121,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -162,7 +162,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -183,7 +183,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -204,7 +204,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -239,7 +239,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -257,7 +257,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -296,7 +296,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb-enterprise:1.2.37 + image: arangodb/kube-arangodb-enterprise:1.2.38 args: - --scope=legacy - --operator.deployment diff --git a/manifests/kustomize-enterprise/k2kclustersync/enterprise-k2kclustersync.yaml b/manifests/kustomize-enterprise/k2kclustersync/enterprise-k2kclustersync.yaml index 8f800d864..3247b2e39 100644 --- a/manifests/kustomize-enterprise/k2kclustersync/enterprise-k2kclustersync.yaml +++ b/manifests/kustomize-enterprise/k2kclustersync/enterprise-k2kclustersync.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -18,7 +18,7 @@ metadata: name: arango-k2kclustersync-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -44,7 +44,7 @@ metadata: name: arango-k2kclustersync-operator-rbac-k2kclustersync labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -60,7 +60,7 @@ metadata: name: arango-k2kclustersync-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -80,7 +80,7 @@ metadata: name: arango-k2kclustersync-operator-rbac-k2kclustersync labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -101,7 +101,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -130,7 +130,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -151,7 +151,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -186,7 +186,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -204,7 +204,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -243,7 +243,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb-enterprise:1.2.37 + image: arangodb/kube-arangodb-enterprise:1.2.38 args: - --scope=legacy - --mode.single diff --git a/manifests/kustomize-enterprise/storage/enterprise-storage.yaml b/manifests/kustomize-enterprise/storage/enterprise-storage.yaml index 32573ab4f..63d742906 100644 --- a/manifests/kustomize-enterprise/storage/enterprise-storage.yaml +++ b/manifests/kustomize-enterprise/storage/enterprise-storage.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -18,7 +18,7 @@ metadata: name: arangolocalstorages.storage.arangodb.com labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -48,7 +48,7 @@ metadata: name: arango-storage-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -74,7 +74,7 @@ metadata: name: arango-storage-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -102,7 +102,7 @@ metadata: name: arango-storage-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -122,7 +122,7 @@ metadata: name: arango-storage-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -143,7 +143,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -169,7 +169,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -190,7 +190,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -225,7 +225,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -243,7 +243,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -282,7 +282,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb-enterprise:1.2.37 + image: arangodb/kube-arangodb-enterprise:1.2.38 args: - --scope=legacy - --operator.storage diff --git a/manifests/kustomize/all/arango-all.yaml b/manifests/kustomize/all/arango-all.yaml index dc4cc8f49..3ee3d5fc9 100644 --- a/manifests/kustomize/all/arango-all.yaml +++ b/manifests/kustomize/all/arango-all.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -19,7 +19,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -31,7 +31,7 @@ metadata: name: arangolocalstorages.storage.arangodb.com labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -61,7 +61,7 @@ metadata: name: arango-all-operator-rbac-apps labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -77,7 +77,7 @@ metadata: name: arango-all-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -93,7 +93,7 @@ metadata: name: arango-all-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -119,7 +119,7 @@ metadata: name: arango-all-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -138,7 +138,7 @@ metadata: name: arango-all-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -157,7 +157,7 @@ metadata: name: arango-all-operator-rbac-k2kclustersync labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -173,7 +173,7 @@ metadata: name: arango-all-operator-rbac-ml labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -189,7 +189,7 @@ metadata: name: arango-all-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -217,7 +217,7 @@ metadata: name: arango-all-operator-rbac-apps labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -237,7 +237,7 @@ metadata: name: arango-all-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -257,7 +257,7 @@ metadata: name: arango-all-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -277,7 +277,7 @@ metadata: name: arango-all-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -297,7 +297,7 @@ metadata: name: arango-all-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -317,7 +317,7 @@ metadata: name: arango-all-operator-rbac-k2kclustersync labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -337,7 +337,7 @@ metadata: name: arango-all-operator-rbac-ml labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -357,7 +357,7 @@ metadata: name: arango-all-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -378,7 +378,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -412,7 +412,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -429,7 +429,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -461,7 +461,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -478,7 +478,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -519,7 +519,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -545,7 +545,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -574,7 +574,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -632,7 +632,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -658,7 +658,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -678,7 +678,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -699,7 +699,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -720,7 +720,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -741,7 +741,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -762,7 +762,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -783,7 +783,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -804,7 +804,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -825,7 +825,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -846,7 +846,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -881,7 +881,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -899,7 +899,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: all release: all @@ -938,7 +938,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.37 + image: arangodb/kube-arangodb:1.2.38 args: - --scope=legacy - --operator.deployment diff --git a/manifests/kustomize/apps/arango-apps.yaml b/manifests/kustomize/apps/arango-apps.yaml index eabdadf56..af6b4d4aa 100644 --- a/manifests/kustomize/apps/arango-apps.yaml +++ b/manifests/kustomize/apps/arango-apps.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -19,7 +19,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -31,7 +31,7 @@ metadata: name: arango-apps-operator-rbac-apps labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -47,7 +47,7 @@ metadata: name: arango-apps-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -73,7 +73,7 @@ metadata: name: arango-apps-operator-rbac-apps labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -93,7 +93,7 @@ metadata: name: arango-apps-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -114,7 +114,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -148,7 +148,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -165,7 +165,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -185,7 +185,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -206,7 +206,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -241,7 +241,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -259,7 +259,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: apps release: apps @@ -298,7 +298,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.37 + image: arangodb/kube-arangodb:1.2.38 args: - --scope=legacy - --mode.single diff --git a/manifests/kustomize/apps/arango-ml.yaml b/manifests/kustomize/apps/arango-ml.yaml index 692211aa1..67268da7f 100644 --- a/manifests/kustomize/apps/arango-ml.yaml +++ b/manifests/kustomize/apps/arango-ml.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -18,7 +18,7 @@ metadata: name: arango-ml-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -44,7 +44,7 @@ metadata: name: arango-ml-operator-rbac-ml labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -60,7 +60,7 @@ metadata: name: arango-ml-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -80,7 +80,7 @@ metadata: name: arango-ml-operator-rbac-ml labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -101,7 +101,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -159,7 +159,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -180,7 +180,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -215,7 +215,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -233,7 +233,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -272,7 +272,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.37 + image: arangodb/kube-arangodb:1.2.38 args: - --scope=legacy - --mode.single diff --git a/manifests/kustomize/apps/enterprise-ml.yaml b/manifests/kustomize/apps/enterprise-ml.yaml index 7b5f3b2b7..45b73b759 100644 --- a/manifests/kustomize/apps/enterprise-ml.yaml +++ b/manifests/kustomize/apps/enterprise-ml.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -18,7 +18,7 @@ metadata: name: arango-ml-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -44,7 +44,7 @@ metadata: name: arango-ml-operator-rbac-ml labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -60,7 +60,7 @@ metadata: name: arango-ml-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -80,7 +80,7 @@ metadata: name: arango-ml-operator-rbac-ml labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -101,7 +101,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -159,7 +159,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -180,7 +180,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -215,7 +215,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -233,7 +233,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: ml release: ml @@ -272,7 +272,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb-enterprise:1.2.37 + image: arangodb/kube-arangodb-enterprise:1.2.38 args: - --scope=legacy - --mode.single diff --git a/manifests/kustomize/backup/arango-backup.yaml b/manifests/kustomize/backup/arango-backup.yaml index 69adad0c4..1d179d1df 100644 --- a/manifests/kustomize/backup/arango-backup.yaml +++ b/manifests/kustomize/backup/arango-backup.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -18,7 +18,7 @@ metadata: name: arango-backup-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -34,7 +34,7 @@ metadata: name: arango-backup-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -60,7 +60,7 @@ metadata: name: arango-backup-operator-rbac-backup labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -80,7 +80,7 @@ metadata: name: arango-backup-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -101,7 +101,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -133,7 +133,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -154,7 +154,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -189,7 +189,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -207,7 +207,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: backup release: backup @@ -246,7 +246,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.37 + image: arangodb/kube-arangodb:1.2.38 args: - --scope=legacy - --operator.backup diff --git a/manifests/kustomize/deployment-replication/arango-deployment-replication.yaml b/manifests/kustomize/deployment-replication/arango-deployment-replication.yaml index 1bc14d958..d1ec11384 100644 --- a/manifests/kustomize/deployment-replication/arango-deployment-replication.yaml +++ b/manifests/kustomize/deployment-replication/arango-deployment-replication.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -18,7 +18,7 @@ metadata: name: arango-deployment-replication-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -44,7 +44,7 @@ metadata: name: arango-deployment-replication-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -63,7 +63,7 @@ metadata: name: arango-deployment-replication-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -83,7 +83,7 @@ metadata: name: arango-deployment-replication-operator-rbac-deployment-replication labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -104,7 +104,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -130,7 +130,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -151,7 +151,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -186,7 +186,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -204,7 +204,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment-replication release: deployment-replication @@ -243,7 +243,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.37 + image: arangodb/kube-arangodb:1.2.38 args: - --scope=legacy - --operator.deployment-replication diff --git a/manifests/kustomize/deployment/arango-deployment.yaml b/manifests/kustomize/deployment/arango-deployment.yaml index d2128c4da..36270233f 100644 --- a/manifests/kustomize/deployment/arango-deployment.yaml +++ b/manifests/kustomize/deployment/arango-deployment.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -18,7 +18,7 @@ metadata: name: arango-deployment-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -44,7 +44,7 @@ metadata: name: arango-deployment-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -63,7 +63,7 @@ metadata: name: arango-deployment-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -83,7 +83,7 @@ metadata: name: arango-deployment-operator-rbac-deployment labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -104,7 +104,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -121,7 +121,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -162,7 +162,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -183,7 +183,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -204,7 +204,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -239,7 +239,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -257,7 +257,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: deployment release: deployment @@ -296,7 +296,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.37 + image: arangodb/kube-arangodb:1.2.38 args: - --scope=legacy - --operator.deployment diff --git a/manifests/kustomize/k2kclustersync/arango-k2kclustersync.yaml b/manifests/kustomize/k2kclustersync/arango-k2kclustersync.yaml index 467f3fbe2..ed09fb15b 100644 --- a/manifests/kustomize/k2kclustersync/arango-k2kclustersync.yaml +++ b/manifests/kustomize/k2kclustersync/arango-k2kclustersync.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -18,7 +18,7 @@ metadata: name: arango-k2kclustersync-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -44,7 +44,7 @@ metadata: name: arango-k2kclustersync-operator-rbac-k2kclustersync labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -60,7 +60,7 @@ metadata: name: arango-k2kclustersync-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -80,7 +80,7 @@ metadata: name: arango-k2kclustersync-operator-rbac-k2kclustersync labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -101,7 +101,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -130,7 +130,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -151,7 +151,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -186,7 +186,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -204,7 +204,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: k2kclustersync release: k2kclustersync @@ -243,7 +243,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.37 + image: arangodb/kube-arangodb:1.2.38 args: - --scope=legacy - --mode.single diff --git a/manifests/kustomize/storage/arango-storage.yaml b/manifests/kustomize/storage/arango-storage.yaml index 3bad56b92..23df80973 100644 --- a/manifests/kustomize/storage/arango-storage.yaml +++ b/manifests/kustomize/storage/arango-storage.yaml @@ -6,7 +6,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -18,7 +18,7 @@ metadata: name: arangolocalstorages.storage.arangodb.com labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -48,7 +48,7 @@ metadata: name: arango-storage-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -74,7 +74,7 @@ metadata: name: arango-storage-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -102,7 +102,7 @@ metadata: name: arango-storage-operator-rbac-crd labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -122,7 +122,7 @@ metadata: name: arango-storage-operator-rbac-storage labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -143,7 +143,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -169,7 +169,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -190,7 +190,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -225,7 +225,7 @@ metadata: namespace: default labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -243,7 +243,7 @@ spec: metadata: labels: app.kubernetes.io/name: kube-arangodb - helm.sh/chart: kube-arangodb-1.2.37 + helm.sh/chart: kube-arangodb-1.2.38 app.kubernetes.io/managed-by: Tiller app.kubernetes.io/instance: storage release: storage @@ -282,7 +282,7 @@ spec: containers: - name: operator imagePullPolicy: Always - image: arangodb/kube-arangodb:1.2.37 + image: arangodb/kube-arangodb:1.2.38 args: - --scope=legacy - --operator.storage