hive-apps/projects/octoprint/values/octoprint.yaml

105 lines
1.9 KiB
YAML

env:
TZ: UTC
OCTOPRINT_PORT: 5000
image:
pullPolicy: Always
repository: nold360/octoprint
tag: "latest"
ingress:
main:
annotations:
cert-manager.io/cluster-issuer: vault-issuer
nginx.ingress.kubernetes.io/proxy-body-size: 100m
traefik.ingress.kubernetes.io/router.tls: "true"
enabled: true
hosts:
- host: octo.dc
paths:
- path: /
pathType: Prefix
- path: /stream
pathType: Prefix
service:
name: octoprint-octoprint-stream
port: 80
tls:
- hosts:
- octo.dc
secretName: octo-tls
octoprint:
plugins:
install: true
plugins:
- https://github.com/LazeMSS/OctoPrint-UICustomizer/archive/main.zip
- https://github.com/NilsRo/OctoPrint-SlicerEstimator/archive/master.zip
upgrade: true
persistence:
camera:
enabled: false
hostPath: /dev/video0
type: hostPath
data:
accessMode: ReadWriteOnce
enabled: true
mountPath: /octoprint
size: 1Gi
storageClass: local-path
printer:
enabled: true
hostPath: /dev/ttyACM0
type: hostPath
#podAnnotations:
#prometheus.io/path: /plugin/prometheus_exporter/metrics
#prometheus.io/port: "5000"
#prometheus.io/scrape: "true"
podSecurityContext:
runAsUser: 1000
runAsGroup: 20 #dialout
fsGroup: 20
securityContext:
privileged: true
service:
main:
enabled: true
ports:
http:
port: 80
targetPort: 5000
stream:
enabled: true
ports:
http-stream:
enabled: true
port: 80
targetPort: 8080
streamer:
device: /dev/video0
encoder: CPU
format: YUYV
framerate: 15
port: 8080
quality: 70
resolution: 640x480
ustreamer:
enabled: false
image: lib42/ustreamer
imagePullPolicy: IfNotPresent
tag: latest
mjpg_streamer:
enabled: false
image: badsmoke/mjpg-streamer
imagePullPolicy: IfNotPresent
tag: latest