Skip to content

Commit

Permalink
template annotations for the other deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
nepomucen committed Feb 4, 2025
1 parent aa799e7 commit 206e46b
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/exporter/exporter-dpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ kind: Deployment
metadata:
name: {{ template "harbor.exporter" . }}
namespace: {{ .Release.Namespace | quote }}
{{- with .Values.exporter.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{ include "harbor.labels" . | indent 4 }}
component: exporter
Expand Down
4 changes: 4 additions & 0 deletions templates/jobservice/jobservice-dpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ kind: Deployment
metadata:
name: "{{ template "harbor.jobservice" . }}"
namespace: {{ .Release.Namespace | quote }}
{{- with .Values.jobservice.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{ include "harbor.labels" . | indent 4 }}
component: jobservice
Expand Down
4 changes: 4 additions & 0 deletions templates/portal/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ kind: Deployment
metadata:
name: "{{ template "harbor.portal" . }}"
namespace: {{ .Release.Namespace | quote }}
{{- with .Values.portal.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{ include "harbor.labels" . | indent 4 }}
component: portal
Expand Down
4 changes: 4 additions & 0 deletions templates/registry/registry-dpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ kind: Deployment
metadata:
name: "{{ template "harbor.registry" . }}"
namespace: {{ .Release.Namespace | quote }}
{{- with .Values.registry.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{ include "harbor.labels" . | indent 4 }}
component: registry
Expand Down
4 changes: 4 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ portal:
serviceAccountName: ""
# mount the service account token
automountServiceAccountToken: false
annotations: {}
replicas: 1
revisionHistoryLimit: 10
# resources:
Expand Down Expand Up @@ -653,6 +654,7 @@ jobservice:
serviceAccountName: ""
# mount the service account token
automountServiceAccountToken: false
annotations: {}
replicas: 1
revisionHistoryLimit: 10
# resources:
Expand Down Expand Up @@ -730,6 +732,7 @@ registry:
serviceAccountName: ""
# mount the service account token
automountServiceAccountToken: false
annotations: {}
replicas: 1
revisionHistoryLimit: 10
nodeSelector: {}
Expand Down Expand Up @@ -1040,6 +1043,7 @@ exporter:
serviceAccountName: ""
# mount the service account token
automountServiceAccountToken: false
annotations: {}
replicas: 1
revisionHistoryLimit: 10
# resources:
Expand Down

0 comments on commit 206e46b

Please sign in to comment.