-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy Helm chart values doc to docs reference #1288
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
--- | ||
title: "Helm chart" | ||
description: "This reference is generated from the Tetragon Helm chart values." | ||
--- | ||
|
||
{{< comment >}} | ||
This page was generated with github.io/cilium/tetragon/install/kubernetes/export-doc.sh, | ||
please do not edit directly. | ||
{{< /comment >}} | ||
|
||
The Tetragon Helm chart source is available under | ||
[github.io/cilium/tetragon/install/kubernetes](https://github.com/cilium/tetragon/tree/main/install/kubernetes) | ||
and is distributed from the Cilium helm charts repository [helm.cilium.io](https://helm.cilium.io). | ||
|
||
To deploy Tetragon using this Helm chart you can run the following commands: | ||
```shell-session | ||
helm repo add cilium https://helm.cilium.io | ||
helm repo update | ||
helm install tetragon cilium/tetragon -n kube-system | ||
``` | ||
|
||
To use [the values available](#values), with `helm install` or `helm upgrade`, use `--set key=value`. | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| affinity | object | `{}` | | | ||
| daemonSetAnnotations | object | `{}` | | | ||
| daemonSetLabelsOverride | object | `{}` | | | ||
| dnsPolicy | string | `"Default"` | | | ||
| enabled | bool | `true` | | | ||
| export.filenames[0] | string | `"tetragon.log"` | | | ||
| export.mode | string | `"stdout"` | | | ||
| export.resources | object | `{}` | | | ||
| export.securityContext | object | `{}` | | | ||
| export.stdout.argsOverride | list | `[]` | | | ||
| export.stdout.commandOverride | list | `[]` | | | ||
| export.stdout.enabledArgs | bool | `true` | | | ||
| export.stdout.enabledCommand | bool | `true` | | | ||
| export.stdout.extraEnv | list | `[]` | | | ||
| export.stdout.extraVolumeMounts | list | `[]` | | | ||
| export.stdout.image.override | string | `nil` | | | ||
| export.stdout.image.repository | string | `"quay.io/cilium/hubble-export-stdout"` | | | ||
| export.stdout.image.tag | string | `"v1.0.3"` | | | ||
| exportDirectory | string | `"/var/run/cilium/tetragon"` | | | ||
| exportFileCreationInterval | string | `"120s"` | | | ||
| extraConfigmapMounts | list | `[]` | | | ||
| extraHostPathMounts | list | `[]` | | | ||
| extraVolumes | list | `[]` | | | ||
| hostNetwork | bool | `true` | | | ||
| imagePullPolicy | string | `"IfNotPresent"` | | | ||
| imagePullSecrets | list | `[]` | | | ||
| nodeSelector | object | `{}` | | | ||
| podAnnotations | object | `{}` | | | ||
| podLabelsOverride | object | `{}` | | | ||
| podSecurityContext | object | `{}` | | | ||
| selectorLabelsOverride | object | `{}` | | | ||
| serviceAccount.annotations | object | `{}` | | | ||
| serviceAccount.create | bool | `true` | | | ||
| serviceAccount.name | string | `""` | | | ||
| serviceLabelsOverride | object | `{}` | | | ||
| tetragon.argsOverride | list | `[]` | | | ||
| tetragon.btf | string | `""` | | | ||
| tetragon.commandOverride | list | `[]` | | | ||
| tetragon.enableCiliumAPI | bool | `false` | | | ||
| tetragon.enableK8sAPI | bool | `true` | | | ||
| tetragon.enableMsgHandlingLatency | bool | `false` | | | ||
| tetragon.enablePolicyFilter | bool | `false` | | | ||
| tetragon.enablePolicyFilterDebug | bool | `false` | | | ||
| tetragon.enableProcessCred | bool | `false` | | | ||
| tetragon.enableProcessNs | bool | `false` | | | ||
| tetragon.enabled | bool | `true` | | | ||
| tetragon.exportAllowList | string | `"{\"event_set\":[\"PROCESS_EXEC\", \"PROCESS_EXIT\", \"PROCESS_KPROBE\", \"PROCESS_UPROBE\"]}"` | | | ||
| tetragon.exportDenyList | string | `"{\"health_check\":true}\n{\"namespace\":[\"\", \"cilium\", \"kube-system\"]}"` | | | ||
| tetragon.exportFileCompress | bool | `false` | | | ||
| tetragon.exportFileMaxBackups | int | `5` | | | ||
| tetragon.exportFileMaxSizeMB | int | `10` | | | ||
| tetragon.exportFilename | string | `"tetragon.log"` | | | ||
| tetragon.exportRateLimit | int | `-1` | | | ||
| tetragon.extraArgs | object | `{}` | | | ||
| tetragon.extraEnv | list | `[]` | | | ||
| tetragon.extraVolumeMounts | list | `[]` | | | ||
| tetragon.fieldFilters | string | `"{}"` | | | ||
| tetragon.gops.address | string | `"localhost"` | The address at which to expose gops. | | ||
| tetragon.gops.port | int | `8118` | The port at which to expose gops. | | ||
| tetragon.grpc.address | string | `"localhost:54321"` | The address at which to expose gRPC. Examples: localhost:54321, unix:///var/run/tetragon/tetragon.sock | | ||
| tetragon.grpc.enabled | bool | `true` | Whether to enable exposing Tetragon gRPC. | | ||
| tetragon.image.override | string | `nil` | | | ||
| tetragon.image.repository | string | `"quay.io/cilium/tetragon"` | | | ||
| tetragon.image.tag | string | `"v0.10.0"` | | | ||
| tetragon.processCacheSize | int | `65536` | | | ||
| tetragon.prometheus.address | string | `""` | The address at which to expose metrics. Set it to "" to expose on all available interfaces. | | ||
| tetragon.prometheus.enabled | bool | `true` | Whether to enable exposing Tetragon metrics. | | ||
| tetragon.prometheus.port | int | `2112` | The port at which to expose metrics. | | ||
| tetragon.prometheus.serviceMonitor.enabled | bool | `false` | Whether to create a 'ServiceMonitor' resource targeting the 'tetragon' pods. | | ||
| tetragon.prometheus.serviceMonitor.labelsOverride | object | `{}` | The set of labels to place on the 'ServiceMonitor' resource. | | ||
| tetragon.resources | object | `{}` | | | ||
| tetragon.securityContext.privileged | bool | `true` | | | ||
| tetragonOperator.enabled | bool | `true` | Enable the tetragon-operator component (required). | | ||
| tetragonOperator.image | object | `{"override":null,"repository":"quay.io/cilium/tetragon-operator","suffix":"","tag":"v0.10.0"}` | tetragon-operator image. | | ||
| tolerations[0].operator | string | `"Exists"` | | | ||
| updateStrategy | object | `{}` | | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{ if .Inner}}{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
#!/bin/bash | ||
|
||
set -e -o pipefail | ||
|
||
if [ -z "$1" ]; then | ||
echo "Usage: $0 export/to/path.md" | ||
exit 1 | ||
fi | ||
|
||
TMP_FILE=$(mktemp) | ||
trap "rm $TMP_FILE" EXIT | ||
|
||
# use the generated proto documentation as source | ||
cp README.md $TMP_FILE | ||
|
||
# cleanup the generated documentation for the website | ||
# remove the title | ||
sed -i '/^# tetragon$/d' $TMP_FILE | ||
# remove the badges | ||
sed -i '/^\!\[Version:/d' $TMP_FILE | ||
# remove the "Helm chart for Tetragon mention" | ||
sed -i '/^Helm chart for Tetragon$/d' $TMP_FILE | ||
# remove unnecessary line | ||
sed -i '/^----------------------------------------------$/d' $TMP_FILE | ||
# remove autogenerated copyright | ||
sed -i '/^Autogenerated from chart metadata using \[helm-docs /d' $TMP_FILE | ||
# cleanup unecessary consecutive whitelines | ||
sed -i '/^[[:space:]]*$/N;/^[[:space:]]*\n[[:space:]]*$/D' $TMP_FILE | ||
|
||
|
||
# add a frontmatter and a small introduction | ||
echo '--- | ||
title: "Helm chart" | ||
description: "This reference is generated from the Tetragon Helm chart values." | ||
--- | ||
|
||
{{< comment >}} | ||
This page was generated with github.io/cilium/tetragon/install/kubernetes/export-doc.sh, | ||
please do not edit directly. | ||
{{< /comment >}} | ||
|
||
The Tetragon Helm chart source is available under | ||
[github.io/cilium/tetragon/install/kubernetes](https://github.com/cilium/tetragon/tree/main/install/kubernetes) | ||
and is distributed from the Cilium helm charts repository [helm.cilium.io](https://helm.cilium.io). | ||
|
||
To deploy Tetragon using this Helm chart you can run the following commands: | ||
```shell-session | ||
helm repo add cilium https://helm.cilium.io | ||
helm repo update | ||
helm install tetragon cilium/tetragon -n kube-system | ||
``` | ||
|
||
To use [the values available](#values), with `helm install` or `helm upgrade`, use `--set key=value`.' | cat - $TMP_FILE > $1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make this: Kubernetes Helm chart , so it is clear for everyone.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review, however, I don't agree, what is a non-Kubernetes helm chart? I try to keep it short for the summary navbar on the left and don't want to introduce unnecessary stuff.