61 lines
1.5 KiB
YAML
61 lines
1.5 KiB
YAML
#
|
|
# IMPORTANT NOTE
|
|
#
|
|
# This chart inherits from our common library chart. You can check the default values/options here:
|
|
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
|
|
#
|
|
|
|
image:
|
|
# -- image repository
|
|
repository: ghcr.io/truecharts/octoprint
|
|
# -- image tag
|
|
tag: v1.7.0@sha256:597bbb8c3df90ea8c7bfd731a08677fcd3eb4744d6acd6b6838c28460dc1e11f
|
|
# -- image pull policy
|
|
pullPolicy: IfNotPresent
|
|
|
|
securityContext:
|
|
runAsNonRoot: false
|
|
|
|
podSecurityContext:
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
# -- environment variables.
|
|
# @default -- See below
|
|
env:
|
|
# -- Set the container timezone
|
|
TZ: UTC
|
|
# -- Enable MJPG Streamer
|
|
# Enable this to ensure camera streaming is enabled you add a video device.
|
|
ENABLE_MJPG_STREAMER: "true"
|
|
# -- MJPG Streamer input parameters
|
|
MJPG_STREAMER_INPUT: # "-y -n -r 640x480"
|
|
# -- MJPG Streamer camera device
|
|
CAMERA_DEV: # /dev/video0
|
|
|
|
# -- Configures service settings for the chart.
|
|
# @default -- See values.yaml
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 80
|
|
|
|
# -- Configure persistence settings for the chart under this key.
|
|
# @default -- See values.yaml
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
type: pvc
|
|
accessMode: ReadWriteOnce
|
|
size: "100Gi"
|
|
mountPath: /octoprint
|
|
# -- Configure a hostPathMount to mount a USB device in the container.
|
|
# @default -- See values.yaml
|
|
printer:
|
|
enabled: false
|
|
type: hostPath
|
|
hostPath: /dev/ttyACM0
|
|
varrun:
|
|
enabled: true
|