Compare commits
7 Commits
auto-updat
...
auto-updat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
40b7794d77 | ||
| 605c7b01f0 | |||
| b6169045fd | |||
| cbe76ad87e | |||
| ef934b3475 | |||
| 07620e8651 | |||
| 2485e1e951 |
@@ -1,15 +1,16 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: mtproxy
|
||||
labels:
|
||||
app: mtproxy
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: mtproxy
|
||||
updateStrategy:
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
@@ -32,7 +33,7 @@ spec:
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: SECRET
|
||||
value: "00baadf00d15abad1deaa51sbaadcafe"
|
||||
value: "00baadf00d15abad1deaa51abaadcafe"
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /data
|
||||
@@ -45,5 +46,4 @@ spec:
|
||||
cpu: "500m"
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: mtproxy-data
|
||||
emptyDir: {}
|
||||
|
||||
@@ -12,3 +12,5 @@ spec:
|
||||
port: 30443
|
||||
targetPort: 443
|
||||
protocol: TCP
|
||||
nodePort: 30443
|
||||
|
||||
|
||||
@@ -152,7 +152,7 @@ data:
|
||||
var d = "$";
|
||||
var q = "'";
|
||||
return d + 'f="' + d + 'env:TEMP\\mc-install.ps1"; iwr -useb https://minecraft.hexor.cy/clients/win-install.ps1 -OutFile '
|
||||
+ d + 'f; & ' + d + 'f -Username ' + q + username + q + '; Remove-Item ' + d + 'f';
|
||||
+ d + 'f; powershell -ExecutionPolicy Bypass -File ' + d + 'f -Username ' + q + username + q + '; Remove-Item ' + d + 'f';
|
||||
}
|
||||
|
||||
document.getElementById("showInstallBtn").addEventListener("click", function(e) {
|
||||
|
||||
Reference in New Issue
Block a user