From 1e1e3490c64a2762075988b388bc3a9562c8e153 Mon Sep 17 00:00:00 2001 From: jillianwilson Date: Thu, 4 Nov 2021 16:36:14 -0300 Subject: [PATCH] correcting README --- secret-injector/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/secret-injector/README.md b/secret-injector/README.md index bb8a3f1..2c0cb49 100644 --- a/secret-injector/README.md +++ b/secret-injector/README.md @@ -67,10 +67,10 @@ kubectl create -f deploy/mutatingwebhook-ca-bundle.yaml ## Usage -For every namespace you want the 1Password Secret Injector to inject secrets for, you must add the label `sidecar-injector=enabled` label to the namespace: +For every namespace you want the 1Password Secret Injector to inject secrets for, you must add the label `op-secret-injection=enabled` label to the namespace: ``` -kubectl label namespace injection sidecar-injection=enabled +kubectl label namespace op-secret-injection=enabled ``` To inject a 1Password secret as an environment variable, your pod or deployment you must add an environment variable to the resource with a value referencing your 1Password item in the format `op:///[/section]/`. You must also annotate your pod/deployment spec with `operator.1password.io/inject` which expects a comma separated list of the names of the containers to that will be mutated and have secrets injected.