-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path10-assert.yaml.j2
More file actions
39 lines (39 loc) · 957 Bytes
/
10-assert.yaml.j2
File metadata and controls
39 lines (39 loc) · 957 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
apiVersion: kuttl.dev/v1beta1
kind: TestAssert
timeout: 300
commands:
- script: kubectl -n $NAMESPACE wait --for=condition=available opaclusters.opa.stackable.tech/test-opa --timeout 301s
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: test-opa-server-default
spec:
updateStrategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
template:
spec:
containers:
- name: opa
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 250m
memory: 256Mi
- name: bundle-builder
resources:
limits:
cpu: 200m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
{% if lookup('env', 'VECTOR_AGGREGATOR') %}
- name: vector
{% endif %}
terminationGracePeriodSeconds: 125 # 2 minutes + 5s safety buffer