Compare commits
1 Commits
auto-updat
...
auto-updat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b92bb4b6f5 |
@@ -23,8 +23,6 @@ spec:
|
|||||||
- matchExpressions:
|
- matchExpressions:
|
||||||
- key: mtproxy
|
- key: mtproxy
|
||||||
operator: Exists
|
operator: Exists
|
||||||
hostNetwork: true
|
|
||||||
dnsPolicy: ClusterFirstWithHostNet
|
|
||||||
containers:
|
containers:
|
||||||
- name: mtproxy
|
- name: mtproxy
|
||||||
image: ultradesu/mtproxy:v0.02
|
image: ultradesu/mtproxy:v0.02
|
||||||
@@ -33,29 +31,9 @@ spec:
|
|||||||
- name: proxy
|
- name: proxy
|
||||||
containerPort: 30443
|
containerPort: 30443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
command:
|
|
||||||
- /bin/sh
|
|
||||||
- -c
|
|
||||||
- >-
|
|
||||||
mtproto-proxy
|
|
||||||
-u nobody
|
|
||||||
-p 8888
|
|
||||||
-H $(PORT)
|
|
||||||
-M 1
|
|
||||||
-S $(SECRET)
|
|
||||||
--aes-pwd /etc/mtproxy/proxy-secret
|
|
||||||
/etc/mtproxy/proxy-multi.conf
|
|
||||||
env:
|
env:
|
||||||
- name: SECRET
|
- name: SECRET
|
||||||
valueFrom:
|
value: "4ef8819478eb9c8928ab741300235a8e"
|
||||||
secretKeyRef:
|
|
||||||
name: tgproxy-secret
|
|
||||||
key: SECRET
|
|
||||||
- name: PORT
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: tgproxy-secret
|
|
||||||
key: PORT
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: external-secrets.io/v1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: tgproxy-secret
|
|
||||||
spec:
|
|
||||||
target:
|
|
||||||
name: tgproxy-secret
|
|
||||||
deletionPolicy: Delete
|
|
||||||
template:
|
|
||||||
type: Opaque
|
|
||||||
data:
|
|
||||||
SECRET: |-
|
|
||||||
{{ .secret }}
|
|
||||||
PORT: "30443"
|
|
||||||
data:
|
|
||||||
- secretKey: secret
|
|
||||||
sourceRef:
|
|
||||||
storeRef:
|
|
||||||
name: vaultwarden-login
|
|
||||||
kind: ClusterSecretStore
|
|
||||||
remoteRef:
|
|
||||||
key: 58a37daf-72d8-430d-86bd-6152aa8f888d
|
|
||||||
property: fields[0].value
|
|
||||||
|
|
||||||
@@ -3,7 +3,6 @@ kind: Kustomization
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
- ./app.yaml
|
- ./app.yaml
|
||||||
- ./daemonset.yaml
|
- ./deployment.yaml
|
||||||
- ./external-secrets.yaml
|
- ./service.yaml
|
||||||
# - ./storage.yaml
|
- ./storage.yaml
|
||||||
# - ./service.yaml
|
|
||||||
|
|||||||
Reference in New Issue
Block a user