Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
#2007 Add tolerations and affinity to azure hook
The elastic hook snapshot for the tests was mising the tolerations and
affinity fields for some reason, which made the tests fail.

Signed-off-by: Lukas Fischer <lukas.fischer@iteratec.com>
  • Loading branch information
Lukas Fischer
Lukas Fischer committed Oct 4, 2023
commit 44ca1ac73f37d7d3f45dc33327b426709bd6bea2
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ matches the snapshot:
type: Structured
name: RELEASE-NAME-persistence-elastic
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: foo
operator: In
values:
- bar
- baz
env:
- name: ELASTICSEARCH_INDEX_PREFIX
value: scbv2
Expand All @@ -53,6 +63,11 @@ matches the snapshot:
requests:
cpu: 100m
memory: 100Mi
tolerations:
- effect: NoSchedule
key: foo
operator: Exists
value: value1
ttlSecondsAfterFinished: 100
type: ReadOnly
volumeMounts:
Expand Down