mirror of
https://github.com/nold360/hive-apps
synced 2024-11-19 12:09:29 +00:00
Change(octoprint): value anpassung / debug
This commit is contained in:
parent
3b6fba85b2
commit
94a9d181f9
3 changed files with 35 additions and 17 deletions
1
projects/octoprint/.gitignore
vendored
Normal file
1
projects/octoprint/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
chart/charts
|
|
@ -8,7 +8,7 @@ data:
|
||||||
init.sh: |
|
init.sh: |
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
if ! octoprint --version 2>/dev/null ; then
|
if ! octoprint --version 2>/dev/null ; then
|
||||||
cd; mkdir tmp; tar xzf ${octoprint_ref}.tar.gz --strip-components 1 -C tmp ; cd tmp; pip install .
|
mkdir -p /octoprint/tmp ; wget -O- https://github.com/OctoPrint/OctoPrint/archive/refs/tags/1.8.1.tar.gz | tar -xz --strip-components 1 -C /octoprint/tmp ; cd /octoprint/tmp; pip install .
|
||||||
fi
|
fi
|
||||||
{{- if .Values.octoprint.plugins.install }}
|
{{- if .Values.octoprint.plugins.install }}
|
||||||
{{- range .Values.octoprint.plugins.plugins }}
|
{{- range .Values.octoprint.plugins.plugins }}
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
USER-SUPPLIED VALUES:
|
|
||||||
env:
|
env:
|
||||||
TZ: UTC
|
TZ: UTC
|
||||||
|
OCTOPRINT_PORT: 5000
|
||||||
|
|
||||||
image:
|
image:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: Always
|
||||||
repository: octoprint/octoprint
|
repository: nold360/octoprint
|
||||||
tag: 1.8.1
|
tag: "latest"
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
main:
|
main:
|
||||||
annotations:
|
annotations:
|
||||||
|
@ -20,17 +22,13 @@ ingress:
|
||||||
- path: /stream
|
- path: /stream
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
service:
|
service:
|
||||||
name: octo2-octoprint-stream
|
name: octoprint-octoprint-stream
|
||||||
port: 80
|
port: 80
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- octo.dc
|
- octo.dc
|
||||||
secretName: octo-tls
|
secretName: octo-tls
|
||||||
mjpg_streamer:
|
|
||||||
enabled: false
|
|
||||||
image: badsmoke/mjpg-streamer
|
|
||||||
imagePullPolicy: IfNotPresent
|
|
||||||
tag: latest
|
|
||||||
octoprint:
|
octoprint:
|
||||||
plugins:
|
plugins:
|
||||||
install: true
|
install: true
|
||||||
|
@ -38,27 +36,37 @@ octoprint:
|
||||||
- https://github.com/LazeMSS/OctoPrint-UICustomizer/archive/main.zip
|
- https://github.com/LazeMSS/OctoPrint-UICustomizer/archive/main.zip
|
||||||
- https://github.com/NilsRo/OctoPrint-SlicerEstimator/archive/master.zip
|
- https://github.com/NilsRo/OctoPrint-SlicerEstimator/archive/master.zip
|
||||||
upgrade: true
|
upgrade: true
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
camera:
|
camera:
|
||||||
enabled: true
|
enabled: false
|
||||||
hostPath: /dev/video0
|
hostPath: /dev/video0
|
||||||
type: hostPath
|
type: hostPath
|
||||||
|
|
||||||
data:
|
data:
|
||||||
accessMode: ReadWriteOnce
|
accessMode: ReadWriteOnce
|
||||||
enabled: true
|
enabled: true
|
||||||
mountPath: /octoprint
|
mountPath: /octoprint
|
||||||
size: 1Gi
|
size: 1Gi
|
||||||
storageClass: local-path
|
storageClass: local-path
|
||||||
|
|
||||||
printer:
|
printer:
|
||||||
enabled: true
|
enabled: true
|
||||||
hostPath: /dev/ttyACM0
|
hostPath: /dev/ttyACM0
|
||||||
type: hostPath
|
type: hostPath
|
||||||
podAnnotations:
|
|
||||||
prometheus.io/path: /plugin/prometheus_exporter/metrics
|
#podAnnotations:
|
||||||
prometheus.io/port: "5000"
|
#prometheus.io/path: /plugin/prometheus_exporter/metrics
|
||||||
prometheus.io/scrape: "true"
|
#prometheus.io/port: "5000"
|
||||||
|
#prometheus.io/scrape: "true"
|
||||||
|
podSecurityContext:
|
||||||
|
runAsUser: 1000
|
||||||
|
runAsGroup: 20 #dialout
|
||||||
|
fsGroup: 20
|
||||||
|
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -66,6 +74,7 @@ service:
|
||||||
http:
|
http:
|
||||||
port: 80
|
port: 80
|
||||||
targetPort: 5000
|
targetPort: 5000
|
||||||
|
|
||||||
stream:
|
stream:
|
||||||
enabled: true
|
enabled: true
|
||||||
ports:
|
ports:
|
||||||
|
@ -73,6 +82,7 @@ service:
|
||||||
enabled: true
|
enabled: true
|
||||||
port: 80
|
port: 80
|
||||||
targetPort: 8080
|
targetPort: 8080
|
||||||
|
|
||||||
streamer:
|
streamer:
|
||||||
device: /dev/video0
|
device: /dev/video0
|
||||||
encoder: CPU
|
encoder: CPU
|
||||||
|
@ -81,8 +91,15 @@ streamer:
|
||||||
port: 8080
|
port: 8080
|
||||||
quality: 70
|
quality: 70
|
||||||
resolution: 640x480
|
resolution: 640x480
|
||||||
|
|
||||||
ustreamer:
|
ustreamer:
|
||||||
enabled: true
|
enabled: false
|
||||||
image: lib42/ustreamer
|
image: lib42/ustreamer
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
tag: latest
|
tag: latest
|
||||||
|
|
||||||
|
mjpg_streamer:
|
||||||
|
enabled: false
|
||||||
|
image: badsmoke/mjpg-streamer
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
tag: latest
|
||||||
|
|
Loading…
Reference in a new issue