Skip to content

Commit 55f2f08

Browse files
committed
template annotations for the other deployments
Signed-off-by: nepomucen <szymon@aus.krakow.pl>
1 parent 31ee471 commit 55f2f08

File tree

5 files changed

+20
-0
lines changed

5 files changed

+20
-0
lines changed

templates/exporter/exporter-dpl.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ kind: Deployment
44
metadata:
55
name: {{ template "harbor.exporter" . }}
66
namespace: {{ .Release.Namespace | quote }}
7+
{{- with .Values.exporter.annotations }}
8+
annotations:
9+
{{- toYaml . | nindent 4 }}
10+
{{- end }}
711
labels:
812
{{ include "harbor.labels" . | indent 4 }}
913
component: exporter

templates/jobservice/jobservice-dpl.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ kind: Deployment
33
metadata:
44
name: "{{ template "harbor.jobservice" . }}"
55
namespace: {{ .Release.Namespace | quote }}
6+
{{- with .Values.jobservice.annotations }}
7+
annotations:
8+
{{- toYaml . | nindent 4 }}
9+
{{- end }}
610
labels:
711
{{ include "harbor.labels" . | indent 4 }}
812
component: jobservice

templates/portal/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ kind: Deployment
33
metadata:
44
name: "{{ template "harbor.portal" . }}"
55
namespace: {{ .Release.Namespace | quote }}
6+
{{- with .Values.portal.annotations }}
7+
annotations:
8+
{{- toYaml . | nindent 4 }}
9+
{{- end }}
610
labels:
711
{{ include "harbor.labels" . | indent 4 }}
812
component: portal

templates/registry/registry-dpl.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ kind: Deployment
55
metadata:
66
name: "{{ template "harbor.registry" . }}"
77
namespace: {{ .Release.Namespace | quote }}
8+
{{- with .Values.registry.annotations }}
9+
annotations:
10+
{{- toYaml . | nindent 4 }}
11+
{{- end }}
812
labels:
913
{{ include "harbor.labels" . | indent 4 }}
1014
component: registry

values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,7 @@ portal:
519519
serviceAccountName: ""
520520
# mount the service account token
521521
automountServiceAccountToken: false
522+
annotations: {}
522523
replicas: 1
523524
revisionHistoryLimit: 10
524525
# resources:
@@ -653,6 +654,7 @@ jobservice:
653654
serviceAccountName: ""
654655
# mount the service account token
655656
automountServiceAccountToken: false
657+
annotations: {}
656658
replicas: 1
657659
revisionHistoryLimit: 10
658660
# resources:
@@ -730,6 +732,7 @@ registry:
730732
serviceAccountName: ""
731733
# mount the service account token
732734
automountServiceAccountToken: false
735+
annotations: {}
733736
replicas: 1
734737
revisionHistoryLimit: 10
735738
nodeSelector: {}
@@ -1040,6 +1043,7 @@ exporter:
10401043
serviceAccountName: ""
10411044
# mount the service account token
10421045
automountServiceAccountToken: false
1046+
annotations: {}
10431047
replicas: 1
10441048
revisionHistoryLimit: 10
10451049
# resources:

0 commit comments

Comments
 (0)