From d927a08790ea94246b8628f814414f8d8359c310 Mon Sep 17 00:00:00 2001 From: Simon Barendse Date: Mon, 3 May 2021 18:14:02 +0200 Subject: [PATCH] Fix examples using the auto-restart annotation --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8ec6038..62153cf 100644 --- a/README.md +++ b/README.md @@ -163,7 +163,8 @@ apiVersion: v1 kind: Namespace metadata: name: "example-namespace" - operator.1password.io/auto-restart: "true" + annotations: + operator.1password.io/auto-restart: "true" ``` If the value is not set, the auto reset settings on the operator will be used. This value can be overwritten by deployment. @@ -175,7 +176,8 @@ apiVersion: v1 kind: Deployment metadata: name: "example-deployment" - operator.1password.io/auto-restart: "true" + annotations: + operator.1password.io/auto-restart: "true" ``` If the value is not set, the auto reset settings on the namespace will be used. @@ -187,7 +189,8 @@ apiVersion: onepassword.com/v1 kind: OnePasswordItem metadata: name: example - operator.1password.io/auto-restart: "true" + annotations: + operator.1password.io/auto-restart: "true" ``` If the value is not set, the auto reset settings on the deployment will be used.