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 annotations to nats cluster #111

Merged

Conversation

arminbuerkle
Copy link

Currently there is no way to propagate annotations from the nats cluster to the pods it creates.

This PR adds Annotations to the cluster spec which will be propagated to the pods it launches.

It is helpfull for example when enabling istio in the same namespace as the nats-cluster, see #88.
With this PR you can now specify

pod:
  annotations:
    sidecar.istio.io/inject: "false"

to disable istio on your nats pods.

Copy link
Member

@wallyqs wallyqs left a comment

Choose a reason for hiding this comment

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

LGTM

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.

2 participants