Fix examples using the auto-restart annotation

This commit is contained in:
Simon Barendse
2021-05-03 18:14:02 +02:00
parent 933f7c4e2c
commit d927a08790

View File

@@ -163,7 +163,8 @@ apiVersion: v1
kind: Namespace kind: Namespace
metadata: metadata:
name: "example-namespace" 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. 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 kind: Deployment
metadata: metadata:
name: "example-deployment" 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. 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 kind: OnePasswordItem
metadata: metadata:
name: example 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. If the value is not set, the auto reset settings on the deployment will be used.