apiVersion: apps/v1 kind: Deployment metadata: name: dozzle namespace: dozzle spec: replicas: 1 strategy: type: Recreate selector: matchLabels: app: dozzle template: metadata: labels: app: dozzle spec: serviceAccountName: dozzle containers: - name: dozzle image: amir20/dozzle:latest ports: - containerPort: 8080 name: http protocol: TCP env: - name: DOZZLE_LEVEL value: "info" - name: DOZZLE_AUTH_PROVIDER value: "oidc" - name: DOZZLE_AUTH_OIDC_PROVIDER_URL value: "https://auth.basicstack.de" - name: DOZZLE_AUTH_OIDC_CLIENT_ID valueFrom: secretKeyRef: name: dozzle-oidc key: client-id - name: DOZZLE_AUTH_OIDC_CLIENT_SECRET valueFrom: secretKeyRef: name: dozzle-oidc key: client-secret volumeMounts: - name: dozzle-data mountPath: /data resources: limits: cpu: 500m memory: 512Mi requests: cpu: 100m memory: 128Mi volumes: - name: dozzle-data persistentVolumeClaim: claimName: dozzle-data