1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00

[Bugfix] Fix Exporter in Deployments without authentication (#856)

This commit is contained in:
Adam Janikowski 2021-12-10 11:11:47 +01:00 committed by GitHub
parent 3246d2d1e3
commit eaf627c50f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -5,6 +5,7 @@
- Allow to abort ArangoBackup uploads by removing spec.upload
- Add Agency Cache internally
- Add Recovery during PlanBuild operation
- Fix Exporter in Deployments without authentication
## [1.2.5](https://github.com/arangodb/kube-arangodb/tree/1.2.5) (2021-10-25)
- Split & Unify Lifecycle management functionality

View file

@ -65,7 +65,9 @@ func createInternalExporterArgs(spec api.DeploymentSpec, groupSpec api.ServerGro
tokenpath := filepath.Join(k8sutil.ExporterJWTVolumeMountDir, constants.SecretKeyToken)
options := k8sutil.CreateOptionPairs(64)
if spec.Authentication.IsAuthenticated() {
options.Add("--arangodb.jwt-file", tokenpath)
}
path := k8sutil.ArangoExporterInternalEndpoint
if version.CompareTo("3.8.0") >= 0 {