aboutsummaryrefslogtreecommitdiff
path: root/kube/alrest/x/uncle-ted/deployment.yaml
blob: f083f24287159eda6d21bec7db3f5a42ad354c53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
apiVersion: apps/v1
kind: Deployment
metadata:
  name: uncle-ted
  labels:
    app.kubernetes.io/name: uncle-ted
  annotations:
    keel.sh/policy: all
    keel.sh/trigger: poll
    keel.sh/pollSchedule: "@hourly"
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/name: uncle-ted
  template:
    metadata:
      labels:
        app.kubernetes.io/name: uncle-ted
    spec:
      securityContext:
        fsGroup: 1000
      containers:
        - name: main
          image: ghcr.io/xe/x/uncle-ted:latest
          imagePullPolicy: "Always"
          env:
            - name: GOMAXPROCS
              value: "1"
          resources:
            limits:
              cpu: "1m"
              memory: "32Mi"
            requests:
              cpu: "1m"
              memory: "32Mi"
          securityContext:
            runAsUser: 1000
            runAsGroup: 1000
            runAsNonRoot: true
            allowPrivilegeEscalation: false
            capabilities:
              drop:
                - ALL
            seccompProfile:
              type: RuntimeDefault