-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdeployment.yaml
More file actions
50 lines (50 loc) · 1.19 KB
/
deployment.yaml
File metadata and controls
50 lines (50 loc) · 1.19 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
apiVersion: apps/v1
kind: Deployment
metadata:
name: gitautomator
spec:
replicas: 1
selector:
matchLabels:
app: gitautomator
template:
metadata:
labels:
app: gitautomator
spec:
containers:
- name: gitautomator
image: cesign/gitautomator:v0.0.13
env:
- name: APP_ID
value: "${APP_ID}"
- name: CHATGPT_URL
value: "${CHATGPT_URL}"
- name: OPENAI_KEY
value: "${OPENAI_KEY}"
volumeMounts:
- name: gitautomator-pem
mountPath: /etc/gitautomator/app.pem
subPath: app.pem
- name: seemio
image: cesign/seemio:v0.0.1
env:
- name: SEEMIO_URL
value: "${SEEMIO_URL}"
command:
- sh
- -c
- "smee -u $SEEMIO_URL --port 5000"
volumes:
- name: gitautomator-pem
secret:
secretName: gitautomator-pem
---
apiVersion: v1
kind: Secret
metadata:
name: gitautomator-pem
type: Opaque
data:
# Replace the value below with your base64-encoded app.pem file content.
app.pem: <base64-encoded-app.pem-content>