Compare commits

...

3 Commits

Author SHA1 Message Date
Noste b49c634f17 bump version to 0.1.3 and update appVersion to 0.0.7; refine region comment in config example
Signed-off-by: Noste <83548733+Noooste@users.noreply.github.com>
2025-12-21 15:54:06 +01:00
Noste 5910961825 docs: update README
Signed-off-by: Noste <83548733+Noooste@users.noreply.github.com>
2025-12-21 15:42:18 +01:00
Noste 7a4e187745 feat: trim protocol from MinIO endpoint and set SSL flag
Signed-off-by: Noste <83548733+Noooste@users.noreply.github.com>
2025-12-21 15:29:19 +01:00
5 changed files with 17 additions and 13 deletions
+2 -9
View File
@@ -85,11 +85,6 @@ docker run -d \
docker pull noooste/garage-ui:latest
```
**Available tags:**
- `latest` - Latest stable release
- `v0.0.4` - Specific version
- `0.0` - Minor version track
The Docker image is multi-platform, supporting `linux/amd64` and `linux/arm64`.
### Kubernetes Deployment with Helm
@@ -156,8 +151,8 @@ server:
# Garage S3 Configuration
garage:
endpoint: "http://garage:3900"
region: "eu-west-1"
endpoint: "garage:3900"
region: "eu-west-1" # Ensure to match Garage region from garage.toml
admin_endpoint: "http://garage:3903"
admin_token: "your-admin-token-here"
@@ -623,8 +618,6 @@ GARAGE_UI_LOGGING_LEVEL=debug
This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) file for details.
Copyright (c) 2025 Noste
---
## Acknowledgments
+11
View File
@@ -4,6 +4,7 @@ import (
"context"
"fmt"
"io"
"strings"
"time"
"Noooste/garage-ui/internal/config"
@@ -24,6 +25,16 @@ type S3Service struct {
// NewS3Service creates a new S3 service instance using MinIO SDK
func NewS3Service(cfg *config.GarageConfig, adminService *GarageAdminService) *S3Service {
// Create MinIO client for Garage
// trim http or https from endpoint
if strings.HasPrefix(cfg.Endpoint, "http://") {
cfg.Endpoint = strings.TrimPrefix(cfg.Endpoint, "http://")
}
if strings.HasPrefix(cfg.Endpoint, "https://") {
cfg.Endpoint = strings.TrimPrefix(cfg.Endpoint, "https://")
cfg.UseSSL = true
}
client, err := minio.New(cfg.Endpoint, &minio.Options{
//Creds: credentials.NewStaticV4(cfg.AccessKey, cfg.SecretKey, ""),
Secure: cfg.UseSSL,
+1 -1
View File
@@ -9,7 +9,7 @@ server:
# Garage S3 Configuration
garage:
endpoint: "http://localhost:3900" # Garage S3 API endpoint
region: "eu-west-1" # S3 region (can be any value for Garage)
region: "eu-west-1" # S3 region (ensure it matches Garage S3 configuration)
# Garage Admin API configuration
admin_endpoint: "http://localhost:3903" # Garage Admin API endpoint
+2 -2
View File
@@ -2,8 +2,8 @@ apiVersion: v2
name: garage-ui
description: A Helm chart for Garage UI - Web interface for Garage S3 object storage
type: application
version: 0.1.2
appVersion: "v0.0.6"
version: 0.1.3
appVersion: "v0.0.7"
keywords:
- garage
- s3
+1 -1
View File
@@ -33,7 +33,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: 8080
containerPort: {{ .Values.config.server.port }}
protocol: TCP
env:
- name: GARAGE_UI_GARAGE_ADMIN_TOKEN