Native Shell
Native Shell:AI 生成的 UI,在你的應用中原生呈現,涵蓋每個平台。iOS、Android、macOS、Windows 與 Linux 上的應用、GPUI 應用與網頁在執行時載入已簽名、沙箱隔離的 TSX 模組並繪製 th
AI 翻譯
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗A lightweight Kubernetes operator that provisions MinIO buckets and users declaratively via CRDs.
Applications can request their own MinIO bucket and credentials without manual MinIO console access.
The operator manages two CRD kinds:
| Kind | What it provisions |
|---|---|
MinioBucket | A MinIO bucket with optional versioning |
MinioUser | A MinIO user with a built-in policy, credentials stored in a K8s Secret |
All resources are reconciled continuously — the operator detects and repairs out-of-band drift every 5 minutes.
Add the Helm repository:
helm repo add minio-provisioner https://drewsonne.github.io/minio-provisioner
helm repo update
Install the chart:
helm install minio-provisioner minio-provisioner/minio-provisioner \
--namespace minio \
--set minio.endpoint=minio.minio.svc.cluster.local:9000 \
--set minio.credentialsSecret.name=minio \
--set minio.credentialsSecret.namespace=minio
apiVersion: v1
kind: Secret
metadata:
name: minio
namespace: minio
stringData:
rootUser: <admin-access-key>
rootPassword: <admin-secret-key>
This is the secret that the official MinIO Helm chart creates automatically.
Default values:
image:
repository: drewsonne/minio-provisioner
tag: latest
minio:
endpoint: minio.minio.svc.cluster.local:9000
secure: false
credentialsSecret:
name: minio
namespace: minio
namespace: minio
Creates a MinIO bucket. The bucket name is taken from metadata.name.
apiVersion: minio.sonne.zone/v1
kind: MinioBucket
metadata:
name: dagster-io
namespace: minio
spec:
versioning: false
Deletion safety: Deleting a MinioBucket CR removes the Kubernetes resource but intentionally does not delete the MinIO bucket or its data, preventing accidental data loss.
Creates a MinIO user with the named built-in policy. The access key is taken from metadata.name.
apiVersion: minio.sonne.zone/v1
kind: MinioUser
metadata:
name: dagster
namespace: minio
spec:
policy: readwrite
secretName: dagster-minio-credentials
secretNamespace: dagster # optional; defaults to CR namespace
policy values:
| Value | Access |
|---|---|
readwrite | Read and write to all buckets |
readonly | Read from all buckets |
writeonly | Write to all buckets |
diagnostics | Read-only diagnostic/metrics access |
consoleAdmin | Full MinIO console administration |
MinioUser creates a Secret containing:
access_key — the MinIO access key (same as the CR name)secret_key — the randomly generated secret keyendpoint — the MinIO endpoint URL (e.g. http://minio.minio.svc.cluster.local:9000)kubectl get secret dagster-minio-credentials -n dagster -o yaml
Use these as AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY environment variables for S3-compatible clients:
env:
- name: AWS_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: dagster-minio-credentials
key: access_key
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: dagster-minio-credentials
key: secret_key
secret_key is preserved rather than regenerated; user credentials are not rotated on every reconcileMinioBucket CR preserves the MinIO bucket and its dataMinioUser CR removes the MinIO user and the K8s Secretkubectl describe as a K8s Warning event and in the Drift printer columnkubectl get miniobuckets
kubectl get miniousers
Printer columns include Ready, Drift, and Age. Drift events are also emitted as Kubernetes Warning events visible via kubectl describe.
Build locally:
docker build -t drewsonne/minio-provisioner:dev .
Run locally (requires cluster access and MinIO reachable):
docker run --rm \
-e MINIO_ENDPOINT=minio.minio.svc.cluster.local:9000 \
-e MINIO_ACCESS_KEY=minioadmin \
-e MINIO_SECRET_KEY=minioadmin \
-e MINIO_SECURE=false \
drewsonne/minio-provisioner:dev
MIT