All the basic CRUD commands work, so you can run `oc
edit clusterquota/name`, `oc patch clusterquota/name <your patch>`, or `oc
update -f <your file>`.

On Tue, Nov 8, 2016 at 11:06 AM, Ben Pritchett <bprit...@redhat.com> wrote:

> Is there a method for updating clusterquotas that have already been
> created?  Referencing the creation process here:
> https://docs.openshift.com/container-platform/3.3/admin_
> guide/multiproject_quota.html#multi-project-quotas-selecting-projects
>
> There isn't a "oc update clusterquota foo" and the workaround for
> configmaps doesn't seem to work due to missing --dry-run option.  The
> workaround for configmaps is below:
>
> oc create configmap foo --from-file=haproxy-config.template --dry-run -o
> yaml | oc update -f -
>
> Trying to automate this for a large cluster buildout, where we'll need
> per-user clusterquota definitions for self-provisioning.
>
> Thanks,
>
> Ben Pritchett
>
> _______________________________________________
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
_______________________________________________
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to