Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions charts/mini-runtime/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ spec:
resources: {{- toYaml .Values.mini_runtime.kafka1.resources | nindent 10 }}

restartPolicy: Always
{{- if .Values.tolerations }}
tolerations: {{- toYaml .Values.tolerations | nindent 8 }}
{{- end }}
{{- if .Values.mini_runtime.kafka1.useTls }}
volumes:
- name: kafka-certs
Expand Down Expand Up @@ -262,6 +265,9 @@ spec:
- containerPort: 9300
resources: {{- toYaml .Values.keel.keel.resources | nindent 10 }}
serviceAccountName: {{ include "akto.fullname" . }}-keel
{{- if .Values.tolerations }}
tolerations: {{- toYaml .Values.tolerations | nindent 8 }}
{{- end }}
{{ end }}

{{ if .Values.threat_client.aktoApiSecurityThreatClient.env.enabled }}
Expand Down Expand Up @@ -341,4 +347,7 @@ spec:
name: akto-api-security-threat-client
resources: {{- toYaml .Values.threat_client.aktoApiSecurityThreatClient.resources | nindent 10 }}
restartPolicy: Always
{{- if .Values.tolerations }}
tolerations: {{- toYaml .Values.tolerations | nindent 8 }}
{{- end }}
{{ end }}
3 changes: 3 additions & 0 deletions charts/mini-runtime/templates/redis-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ spec:
{{- end }}
resources:
{{- toYaml .Values.redis.resources | nindent 10 }}
{{- if .Values.tolerations }}
tolerations: {{- toYaml .Values.tolerations | nindent 8 }}
{{- end }}
volumes:
{{- if .Values.redis.persistence.enabled }}
- name: redis-data
Expand Down
6 changes: 6 additions & 0 deletions charts/mini-runtime/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
mongo:
aktoMongoConn: ""

tolerations:
- effect: NoSchedule
key: nodetype
operator: Equal
value: default

kubernetesClusterDomain: cluster.local
mini_runtime:
aktoApiSecurityRuntime:
Expand Down