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

Handle authentication denied for resource type #8

Open
raffis opened this issue Feb 21, 2019 · 0 comments
Open

Handle authentication denied for resource type #8

raffis opened this issue Feb 21, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@raffis
Copy link
Contributor

raffis commented Feb 21, 2019

Is behaviour

(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2288)
(node:1) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'kind' of undefined
    at Volume.<anonymous> (/opt/kube-icinga/build/kube/volume.js:132:39)
    at Generator.next (<anonymous>)
    at /opt/kube-icinga/build/kube/volume.js:7:71
    at new Promise (<anonymous>)
    at __awaiter (/opt/kube-icinga/build/kube/volume.js:3:12)
    at module.exports.JSONStream.stream.on (/opt/kube-icinga/build/kube/volume.js:130:47)
    at module.exports.JSONStream.emit (events.js:189:13)
    at addChunk (_stream_readable.js:284:12)
    at readableAddChunk (_stream_readable.js:265:11)
    at module.exports.JSONStream.Readable.push (_stream_readable.js:220:10)

Should behaviour

Check if kube api response is invalid (authentication denied)

@raffis raffis added the bug Something isn't working label Feb 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant