File tree Expand file tree Collapse file tree 8 files changed +137
-41
lines changed
tests/templates/kuttl/overrides Expand file tree Collapse file tree 8 files changed +137
-41
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : kuttl.dev/v1beta1
3+ kind : TestAssert
4+ metadata :
5+ name : test-airflow-postgresql
6+ timeout : 480
7+ ---
8+ apiVersion : apps/v1
9+ kind : StatefulSet
10+ metadata :
11+ name : airflow-postgresql
12+ status :
13+ readyReplicas : 1
14+ replicas : 1
Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : kuttl.dev/v1beta1
3+ kind : TestStep
4+ commands :
5+ - script : >-
6+ helm install airflow-postgresql
7+ --namespace $NAMESPACE
8+ --version 12.5.6
9+ -f helm-bitnami-postgresql-values.yaml
10+ --repo https://charts.bitnami.com/bitnami postgresql
11+ --wait
12+ timeout: 600
Original file line number Diff line number Diff line change 1+ {% if test_scenario ['values' ]['executor' ] == 'celery' %}
2+ ---
3+ apiVersion: kuttl.dev/v1beta1
4+ kind: TestAssert
5+ metadata:
6+ name: test-airflow-redis
7+ timeout: 360
8+ ---
9+ apiVersion: apps/v1
10+ kind: StatefulSet
11+ metadata:
12+ name: airflow-redis-master
13+ status:
14+ readyReplicas: 1
15+ replicas: 1
16+ ---
17+ apiVersion: apps/v1
18+ kind: StatefulSet
19+ metadata:
20+ name: airflow-redis-replicas
21+ status:
22+ readyReplicas: 1
23+ replicas: 1
24+ {% endif %}
Original file line number Diff line number Diff line change 1+ {% if test_scenario ['values' ]['executor' ] == 'celery' %}
2+ ---
3+ apiVersion: kuttl.dev/v1beta1
4+ kind: TestStep
5+ commands:
6+ - script: >-
7+ helm install airflow-redis
8+ --namespace $NAMESPACE
9+ --version 17.11.3
10+ -f helm-bitnami-redis-values.yaml
11+ --repo https://charts.bitnami.com/bitnami redis
12+ --wait
13+ timeout: 600
14+ {% endif %}
Original file line number Diff line number Diff line change 1+ ---
2+ volumePermissions:
3+ enabled: false
4+ securityContext:
5+ runAsUser: auto
6+
7+ primary:
8+ podSecurityContext:
9+ {% if test_scenario ['values' ]['openshift' ] == 'true' %}
10+ enabled: false
11+ {% else %}
12+ enabled: true
13+ {% endif %}
14+ containerSecurityContext:
15+ enabled: false
16+ resources:
17+ requests:
18+ memory: "128Mi"
19+ cpu: "100m"
20+ limits:
21+ memory: "128Mi"
22+ cpu: "400m"
23+ shmVolume:
24+ chmod:
25+ enabled: false
26+
27+ auth:
28+ username: airflow
29+ password: airflow
30+ database: airflow
Original file line number Diff line number Diff line change 1+ ---
2+ volumePermissions:
3+ enabled: false
4+ containerSecurityContext:
5+ runAsUser: auto
6+
7+ master:
8+ podSecurityContext:
9+ {% if test_scenario ['values' ]['openshift' ] == 'true' %}
10+ enabled: false
11+ {% else %}
12+ enabled: true
13+ {% endif %}
14+ containerSecurityContext:
15+ enabled: false
16+ resources:
17+ requests:
18+ memory: "128Mi"
19+ cpu: "200m"
20+ limits:
21+ memory: "128Mi"
22+ cpu: "800m"
23+
24+ replica:
25+ replicaCount: 1
26+ podSecurityContext:
27+ {% if test_scenario ['values' ]['openshift' ] == 'true' %}
28+ enabled: false
29+ {% else %}
30+ enabled: true
31+ {% endif %}
32+ containerSecurityContext:
33+ enabled: false
34+ resources:
35+ requests:
36+ memory: "128Mi"
37+ cpu: "100m"
38+ limits:
39+ memory: "128Mi"
40+ cpu: "400m"
41+
42+ auth:
43+ password: redis
You can’t perform that action at this time.
0 commit comments