Skip to content

Commit

Permalink
✨ (obico): Add support for server.envFrom
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Mar 9, 2023
1 parent a690c83 commit 5ba7bd2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 3 additions & 5 deletions charts/obico/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Obico is a community-built, open-source smart 3D printing platform
home: https://charts.gabe565.com/charts/obico
icon: https://raw.githubusercontent.com/TheSpaghettiDetective/OctoPrint-Obico/master/octoprint_obico/static/img/logo-square.svg
type: application
version: 0.0.2
version: 0.0.3
appVersion: sha-72b26dfa6f35800388816c621870664e5501dd19
kubeVersion: ">=1.22.0-0"
keywords:
Expand All @@ -24,7 +24,5 @@ sources:
- https://github.com/gabe565/docker-obico
annotations:
artifacthub.io/changes: |-
- kind: fixed
description: Fix error when `server.env` is unset
- kind: fixed
description: Initialize common chart values before generating notes
- kind: added
description: Add support for `server.envFrom`
2 changes: 1 addition & 1 deletion charts/obico/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<img src="https://raw.githubusercontent.com/TheSpaghettiDetective/OctoPrint-Obico/master/octoprint_obico/static/img/logo-square.svg" align="right" width="92" alt="obico logo" style="padding-left: 20px">

![Version: 0.0.2](https://img.shields.io/badge/Version-0.0.2-informational?style=flat)
![Version: 0.0.3](https://img.shields.io/badge/Version-0.0.3-informational?style=flat)
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat)
![AppVersion: sha-72b26dfa6f35800388816c621870664e5501dd19](https://img.shields.io/badge/AppVersion-sha--72b26dfa6f35800388816c621870664e5501dd19-informational?style=flat)

Expand Down
3 changes: 3 additions & 0 deletions charts/obico/templates/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ initContainers:
collectstatic:
image: {{ .Values.server.image.repository }}:{{ .Values.server.image.tag }}
env: {{ toYaml $env | nindent 6 }}
envFrom: {{ toYaml .Values.server.envFrom | nindent 6 }}
{{- with .Values.server.persistence }}
volumeMounts:
{{- if .data.enabled }}
Expand All @@ -54,6 +55,7 @@ initContainers:
migrate:
image: {{ .Values.server.image.repository }}:{{ .Values.server.image.tag }}
env: {{ toYaml $env | nindent 6 }}
envFrom: {{ toYaml .Values.server.envFrom | nindent 6 }}
{{- with .Values.server.persistence }}
volumeMounts:
{{- if .data.enabled }}
Expand All @@ -66,6 +68,7 @@ additionalContainers:
tasks:
image: {{ .Values.server.image.repository }}:{{ .Values.server.image.tag }}
env: {{ toYaml $env | nindent 6 }}
envFrom: {{ toYaml .Values.server.envFrom | nindent 6 }}
{{- with .Values.server.persistence }}
volumeMounts:
{{- if .data.enabled }}
Expand Down

0 comments on commit 5ba7bd2

Please sign in to comment.