OC-POLICY-REMOVE-GROUP(1)
π oc policy remove-group β like, the whole manual, but make it make sense
Hey bestie π«Ά so this is from the oc policy family of manual pages (the OpenShift CLI user manuals, June 2016 vintage, iconic behavior) β and this particular page is all about one lil' command: oc policy remove-group. No cap, that's the whole vibe.
β¨ SYNOPSIS β¨
oc policy remove-group [OPTIONS]
That's it. That's the whole incantation. You run it with whatever flags you want, and it does the thing. π
πΈ DESCRIPTION πΈ
Okay so, genuinely: Remove group from the project.
That's the entire description. Short. Sweet. Main character energy. It removes a group from the project, periodt. π
π¦ OPTIONS π¦
These are the flags that belong to remove-group itself, no hand-me-downs here:
--allow-missing-template-keys=trueβ if this istrue, all those template errors about a missing field or map key? Ignored, bestie. Not a single tear shed. Only applies to thegolangandjsonpathoutput formats, so don't go thinking it's universal π.--dry-run="none"β has to be one of"none","server", or"client". If you pick the client strategy, it only prints the object that would've been sent and never actually sends it. If you pick the server strategy, it submits a server-side request without persisting the resource. Very "look but don't touch" of it β¨.-o,--output=""β the output format. One of: (json,yaml,kyaml,name,go-template,go-template-file,template,templatefile,jsonpath,jsonpath-as-json,jsonpath-file). Pick your fighter π.--show-managed-fields=falseβ iftrue, themanagedFieldsstay in when printing objects inJSONorYAMLformat. Iffalse... they don't. Slay.--template=""β a template string, or a path to a template file, to use when you're on-o=go-templateor-o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview] β yes, the actual angle brackets, iykyk π§.
π OPTIONS INHERITED FROM PARENT COMMANDS π
These bad boys come from the parent command β they're not remove-group's own, they're just along for the ride π:
--as=""β username to impersonate for the operation. Could be a regular user, could be a service account in a namespace.--as-group=[]β group to impersonate for the operation. You can repeat this flag to specify multiple groups π.--as-uid=""β UID to impersonate for the operation.--as-user-extra=[]β user extras to impersonate for the operation. Repeatable, so you can specify multiple values for the same key.--cache-dir="/homeless-shelter/.kube/cache"β the default cache directory. Yes, that's the literal default path. No, I'm not joking π.--certificate-authority=""β path to a cert file for the certificate authority.--client-certificate=""β path to a client certificate file for TLS.--client-key=""β path to a client key file for TLS.--cluster=""β the name of the kubeconfig cluster to use.--context=""β the name of the kubeconfig context to use.--disable-compression=falseβ iftrue, opt out of response compression for all requests to the server.--insecure-skip-tls-verify=falseβ iftrue, the server's certificate will not be checked for validity, which makes your HTTPS connections insecure. Big warning energy, bestie π.
Fr fr: flipping--insecure-skip-tls-verifytotrueturns off certificate validation and leaves your HTTPS connections insecure. Don't do it casually.
--kubeconfig=""β path to the kubeconfig file to use for CLI requests.--kuberc=""β path to the kuberc file to use for preferences. You can disable this by exporting theKUBECTL_KUBERC=falsefeature gate, or by turning off the feature withKUBERC=off.--match-server-version=falseβ require the server version to match the client version. Demanding. We respect it π .-n,--namespace=""β if present, the namespace scope for this CLI request.--profile="none"β name of the profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex).--profile-output="profile.pprof"β name of the file to write the profile to.--request-timeout="0"β how long to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g.1s,2m,3h). A value of zero means don't timeout requests. Zero = infinite patience, apparently π§.-s,--server=""β the address and port of the Kubernetes API server.--tls-server-name=""β server name to use for server certificate validation. If it's not provided, the hostname used to contact the server is used instead.--token=""β bearer token for authentication to the API server π.--user=""β the name of the kubeconfig user to use.--warnings-as-errors=falseβ treat warnings received from the server as errors and exit with a non-zero exit code. Harsh, but fair π.
π₯ SEE ALSO π₯
oc-policy(1),β go read the parent page, bestie, it's giving lore.
π HISTORY π
June 2016, Ported from the Kubernetes man-doc generator. A classic. A vintage. A little piece of history π.
Sign-off time, bestie π«Άβ¨ β this page came to you from Openshift, out of the Openshift CLI User Manuals, dated June 2016. That's the whole footer, and honestly? She ate. πππ¦
π¦ where this page comes from
- nixpkgs unstable: openshift 4.22.0-202605222050
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms