Demo application with auto reload
apiVersion: apps/v1
kind: Deployment
metadata:
name: demo-python
annotations:
secrets.infisical.com/auto-reload: "true"
spec:
replicas: 1
selector:
matchLabels:
app: demo-python
template:
metadata:
labels:
app: demo-python
spec:
containers:
- name: python
image: python:3.11-slim
command: ["python", "-c", "import os,time; print('TEST:', os.getenv('TEST')); time.sleep(3600)"]
env:
- name: TEST
valueFrom:
secretKeyRef:
name: managed-secret
key: test
No comments to display
No comments to display