Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions controllers/tor/onionservice_deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,6 @@ func torOnionServiceDeployment(onion *torv1alpha2.OnionService, projectConfig *c
}
}

// The default mode for the authorized_clients file is 0400
//nolint:gomnd // 0400 is a valid octal number
defaultMode := int32(0o620)
volumes := []corev1.Volume{
{
Name: privateKeyVolume,
Expand All @@ -148,7 +145,6 @@ func torOnionServiceDeployment(onion *torv1alpha2.OnionService, projectConfig *c
VolumeSource: corev1.VolumeSource{
Secret: &corev1.SecretVolumeSource{
SecretName: onion.AuthorizedClientsSecretName(),
DefaultMode: &defaultMode,
},
},
},
Expand Down
Loading