@@ -44,7 +44,7 @@ const (
4444 tlsKeyfileVolumeName = "tls-keyfile"
4545 lifecycleVolumeName = "lifecycle"
4646 clientAuthCAVolumeName = "client-auth-ca"
47- ClusterJWTSecretVolumeName = "cluster-jwt"
47+ clusterJWTSecretVolumeName = "cluster-jwt"
4848 masterJWTSecretVolumeName = "master-jwt"
4949 rocksdbEncryptionVolumeName = "rocksdb-encryption"
5050 ArangodVolumeMountDir = "/data"
@@ -215,7 +215,7 @@ func masterJWTVolumeMounts() []v1.VolumeMount {
215215func clusterJWTVolumeMounts () []v1.VolumeMount {
216216 return []v1.VolumeMount {
217217 {
218- Name : ClusterJWTSecretVolumeName ,
218+ Name : clusterJWTSecretVolumeName ,
219219 MountPath : ClusterJWTSecretVolumeMountDir ,
220220 },
221221 }
@@ -448,7 +448,7 @@ func CreateArangodPod(kubecli kubernetes.Interface, developmentMode bool, deploy
448448 if rocksdbEncryptionSecretName != "" {
449449 c .VolumeMounts = append (c .VolumeMounts , rocksdbEncryptionVolumeMounts ()... )
450450 }
451- if ClusterJWTSecretVolumeName != "" {
451+ if clusterJWTSecretName != "" {
452452 c .VolumeMounts = append (c .VolumeMounts , clusterJWTVolumeMounts ()... )
453453 }
454454 p .Spec .Containers = append (p .Spec .Containers , c )
@@ -510,7 +510,7 @@ func CreateArangodPod(kubecli kubernetes.Interface, developmentMode bool, deploy
510510 // Cluster JWT secret mount (if any)
511511 if clusterJWTSecretName != "" {
512512 vol := v1.Volume {
513- Name : ClusterJWTSecretVolumeName ,
513+ Name : clusterJWTSecretVolumeName ,
514514 VolumeSource : v1.VolumeSource {
515515 Secret : & v1.SecretVolumeSource {
516516 SecretName : clusterJWTSecretName ,
@@ -620,7 +620,7 @@ func CreateArangoSyncPod(kubecli kubernetes.Interface, developmentMode bool, dep
620620 // Cluster JWT secret mount (if any)
621621 if clusterJWTSecretName != "" {
622622 vol := v1.Volume {
623- Name : ClusterJWTSecretVolumeName ,
623+ Name : clusterJWTSecretVolumeName ,
624624 VolumeSource : v1.VolumeSource {
625625 Secret : & v1.SecretVolumeSource {
626626 SecretName : clusterJWTSecretName ,
0 commit comments