Oc set: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 38: Line 38:


=build-secret=
=build-secret=
oc set build-secret --source bc/<''build-configuration-name'''> somesecret


=triggers=
=triggers=

Revision as of 02:22, 23 November 2017

Internal

Overview

The command changes existing application resources.

env

Sets environment variables in deployment configurations, build configurations, etc.

List:

oc set env <object> --list

Set:

oc set env <object> KEY_1=VAL_1 ...

Unset:

ec set env <object> KEY_1-

resources

oc set resources dc/jenkins --limits=memory=1Gi

volumes

probe

deployment-hook

image

build-secret

oc set build-secret --source bc/<build-configuration-name'> somesecret

triggers

build-hook

route-backends