|
@@ -40,12 +40,32 @@ spec:
|
|
name: osmedeus
|
|
name: osmedeus
|
|
nginx: backend
|
|
nginx: backend
|
|
spec:
|
|
spec:
|
|
|
|
+ affinity:
|
|
|
|
+ nodeAffinity:
|
|
|
|
+ requiredDuringSchedulingIgnoredDuringExecution:
|
|
|
|
+ nodeSelectorTerms:
|
|
|
|
+ - matchExpressions:
|
|
|
|
+ - key: kubernetes.io/arch
|
|
|
|
+ operator: In
|
|
|
|
+ values:
|
|
|
|
+ - amd64
|
|
containers:
|
|
containers:
|
|
- name: osmedeus
|
|
- name: osmedeus
|
|
image: qdii/osmedeus:4.6.3
|
|
image: qdii/osmedeus:4.6.3
|
|
imagePullPolicy: "Always"
|
|
imagePullPolicy: "Always"
|
|
command: ["/usr/local/bin/osmedeus","server"]
|
|
command: ["/usr/local/bin/osmedeus","server"]
|
|
args: ["osmedeus"]
|
|
args: ["osmedeus"]
|
|
|
|
+ env:
|
|
|
|
+ - name: TELEGRAM_CHANNEL
|
|
|
|
+ valueFrom:
|
|
|
|
+ secretKeyRef:
|
|
|
|
+ name: telegram
|
|
|
|
+ key: channel
|
|
|
|
+ - name: TELEGRAM_API_TOKEN
|
|
|
|
+ valueFrom:
|
|
|
|
+ secretKeyRef:
|
|
|
|
+ name: telegram
|
|
|
|
+ key: apitoken
|
|
volumeMounts:
|
|
volumeMounts:
|
|
- name: osmedeus
|
|
- name: osmedeus
|
|
mountPath: /root/workspaces-osmedeus
|
|
mountPath: /root/workspaces-osmedeus
|