diff --git a/tests/templates/kuttl/kerberos/20-install-hdfs.txt.j2 b/tests/templates/kuttl/kerberos/20-install-hdfs.txt.j2 index 7fd711b4..f26491f5 100644 --- a/tests/templates/kuttl/kerberos/20-install-hdfs.txt.j2 +++ b/tests/templates/kuttl/kerberos/20-install-hdfs.txt.j2 @@ -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: diff --git a/tests/templates/kuttl/kerberos/30-access-hdfs.txt.j2 b/tests/templates/kuttl/kerberos/30-access-hdfs.txt.j2 index 5dda7a9d..5864960e 100644 --- a/tests/templates/kuttl/kerberos/30-access-hdfs.txt.j2 +++ b/tests/templates/kuttl/kerberos/30-access-hdfs.txt.j2 @@ -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 diff --git a/tests/templates/kuttl/kerberos/32-check-file.txt.j2 b/tests/templates/kuttl/kerberos/32-check-file.txt.j2 index 947ddf35..84ce4b5a 100644 --- a/tests/templates/kuttl/kerberos/32-check-file.txt.j2 +++ b/tests/templates/kuttl/kerberos/32-check-file.txt.j2 @@ -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 diff --git a/tests/test-definition.yaml b/tests/test-definition.yaml index 17db8ee5..4e657b30 100644 --- a/tests/test-definition.yaml +++ b/tests/test-definition.yaml @@ -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