Skip to content

Commit

Permalink
Feat: Allow adding annoations to the Deployment (#75)
Browse files Browse the repository at this point in the history
* Feat: Allow adding annoations to the Deployment

* Bumping chart version

Signed-off-by: David Collom <[email protected]>

Signed-off-by: David Collom <[email protected]>
  • Loading branch information
davidcollom authored Dec 19, 2022
1 parent b7e3bda commit 8667558
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/cloudflare-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: cloudflare-exporter
version: 0.1.8
version: 0.1.9
appVersion: 0.0.9
home: https://github.com/lablabs/cloudflare-exporter
description: A Helm chart for cloudflare exporter
Expand Down
3 changes: 3 additions & 0 deletions charts/cloudflare-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ metadata:
name: {{ include "cloudflare-exporter.fullname" . }}
labels:
{{- include "cloudflare-exporter.labels" . | nindent 4 }}
{{- with .Values.deploymentAnnotations }}
annotations: {{- toYaml . | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
Expand Down
2 changes: 2 additions & 0 deletions charts/cloudflare-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ fullnameOverride: ""

podAnnotations: {}

deploymentAnnotations: {}

podSecurityContext: {}
# fsGroup: 2000

Expand Down

0 comments on commit 8667558

Please sign in to comment.