12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: tor-bridges
- spec:
- selector:
- matchLabels:
- app.kubernetes.io/name: tor-bridges
- app.kubernetes.io/part-of: tor
- template:
- metadata:
- labels:
- app.kubernetes.io/name: tor-bridges
- app.kubernetes.io/part-of: tor
- spec:
- containers:
- - image: harbor.home.wugi.info/library/tor-bridges
- name: tor-bridges
- ports:
- - containerPort: 8080
- name: http
- protocol: TCP
- env:
- - name: TOR_BRIDGES_HTTP_PORT
- value: "8080"
- - name: TOR_BRIDGES_EMAIL_USERNAME
- valueFrom:
- secretKeyRef:
- name: email
- key: username
- - name: TOR_BRIDGES_EMAIL_PASSWORD
- valueFrom:
- secretKeyRef:
- name: email
- key: password
- resources:
- limits:
- cpu: 2000m
- memory: 1024Mi
- requests:
- cpu: 1000m
- memory: 512Mi
|