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

helm: adding annotations to upgrade jobs #692

Merged
merged 4 commits into from
Aug 16, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions manifest_staging/charts/secrets-store-csi-driver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ The following table lists the configurable parameters of the csi-secrets-store-p
| `linux.livenessProbe.resources` | The resource request/limits for the linux liveness-probe container image | `limits: 100m CPU, 100Mi; requests: 10m CPU, 20Mi` |
| `linux.env` | Environment variables to be passed for the daemonset on linux nodes | `[]` |
| `linux.priorityClassName` | Indicates the importance of a Pod relative to other Pods. | `""` |
| `linux.crds.annotations` | Linux *helm hook* annotations | `{}` |
| `linux.daemonsetAnnotations` | Linux *DaemonSet* annotations | `{}` |
| `linux.podAnnotations` | Linux *Pod* annotations | `{}` |
| `linux.podLabels` | Linux *Pod* labels | `{}` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ spec:
template:
metadata:
name: {{ template "sscd.fullname" . }}-upgrade-crds
{{- if .Values.linux.crds.annotations }}
annotations:
{{ toYaml .Values.linux.crds.annotations}}
{{- end }}
spec:
serviceAccountName: {{ template "sscd.fullname" . }}-upgrade-crds
restartPolicy: Never
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ spec:
template:
metadata:
name: {{ template "sscd.fullname" . }}-keep-crds
{{- if .Values.linux.crds.annotations }}
annotations:
{{ toYaml .Values.linux.crds.annotations}}
{{- end }}
spec:
serviceAccountName: {{ template "sscd.fullname" . }}-keep-crds
restartPolicy: Never
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ linux:
repository: k8s.gcr.io/csi-secrets-store/driver-crds
tag: v0.2.0
pullPolicy: IfNotPresent
annotations: {}

## Prevent the CSI driver from being scheduled on virtual-kublet nodes
affinity:
Expand Down