rzrbld / adminio-api Goto Github PK
View Code? Open in Web Editor NEWsimple admin API for min.io (minio) s3 server
License: MIT License
simple admin API for min.io (minio) s3 server
License: MIT License
Hello All,
I would like to implement the new provider OpenId (auto discovery) into adminio but I'm litte stuck
After a good build, when I launched the Oauth authentification proceess I got the error:
session value for openid-connect not found
Someone has a idea of what this error come from ?
Redirection looks like:
Thanks
Hello
i try to plus adminio with a minio/ssl but i have this error
x509: certificate signed by unknown authority
can i bypass verify ssl or how i can add a CA in the container
Thanks
Wondering if the api can manage minio upgrades ?
Blue green style upgrades for example of a cluster of 3 minio servers.
the mc admin cli can do this but not sure this api can do it ?
I have implemented my own OAuth provider server on a custom domain.
I am able to go through the whole session creation procedure using the auth0 provider and a custom domain, pointing to my own oauth server.
However when the "callback" endpoint is called, i get a 404 error message from the auth0 server saying:
"auth0 responded with a 404 trying to fetch user information"
is it possible to have a custom provider using the goth package??
i find this being a huge limitation which makes the whole API extremely hard to use in production otherwise.
Hello, I've tried your AdminIO setup in Kubernetes and getting some problems. Here is my setup:
MinIO:
Version
2020-10-03T02:19:42Z
Platform
Host: minio-0 | OS: linux | Arch: amd64
Runtime
Version: go1.14.9 | CPUs: 4
AdminIO-API: latest
Config:
- name: ADMINIO_HOST_PORT
value: 0.0.0.0:8080
- name: MINIO_HOST
valueFrom:
secretKeyRef:
name: s3-secret
key: host
- name: MINIO_HOST_PORT
value: $(MINIO_HOST)
- name: MINIO_ACCESS
valueFrom:
secretKeyRef:
name: s3-secret
key: testu
- name: MINIO_SECRET
valueFrom:
secretKeyRef:
name: s3-secret
key: testp
- name: ADMINIO_PROBES_ENABLE
value: "true"
- name: ADMINIO_METRIC_ENABLE
value: "false"
- name: MINIO_SSL
value: "false"
Whenever I call the UI (or curl
the API on my MINIO_HOST) I'm getting errors in the API logs which always look like this:
[HTTP Server] http: panic serving xxx.xxx.xxx.xxx:xxxxx: runtime error: invalid memory address or nil pointer dereference
goroutine 58 [running]:
net/http.(*conn).serve.func1(0xc00021e640)
/usr/local/go/src/net/http/server.go:1801 +0x147
panic(0xe40f40, 0x16b71e0)
/usr/local/go/src/runtime/panic.go:975 +0x3e9
github.com/minio/minio/pkg/madmin.(*AdminClient).DataUsageInfo(0x0, 0x10aa6c0, 0xc0000b8020, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/go/pkg/mod/github.com/minio/[email protected]/pkg/madmin/info-commands.go:137 +0x78
github.com/rzrbld/adminio-api/handlers.glob..func32(0xc00011cea0)
/go/adminio-api/src/handlers/server.go:16 +0x7a
github.com/kataras/iris/v12/context.(*Context).Next(0xc00011cea0)
/go/pkg/mod/github.com/kataras/iris/[email protected]/context/context.go:510 +0x5c
github.com/iris-contrib/middleware/cors.(*Cors).Serve(0xc000510000, 0xc00011cea0)
/go/pkg/mod/github.com/iris-contrib/middleware/[email protected]/cors.go:189 +0x165
github.com/kataras/iris/v12/context.(*Context).Do(...)
/go/pkg/mod/github.com/kataras/iris/[email protected]/context/context.go:392
github.com/kataras/iris/v12/core/router.(*routerHandler).HandleRequest(0xc000505950, 0xc00011cea0)
/go/pkg/mod/github.com/kataras/iris/[email protected]/core/router/handler.go:406 +0x21a
github.com/kataras/iris/v12/core/router.(*Router).BuildRouter.func3(0x10a7080, 0xc000574380, 0xc000136800)
/go/pkg/mod/github.com/kataras/iris/[email protected]/core/router/router.go:171 +0x82
github.com/kataras/iris/v12/core/router.(*Router).ServeHTTP(0xc0000bc660, 0x10a7080, 0xc000574380, 0xc000136800)
/go/pkg/mod/github.com/kataras/iris/[email protected]/core/router/router.go:237 +0x48
net/http.serverHandler.ServeHTTP(0xc00014a000, 0x10a7080, 0xc000574380, 0xc000136800)
/usr/local/go/src/net/http/server.go:2843 +0xa3
net/http.(*conn).serve(0xc00021e640, 0x10aa680, 0xc000166880)
/usr/local/go/src/net/http/server.go:1925 +0x8ad
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:2969 +0x36c
Do you know any fixes for this problem? Thank you in advance!
I try to use your app but this is what I get when deploy in the api log and the ui complain of backend reacheability.
2020/12/15 02:34:31 The Access Key Id you provided does not exist in our records.
2020/12/15 02:34:31 The Access Key Id you provided does not exist in our records.
2020/12/15 02:34:31 The Access Key Id you provided does not exist in our records.
Hello,
would it be possible to add a switch to ignore SSL/TLS verification for MinIO server or a folder where the root CA can be placed, like in the MinIO docker containers?
If this is already possible, can you please add this in documentation?
Edit: Iโm using the latest docker container
Hello,
I have an instalation of minio on 443 with a bucket.subdomain.domain.tld and when I am trying to start the adminio-api, I get the error:
{"error":"Failed to parse server response: invalid character 'C' looking for beginning of value."}
Can you please help me investigate what is the problem?
Thank you,
F
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.