diff --git a/scripts/helmcharts/openreplay/charts/assist-stats/templates/deployment.yaml b/scripts/helmcharts/openreplay/charts/assist-stats/templates/deployment.yaml index 7d4941122..014facacb 100644 --- a/scripts/helmcharts/openreplay/charts/assist-stats/templates/deployment.yaml +++ b/scripts/helmcharts/openreplay/charts/assist-stats/templates/deployment.yaml @@ -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 }} diff --git a/scripts/helmcharts/openreplay/charts/assist-stats/templates/service.yaml b/scripts/helmcharts/openreplay/charts/assist-stats/templates/service.yaml index 7ca2ddb1d..a6e2497b8 100644 --- a/scripts/helmcharts/openreplay/charts/assist-stats/templates/service.yaml +++ b/scripts/helmcharts/openreplay/charts/assist-stats/templates/service.yaml @@ -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}} diff --git a/scripts/helmcharts/openreplay/charts/assist-stats/templates/serviceaccount.yaml b/scripts/helmcharts/openreplay/charts/assist-stats/templates/serviceaccount.yaml index 1fb01d758..3804ac400 100644 --- a/scripts/helmcharts/openreplay/charts/assist-stats/templates/serviceaccount.yaml +++ b/scripts/helmcharts/openreplay/charts/assist-stats/templates/serviceaccount.yaml @@ -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 }}