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

Add json example for nested object in the doc #1070

Open
zodd3131 opened this issue Dec 13, 2024 · 0 comments
Open

Add json example for nested object in the doc #1070

zodd3131 opened this issue Dec 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@zodd3131
Copy link

Describe the feature
A new feature has been added that provides the ability to pass broker.properties through a json secret.
ActiveMQArtemisSecurity is now a deprecated resource and it's now recommanded to provide configuration with spec.brokerProperties. I would like to implement what it is described here : providing-additional-brokerproperties-configuration-from-a-secret).
How to write nested object and what to escape as characters?
How to translate the yaml below into a json secret?

securitySettings:
    broker:
      - match: "app.europe.#"
        permissions:
          - operationType: createNonDurableQueue
            roles: ["admin"]
          - operationType: deleteNonDurableQueue
            roles: ["admin"]
          - operationType: createDurableQueue
            roles: ["admin"]
          - operationType: deleteDurableQueue
            roles: ["admin"]
          - operationType: createAddress
            roles: ["admin"]
          - operationType: deleteAddress
            roles: ["admin"]
          - operationType: createAddress
            roles: ["admin"]
          - operationType: consume
            roles: ["admin", "guest"]
          - operationType: send
            roles: ["admin"]

I would like to complete the documentation with more complex examples.

Tip

Vote this issue reacting with 👍 or 👎

@zodd3131 zodd3131 added the enhancement New feature or request label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant