Skip to content

Commit 0f25f2c

Browse files
committed
✨ Update the Helm chart
1 parent 5bdfe5c commit 0f25f2c

16 files changed

+43
-48
lines changed

charts/chart/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: kubeshark
3-
version: "52.7.8"
3+
version: "52.8.0"
44
description: The API Traffic Analyzer for Kubernetes
55
home: https://kubeshark.co
66
keywords:

charts/chart/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ Example for overriding image names:
180180
| `tap.nodeSelectorTerms.workers` | Node selector terms for workers components | `[{"matchExpressions":[{"key":"kubernetes.io/os","operator":"In","values":["linux"]}]}]` |
181181
| `tap.nodeSelectorTerms.hub` | Node selector terms for hub component | `[{"matchExpressions":[{"key":"kubernetes.io/os","operator":"In","values":["linux"]}]}]` |
182182
| `tap.nodeSelectorTerms.front` | Node selector terms for front-end component | `[{"matchExpressions":[{"key":"kubernetes.io/os","operator":"In","values":["linux"]}]}]` |
183+
| `tap.priorityClass` | Priority class name for Kubeshark components | `""` |
183184
| `tap.tolerations.workers` | Tolerations for workers components | `[ {"operator": "Exists", "effect": "NoExecute"}` |
184185
| `tap.tolerations.hub` | Tolerations for hub component | `[]` |
185186
| `tap.tolerations.front` | Tolerations for front-end component | `[]` |
@@ -226,7 +227,7 @@ Example for overriding image names:
226227
| `scripting.watchScripts` | Enable watch mode for the scripts in source directory | `true` |
227228
| `timezone` | IANA time zone applied to time shown in the front-end | `""` (local time zone applies) |
228229
| `supportChatEnabled` | Enable real-time support chat channel based on Intercom | `false` |
229-
| `internetConnectivity` | Turns off API requests that are dependant on Internet connectivity such as `telemetry` and `online-support`. | `true` |
230+
| `internetConnectivity` | Turns off API requests that are dependent on Internet connectivity such as `telemetry` and `online-support`. | `true` |
230231

231232
KernelMapping pairs kernel versions with a
232233
DriverContainer image. Kernel versions can be matched

charts/chart/templates/01-service-account.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,15 @@ kind: ServiceAccount
44
metadata:
55
labels:
66
{{- include "kubeshark.labels" . | nindent 4 }}
7-
annotations:
87
{{- if .Values.tap.annotations }}
8+
annotations:
99
{{- toYaml .Values.tap.annotations | nindent 4 }}
1010
{{- end }}
1111
name: {{ include "kubeshark.serviceAccountName" . }}
1212
namespace: {{ .Release.Namespace }}
13+
{{- if .Values.tap.docker.imagePullSecrets }}
14+
imagePullSecrets:
15+
{{- range .Values.tap.docker.imagePullSecrets }}
16+
- name: {{ . }}
17+
{{- end }}
18+
{{- end }}

charts/chart/templates/02-cluster-role.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ kind: ClusterRole
44
metadata:
55
labels:
66
{{- include "kubeshark.labels" . | nindent 4 }}
7-
annotations:
87
{{- if .Values.tap.annotations }}
8+
annotations:
99
{{- toYaml .Values.tap.annotations | nindent 4 }}
1010
{{- end }}
1111
name: kubeshark-cluster-role-{{ .Release.Namespace }}
@@ -85,4 +85,4 @@ rules:
8585
- pods/log
8686
verbs:
8787
- create
88-
- get
88+
- get

charts/chart/templates/03-cluster-role-binding.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ kind: ClusterRoleBinding
44
metadata:
55
labels:
66
{{- include "kubeshark.labels" . | nindent 4 }}
7-
annotations:
87
{{- if .Values.tap.annotations }}
8+
annotations:
99
{{- toYaml .Values.tap.annotations | nindent 4 }}
1010
{{- end }}
1111
name: kubeshark-cluster-role-binding-{{ .Release.Namespace }}

charts/chart/templates/04-hub-deployment.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ metadata:
55
labels:
66
app.kubeshark.co/app: hub
77
{{- include "kubeshark.labels" . | nindent 4 }}
8-
annotations:
98
{{- if .Values.tap.annotations }}
9+
annotations:
1010
{{- toYaml .Values.tap.annotations | nindent 4 }}
1111
{{- end }}
1212
name: {{ include "kubeshark.name" . }}-hub
@@ -25,6 +25,9 @@ spec:
2525
spec:
2626
dnsPolicy: ClusterFirstWithHostNet
2727
serviceAccountName: {{ include "kubeshark.serviceAccountName" . }}
28+
{{- if .Values.tap.priorityClass }}
29+
priorityClassName: {{ .Values.tap.priorityClass | quote }}
30+
{{- end }}
2831
containers:
2932
- name: hub
3033
command:
@@ -94,19 +97,13 @@ spec:
9497
{{ if ne (toString .Values.tap.resources.hub.requests.cpu) "0" }}
9598
cpu: {{ .Values.tap.resources.hub.requests.cpu }}
9699
{{ end }}
97-
{{ if ne (toString .Values.tap.resources.hub.requests.memor) "0" }}
100+
{{ if ne (toString .Values.tap.resources.hub.requests.memory) "0" }}
98101
memory: {{ .Values.tap.resources.hub.requests.memory }}
99102
{{ end }}
100103
volumeMounts:
101104
- name: saml-x509-volume
102105
mountPath: "/etc/saml/x509"
103106
readOnly: true
104-
{{- if .Values.tap.docker.imagePullSecrets }}
105-
imagePullSecrets:
106-
{{- range .Values.tap.docker.imagePullSecrets }}
107-
- name: {{ . }}
108-
{{- end }}
109-
{{- end }}
110107
{{- if gt (len .Values.tap.nodeSelectorTerms.hub) 0}}
111108
affinity:
112109
nodeAffinity:

charts/chart/templates/05-hub-service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ metadata:
55
labels:
66
app.kubeshark.co/app: hub
77
{{- include "kubeshark.labels" . | nindent 4 }}
8-
annotations:
98
{{- if .Values.tap.annotations }}
9+
annotations:
1010
{{- toYaml .Values.tap.annotations | nindent 4 }}
1111
{{- end }}
1212
name: kubeshark-hub

charts/chart/templates/06-front-deployment.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ metadata:
44
labels:
55
app.kubeshark.co/app: front
66
{{- include "kubeshark.labels" . | nindent 4 }}
7-
annotations:
87
{{- if .Values.tap.annotations }}
8+
annotations:
99
{{- toYaml .Values.tap.annotations | nindent 4 }}
1010
{{- end }}
1111
name: {{ include "kubeshark.name" . }}-front
@@ -80,6 +80,8 @@ spec:
8080
value: '{{ .Values.aiAssistantEnabled | ternary "true" "false" }}'
8181
- name: REACT_APP_SUPPORT_CHAT_ENABLED
8282
value: '{{ and .Values.supportChatEnabled .Values.internetConnectivity | ternary "true" "false" }}'
83+
- name: REACT_APP_BETA_ENABLED
84+
value: '{{ default false .Values.betaEnabled | ternary "true" "false" }}'
8385
- name: REACT_APP_DISSECTORS_UPDATING_ENABLED
8486
value: '{{ .Values.tap.liveConfigMapChangesDisabled | ternary "false" "true" }}'
8587
- name: REACT_APP_SENTRY_ENABLED
@@ -122,12 +124,6 @@ spec:
122124
mountPath: /etc/nginx/conf.d/default.conf
123125
subPath: default.conf
124126
readOnly: true
125-
{{- if .Values.tap.docker.imagePullSecrets }}
126-
imagePullSecrets:
127-
{{- range .Values.tap.docker.imagePullSecrets }}
128-
- name: {{ . }}
129-
{{- end }}
130-
{{- end }}
131127
{{- if gt (len .Values.tap.nodeSelectorTerms.front) 0}}
132128
affinity:
133129
nodeAffinity:
@@ -181,3 +177,6 @@ spec:
181177
name: kubeshark-nginx-config-map
182178
dnsPolicy: ClusterFirstWithHostNet
183179
serviceAccountName: {{ include "kubeshark.serviceAccountName" . }}
180+
{{- if .Values.tap.priorityClass }}
181+
priorityClassName: {{ .Values.tap.priorityClass | quote }}
182+
{{- end }}

charts/chart/templates/07-front-service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ kind: Service
44
metadata:
55
labels:
66
{{- include "kubeshark.labels" . | nindent 4 }}
7-
annotations:
87
{{- if .Values.tap.annotations }}
8+
annotations:
99
{{- toYaml .Values.tap.annotations | nindent 4 }}
1010
{{- end }}
1111
name: kubeshark-front

charts/chart/templates/08-persistent-volume-claim.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ kind: PersistentVolumeClaim
2626
metadata:
2727
labels:
2828
{{- include "kubeshark.labels" . | nindent 4 }}
29-
annotations:
3029
{{- if .Values.tap.annotations }}
30+
annotations:
3131
{{- toYaml .Values.tap.annotations | nindent 4 }}
3232
{{- end }}
3333
name: kubeshark-persistent-volume-claim

0 commit comments

Comments
 (0)