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

[Dependency Track] Pod annotations #242

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
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
6 changes: 6 additions & 0 deletions charts/dependency-track/templates/backend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ spec:
template:
metadata:
labels: {{- include "backend.labels.standard" . | nindent 8 }}
{{- if .Values.apiserver.podLabels }}
{{- include "common.tplvalues.render" (dict "value" .Values.apiserver.podLabels "context" $) | nindent 8 }}
{{- end }}
{{- if .Values.apiserver.podAnnotations }}
annotations: {{- include "common.tplvalues.render" (dict "value" .Values.apiserver.podAnnotations "context" $) | nindent 8 }}
{{- end }}
spec:
{{- with .Values.global.imagePullSecrets }}
imagePullSecrets: {{- toYaml . | nindent 6 }}
Expand Down
6 changes: 6 additions & 0 deletions charts/dependency-track/templates/frontend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ spec:
template:
metadata:
labels: {{- include "frontend.labels.standard" . | nindent 8 }}
{{- if .Values.frontend.podLabels }}
{{- include "common.tplvalues.render" (dict "value" .Values.frontend.podLabels "context" $) | nindent 8 }}
{{- end }}
{{- if .Values.frontend.podAnnotations }}
annotations: {{- include "common.tplvalues.render" (dict "value" .Values.frontend.podAnnotations "context" $) | nindent 8 }}
{{- end }}
spec:
{{- with .Values.global.imagePullSecrets }}
imagePullSecrets: {{- toYaml . | nindent 6 }}
Expand Down
10 changes: 10 additions & 0 deletions charts/dependency-track/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ global:
# -- config of the frontend
frontend:
enabled: true
# Annotations for the frontend deployment
annotations: {}
# Annotations for the frontend pods
podAnnotations: {}
# Additional labels for the frontend pods
podLabels: {}
replicaCount: 2
image:
repository: dependencytrack/frontend
Expand Down Expand Up @@ -90,7 +95,12 @@ frontend:
# -- config of the apiserver
apiserver:
enabled: true
# Annotations for the apiserver deployment
annotations: {}
# Annotations for the apiserver pods
podAnnotations: {}
# Additional labels for the apiserver pods
podLabels: {}
# Max: 1 - DT is not designed for HA
replicaCount: 1
image:
Expand Down