blob: f7ad0bfa6c846ce02bfc62f27d475c6da35cc0ba (
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
47
48
49
50
51
52
53
54
55
56
57
|
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "3"
labels:
app: go-git-server
name: go-git-server
namespace: default
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app: go-git-server
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app: go-git-server
spec:
containers:
- image: go-git-registry:5000/go-git-server:latest
imagePullPolicy: Always
name: go-git-server
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /tokens
name: go-git-server-tokens
readOnly: true
- mountPath: /opt/repos
name: go-git-storage
- mountPath: /opt/app/etc
name: go-git-policy
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
terminationGracePeriodSeconds: 30
volumes:
- configMap:
defaultMode: 420
name: go-git-policy
name: go-git-policy
- name: go-git-storage
persistentVolumeClaim:
claimName: go-git-storage
- name: go-git-server-tokens
secret:
defaultMode: 420
secretName: go-git-server
|