Skip to content

Commit

Permalink
feat(etcd-backup): podAnnotations (#1371)
Browse files Browse the repository at this point in the history
  • Loading branch information
eyenx authored Jan 30, 2025
1 parent a4f97c1 commit 89089df
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions charts/kubernetes-etcd-backup/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v2
name: kubernetes-etcd-backup
description: Chart for kubernetes-etcd-backup solution
type: application
version: 1.5.1
version: 1.6.0
appVersion: v1.4.0
keywords:
- kubernetes-etcd-backup
Expand All @@ -21,7 +21,4 @@ annotations:
artifacthub.io/containsSecurityUpdates: "false"
artifacthub.io/changes: |
- kind: changed
description: "Add support for s3 storage"
links:
- name: "kubernetes-etcd-backup v1.4.0"
url: https://github.com/adfinis/kubernetes-etcd-backup/releases/tag/v1.4.0
description: "Add support for podAnnotations"
3 changes: 2 additions & 1 deletion charts/kubernetes-etcd-backup/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions charts/kubernetes-etcd-backup/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ spec:
# job immediately if the first execution fails.
backoffLimit: 0
template:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 10 }}
{{- end }}
spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 12 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/kubernetes-etcd-backup/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,6 @@ podSecurityContext:
# runAsUser: 0
# # -- Set group ID
# runAsGroup: 0

# -- Custom pod annotations for the running pod
podAnnotations: {}

0 comments on commit 89089df

Please sign in to comment.