Skip to content

Commit

Permalink
BC-5112 - add Annotations to deployment for Restart
Browse files Browse the repository at this point in the history
  • Loading branch information
mamutmk5 authored Sep 27, 2024
1 parent a182692 commit b2f842f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ kind: Deployment
metadata:
name: antivirus-scanfile-deployment
namespace: {{ NAMESPACE }}
{% if ANNOTATIONS is defined and ANNOTATIONS|bool %}
annotations:
{% if RELOADER is defined and RELOADER|bool %}
reloader.stakater.com/auto: "true"
{% endif %}
{% endif %}
labels:
app: antivirus
antivirus: scanfile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ kind: Deployment
metadata:
name: antivirus-webserver-deployment
namespace: {{ NAMESPACE }}
{% if ANNOTATIONS is defined and ANNOTATIONS|bool %}
annotations:
{% if RELOADER is defined and RELOADER|bool %}
reloader.stakater.com/auto: "true"
{% endif %}
{% endif %}
labels:
app: antivirus
antivirus: webserver
Expand Down

0 comments on commit b2f842f

Please sign in to comment.