@@ -38,6 +38,8 @@ objects:
38
38
labels :
39
39
service : indexer
40
40
app : clair
41
+ annotations :
42
+ ${{CLAIR_INDEXER_ANNOTATIONS_KEY}} : ${{CLAIR_INDEXER_ANNOTATIONS_VALUE}}
41
43
spec :
42
44
serviceAccountName : ${SERVICE_ACCOUNT}
43
45
volumes :
@@ -110,6 +112,8 @@ objects:
110
112
labels :
111
113
service : matcher
112
114
app : clair
115
+ annotations :
116
+ ${{CLAIR_MATCHER_ANNOTATIONS_KEY}} : ${{CLAIR_MATCHER_ANNOTATIONS_VALUE}}
113
117
spec :
114
118
serviceAccountName : ${SERVICE_ACCOUNT}
115
119
volumes :
@@ -176,6 +180,8 @@ objects:
176
180
labels :
177
181
service : notifier
178
182
app : clair
183
+ annotations :
184
+ ${{CLAIR_NOTIFIER_ANNOTATIONS_KEY}} : ${{CLAIR_NOTIFIER_ANNOTATIONS_VALUE}}
179
185
spec :
180
186
serviceAccountName : ${SERVICE_ACCOUNT}
181
187
volumes :
@@ -394,3 +400,15 @@ parameters:
394
400
value : " clair"
395
401
displayName : clair service account
396
402
description : name of the service account to use for API interaction
403
+ - name : CLAIR_INDEXER_ANNOTATIONS_KEY
404
+ value : " pod-restart-annotation"
405
+ - name : CLAIR_INDEXER_ANNOTATIONS_VALUE
406
+ value : " update-me-to-restart"
407
+ - name : CLAIR_MATCHER_ANNOTATIONS_KEY
408
+ value : " pod-restart-annotation"
409
+ - name : CLAIR_MATCHER_ANNOTATIONS_VALUE
410
+ value : " update-me-to-restart"
411
+ - name : CLAIR_NOTIFIER_ANNOTATIONS_KEY
412
+ value : " pod-restart-annotation"
413
+ - name : CLAIR_NOTIFIER_ANNOTATIONS_VALUE
414
+ value : " update-me-to-restart"
0 commit comments