Skip to content

Commit

Permalink
chore: add optional client profiles in helm chart (#2322)
Browse files Browse the repository at this point in the history
Co-authored-by: Amir Blum <[email protected]>
  • Loading branch information
AvihuHenya and blumamir authored Jan 29, 2025
1 parent 347106c commit 2b506f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 38 deletions.
41 changes: 3 additions & 38 deletions helm/odigos/templates/odigos-config-cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,48 +76,13 @@ data:
{{- end }}
{{- end }}
instrumentorImage: {{ .Values.instrumentor.image.repository }}
{{- if .Values.profiles }}
profiles: {{- toYaml .Values.profiles | nindent 8 }}
{{- end }}
telemetryEnabled: {{ .Values.telemetry.enabled }}
openshiftEnabled: {{ .Values.openshift.enabled }}
psp: {{ .Values.psp.enabled }}
ignoredNamespaces:
{{- toYaml .Values.ignoredNamespaces | nindent 8 }}
ignoredContainers:
{{- toYaml .Values.ignoredContainers | nindent 8 }}
{{- if .Values.onPremToken }}
defaultSDKs:
dotnet:
sdkTier: community
sdkType: native
go:
sdkTier: enterprise
sdkType: ebpf
java:
sdkTier: enterprise
sdkType: ebpf
javascript:
sdkTier: enterprise
sdkType: ebpf
python:
sdkTier: enterprise
sdkType: ebpf
mysql:
sdkTier: enterprise
sdkType: ebpf
{{- else }}
defaultSDKs:
dotnet:
sdkTier: community
sdkType: native
go:
sdkTier: community
sdkType: ebpf
java:
sdkTier: community
sdkType: native
javascript:
sdkTier: community
sdkType: native
python:
sdkTier: community
sdkType: native
{{- end }}
3 changes: 3 additions & 0 deletions helm/odigos/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,6 @@ openshift:

gke:
enabled: false

profiles: []

0 comments on commit 2b506f0

Please sign in to comment.