Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contrib: Add annotations to clair deployment manifest template #1858

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions contrib/openshift/manifests/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ objects:
labels:
service: indexer
app: clair
annotations:
${{CLAIR_INDEXER_ANNOTATIONS_KEY}}: ${{CLAIR_INDEXER_ANNOTATIONS_VALUE}}
spec:
serviceAccountName: ${SERVICE_ACCOUNT}
volumes:
Expand Down Expand Up @@ -110,6 +112,8 @@ objects:
labels:
service: matcher
app: clair
annotations:
${{CLAIR_MATCHER_ANNOTATIONS_KEY}}: ${{CLAIR_MATCHER_ANNOTATIONS_VALUE}}
spec:
serviceAccountName: ${SERVICE_ACCOUNT}
volumes:
Expand Down Expand Up @@ -176,6 +180,8 @@ objects:
labels:
service: notifier
app: clair
annotations:
${{CLAIR_NOTIFIER_ANNOTATIONS_KEY}}: ${{CLAIR_NOTIFIER_ANNOTATIONS_VALUE}}
spec:
serviceAccountName: ${SERVICE_ACCOUNT}
volumes:
Expand Down Expand Up @@ -394,3 +400,15 @@ parameters:
value: "clair"
displayName: clair service account
description: name of the service account to use for API interaction
- name: CLAIR_INDEXER_ANNOTATIONS_KEY
value: "pod-restart-annotation"
- name: CLAIR_INDEXER_ANNOTATIONS_VALUE
value: "update-me-to-restart"
- name: CLAIR_MATCHER_ANNOTATIONS_KEY
value: "pod-restart-annotation"
- name: CLAIR_MATCHER_ANNOTATIONS_VALUE
value: "update-me-to-restart"
- name: CLAIR_NOTIFIER_ANNOTATIONS_KEY
value: "pod-restart-annotation"
- name: CLAIR_NOTIFIER_ANNOTATIONS_VALUE
value: "update-me-to-restart"
Loading