diff --git a/README.md b/README.md index d0e48c5..23970b7 100644 --- a/README.md +++ b/README.md @@ -224,11 +224,11 @@ Other custom configurations are referenced in this repository. Steps to configure the Admission Controller: * Install the Admission Controller via a bundle: ```shell script - kubectl create -f admission.bundle.yaml + oc create -f admission.bundle.yaml ``` * Wait for the secret to be created: ```shell script - kubectl get secret admission-tls + oc get secret admission-tls NAME TYPE DATA AGE admission-tls Opaque 2 2m43s ``` @@ -239,7 +239,7 @@ Other custom configurations are referenced in this repository. ```shell script # save cert CERT=`kubectl get secret admission-tls -o jsonpath='{.data.cert}'` - sed 's/NAMESPACE_OF_SERVICE_ACCOUNT/REPLACE_WITH_NAMESPACE/g' admission/webhook.yaml | kubectl create -f - + sed 's/NAMESPACE_OF_SERVICE_ACCOUNT/REPLACE_WITH_NAMESPACE/g' admission/webhook.yaml | oc create -f - # create patch file cat > modified-webhook.yaml <