Any way to do a "raw" request? #1216
Answered
by
tg123
goncalo-oliveira
asked this question in
Q&A
Replies: 2 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
goncalo-oliveira
-
This isn't really related to the dotnet client, but if someone knows the answer, I'd be much appreciated. I'm getting a forbidden when attempting the raw request (when running in the cluster) and I would expect that the required permissions would be to
Here's the apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: the-thing
rules:
- apiGroups:
- apps
resources:
- deployments
verbs: ["get", "list", "patch", "watch"]
- apiGroups:
- ""
resources:
- endpoints
- namespaces
- pods
- services
verbs: ["get", "list"]
- apiGroups:
- custom.metrics.k8s.io
resources:
- "*"
verbs: ["get", "list"] Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way to do something similar to this?
Haven't found a direct way of doing it and doesn't seem like there is one?
Beta Was this translation helpful? Give feedback.
All reactions