From 8f4b0e79715fc51d44b249b8045a2a30804ab943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Srinivasan?= Date: Mon, 26 Apr 2021 15:54:20 -0700 Subject: [PATCH] Update README.md In OpenShift section, use `oc` rather than `kubectl`. --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 <