Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorres committed Dec 5, 2024
1 parent a1dbd1c commit 3a62bf8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/test-k8s-objects/objects.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ const (
var (
TestCAPath = filepath.Join("..", "data", "generate-crts", "ca.crt")

StorageTlsKeyPath = filepath.Join("..", "data", "storage.key")
StorageTlsCrtPath = filepath.Join("..", "data", "storage.crt")
StorageTLSKeyPath = filepath.Join("..", "data", "storage.key")
StorageTLSCrtPath = filepath.Join("..", "data", "storage.crt")

DatabaseTlsKeyPath = filepath.Join("..", "data", "database.key")
DatabaseTlsCrtPath = filepath.Join("..", "data", "database.crt")
DatabaseTLSKeyPath = filepath.Join("..", "data", "database.key")
DatabaseTLSCrtPath = filepath.Join("..", "data", "database.crt")
)

func constructAntiAffinityFor(key, value string) *corev1.Affinity {
Expand Down Expand Up @@ -187,17 +187,17 @@ func DefaultDatabase() *v1alpha1.Database {
func StorageCertificate() *corev1.Secret {
return DefaultCertificate(
StorageCertificateSecretName,
StorageTlsCrtPath,
StorageTlsKeyPath,
StorageTLSCrtPath,
StorageTLSKeyPath,
TestCAPath,
)
}

func DatabaseCertificate() *corev1.Secret {
return DefaultCertificate(
DatabaseCertificateSecretName,
DatabaseTlsCrtPath,
DatabaseTlsKeyPath,
DatabaseTLSCrtPath,
DatabaseTLSKeyPath,
TestCAPath,
)
}
Expand Down

0 comments on commit 3a62bf8

Please sign in to comment.