Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added internal SSL listener test #1017

Merged
merged 9 commits into from
Jul 26, 2023
Merged

Conversation

Kuvesz
Copy link
Contributor

@Kuvesz Kuvesz commented Jul 19, 2023

Description

Added SSL support for internal listener E2E tests.

Type of Change

  • Other (E2E testing)

Checklist

  • I have read the contributing guidelines
  • I have verified this change is not present in other open pull requests
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

@Kuvesz Kuvesz requested a review from a team as a code owner July 19, 2023 15:28
@Kuvesz Kuvesz force-pushed the tests/e2e-ssl-produce-consume branch from 53ec398 to 50ecf33 Compare July 19, 2023 15:29
@banzaicloud banzaicloud deleted a comment from CLAassistant Jul 19, 2023
panyuenlau
panyuenlau previously approved these changes Jul 20, 2023
Copy link
Member

@panyuenlau panyuenlau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm at first glance

@pregnor pregnor mentioned this pull request Jul 20, 2023
6 tasks
pregnor
pregnor previously approved these changes Jul 20, 2023
Copy link
Member

@pregnor pregnor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM at a glance.

Comment on lines 55 to 61
templateParameters := map[string]interface{}{
"Name": userName,
"Namespace": kubectlOptions.Namespace,
}
if tlsSecretName != "" {
templateParameters["TLSSecretName"] = tlsSecretName
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: In the future we might want to extract these into a kafkaUser(userName, namespace, optionalTLSSecretName string) (KafkaUser, error) function, looks reusable.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, fair, I'll add it to the internal refactor ticket if that is okay.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure

tests/e2e/templates/user.yaml.tmpl Outdated Show resolved Hide resolved
@Kuvesz Kuvesz dismissed stale reviews from pregnor and panyuenlau via aaedad0 July 20, 2023 12:47
pregnor
pregnor previously approved these changes Jul 20, 2023
@Kuvesz Kuvesz requested a review from panyuenlau July 20, 2023 12:56
panyuenlau
panyuenlau previously approved these changes Jul 20, 2023
@Kuvesz Kuvesz dismissed stale reviews from panyuenlau and pregnor via 580b898 July 20, 2023 13:17
@Kuvesz Kuvesz merged commit e50cc40 into master Jul 26, 2023
4 checks passed
@Kuvesz Kuvesz deleted the tests/e2e-ssl-produce-consume branch July 26, 2023 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants