| 1 |
// Copyright 2019 The Kubernetes Authors. |
| 2 |
// SPDX-License-Identifier: Apache-2.0 |
| 3 |
|
| 4 |
package builtinpluginconsts |
| 5 |
|
| 6 |
const commonAnnotationFieldSpecs = ` |
| 7 |
commonAnnotations: |
| 8 |
- path: metadata/annotations |
| 9 |
create: true |
| 10 |
|
| 11 |
- path: spec/template/metadata/annotations |
| 12 |
create: true |
| 13 |
version: v1 |
| 14 |
kind: ReplicationController |
| 15 |
|
| 16 |
- path: spec/template/metadata/annotations |
| 17 |
create: true |
| 18 |
kind: Deployment |
| 19 |
|
| 20 |
- path: spec/template/metadata/annotations |
| 21 |
create: true |
| 22 |
kind: ReplicaSet |
| 23 |
|
| 24 |
- path: spec/template/metadata/annotations |
| 25 |
create: true |
| 26 |
kind: DaemonSet |
| 27 |
|
| 28 |
- path: spec/template/metadata/annotations |
| 29 |
create: true |
| 30 |
kind: StatefulSet |
| 31 |
|
| 32 |
- path: spec/template/metadata/annotations |
| 33 |
create: true |
| 34 |
group: batch |
| 35 |
kind: Job |
| 36 |
|
| 37 |
- path: spec/jobTemplate/metadata/annotations |
| 38 |
create: true |
| 39 |
group: batch |
| 40 |
kind: CronJob |
| 41 |
|
| 42 |
- path: spec/jobTemplate/spec/template/metadata/annotations |
| 43 |
create: true |
| 44 |
group: batch |
| 45 |
kind: CronJob |
| 46 |
|
| 47 |
` |