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

Issues with Kafka User creation #1079

Open
2 tasks done
malindarathnayake-fts opened this issue Feb 23, 2024 · 0 comments
Open
2 tasks done

Issues with Kafka User creation #1079

malindarathnayake-fts opened this issue Feb 23, 2024 · 0 comments

Comments

@malindarathnayake-fts
Copy link

malindarathnayake-fts commented Feb 23, 2024

Description

We are trying to add a user auth with sasl-plaintext set on external listener

Following the sample configuration, we applied the following. Test-topic is created and we can send and get messages from it (tested with Plain TEXT)

apiVersion: kafka.banzaicloud.io/v1alpha1
kind: KafkaUser
metadata:
  name: example-kafkauser
  namespace: kafka-dev
spec:
  clusterRef:
    name: kafka
  secretName: example-kafkauser-secret
  topicGrants:
    - topicName: test-topic
      accessType: read
    - topicName: test-topic
      accessType: write

#664

Based on this closed issue, to confirm having SSL enabled is a prerequisite to creating a user?

Expected Behavior

Password for the user should be stored as a secret in the Namespace

Actual Behavior

We can see the user but the secret is not being generated

Affected Version

Please provide the version number where this issue was encountered.

Steps to Reproduce

Create a user

apiVersion: kafka.banzaicloud.io/v1alpha1
kind: KafkaUser
metadata:
  name: example-kafkauser
  namespace: kafka-dev
spec:
  clusterRef:
    name: kafka
  secretName: example-kafkauser-secret
  topicGrants:
    - topicName: test-topic
      accessType: read
    - topicName: test-topic
      accessType: write

Checklist

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

No branches or pull requests

1 participant