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