This repository was archived by the owner on Jul 3, 2024. It is now read-only.
forked from sabre1041/sigstore-ansible
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtuf.yaml
62 lines (62 loc) · 1.73 KB
/
tuf.yaml
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
58
59
60
61
62
apiVersion: apps/v1
kind: Deployment
metadata:
name: tuf
namespace: tuf-system
labels:
app.kubernetes.io/component: tuf
app.kubernetes.io/instance: scaffold
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: tuf
helm.sh/chart: tuf-0.1.4
spec:
replicas: 1
selector:
matchLabels:
app: tuf
template:
metadata:
labels:
app: tuf
app.kubernetes.io/component: tuf
app.kubernetes.io/instance: scaffold
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: tuf
helm.sh/chart: tuf-0.1.4
spec:
containers:
- name: tuf
image: {{ tuf_image }}
# image: ghcr.io/sigstore/scaffolding/server@sha256:719ea3fe44c52af5a5fedab2168429872e37e97b9f063977fc164d60a5a14b53
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8082
protocol: TCP
hostPart: 8082
env:
- name: NAMESPACE
value: tuf-system
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/run/tuf-secrets
name: tuf-secrets
readOnly: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
securityContext: {}
serviceAccountName: tuf
tolerations:
- effect: NoExecute
key: node.kubernetes.io/not-ready
operator: Exists
tolerationSeconds: 300
- effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 300
volumes:
- name: tuf-secrets
secret:
secretName: tuf-secret