Compare commits
1 Commits
auto-updat
...
auto-updat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
248c0fc15a |
@@ -1,16 +1,15 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: mtproxy
|
||||
labels:
|
||||
app: mtproxy
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: mtproxy
|
||||
updateStrategy:
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
@@ -21,7 +20,7 @@ spec:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: mtproxy
|
||||
- key: xray-node-address
|
||||
operator: Exists
|
||||
containers:
|
||||
- name: mtproxy
|
||||
@@ -33,7 +32,7 @@ spec:
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: SECRET
|
||||
value: "4ef8819478eb9c8928ab741300235a8e"
|
||||
value: "00baadf00d15abad1deaa51abaadcafe"
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /data
|
||||
@@ -46,4 +45,5 @@ spec:
|
||||
cpu: "500m"
|
||||
volumes:
|
||||
- name: data
|
||||
emptyDir: {}
|
||||
persistentVolumeClaim:
|
||||
claimName: mtproxy-data
|
||||
|
||||
@@ -11,6 +11,3 @@ spec:
|
||||
- name: proxy
|
||||
port: 30443
|
||||
targetPort: 443
|
||||
protocol: TCP
|
||||
nodePort: 30443
|
||||
|
||||
|
||||
Reference in New Issue
Block a user