Skip to content

Commit

Permalink
Merge pull request #9 from akto-api-security/feature/akto-puppeteer
Browse files Browse the repository at this point in the history
Feature/akto puppeteer
  • Loading branch information
oren-akto authored Mar 14, 2024
2 parents 69baec1 + 23d03e7 commit 7d7f0dc
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/akto-setup/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: akto
description: Helm chart for installing Akto
type: application
version: 0.1.7
appVersion: "0.1.7"
version: 0.1.8
appVersion: "0.1.8"
home: https://www.akto.io
icon: https://akto-setup.s3.amazonaws.com/templates/128x128.png
sources:
Expand Down
12 changes: 12 additions & 0 deletions charts/akto-setup/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ spec:
ports:
- containerPort: 8080
resources: {{- toYaml .Values.dashboard.aktoApiSecurityDashboard.resources | nindent 10 }}
- name: akto-api-security-puppeteer-replay
image: {{ .Values.dashboard.aktoApiSecurityPuppeteerReplay.image.repository }}:{{ .Values.dashboard.aktoApiSecurityPuppeteerReplay.image.tag | default .Chart.AppVersion }}
imagePullPolicy: {{ .Values.dashboard.aktoApiSecurityPuppeteerReplay.imagePullPolicy }}
ports:
- containerPort: 3000
resources: {{- toYaml .Values.dashboard.aktoApiSecurityPuppeteerReplay.resources | nindent 10 }}
{{ end }}
---
{{ if .Values.testing.aktoApiSecurityTesting.env.enabled }}
Expand Down Expand Up @@ -140,6 +146,12 @@ spec:
| default .Chart.AppVersion }}
name: akto-api-security-testing
resources: {{- toYaml .Values.testing.aktoApiSecurityTesting.resources | nindent 10 }}
- name: akto-api-security-puppeteer-replay
image: {{ .Values.testing.aktoApiSecurityPuppeteerReplay.image.repository }}:{{ .Values.testing.aktoApiSecurityPuppeteerReplay.image.tag | default .Chart.AppVersion }}
imagePullPolicy: {{ .Values.testing.aktoApiSecurityPuppeteerReplay.imagePullPolicy }}
ports:
- containerPort: 3000
resources: {{- toYaml .Values.testing.aktoApiSecurityPuppeteerReplay.resources | nindent 10 }}
restartPolicy: Always
{{ end }}
---
Expand Down
28 changes: 26 additions & 2 deletions charts/akto-setup/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dashboard:
aktoKafkaTopicName: akto.api.logs
aktoTrafficBatchSize: "100"
aktoTrafficBatchTimeSecs: "10"
puppeteerReplayServiceUrl: http://akto-puppeteer-replay:3000
puppeteerReplayServiceUrl: http://localhost:3000
enabled: true
image:
repository: public.ecr.aws/aktosecurity/akto-api-security-dashboard
Expand All @@ -27,6 +27,18 @@ dashboard:
limits:
cpu: 2
memory: "8Gi"
aktoApiSecurityPuppeteerReplay:
image:
repository: aktosecurity/akto-puppeteer-replay
tag: latest
imagePullPolicy: IfNotPresent
resources:
requests:
cpu: 1
memory: "2Gi"
limits:
cpu: 1
memory: "4Gi"
ports:
- port: 8080
targetPort: 8080
Expand Down Expand Up @@ -123,7 +135,7 @@ testing:
aktoKafkaTopicName: akto.api.logs
aktoTrafficBatchSize: "100"
aktoTrafficBatchTimeSecs: "10"
puppeteerReplayServiceUrl: http://akto-puppeteer-replay:3000
puppeteerReplayServiceUrl: http://localhost:3000
enabled: true
image:
repository: public.ecr.aws/aktosecurity/akto-api-testing
Expand All @@ -135,6 +147,18 @@ testing:
limits:
cpu: 2
memory: "8Gi"
aktoApiSecurityPuppeteerReplay:
image:
repository: aktosecurity/akto-puppeteer-replay
tag: latest
imagePullPolicy: IfNotPresent
resources:
requests:
cpu: 1
memory: "2Gi"
limits:
cpu: 1
memory: "4Gi"
replicas: 1


Expand Down

0 comments on commit 7d7f0dc

Please sign in to comment.