Skip to content

Commit

Permalink
Fix helm error
Browse files Browse the repository at this point in the history
Signed-off-by: Michi Mutsuzaki <[email protected]>
  • Loading branch information
michi-covalent committed Aug 7, 2023
1 parent 637f29a commit 5df00c1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion docs/content/en/docs/reference/helm-chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ To use [the values available](#values), with `helm install` or `helm upgrade`, u
| 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. |
| tetragonOperator.image | object | `{"override":null,"repository":"quay.io/cilium/tetragon-operator","skipTetragonPodCRD":false,"suffix":"","tag":"v0.10.0"}` | tetragon-operator image. |
| tetragonPod.enabled | bool | `false` | |
| tetragonPod.image | object | `{"override":null,"repository":"quay.io/cilium/tetragon-operator","tag":"v0.8.3"}` | tetragon-operator image. |
| tolerations[0].operator | string | `"Exists"` | |
| updateStrategy | object | `{}` | |

4 changes: 3 additions & 1 deletion install/kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ Helm chart for Tetragon
| 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. |
| tetragonOperator.image | object | `{"override":null,"repository":"quay.io/cilium/tetragon-operator","skipTetragonPodCRD":false,"suffix":"","tag":"v0.10.0"}` | tetragon-operator image. |
| tetragonPod.enabled | bool | `false` | |
| tetragonPod.image | object | `{"override":null,"repository":"quay.io/cilium/tetragon-operator","tag":"v0.8.3"}` | tetragon-operator image. |
| tolerations[0].operator | string | `"Exists"` | |
| updateStrategy | object | `{}` | |

Expand Down
4 changes: 2 additions & 2 deletions install/kubernetes/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.tetragonPod.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
Expand All @@ -17,7 +18,6 @@ spec:
spec:
securityContext:
runAsNonRoot: true
{{- if .Values.tetragonPod.enabled }}
containers:
- name: {{ .Chart.Name }}-pod
image: "{{ if .Values.tetragonPod.image.override }}{{ .Values.tetragonPod.image.override }}{{ else }}{{ .Values.tetragonPod.image.repository }}:{{ .Values.tetragonPod.image.tag | default .Chart.AppVersion }}{{ end }}"
Expand Down Expand Up @@ -47,4 +47,4 @@ spec:
memory: 64Mi
serviceAccountName: {{ .Chart.Name }}-pod-controller-service-account
terminationGracePeriodSeconds: 10
{{- end }}
{{- end }}

0 comments on commit 5df00c1

Please sign in to comment.