Skip to content

Exclude TLS combinations that we don't want to support #767

@adwk67

Description

@adwk67

Investigate if we want to allow users to enable mutual tls, without enabling tls. The current implementation allows this.

Background

Some Kafka integration tests (e.g. upgrade_zookeeper-3.9.2_upgrade_old-3.7.1_upgrade_new-3.8.0_use-client-tls-false_use-client-auth-tls-true_openshift-false) allow a combination that we may want to exclude. It sets internalSecretClass but not serverSecretClass:

{% if test_scenario['values']['use-client-auth-tls'] == 'true' %}
    authentication:
      - authenticationClass: test-kafka-client-auth-tls
{% endif %}
    tls:
{% if test_scenario['values']['use-client-tls'] == 'true' %}
      serverSecretClass: tls
{% else %}
      serverSecretClass: null
{% endif %}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions