Skip to content

Commit fddd8d3

Browse files
committed
Fix path to jwt secret file.
1 parent b037e45 commit fddd8d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/deployment/resources/pod_creator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func createArangodArgs(apiObject metav1.Object, deplSpec api.DeploymentSpec, gro
101101
optionPair{"--server.authentication", "true"},
102102
)
103103
if versionHasJWTSecretKeyfile(version) {
104-
keyPath := filepath.Join(k8sutil.ClusterJWTSecretVolumeName, constants.SecretKeyToken)
104+
keyPath := filepath.Join(k8sutil.ClusterJWTSecretVolumeMountDir, constants.SecretKeyToken)
105105
options = append(options,
106106
optionPair{"--server.jwt-secret-keyfile", keyPath},
107107
)

0 commit comments

Comments
 (0)