aboutsummaryrefslogtreecommitdiff
path: root/grumpy/static-files/base/static-files-deploy.yaml
blob: 993c6e473e26e7332ea745d30ec0495c2cdca76f (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
apiVersion: apps/v1
kind: Deployment
metadata:
  name: static-files
  labels:
    app.kubernetes.io/part-of: static-files
    app.kubernetes.io/version: "1.0"
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/part-of: static-files
  template:
    metadata:
      labels:
        app.kubernetes.io/part-of: static-files
        app.kubernetes.io/version: "1.0"
    spec:
      containers:
      - image: web
        livenessProbe:
          httpGet:
            path: /
            port: http
        name: web
        ports:
        - containerPort: 8080
          name: http
          protocol: TCP
        readinessProbe:
          httpGet:
            path: /
            port: http
      imagePullSecrets:
      - name: gitlabsec
      serviceAccountName: default