Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kubedb - MethodNotAllowed #467

Closed
botzill opened this issue Mar 21, 2019 · 7 comments

Comments

Projects
None yet
4 participants
@botzill
Copy link

commented Mar 21, 2019

Hi.

I have this when I try:

kubedb get dormantdatabases
Error from server (MethodNotAllowed): the server does not allow this method on the requested resource

This is true for other endpoints as well. How can I check this permission?

Thx!

@tamalsaha

This comment has been minimized.

Copy link
Member

commented Mar 21, 2019

Can you share the output of kubectl api-resources ?

@botzill

This comment has been minimized.

Copy link
Author

commented Mar 21, 2019

kubectl api-resources | grep kubedb
elasticsearchversions             esversion      catalog.kubedb.com             false        ElasticsearchVersion
etcdversions                      etcversion     catalog.kubedb.com             false        EtcdVersion
memcachedversions                 mcversion      catalog.kubedb.com             false        MemcachedVersion
mongodbversions                   mgversion      catalog.kubedb.com             false        MongoDBVersion
mysqlversions                     myversion      catalog.kubedb.com             false        MySQLVersion
postgresversions                  pgversion      catalog.kubedb.com             false        PostgresVersion
redisversions                     rdversion      catalog.kubedb.com             false        RedisVersion
dormantdatabases                  drmn           kubedb.com                     true         DormantDatabase
elasticsearches                   es             kubedb.com                     true         Elasticsearch
etcds                             etc            kubedb.com                     true         Etcd
memcacheds                        mc             kubedb.com                     true         Memcached
mongodbs                          mg             kubedb.com                     true         MongoDB
mysqls                            my             kubedb.com                     true         MySQL
postgreses                        pg             kubedb.com                     true         Postgres
redises                           rd             kubedb.com                     true         Redis
snapshots                         snap           kubedb.com                     true         Snapshot
elasticsearches                                  mutators.kubedb.com            false        AdmissionReview
etcds                                            mutators.kubedb.com            false        AdmissionReview
memcacheds                                       mutators.kubedb.com            false        AdmissionReview
mongodbs                                         mutators.kubedb.com            false        AdmissionReview
mysqls                                           mutators.kubedb.com            false        AdmissionReview
postgreses                                       mutators.kubedb.com            false        AdmissionReview
redises                                          mutators.kubedb.com            false        AdmissionReview
dormantdatabases                                 validators.kubedb.com          false        AdmissionReview
elasticsearches                                  validators.kubedb.com          false        AdmissionReview
etcds                                            validators.kubedb.com          false        AdmissionReview
memcacheds                                       validators.kubedb.com          false        AdmissionReview
mongodbs                                         validators.kubedb.com          false        AdmissionReview
mysqls                                           validators.kubedb.com          false        AdmissionReview
namespaces                                       validators.kubedb.com          false        AdmissionReview
postgreses                                       validators.kubedb.com          false        AdmissionReview
redises                                          validators.kubedb.com          false        AdmissionReview
snapshots                                        validators.kubedb.com          false        AdmissionReview
@tamalsaha

This comment has been minimized.

Copy link
Member

commented Mar 21, 2019

Any of the following should work:

kubedb get drmn
kubectl get drmn
kubedb get dormantdatabases.kubedb.com
kubectl get dormantdatabases.kubedb.com
@botzill

This comment has been minimized.

Copy link
Author

commented Mar 22, 2019

I see, thx. I can see now results.

@tamalsaha tamalsaha added this to the 0.12.0 milestone Mar 25, 2019

@iamrz1 iamrz1 pinned this issue Mar 25, 2019

@tamalsaha

This comment has been minimized.

Copy link
Member

commented Mar 25, 2019

@iamrz1 is working on updating the chart and script installer so that mutators and validators use a different name. I don't think upstream will fix anything here.

@tamalsaha

This comment has been minimized.

Copy link
Member

commented Mar 29, 2019

This should be fixed in next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.