From 5ba7bd2cb50a1de14b645d4975198f2fca824d2a Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Thu, 9 Mar 2023 15:26:04 -0600 Subject: [PATCH] :sparkles: (obico): Add support for `server.envFrom` --- charts/obico/Chart.yaml | 8 +++----- charts/obico/README.md | 2 +- charts/obico/templates/server.yaml | 3 +++ 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/charts/obico/Chart.yaml b/charts/obico/Chart.yaml index 4ea9a678e..5c6bc4bbd 100644 --- a/charts/obico/Chart.yaml +++ b/charts/obico/Chart.yaml @@ -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: @@ -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` diff --git a/charts/obico/README.md b/charts/obico/README.md index d30f44a37..c8786f245 100644 --- a/charts/obico/README.md +++ b/charts/obico/README.md @@ -2,7 +2,7 @@ obico logo -![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) diff --git a/charts/obico/templates/server.yaml b/charts/obico/templates/server.yaml index 97bb519a3..de904a6af 100644 --- a/charts/obico/templates/server.yaml +++ b/charts/obico/templates/server.yaml @@ -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 }} @@ -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 }} @@ -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 }}