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:
parent
3246d2d1e3
commit
eaf627c50f
2 changed files with 4 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
||||||
- Allow to abort ArangoBackup uploads by removing spec.upload
|
- Allow to abort ArangoBackup uploads by removing spec.upload
|
||||||
- Add Agency Cache internally
|
- Add Agency Cache internally
|
||||||
- Add Recovery during PlanBuild operation
|
- 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)
|
## [1.2.5](https://github.com/arangodb/kube-arangodb/tree/1.2.5) (2021-10-25)
|
||||||
- Split & Unify Lifecycle management functionality
|
- Split & Unify Lifecycle management functionality
|
||||||
|
|
|
@ -65,7 +65,9 @@ func createInternalExporterArgs(spec api.DeploymentSpec, groupSpec api.ServerGro
|
||||||
tokenpath := filepath.Join(k8sutil.ExporterJWTVolumeMountDir, constants.SecretKeyToken)
|
tokenpath := filepath.Join(k8sutil.ExporterJWTVolumeMountDir, constants.SecretKeyToken)
|
||||||
options := k8sutil.CreateOptionPairs(64)
|
options := k8sutil.CreateOptionPairs(64)
|
||||||
|
|
||||||
options.Add("--arangodb.jwt-file", tokenpath)
|
if spec.Authentication.IsAuthenticated() {
|
||||||
|
options.Add("--arangodb.jwt-file", tokenpath)
|
||||||
|
}
|
||||||
|
|
||||||
path := k8sutil.ArangoExporterInternalEndpoint
|
path := k8sutil.ArangoExporterInternalEndpoint
|
||||||
if version.CompareTo("3.8.0") >= 0 {
|
if version.CompareTo("3.8.0") >= 0 {
|
||||||
|
|
Loading…
Reference in a new issue