cdbartholomew commented on issue #110: URL: https://github.com/apache/pulsar-helm-chart/issues/110#issuecomment-846198394
@michaeljmarshall Helm has a built-in variable that can tell you whether it is doing an install or an upgrade. For example, you can do something like this: ``` {{- if .Release.IsInstall }} do something {{ end }} ``` Alternatively, you can use [Helm Hooks](https://helm.sh/docs/topics/charts_hooks/). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org