2021-10-25 12:19:09 +00:00
|
|
|
#
|
|
|
|
# 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
|
2021-11-07 17:16:28 +00:00
|
|
|
tag: v1.7.2@sha256:80d677488365ad240b0cef90fa381ba849dcd82dfc62b11689d88da9867956c6
|
2021-10-25 12:19:09 +00:00
|
|
|
# -- 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
|
2021-11-07 16:24:13 +00:00
|
|
|
targetPort: 80
|
2021-10-25 12:19:09 +00:00
|
|
|
|
|
|
|
# -- 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
|