Skip to content

Commit

Permalink
chore(apps): update changedetection namespace and add playwright conf…
Browse files Browse the repository at this point in the history
…iguration
  • Loading branch information
qjoly committed Jan 22, 2025
1 parent 0c1b1b9 commit caee216
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cortado/apps/changedetection/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
- CreateNamespace=true
destination:
server: https://kubernetes.default.svc
namespace: factorio
namespace: changedetection
source:
repoURL: https://rubxkube.github.io/common-charts/
chart: common
Expand Down Expand Up @@ -43,6 +43,12 @@ spec:
configMap:
enabled: false
variables:
nonSecret:
WEBDRIVER_URL: http://playwright-chrome:3000/wd/hub
PLAYWRIGHT_DRIVER_URL: ws://playwright-chrome:3000
HIDE_REFERER: true
persistence:
enabled: true
volumes:
Expand Down
1 change: 1 addition & 0 deletions cortado/apps/changedetection/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- app.yaml
- playwright.yaml
52 changes: 52 additions & 0 deletions cortado/apps/changedetection/playwright.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: playwright
namespace: argocd
spec:
project: default
syncPolicy:
syncOptions:
- CreateNamespace=true
destination:
server: https://kubernetes.default.svc
namespace: changedetection
source:
repoURL: https://rubxkube.github.io/common-charts/
chart: common
targetRevision: 0.4.2
helm:
values: |
name: "playwright"
service:
enabled: true
servicePort: 3000
containerPort: 3000
variables:
nonSecret:
SCREEN_WIDTH: 1920
SCREEN_HEIGHT: 1024
SCREEN_DEPTH: 16
MAX_CONCURRENT_CHROME_PROCESSES: 10
STATS_REFRESH_SECONDS: 120
DEFAULT_BLOCK_ADS: true
DEFAULT_STEALTH: true
PREBOOT_CHROME: true
image:
repository: browserless/chrome
tag: 1.60-chrome-stable
pullPolicy: Always
deployment:
port: 3000
ingress:
enabled: false
configMap:
enabled: false
persistence:
enabled: false

0 comments on commit caee216

Please sign in to comment.