Skip to content

Commit

Permalink
Implemented a possibility to disable gops via helm
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksandr Kubashov <okubashov@gmail.com>
  • Loading branch information
XelK authored and mtardy committed Oct 2, 2024
1 parent 71e4b06 commit 94359f5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/content/en/docs/reference/helm-chart.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions install/kubernetes/tetragon/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions install/kubernetes/tetragon/templates/tetragon_configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ data:
{{- else }}
health-server-address: ""
{{- end }}
{{- if .Values.tetragon.gops.enabled }}
gops-address: {{ .Values.tetragon.gops.address }}:{{ .Values.tetragon.gops.port }}
{{- end }}
{{- if .Values.tetragon.enablePolicyFilter }}
enable-policy-filter: "true"
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions install/kubernetes/tetragon/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ tetragon:
# -- The address at which to expose gRPC. Examples: localhost:54321, unix:///var/run/cilum/tetragon/tetragon.sock
address: "localhost:54321"
gops:
# -- Whether to enable exposing gops server.
enabled: true
# -- The address at which to expose gops.
address: "localhost"
# -- The port at which to expose gops.
Expand Down

0 comments on commit 94359f5

Please sign in to comment.