From 8d54f24de713afdfa5b1abf7b3b3463226b733a8 Mon Sep 17 00:00:00 2001 From: TrueCharts-Bot Date: Sat, 3 Feb 2024 10:41:46 +0000 Subject: [PATCH] Commit new Chart releases for TrueCharts Signed-off-by: TrueCharts-Bot --- dev/livebook/3.1.1/app-changelog.md | 9 - dev/livebook/{3.1.1 => 3.2.0}/CHANGELOG.md | 3 + dev/livebook/{3.1.1 => 3.2.0}/Chart.yaml | 2 +- dev/livebook/{3.1.1 => 3.2.0}/README.md | 0 dev/livebook/3.2.0/app-changelog.md | 3 + dev/livebook/{3.1.1 => 3.2.0}/app-readme.md | 0 .../charts/common-17.2.21.tgz | Bin dev/livebook/{3.1.1 => 3.2.0}/ix_values.yaml | 26 +- dev/livebook/{3.1.1 => 3.2.0}/questions.yaml | 253 ++++++++++++++++-- .../{3.1.1 => 3.2.0}/templates/_secrets.tpl | 6 +- .../{3.1.1 => 3.2.0}/templates/common.yaml | 0 dev/livebook/{3.1.1 => 3.2.0}/values.yaml | 0 12 files changed, 265 insertions(+), 37 deletions(-) delete mode 100644 dev/livebook/3.1.1/app-changelog.md rename dev/livebook/{3.1.1 => 3.2.0}/CHANGELOG.md (78%) rename dev/livebook/{3.1.1 => 3.2.0}/Chart.yaml (98%) rename dev/livebook/{3.1.1 => 3.2.0}/README.md (100%) create mode 100644 dev/livebook/3.2.0/app-changelog.md rename dev/livebook/{3.1.1 => 3.2.0}/app-readme.md (100%) rename dev/livebook/{3.1.1 => 3.2.0}/charts/common-17.2.21.tgz (100%) rename dev/livebook/{3.1.1 => 3.2.0}/ix_values.yaml (61%) rename dev/livebook/{3.1.1 => 3.2.0}/questions.yaml (93%) rename dev/livebook/{3.1.1 => 3.2.0}/templates/_secrets.tpl (68%) rename dev/livebook/{3.1.1 => 3.2.0}/templates/common.yaml (100%) rename dev/livebook/{3.1.1 => 3.2.0}/values.yaml (100%) diff --git a/dev/livebook/3.1.1/app-changelog.md b/dev/livebook/3.1.1/app-changelog.md deleted file mode 100644 index e4b0387e0fc..00000000000 --- a/dev/livebook/3.1.1/app-changelog.md +++ /dev/null @@ -1,9 +0,0 @@ - - -## [livebook-3.1.1](https://github.com/truecharts/charts/compare/livebook-3.1.0...livebook-3.1.1) (2024-01-21) - -### Chore - - - -- update metadata in chart.yaml ([#17457](https://github.com/truecharts/charts/issues/17457)) \ No newline at end of file diff --git a/dev/livebook/3.1.1/CHANGELOG.md b/dev/livebook/3.2.0/CHANGELOG.md similarity index 78% rename from dev/livebook/3.1.1/CHANGELOG.md rename to dev/livebook/3.2.0/CHANGELOG.md index 4512cfacda7..7dafcfacc75 100644 --- a/dev/livebook/3.1.1/CHANGELOG.md +++ b/dev/livebook/3.2.0/CHANGELOG.md @@ -7,6 +7,9 @@ title: Changelog +## [livebook-3.2.0](https://github.com/truecharts/charts/compare/livebook-3.1.1...livebook-3.2.0) (2024-02-03) + + ## [livebook-3.1.1](https://github.com/truecharts/charts/compare/livebook-3.1.0...livebook-3.1.1) (2024-01-21) ### Chore diff --git a/dev/livebook/3.1.1/Chart.yaml b/dev/livebook/3.2.0/Chart.yaml similarity index 98% rename from dev/livebook/3.1.1/Chart.yaml rename to dev/livebook/3.2.0/Chart.yaml index 53486c3e3e1..9e50721d90e 100644 --- a/dev/livebook/3.1.1/Chart.yaml +++ b/dev/livebook/3.2.0/Chart.yaml @@ -34,4 +34,4 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/dev/livebook - https://ghcr.io/livebook-dev/livebook type: application -version: 3.1.1 +version: 3.2.0 diff --git a/dev/livebook/3.1.1/README.md b/dev/livebook/3.2.0/README.md similarity index 100% rename from dev/livebook/3.1.1/README.md rename to dev/livebook/3.2.0/README.md diff --git a/dev/livebook/3.2.0/app-changelog.md b/dev/livebook/3.2.0/app-changelog.md new file mode 100644 index 00000000000..d5da7f36354 --- /dev/null +++ b/dev/livebook/3.2.0/app-changelog.md @@ -0,0 +1,3 @@ + + +## [livebook-3.2.0](https://github.com/truecharts/charts/compare/livebook-3.1.1...livebook-3.2.0) (2024-02-03) \ No newline at end of file diff --git a/dev/livebook/3.1.1/app-readme.md b/dev/livebook/3.2.0/app-readme.md similarity index 100% rename from dev/livebook/3.1.1/app-readme.md rename to dev/livebook/3.2.0/app-readme.md diff --git a/dev/livebook/3.1.1/charts/common-17.2.21.tgz b/dev/livebook/3.2.0/charts/common-17.2.21.tgz similarity index 100% rename from dev/livebook/3.1.1/charts/common-17.2.21.tgz rename to dev/livebook/3.2.0/charts/common-17.2.21.tgz diff --git a/dev/livebook/3.1.1/ix_values.yaml b/dev/livebook/3.2.0/ix_values.yaml similarity index 61% rename from dev/livebook/3.1.1/ix_values.yaml rename to dev/livebook/3.2.0/ix_values.yaml index cf90783411f..dec21dd1e7e 100644 --- a/dev/livebook/3.1.1/ix_values.yaml +++ b/dev/livebook/3.2.0/ix_values.yaml @@ -12,8 +12,8 @@ portal: securityContext: container: readOnlyRootFilesystem: false - runAsGroup: 0 - runAsUser: 0 + runAsGroup: 568 + runAsUser: 568 service: main: ports: @@ -42,6 +42,7 @@ workload: LIVEBOOK_NODE: livebook@$(A_POD_IP) LIVEBOOK_PORT: "{{ .Values.service.main.ports.main.port }}" LIVEBOOK_HOME: "{{ .Values.persistence.data.mountPath }}" + LIVEBOOK_DATA_PATH: "{{ .Values.persistence.data.mountPath }}" LIVEBOOK_SECRET_KEY_BASE: secretKeyRef: name: secrets @@ -50,3 +51,24 @@ workload: secretKeyRef: name: secrets key: LIVEBOOK_COOKIE + LIVEBOOK_PASSWORD: + secretKeyRef: + name: secrets + key: LIVEBOOK_PASSWORD + LIVEBOOK_DEBUG: '{{ ternary "true" "false" .Values.livebook.debug }}' + LIVEBOOK_UPDATE_INSTRUCTIONS_URL: "{{ .Values.livebook.updateInstructionsUrl }}" + LIVEBOOK_AWS_CREDENTIALS: '{{ ternary "true" "false" .Values.livebook.awsCredentials.enabled }}' + AWS_ACCESS_KEY_ID: "{{ .Values.livebook.awsCredentials.accessKeyId }}" + AWS_SECRET_ACCESS_KEY: + secretKeyRef: + name: secrets + key: AWS_SECRET_ACCESS_KEY +# default values +livebook: + password: "" + updateInstructionsUrl: "" + debug: false + awsCredentials: + enabled: false + accessKeyId: "" + secretAccessKey: "" diff --git a/dev/livebook/3.1.1/questions.yaml b/dev/livebook/3.2.0/questions.yaml similarity index 93% rename from dev/livebook/3.1.1/questions.yaml rename to dev/livebook/3.2.0/questions.yaml index dce33553133..b83f430219d 100644 --- a/dev/livebook/3.1.1/questions.yaml +++ b/dev/livebook/3.2.0/questions.yaml @@ -99,31 +99,238 @@ questions: additional_attrs: true type: dict attrs: - - variable: env - label: Image Environment + - variable: envList + label: Extra Environment Variables + description: "Please be aware that some variables are set in the background, adding duplicates here might cause issues or prevent the app from starting..." schema: - additional_attrs: true - type: dict - attrs: - - variable: LIVEBOOK_PASSWORD - label: "Password (LIVEBOOK_PASSWORD)" - description: "Password needed to access livebook (must be at least 12 characters)" + type: list + default: [] + items: + - variable: envItem + label: Environment Variable + schema: + additional_attrs: true + type: dict + attrs: + - variable: name + label: Name + schema: + type: string + - variable: value + label: Value + schema: + type: string + - variable: extraArgs + label: Extra Args + schema: + type: list + default: [] + items: + - variable: arg + label: Arg schema: type: string - required: true - private: true - - variable: LIVEBOOK_DEBUG - label: "Debug Logging (LIVEBOOK_DEBUG)" - description: > - enables verbose logging, when set to "true". Disabled by default. + - variable: advanced + label: Show Advanced Settings + description: Advanced settings are not covered by TrueCharts Support + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: command + label: Command 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 + type: list + default: [] + items: + - variable: param + label: Param + schema: + type: string + - variable: TZ + label: Timezone + group: "General Settings" + schema: + type: string + default: "Etc/UTC" + $ref: + - "definitions/timezone" + - variable: podOptions + group: "General Settings" + label: "Global Pod Options (Advanced)" + schema: + additional_attrs: true + type: dict + attrs: + - variable: expertPodOpts + label: "Expert - Pod Options" + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: hostNetwork + label: "Host Networking" + schema: + type: boolean + default: false + - variable: dnsConfig + label: "DNS Configuration" + schema: + type: dict + additional_attrs: true + attrs: + - variable: options + label: "Options" + schema: + type: list + default: [{"name": "ndots", "value": "1"}] + items: + - variable: optionsEntry + label: "Option Entry" + schema: + type: dict + additional_attrs: true + attrs: + - variable: name + label: "Name" + schema: + type: string + required: true + - variable: value + label: "Value" + schema: + type: string + - variable: nameservers + label: "Nameservers" + schema: + type: list + default: [] + items: + - variable: nsEntry + label: "Nameserver Entry" + schema: + type: string + required: true + - variable: searches + label: "Searches" + schema: + type: list + default: [] + items: + - variable: searchEntry + label: "Search Entry" + schema: + type: string + required: true + + - variable: imagePullSecretList + group: "General Settings" + label: "Image Pull Secrets" + schema: + type: list + default: [] + items: + - variable: pullsecretentry + label: "Pull Secret" + schema: + type: dict + additional_attrs: true + attrs: + - variable: enabled + label: Enabled + schema: + type: boolean + default: true + - variable: data + label: Data + schema: + type: dict + additional_attrs: true + attrs: + - variable: registry + label: "Registry" + schema: + type: string + required: true + default: "https://index.docker.io/v1/" + - variable: username + label: "Username" + schema: + type: string + required: true + default: "" + - variable: password + label: "Password" + schema: + type: string + required: true + private: true + default: "" + - variable: email + label: "Email" + schema: + type: string + required: true + default: "" + - variable: livebook + group: App Configuration + label: Livebook + schema: + additional_attrs: true + type: dict + attrs: + - variable: password + label: "Password (LIVEBOOK_PASSWORD)" + description: Password needed to access livebook (must be at least 12 characters) + schema: + type: string + min_length: 12 + required: true + private: true + - variable: debug + label: "Debug Logging (LIVEBOOK_DEBUG)" + description: > + Enables verbose logging, when set to "true". Disabled by default. + schema: + type: boolean + default: false + - variable: updateInstructionsUrl + 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: awsCredentials + label: AWS Credentials + schema: + additional_attrs: true + type: dict + attrs: + - variable: enabled + label: "Set AWS Credentials" + description: > + Enable Livebook to read AWS Credentials from environment variables, + AWS Credentials, EC2/ECS metadata when configuring S3 buckets. + schema: + type: boolean + default: false + show_subquestions_if: true + subquestions: + - variable: accessKeyId + label: "AWS Access Key ID" + description: > + AWS Access Key ID in case you want to configure AWS S3 Storage inside Livebook + schema: + type: string + - variable: secretAccessKey + label: "AWS Secret Access Key" + description: > + AWS Secret Access Key in case you want to configure AWS S3 Storage inside Livebook + schema: + type: string + private: true - variable: service group: Networking and Services label: Configure Service(s) @@ -1532,13 +1739,13 @@ questions: description: "The UserID of the user running the application" schema: type: int - default: 0 + default: 568 - variable: runAsGroup label: "runAsGroup" description: "The groupID of the user running the application" schema: type: int - default: 0 + default: 568 # Settings from questions.yaml get appended here on a per-app basis - variable: PUID label: Process User ID - PUID diff --git a/dev/livebook/3.1.1/templates/_secrets.tpl b/dev/livebook/3.2.0/templates/_secrets.tpl similarity index 68% rename from dev/livebook/3.1.1/templates/_secrets.tpl rename to dev/livebook/3.2.0/templates/_secrets.tpl index 205e77ddbd9..bc6f29f1323 100644 --- a/dev/livebook/3.1.1/templates/_secrets.tpl +++ b/dev/livebook/3.2.0/templates/_secrets.tpl @@ -10,6 +10,8 @@ {{- end }} enabled: true data: - LIVEBOOK_SECRET_KEY_BASE: {{ $secretKeyBase }} - LIVEBOOK_COOKIE: {{ $cookie }} + LIVEBOOK_SECRET_KEY_BASE: {{ $secretKeyBase | quote }} + LIVEBOOK_COOKIE: {{ $cookie | quote }} + LIVEBOOK_PASSWORD: {{ .Values.livebook.password | quote }} + AWS_SECRET_ACCESS_KEY: {{ .Values.livebook.awsCredentials.secretAccessKey | default "" | quote }} {{- end -}} diff --git a/dev/livebook/3.1.1/templates/common.yaml b/dev/livebook/3.2.0/templates/common.yaml similarity index 100% rename from dev/livebook/3.1.1/templates/common.yaml rename to dev/livebook/3.2.0/templates/common.yaml diff --git a/dev/livebook/3.1.1/values.yaml b/dev/livebook/3.2.0/values.yaml similarity index 100% rename from dev/livebook/3.1.1/values.yaml rename to dev/livebook/3.2.0/values.yaml