Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
8 changes: 4 additions & 4 deletions tests/templates/kuttl/kerberos/20-install-hdfs.txt.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ metadata:
name: hdfs
spec:
image:
{% if test_scenario['values']['hadoop-latest'].find(",") > 0 %}
custom: "{{ test_scenario['values']['hadoop-latest'].split(',')[1] }}"
productVersion: "{{ test_scenario['values']['hadoop-latest'].split(',')[0] }}"
{% if test_scenario['values']['hadoop'].find(",") > 0 %}
custom: "{{ test_scenario['values']['hadoop'].split(',')[1] }}"
productVersion: "{{ test_scenario['values']['hadoop'].split(',')[0] }}"
{% else %}
productVersion: "{{ test_scenario['values']['hadoop-latest'] }}"
productVersion: "{{ test_scenario['values']['hadoop'] }}"
{% endif %}
pullPolicy: IfNotPresent
clusterConfig:
Expand Down
6 changes: 3 additions & 3 deletions tests/templates/kuttl/kerberos/30-access-hdfs.txt.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ spec:
serviceAccountName: test-sa
containers:
- name: access-hdfs
{% if test_scenario['values']['hadoop-latest'].find(",") > 0 %}
image: "{{ test_scenario['values']['hadoop-latest'].split(',')[1] }}"
{% if test_scenario['values']['hadoop'].find(",") > 0 %}
image: "{{ test_scenario['values']['hadoop'].split(',')[1] }}"
{% else %}
image: docker.stackable.tech/stackable/hadoop:{{ test_scenario['values']['hadoop-latest'] }}-stackable0.0.0-dev
image: docker.stackable.tech/stackable/hadoop:{{ test_scenario['values']['hadoop'] }}-stackable0.0.0-dev
{% endif %}
env:
- name: HADOOP_CONF_DIR
Expand Down
6 changes: 3 additions & 3 deletions tests/templates/kuttl/kerberos/32-check-file.txt.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ spec:
serviceAccountName: test-sa
containers:
- name: check-hdfs
{% if test_scenario['values']['hadoop-latest'].find(",") > 0 %}
image: "{{ test_scenario['values']['hadoop-latest'].split(',')[1] }}"
{% if test_scenario['values']['hadoop'].find(",") > 0 %}
image: "{{ test_scenario['values']['hadoop'].split(',')[1] }}"
{% else %}
image: docker.stackable.tech/stackable/hadoop:{{ test_scenario['values']['hadoop-latest'] }}-stackable0.0.0-dev
image: docker.stackable.tech/stackable/hadoop:{{ test_scenario['values']['hadoop'] }}-stackable0.0.0-dev
{% endif %}
env:
- name: HADOOP_CONF_DIR
Expand Down
2 changes: 1 addition & 1 deletion tests/test-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ tests:
- openshift
- name: kerberos
dimensions:
- hadoop-latest # We only support Kerberos for HDFS >= 3.3.x. See rust/operator/src/kerberos.rs for details
- hadoop
- zookeeper-latest
- krb5
- kerberos-realm
Expand Down
Loading