Added pasarguard
This commit is contained in:
@@ -34,33 +34,21 @@ spec:
|
|||||||
- name: UVICORN_PORT
|
- name: UVICORN_PORT
|
||||||
value: "8000"
|
value: "8000"
|
||||||
- name: UVICORN_SSL_CERTFILE
|
- name: UVICORN_SSL_CERTFILE
|
||||||
value: "/etc/ssl/certs/tls.crt"
|
value: "/app/tls/tls.crt"
|
||||||
- name: UVICORN_SSL_KEYFILE
|
- name: UVICORN_SSL_KEYFILE
|
||||||
value: "/etc/ssl/private/tls.key"
|
value: "/app/tls/tls.key"
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 8000
|
containerPort: 8000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: tls-certs
|
- name: tls
|
||||||
mountPath: /etc/ssl/certs
|
mountPath: /app/tls
|
||||||
readOnly: true
|
|
||||||
- name: tls-keys
|
|
||||||
mountPath: /etc/ssl/private
|
|
||||||
readOnly: true
|
readOnly: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: tls-certs
|
- name: tls
|
||||||
secret:
|
secret:
|
||||||
secretName: pasarguard-tls
|
secretName: pasarguard-tls
|
||||||
items:
|
|
||||||
- key: tls.crt
|
|
||||||
path: tls.crt
|
|
||||||
- name: tls-keys
|
|
||||||
secret:
|
|
||||||
secretName: pasarguard-tls
|
|
||||||
items:
|
|
||||||
- key: tls.key
|
|
||||||
path: tls.key
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
Reference in New Issue
Block a user