-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.yaml
More file actions
114 lines (114 loc) · 2.93 KB
/
install.yaml
File metadata and controls
114 lines (114 loc) · 2.93 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
---
# Source: cased-cd/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: cased-cd
namespace: cased-cd
labels:
helm.sh/chart: cased-cd-0.2.19
app.kubernetes.io/name: cased-cd
app.kubernetes.io/instance: cased-cd
app.kubernetes.io/version: "0.2.19"
app.kubernetes.io/managed-by: Helm
---
# Source: cased-cd/templates/service.yaml
apiVersion: v1
kind: Service
metadata:
name: cased-cd
namespace: cased-cd
labels:
helm.sh/chart: cased-cd-0.2.19
app.kubernetes.io/name: cased-cd
app.kubernetes.io/instance: cased-cd
app.kubernetes.io/version: "0.2.19"
app.kubernetes.io/managed-by: Helm
spec:
type: ClusterIP
ports:
- port: 80
targetPort: http
protocol: TCP
name: http
selector:
app.kubernetes.io/name: cased-cd
app.kubernetes.io/instance: cased-cd
---
# Source: cased-cd/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: cased-cd
namespace: cased-cd
labels:
helm.sh/chart: cased-cd-0.2.19
app.kubernetes.io/name: cased-cd
app.kubernetes.io/instance: cased-cd
app.kubernetes.io/version: "0.2.19"
app.kubernetes.io/managed-by: Helm
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: cased-cd
app.kubernetes.io/instance: cased-cd
template:
metadata:
labels:
app.kubernetes.io/name: cased-cd
app.kubernetes.io/instance: cased-cd
spec:
serviceAccountName: cased-cd
securityContext:
fsGroup: 101
runAsNonRoot: true
runAsUser: 101
seccompProfile:
type: RuntimeDefault
containers:
- name: cased-cd
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: false
seccompProfile:
type: RuntimeDefault
image: ghcr.io/cased/cased-cd:0.2.19
imagePullPolicy: IfNotPresent
command: ["/entrypoint.sh"]
env:
- name: ARGOCD_SERVER
value: "https://argocd-server.argocd.svc.cluster.local"
ports:
- name: http
containerPort: 8080
protocol: TCP
livenessProbe:
failureThreshold: 3
httpGet:
path: /health
port: http
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 3
readinessProbe:
failureThreshold: 3
httpGet:
path: /health
port: http
initialDelaySeconds: 5
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 3
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 50m
memory: 64Mi
# Rebuild trigger - namespace fix