Skip to content

Commit

Permalink
feat: support extra configures for detector
Browse files Browse the repository at this point in the history
Signed-off-by: ericsyh <[email protected]>
  • Loading branch information
ericsyh committed Oct 18, 2023
1 parent b2c64d8 commit 9989ed5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,13 @@ spec:
name: {{ .Release.Name }}-token-admin
key: TOKEN
{{- end }}
{{- toYaml .Values.pulsar_detector.extraEnv | nindent 10 }}
{{- if .Values.pulsar_detector.extraVolumeMounts }}
volumeMounts:
{{- toYaml .Values.pulsar_detector.extraVolumeMounts | nindent 10 }}
{{- end }}
{{- if .Values.pulsar_detector.extraVolumes }}
volumes:
{{- toYaml .Values.pulsar_detector.extraVolumes | nindent 8 }}
{{- end }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/sn-platform-slim/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1396,6 +1396,9 @@ pulsar_detector:
limits: {}
# memory: "1Gi"
# cpu: "0.4"
extraVolumes: []
extraVolumeMounts: []
extraEnv: []
## Proxy service
## templates/pulsar-detector-service.yaml
##
Expand Down

0 comments on commit 9989ed5

Please sign in to comment.