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

Enable global-hub.open-cluster-management.io/with-inventory: doesn't set the ACL for the kessel-inventory topic #1103

Open
akoserwal opened this issue Sep 13, 2024 · 0 comments

Comments

@akoserwal
Copy link

akoserwal commented Sep 13, 2024

metadata:
  Annotations:
    global-hub.open-cluster-management.io/with-inventory: ''

Kafka user CR create for global hub user

spec:
  authentication:
    type: tls
  authorization:
    acls:
      - host: '*'
        operations:
          - Read
        resource:
          name: '*'
          patternType: literal
          type: group
      - host: '*'
        operations:
          - Write
        resource:
          name: gh-spec
          patternType: literal
          type: topic
      - host: '*'
        operations:
          - Describe
          - Read
        resource:
          name: gh-status.
          patternType: prefix
          type: topic
    type: simple

I don't see the permissions got created

 {{ if .EnableInventoryAPI }}
    - host: '*'
      operations:
      - Describe
      - Read
      - Write
      resource:
        name: {{.KafkaInventoryTopic}}
        patternType: literal
        type: topic
{{ end }}
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