Compare commits
1 Commits
auto-updat
...
auto-updat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7b0e1a297f |
@@ -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:
|
||||||
@@ -21,7 +20,7 @@ spec:
|
|||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
nodeSelectorTerms:
|
nodeSelectorTerms:
|
||||||
- matchExpressions:
|
- matchExpressions:
|
||||||
- key: mtproxy
|
- key: xray-node-address
|
||||||
operator: Exists
|
operator: Exists
|
||||||
containers:
|
containers:
|
||||||
- name: mtproxy
|
- name: mtproxy
|
||||||
@@ -33,7 +32,7 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
env:
|
env:
|
||||||
- name: SECRET
|
- name: SECRET
|
||||||
value: "4ef8819478eb9c8928ab741300235a8e"
|
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
|
||||||
|
|||||||
@@ -12,5 +12,3 @@ spec:
|
|||||||
port: 30443
|
port: 30443
|
||||||
targetPort: 443
|
targetPort: 443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
nodePort: 30443
|
|
||||||
|
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ data:
|
|||||||
var d = "$";
|
var d = "$";
|
||||||
var q = "'";
|
var q = "'";
|
||||||
return d + 'f="' + d + 'env:TEMP\\mc-install.ps1"; iwr -useb https://minecraft.hexor.cy/clients/win-install.ps1 -OutFile '
|
return d + 'f="' + d + 'env:TEMP\\mc-install.ps1"; iwr -useb https://minecraft.hexor.cy/clients/win-install.ps1 -OutFile '
|
||||||
+ d + 'f; powershell -ExecutionPolicy Bypass -File ' + d + 'f -Username ' + q + username + q + '; Remove-Item ' + d + 'f';
|
+ d + 'f; & ' + d + 'f -Username ' + q + username + q + '; Remove-Item ' + d + 'f';
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementById("showInstallBtn").addEventListener("click", function(e) {
|
document.getElementById("showInstallBtn").addEventListener("click", function(e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user