-
I want run an api over https from my web app.
|
Beta Was this translation helpful? Give feedback.
Answered by
brandond
May 19, 2021
Replies: 1 comment 1 reply
-
I think you're looking for: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/#:~:text=--cors-allowed-origins For K3s you can pass this as Keep in mind that the Kubernetes apiserver should not, in general, be exposed directly to the internet. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
n-guitar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you're looking for: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/#:~:text=--cors-allowed-origins
For K3s you can pass this as
--kube-apiserver-arg=cors-allowed-origins=X
Keep in mind that the Kubernetes apiserver should not, in general, be exposed directly to the internet.