1
0
Fork 0
This repository has been archived on 2025-08-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
trz-sentry-demo-legacy/app/helm/templates/deployment.yml
2023-09-26 21:43:36 +00:00

44 lines
1.1 KiB
YAML

kind: Deployment
apiVersion: apps/v1
metadata:
name: sentry-demo-app
labels:
app: sentry-demo-app
spec:
replicas: 1
selector:
matchLabels:
app: sentry-demo-app
template:
metadata:
labels:
app: sentry-demo-app
spec:
{{- if and (.Values.dockerRegistry) (.Values.dockerRegistryAuth) }}
imagePullSecrets:
- name: sentry-demo-app-docker
{{ end }}
containers:
- name: sentry-demo-app
image: {{ required "Missing required value: image" .Values.image }}
imagePullPolicy: Always
ports:
- containerPort: 3000
protocol: TCP
livenessProbe:
initialDelaySeconds: 5
timeoutSeconds: 30
tcpSocket:
port: 3000
env:
- name: PORT
value: "3000"
- name: SENTRY_DSN
value: {{ .Vaslues.sentry.dsn }}
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 400m
memory: 1024Mi