Oc set: Difference between revisions
Jump to navigation
Jump to search
Line 40: | Line 40: | ||
oc set build-secret --source bc/<''build-configuration-name'''> somesecret | oc set build-secret --source bc/<''build-configuration-name'''> somesecret | ||
{{Internal|OpenShift_Build_Operations#Source_Clone_Secret|Source Clone Secret}} | |||
=triggers= | =triggers= |
Revision as of 02:25, 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