Skip to content

Commit

Permalink
Merge pull request #2171 from tyriis/feature/app-template-v2-migration
Browse files Browse the repository at this point in the history
feat(excalidraw): migrate to app-template v2
  • Loading branch information
tyriis authored Nov 28, 2023
2 parents e90d451 + dae56be commit 9bd05e2
Showing 1 changed file with 31 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: app-template
version: 1.5.1
version: 2.3.0
sourceRef:
kind: HelmRepository
name: bjw-s-charts
Expand All @@ -22,23 +22,41 @@ spec:
remediation:
retries: 3
values:
values:
controller:
replicas: 3
strategy: RollingUpdate
image:
# https://github.com/excalidraw/excalidraw/pull/6143
repository: ghcr.io/onedr0p/excalidraw
tag: latest@sha256:bafe3a1e529aac9e9d536199e77133b60bfce4413458ee0a46e48fb07095d23b
controllers:
main:
replicas: 3
strategy: RollingUpdate
pod:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: *app
containers:
main:
image:
# https://github.com/excalidraw/excalidraw/pull/6143
repository: ghcr.io/onedr0p/excalidraw
tag: latest@sha256:bafe3a1e529aac9e9d536199e77133b60bfce4413458ee0a46e48fb07095d23b
resources:
requests:
cpu: 5m
memory: 10Mi
limits:
memory: 50Mi

service:
main:
ports:
http:
port: 80

ingress:
main:
enabled: true
ingressClassName: traefik
className: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
kubernetes.io/tls-acme: "true"
Expand All @@ -53,21 +71,10 @@ spec:
- host: &host "draw.${SECRET_DOMAIN}"
paths:
- path: /
pathType: Prefix
service:
name: main
port: http
tls:
- hosts:
- *host
secretName: excalidraw-tls
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: *app
resources:
requests:
cpu: 5m
memory: 10Mi
limits:
memory: 50Mi

0 comments on commit 9bd05e2

Please sign in to comment.