Using kubectl patch to patch but be able to exclude based on service name #280
cmwatts1974
started this conversation in
Community
Replies: 1 comment
-
Hi @cmwatts1974! Can you please elaborate on what role OPA plays here? This seems like it would be a better question for the Kubernetes Slack, or am I missing something? 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the following command to replace the value of NodePort to ClusterIP on a cluster and want to do it but need to exclude some services how would I edit to exclude said services?
kubectl patch svc nginx-ingress --type='json' -p '[{"op":"replace","path":"/spec/type","value":"ClusterIP"}]'
Beta Was this translation helpful? Give feedback.
All reactions