From 1014105ff7e80d95b2162cf86f7c39c66b8e86a3 Mon Sep 17 00:00:00 2001 From: Austin Moore Date: Thu, 2 Feb 2017 11:26:21 -0500 Subject: [PATCH] Add annotations example to README --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index eee512fb57..be47f0b305 100644 --- a/README.md +++ b/README.md @@ -196,6 +196,10 @@ volumes: [ hostPathVolume(mountPath: '/etc/mount4', hostPath: '/mnt/my-mount'), nfsVolume(mountPath: '/etc/mount5', serverAddress: '127.0.0.1', serverPath: '/', readOnly: true), persistentVolumeClaim(mountPath: '/etc/mount6', claimName: 'myClaim', readOnly: true) +], +annotations: [ + podAnnotation(key: "my-key", value: "my-value") + ... ]) { ... }