feat(helm): template assist-stats only for ee

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2023-12-05 10:49:09 +01:00
parent 5323901a12
commit ecc47d2a7d
3 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,4 @@
{{- if .Values.global.enterpriseEditionLicense }}
apiVersion: apps/v1
kind: Deployment
metadata:
@ -86,3 +87,4 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}

View file

@ -1,3 +1,4 @@
{{- if .Values.global.enterpriseEditionLicense }}
apiVersion: v1
kind: Service
metadata:
@ -16,3 +17,4 @@ spec:
{{- end}}
selector:
{{- include "assist-stats.selectorLabels" . | nindent 4 }}
{{- end}}

View file

@ -1,3 +1,4 @@
{{- if .Values.global.enterpriseEditionLicense }}
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
@ -11,3 +12,4 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}