Skip to content

Commit

Permalink
perf: hub use minio
Browse files Browse the repository at this point in the history
Signed-off-by: 张启航 <[email protected]>
  • Loading branch information
ZhangSetSail committed Oct 8, 2024
1 parent 1ec7ed2 commit b40c1e5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions controllers/handler/hub.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,30 @@ func (h *hub) deployment() client.Object {
Name: "REGISTRY_AUTH_HTPASSWD_PATH",
Value: "/auth/htpasswd",
},
{
Name: "REGISTRY_STORAGE",
Value: "s3",
},
{
Name: "REGISTRY_STORAGE_S3_REGION",
Value: "rainbond",
},
{
Name: "REGISTRY_STORAGE_S3_ACCESSKEY",
Value: "minioadmin",
},
{
Name: "REGISTRY_STORAGE_S3_SECRETKEY",
Value: "minioadmin",
},
{
Name: "REGISTRY_STORAGE_S3_REGIONENDPOINT",
Value: "http://minio-service:9000",
},
{
Name: "REGISTRY_STORAGE_S3_BUCKET",
Value: "rbd-hub",
},
}
volumeMounts := []corev1.VolumeMount{
{
Expand Down

0 comments on commit b40c1e5

Please sign in to comment.