35 lines
1.0 KiB
YAML
35 lines
1.0 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: atlas-public-frpc
|
|
spec:
|
|
replicas: 1
|
|
strategy: {type: Recreate}
|
|
selector:
|
|
matchLabels: {app: atlas-public-frpc}
|
|
template:
|
|
metadata:
|
|
labels: {app: atlas-public-frpc}
|
|
spec:
|
|
automountServiceAccountToken: false
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 65532
|
|
seccompProfile: {type: RuntimeDefault}
|
|
containers:
|
|
- name: frpc
|
|
image: ghcr.io/fatedier/frpc:v0.69.1@sha256:5a1b2cbcec588f1def1de6c5bc372e5f6783f78a151aecb4aae99fcebb9b573a
|
|
args: [-c, /etc/frp/frpc.toml]
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
readOnlyRootFilesystem: true
|
|
capabilities: {drop: [ALL]}
|
|
resources:
|
|
requests: {cpu: 10m, memory: 16Mi}
|
|
limits: {cpu: 200m, memory: 64Mi}
|
|
volumeMounts:
|
|
- {name: config, mountPath: /etc/frp, readOnly: true}
|
|
volumes:
|
|
- name: config
|
|
secret: {secretName: atlas-public-frpc}
|