Skip to content

Commit

Permalink
Support for extra pod annotations (#331)
Browse files Browse the repository at this point in the history
* Support for extra pod annotations
  • Loading branch information
bakito authored Jun 23, 2023
1 parent 3983f2d commit 32f9171
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ sources:
- https://github.com/bakito/k8s-event-logger-operator
annotations:
artifacthub.io/changes: |
- Allow revisionHistoryLimit to be configured in values
- Allow additional pid annotations
icon: https://raw.githubusercontent.com/bakito/k8s-event-logger-operator/main/docs/chart-logo.png
1 change: 1 addition & 0 deletions helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ helm install k8s-event-logger-operator bakito/k8s-event-logger-operator
| eventLogger.leaderElectionResourceLock | string | `nil` | Leader election lock type |
| eventLogger.resources | object | `{"limits":{"cpu":"200m","memory":"256Mi"},"requests":{"cpu":"100m","memory":"64Mi"}}` | Resource limits and requests for the logger pods. |
| eventLogger.securityContext | object | `{}` | Security Context for the logger pods. |
| extraPodAnnotations | object | `{}` | Add additional pod [annotations] |
| extraPodLabels | object | `{}` | Add additional pod [labels] |
| fullnameOverride | string | `""` | String to fully override "argo-rollouts.fullname" template |
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
Expand Down
4 changes: 4 additions & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ spec:
{{- with .Values.extraPodLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
{{- with .Values.extraPodAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
serviceAccountName: {{ include "k8s-event-logger-operator.serviceAccountName" . }}
containers:
Expand Down
3 changes: 3 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,8 @@ tolerations: [ ]
# -- Assign custom [affinity] rules to the deployment
affinity: { }

# -- Add additional pod [annotations]
extraPodAnnotations: { }

# -- Add additional pod [labels]
extraPodLabels: { }

0 comments on commit 32f9171

Please sign in to comment.