Skip to content

Commit

Permalink
Add pod Annotations (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
peimanja authored Feb 4, 2021
1 parent 055146c commit f346d1f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/prometheus-artifactory-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.9.1"
description: A Helm chart for the Prometheus Artifactory Exporter
name: prometheus-artifactory-exporter
version: 0.1.2
version: 0.1.3
keywords:
- metrics
- artifactory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ spec:
labels:
app: {{ template "prometheus-artifactory-exporter.name" . }}
release: {{ .Release.Name }}
{{- if .Values.podAnnotations }}
annotations:
{{ toYaml .Values.statefulSet.annotations | nindent 8 }}
{{- end }}
spec:
serviceAccountName: {{ template "prometheus-artifactory-exporter.serviceAccountName" . }}
{{- with .Values.initContainers }}
Expand Down
2 changes: 2 additions & 0 deletions charts/prometheus-artifactory-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ image:
nameOverride: ""
fullnameOverride: ""

podAnnotations: {}

# Add your artifactory server details here
# user/pass or accessToken with admin permission hast to be set
# or set the existingSecret
Expand Down

0 comments on commit f346d1f

Please sign in to comment.