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 6, 2022
1 parent fdef8ca commit 7f932c8
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:12.10.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:5.0.14",
Env: []corev1.EnvVar{{
Name: "REDIS_PASSWORD",
ValueFrom: &corev1.EnvVarSource{
Expand Down

0 comments on commit 7f932c8

Please sign in to comment.