Skip to content

Commit 7306b97

Browse files
committed
small refactoring around helm values
1 parent 30fc822 commit 7306b97

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ Key values:
8080
| `image.repository` / `.tag` | Container image that provides `kubectl` + `jq` | `ghcr.io/hivemindtechnologies/evict-to-rollout/kubectl-jq` / *(empty = use chart `appVersion`)* |
8181
| `serviceAccount.create` | Whether to create a dedicated SA | `true` |
8282
| `rbac.create` | Whether to install ClusterRole + binding | `true` |
83+
| `nodeSelector` / `tolerations` / `affinity` | Optional scheduling hints | `{}` |
84+
| `podAnnotations` / `podLabels` | Extra metadata for the CronJob pod | `{}` |
85+
| `resources` | CPU/memory requests & limits for the CronJob | `{}` |
8386

8487
See `chart/evict-to-rollout/values.yaml` for the full list.
8588

chart/evict-to-rollout/templates/cronjob.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ spec:
4444
value: {{ .Values.annotationSelector.key | quote }}
4545
- name: ANNOTATION_VALUE
4646
value: {{ .Values.annotationSelector.value | quote }}
47-
{{- range .Values.env }}
48-
- name: {{ .name }}
49-
value: {{ .value | quote }}
50-
{{- end }}
5147
volumeMounts:
5248
- name: script
5349
mountPath: /scripts

chart/evict-to-rollout/values.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ serviceAccount:
1919
rbac:
2020
create: true
2121

22-
env: []
23-
2422
resources: {}
2523

2624
nodeSelector: {}

0 commit comments

Comments
 (0)