@@ -113,24 +113,24 @@ function os::test::extended::setup () {
113
113
# put change there - only want this for extended tests
114
114
os::log::info " Turn on audit logging"
115
115
cp " ${SERVER_CONFIG_DIR} /master/master-config.yaml" " ${SERVER_CONFIG_DIR} /master/master-config.orig2.yaml"
116
- openshift ex config patch " ${SERVER_CONFIG_DIR} /master/master-config.orig2.yaml" --patch=" {\" auditConfig\" : {\" enabled\" : true, \" auditFilePath\" : \" ${LOG_DIR} /audit.log\" }}" > " ${SERVER_CONFIG_DIR} /master/master-config.yaml"
116
+ oc ex config patch " ${SERVER_CONFIG_DIR} /master/master-config.orig2.yaml" --patch=" {\" auditConfig\" : {\" enabled\" : true, \" auditFilePath\" : \" ${LOG_DIR} /audit.log\" }}" > " ${SERVER_CONFIG_DIR} /master/master-config.yaml"
117
117
118
118
cp " ${SERVER_CONFIG_DIR} /master/master-config.yaml" " ${SERVER_CONFIG_DIR} /master/master-config.orig2.yaml"
119
- openshift ex config patch " ${SERVER_CONFIG_DIR} /master/master-config.orig2.yaml" --patch=" {\" templateServiceBrokerConfig\" : {\" templateNamespaces\" : [\" openshift\" ]}}" > " ${SERVER_CONFIG_DIR} /master/master-config.yaml"
119
+ oc ex config patch " ${SERVER_CONFIG_DIR} /master/master-config.orig2.yaml" --patch=" {\" templateServiceBrokerConfig\" : {\" templateNamespaces\" : [\" openshift\" ]}}" > " ${SERVER_CONFIG_DIR} /master/master-config.yaml"
120
120
121
121
# If the XFS volume dir mount point exists enable local storage quota in node-config.yaml so these tests can pass:
122
122
if [[ -n " ${LOCAL_STORAGE_QUOTA} " ]]; then
123
123
# The ec2 images usually have ~5Gi of space defined for the xfs vol for the registry; want to give /registry a good chunk of that
124
124
# to store the images created when the extended tests run
125
125
cp " ${NODE_CONFIG_DIR} /node-config.yaml" " ${NODE_CONFIG_DIR} /node-config.orig2.yaml"
126
- openshift ex config patch " ${NODE_CONFIG_DIR} /node-config.orig2.yaml" --patch=' {"volumeConfig":{"localQuota":{"perFSGroup":"4480Mi"}}}' > " ${NODE_CONFIG_DIR} /node-config.yaml"
126
+ oc ex config patch " ${NODE_CONFIG_DIR} /node-config.orig2.yaml" --patch=' {"volumeConfig":{"localQuota":{"perFSGroup":"4480Mi"}}}' > " ${NODE_CONFIG_DIR} /node-config.yaml"
127
127
fi
128
128
os::log::info " Using VOLUME_DIR=${VOLUME_DIR} "
129
129
130
130
# This is a bit hacky, but set the pod gc threshold appropriately for the garbage_collector test
131
131
# and enable-hostpath-provisioner for StatefulSet tests
132
132
cp " ${SERVER_CONFIG_DIR} /master/master-config.yaml" " ${SERVER_CONFIG_DIR} /master/master-config.orig3.yaml"
133
- openshift ex config patch " ${SERVER_CONFIG_DIR} /master/master-config.orig3.yaml" --patch=' {"kubernetesMasterConfig":{"controllerArguments":{"terminated-pod-gc-threshold":["100"], "enable-hostpath-provisioner":["true"]}}}' > " ${SERVER_CONFIG_DIR} /master/master-config.yaml"
133
+ oc ex config patch " ${SERVER_CONFIG_DIR} /master/master-config.orig3.yaml" --patch=' {"kubernetesMasterConfig":{"controllerArguments":{"terminated-pod-gc-threshold":["100"], "enable-hostpath-provisioner":["true"]}}}' > " ${SERVER_CONFIG_DIR} /master/master-config.yaml"
134
134
135
135
os::start::server " ${API_SERVER_VERSION:- } " " ${CONTROLLER_VERSION:- } " " ${SKIP_NODE:- } "
136
136
0 commit comments