Skip to content

Commit

Permalink
use fix postgresql/redis image in go tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ziming Zhang <zziming@vmware.com>
  • Loading branch information
bitsf committed Mar 5, 2022
1 parent 563fdc1 commit bc62875
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controllers/goharbor/internal/test/postgresql/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func New(ctx context.Context, ns string, databases ...string) harbormetav1.Postg
},
Containers: []corev1.Container{{
Name: "database",
Image: "bitnami/postgresql",
Image: "bitnami/postgresql:13.6.0",
Env: []corev1.EnvVar{
{
Name: "POSTGRESQL_PASSWORD",
Expand Down
2 changes: 1 addition & 1 deletion controllers/goharbor/internal/test/redis/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func New(ctx context.Context, ns string) harbormetav1.RedisConnection {
}},
Containers: []corev1.Container{{
Name: "redis",
Image: "bitnami/redis",
Image: "bitnami/redis:6.2.6",
Env: []corev1.EnvVar{{
Name: "REDIS_PASSWORD",
ValueFrom: &corev1.EnvVarSource{
Expand Down

0 comments on commit bc62875

Please sign in to comment.