Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot
2024-01-05 21:35:30 +00:00
parent 5215fac523
commit f411f0cfce
15 changed files with 132 additions and 35 deletions

View File

@@ -1,30 +0,0 @@
image:
pullPolicy: IfNotPresent
repository: livebook/livebook
tag: latest@sha256:99c321de38ad781df509cfd3e452805f04627589a435645faa889a963bd7d1f5
persistence:
data:
enabled: true
mountPath: /data
portal:
open:
enabled: true
securityContext:
container:
readOnlyRootFilesystem: false
runAsGroup: 0
runAsUser: 0
service:
main:
ports:
main:
port: 8787
protocol: tcp
targetPort: 8080
workload:
main:
podSpec:
containers:
main:
env:
LIVEBOOK_PASSWORD: livebookiscool

View File

@@ -1,2 +0,0 @@
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.all" . }}

View File

@@ -0,0 +1,22 @@
---
title: Changelog
---
**Important:**
*for the complete changelog, please refer to the website*
## [livebook-3.1.0](https://github.com/truecharts/charts/compare/livebook-3.0.13...livebook-3.1.0) (2024-01-05)
### Chore
- move all incubator to dev
### Livebook
- add env variables and fix docker image ([#16880](https://github.com/truecharts/charts/issues/16880))

View File

@@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0"
apiVersion: v2
name: livebook
version: 3.0.13
version: 3.1.0
appVersion: latest
description: Livebook is a web application for writing interactive and collaborative code notebooks for Elixir
home: https://truecharts.org/charts/incubator/livebook

View File

@@ -0,0 +1,15 @@
## [livebook-3.1.0](https://github.com/truecharts/charts/compare/livebook-3.0.13...livebook-3.1.0) (2024-01-05)
### Chore
- move all incubator to dev
### Livebook
- add env variables and fix docker image ([#16880](https://github.com/truecharts/charts/issues/16880))

View File

@@ -0,0 +1,52 @@
image:
pullPolicy: IfNotPresent
repository: ghcr.io/livebook-dev/livebook
tag: 0.12.1@sha256:11c5691efc8e35bf0eee9c336ff029e674bcf4146ec39021b1ef75c1b17fb775
persistence:
data:
enabled: true
mountPath: /data
portal:
open:
enabled: true
securityContext:
container:
readOnlyRootFilesystem: false
runAsGroup: 0
runAsUser: 0
service:
main:
ports:
main:
port: 8787
headless:
enabled: true
primary: false
clusterIP: None
ports:
headless:
enabled: true
port: "{{ .Values.service.main.ports.main.port }}"
workload:
main:
podSpec:
containers:
main:
env:
# A_ because these variables are sorted alphabetically and this one needs to come first.
A_POD_IP:
fieldRef:
fieldPath: status.podIP
LIVEBOOK_CLUSTER: '{{ printf "dns:%s-headless" (include "tc.v1.common.lib.chart.names.fullname" .) }}'
LIVEBOOK_DISTRIBUTION: name
LIVEBOOK_NODE: livebook@$(A_POD_IP)
LIVEBOOK_PORT: "{{ .Values.service.main.ports.main.port }}"
LIVEBOOK_HOME: "{{ .Values.persistence.data.mountPath }}"
LIVEBOOK_SECRET_KEY_BASE:
secretKeyRef:
name: secrets
key: LIVEBOOK_SECRET_KEY_BASE
LIVEBOOK_COOKIE:
secretKeyRef:
name: secrets
key: LIVEBOOK_COOKIE

View File

@@ -106,11 +106,24 @@ questions:
type: dict
attrs:
- variable: LIVEBOOK_PASSWORD
label: "LIVEBOOK_PASSWORD"
label: "Password (LIVEBOOK_PASSWORD)"
description: "Password needed to access livebook (must be at least 12 characters)"
schema:
type: string
default: "livebookiscool"
required: true
private: true
- variable: LIVEBOOK_DEBUG
label: "Debug Logging (LIVEBOOK_DEBUG)"
description: >
enables verbose logging, when set to "true". Disabled by default.
schema:
type: boolean
- variable: LIVEBOOK_UPDATE_INSTRUCTIONS_URL
label: "Update instruction URL (LIVEBOOK_UPDATE_INSTRUCTIONS_URL)"
description: >
sets the URL to direct the user to for updating Livebook when a new version becomes available.
schema:
type: string
- variable: service
group: Networking and Services
label: Configure Service(s)

View File

@@ -0,0 +1,15 @@
{{/* Define the secrets */}}
{{- define "livebook.secrets" -}}
{{- $secretName := (printf "%s-secrets" (include "tc.v1.common.lib.chart.names.fullname" $)) }}
{{/* Base64 encoding is intended, application expects a b64 formatted value */}}
{{- $secretKeyBase := randAlphaNum 48 | b64enc -}}
{{- $cookie := randAlphaNum 20 -}}
{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) -}}
{{- $secretKeyBase = index .data "LIVEBOOK_SECRET_KEY_BASE" | b64dec -}}
{{- $cookie = index .data "LIVEBOOK_COOKIE" | b64dec -}}
{{- end }}
enabled: true
data:
LIVEBOOK_SECRET_KEY_BASE: {{ $secretKeyBase }}
LIVEBOOK_COOKIE: {{ $cookie }}
{{- end -}}

View File

@@ -0,0 +1,12 @@
{{/* Render the templates */}}
{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . }}
{{/* Render secrets for livebook */}}
{{- $secrets := include "livebook.secrets" . | fromYaml -}}
{{- if $secrets -}}
{{- $_ := set .Values.secret "secrets" $secrets -}}
{{- end -}}
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.apply" . }}