Skip to content

Commit

Permalink
keep hook annotations for crds installed from upstream operator chart (
Browse files Browse the repository at this point in the history
  • Loading branch information
jinja2 authored Jan 17, 2025
1 parent e0fcb92 commit 6f8d5a6
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
app.kubernetes.io/component: otel-operator
{{- if .Values.operator.crds.create }}
annotations:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-weight": "5"
{{- end }}
spec:
exporter:
endpoint: {{ include "splunk-otel-collector.operator.instrumentation-exporter-endpoint" . }}
Expand Down

0 comments on commit 6f8d5a6

Please sign in to comment.