diff --git a/stable/custom-app/8.0.0/app-changelog.md b/stable/custom-app/8.0.0/app-changelog.md deleted file mode 100644 index ef687cc79f..0000000000 --- a/stable/custom-app/8.0.0/app-changelog.md +++ /dev/null @@ -1,13 +0,0 @@ - - -## [custom-app-8.0.0](https://github.com/truecharts/charts/compare/custom-app-7.0.23...custom-app-8.0.0) (2023-04-30) - -### Feat - -- BREAKING CHANGE migrate to new common part 5 ([#8615](https://github.com/truecharts/charts/issues/8615)) - - ### Fix - -- fix indentation ([#8536](https://github.com/truecharts/charts/issues/8536)) - - \ No newline at end of file diff --git a/stable/custom-app/8.0.0/CHANGELOG.md b/stable/custom-app/8.0.1/CHANGELOG.md similarity index 89% rename from stable/custom-app/8.0.0/CHANGELOG.md rename to stable/custom-app/8.0.1/CHANGELOG.md index 87131cd29e..e828277908 100644 --- a/stable/custom-app/8.0.0/CHANGELOG.md +++ b/stable/custom-app/8.0.1/CHANGELOG.md @@ -4,6 +4,15 @@ +## [custom-app-8.0.1](https://github.com/truecharts/charts/compare/custom-app-8.0.0...custom-app-8.0.1) (2023-05-01) + +### Fix + +- fix secret (also a fix for custom app) ([#8639](https://github.com/truecharts/charts/issues/8639)) + + + + ## [custom-app-8.0.0](https://github.com/truecharts/charts/compare/custom-app-7.0.23...custom-app-8.0.0) (2023-04-30) ### Feat @@ -88,12 +97,3 @@ - -## [custom-app-7.0.17](https://github.com/truecharts/charts/compare/custom-app-7.0.15...custom-app-7.0.17) (2022-11-30) - -### Chore - -- update container image tccr.io/truecharts/jackett to v0.20.2297 - - - diff --git a/stable/custom-app/8.0.0/Chart.yaml b/stable/custom-app/8.0.1/Chart.yaml similarity index 97% rename from stable/custom-app/8.0.0/Chart.yaml rename to stable/custom-app/8.0.1/Chart.yaml index 4605daebdc..ffe91948fc 100644 --- a/stable/custom-app/8.0.0/Chart.yaml +++ b/stable/custom-app/8.0.1/Chart.yaml @@ -19,7 +19,7 @@ name: custom-app sources: - https://github.com/truecharts/charts/tree/master/charts/stable/custom-app type: application -version: 8.0.0 +version: 8.0.1 annotations: truecharts.org/catagories: | - custom diff --git a/stable/custom-app/8.0.0/README.md b/stable/custom-app/8.0.1/README.md similarity index 100% rename from stable/custom-app/8.0.0/README.md rename to stable/custom-app/8.0.1/README.md diff --git a/stable/custom-app/8.0.1/app-changelog.md b/stable/custom-app/8.0.1/app-changelog.md new file mode 100644 index 0000000000..df29385ade --- /dev/null +++ b/stable/custom-app/8.0.1/app-changelog.md @@ -0,0 +1,9 @@ + + +## [custom-app-8.0.1](https://github.com/truecharts/charts/compare/custom-app-8.0.0...custom-app-8.0.1) (2023-05-01) + +### Fix + +- fix secret (also a fix for custom app) ([#8639](https://github.com/truecharts/charts/issues/8639)) + + \ No newline at end of file diff --git a/stable/custom-app/8.0.0/app-readme.md b/stable/custom-app/8.0.1/app-readme.md similarity index 100% rename from stable/custom-app/8.0.0/app-readme.md rename to stable/custom-app/8.0.1/app-readme.md diff --git a/stable/custom-app/8.0.0/charts/common-12.6.1.tgz b/stable/custom-app/8.0.1/charts/common-12.6.1.tgz similarity index 100% rename from stable/custom-app/8.0.0/charts/common-12.6.1.tgz rename to stable/custom-app/8.0.1/charts/common-12.6.1.tgz diff --git a/stable/custom-app/8.0.0/ix_values.yaml b/stable/custom-app/8.0.1/ix_values.yaml similarity index 100% rename from stable/custom-app/8.0.0/ix_values.yaml rename to stable/custom-app/8.0.1/ix_values.yaml diff --git a/stable/custom-app/8.0.0/questions.yaml b/stable/custom-app/8.0.1/questions.yaml similarity index 95% rename from stable/custom-app/8.0.0/questions.yaml rename to stable/custom-app/8.0.1/questions.yaml index 4f94509941..ad912d6557 100644 --- a/stable/custom-app/8.0.0/questions.yaml +++ b/stable/custom-app/8.0.1/questions.yaml @@ -186,60 +186,67 @@ questions: additional_attrs: true type: dict attrs: - - variable: hostNetwork - label: "Host Networking" + - variable: expertPodOpts + label: "Expert - Pod Options" schema: type: boolean default: false - - variable: dnsConfig - label: "DNS Configuration" - schema: - type: dict - additional_attrs: true - attrs: - - variable: options - label: "Options" + show_subquestions_if: true + subquestions: + - variable: hostNetwork + label: "Host Networking" schema: - type: list - default: [{"name": "ndots", "value": "2"}] - items: - - variable: optionsEntry - label: "Option Entry" + type: boolean + default: false + - variable: dnsConfig + label: "DNS Configuration" + schema: + type: dict + additional_attrs: true + attrs: + - variable: options + label: "Options" schema: - type: dict - additional_attrs: true - attrs: - - variable: name - label: "Name" + type: list + default: [{"name": "ndots", "value": "2"}] + 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: value - label: "Value" + - variable: searches + label: "Searches" + schema: + type: list + default: [] + items: + - variable: searchEntry + label: "Search Entry" 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 + required: true - variable: probes group: "App Configuration" label: "Healthcheck Probes" @@ -267,14 +274,14 @@ questions: description: "Probe Type" schema: type: string - default: "TCP" + default: "tcp" enum: - - value: "TCP" - description: "TCP" - - value: "HTTP" - description: "HTTP" - - value: "HTTPS" - description: "HTTPS" + - value: "tcp" + description: "tcp" + - value: "http" + description: "http" + - value: "https" + description: "https" - variable: path label: "Probe Path" description: "Probe Path" @@ -301,14 +308,14 @@ questions: description: "Probe Type" schema: type: string - default: "TCP" + default: "tcp" enum: - - value: "TCP" - description: "TCP" - - value: "HTTP" - description: "HTTP" - - value: "HTTPS" - description: "HTTPS" + - value: "tcp" + description: "tcp" + - value: "http" + description: "http" + - value: "https" + description: "https" - variable: path label: "Probe Path" description: "Probe Path" @@ -335,14 +342,14 @@ questions: description: "Probe Type" schema: type: string - default: "TCP" + default: "tcp" enum: - - value: "TCP" - description: "TCP" - - value: "HTTP" - description: "HTTP" - - value: "HTTPS" - description: "HTTPS" + - value: "tcp" + description: "tcp" + - value: "http" + description: "http" + - value: "https" + description: "https" - variable: path label: "Probe Path" description: "Probe Path" @@ -409,16 +416,16 @@ questions: label: "Port Type" schema: type: string - default: "HTTP" + default: "http" enum: - - value: HTTP - description: "HTTP" - - value: "HTTPS" - description: "HTTPS" - - value: TCP - description: "TCP" - - value: "UDP" - description: "UDP" + - value: http + description: "http" + - value: "https" + description: "https" + - value: tcp + description: "tcp" + - value: "udp" + description: "udp" - variable: targetPort label: "Target Port" description: "This port exposes the container port on the service" @@ -458,16 +465,16 @@ questions: label: "Port Type" schema: type: string - default: "TCP" + default: "tcp" enum: - - value: HTTP - description: "HTTP" - - value: "HTTPS" - description: "HTTPS" - - value: TCP - description: "TCP" - - value: "UDP" - description: "UDP" + - value: http + description: "http" + - value: "https" + description: "https" + - value: tcp + description: "tcp" + - value: "udp" + description: "udp" - variable: targetPort label: "Target Port" description: "This port exposes the container port on the service" diff --git a/stable/custom-app/8.0.0/templates/NOTES.txt b/stable/custom-app/8.0.1/templates/NOTES.txt similarity index 100% rename from stable/custom-app/8.0.0/templates/NOTES.txt rename to stable/custom-app/8.0.1/templates/NOTES.txt diff --git a/stable/custom-app/8.0.0/templates/common.yaml b/stable/custom-app/8.0.1/templates/common.yaml similarity index 100% rename from stable/custom-app/8.0.0/templates/common.yaml rename to stable/custom-app/8.0.1/templates/common.yaml diff --git a/stable/custom-app/8.0.0/values.yaml b/stable/custom-app/8.0.1/values.yaml similarity index 100% rename from stable/custom-app/8.0.0/values.yaml rename to stable/custom-app/8.0.1/values.yaml diff --git a/stable/outline/7.0.9/CHANGELOG.md b/stable/outline/7.0.10/CHANGELOG.md similarity index 90% rename from stable/outline/7.0.9/CHANGELOG.md rename to stable/outline/7.0.10/CHANGELOG.md index 8a95d49721..3b50b23d2c 100644 --- a/stable/outline/7.0.9/CHANGELOG.md +++ b/stable/outline/7.0.10/CHANGELOG.md @@ -4,6 +4,15 @@ +## [outline-7.0.10](https://github.com/truecharts/charts/compare/outline-7.0.9...outline-7.0.10) (2023-05-01) + +### Fix + +- fix secret (also a fix for custom app) ([#8639](https://github.com/truecharts/charts/issues/8639)) + + + + ## [outline-7.0.9](https://github.com/truecharts/charts/compare/outline-7.0.8...outline-7.0.9) (2023-04-25) ### Chore @@ -88,12 +97,3 @@ - BREAKING CHANGE migrate to new common part 1 ([#7900](https://github.com/truecharts/charts/issues/7900)) - - -## [outline-6.0.24](https://github.com/truecharts/charts/compare/outline-6.0.23...outline-6.0.24) (2023-02-27) - -### Chore - -- update helm general non-major ([#7725](https://github.com/truecharts/charts/issues/7725)) - - diff --git a/stable/outline/7.0.9/Chart.yaml b/stable/outline/7.0.10/Chart.yaml similarity index 98% rename from stable/outline/7.0.9/Chart.yaml rename to stable/outline/7.0.10/Chart.yaml index d44498db83..47d39b5dbb 100644 --- a/stable/outline/7.0.9/Chart.yaml +++ b/stable/outline/7.0.10/Chart.yaml @@ -25,7 +25,7 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/stable/outline - https://github.com/outline/outline type: application -version: 7.0.9 +version: 7.0.10 annotations: truecharts.org/catagories: | - productivity diff --git a/stable/outline/7.0.9/LICENSE b/stable/outline/7.0.10/LICENSE similarity index 100% rename from stable/outline/7.0.9/LICENSE rename to stable/outline/7.0.10/LICENSE diff --git a/stable/outline/7.0.9/README.md b/stable/outline/7.0.10/README.md similarity index 100% rename from stable/outline/7.0.9/README.md rename to stable/outline/7.0.10/README.md diff --git a/stable/outline/7.0.10/app-changelog.md b/stable/outline/7.0.10/app-changelog.md new file mode 100644 index 0000000000..1af1c8cba6 --- /dev/null +++ b/stable/outline/7.0.10/app-changelog.md @@ -0,0 +1,9 @@ + + +## [outline-7.0.10](https://github.com/truecharts/charts/compare/outline-7.0.9...outline-7.0.10) (2023-05-01) + +### Fix + +- fix secret (also a fix for custom app) ([#8639](https://github.com/truecharts/charts/issues/8639)) + + \ No newline at end of file diff --git a/stable/outline/7.0.9/app-readme.md b/stable/outline/7.0.10/app-readme.md similarity index 100% rename from stable/outline/7.0.9/app-readme.md rename to stable/outline/7.0.10/app-readme.md diff --git a/stable/outline/7.0.9/charts/common-12.6.1.tgz b/stable/outline/7.0.10/charts/common-12.6.1.tgz similarity index 100% rename from stable/outline/7.0.9/charts/common-12.6.1.tgz rename to stable/outline/7.0.10/charts/common-12.6.1.tgz diff --git a/stable/outline/7.0.9/charts/redis-6.0.32.tgz b/stable/outline/7.0.10/charts/redis-6.0.32.tgz similarity index 100% rename from stable/outline/7.0.9/charts/redis-6.0.32.tgz rename to stable/outline/7.0.10/charts/redis-6.0.32.tgz diff --git a/stable/outline/7.0.9/ix_values.yaml b/stable/outline/7.0.10/ix_values.yaml similarity index 89% rename from stable/outline/7.0.9/ix_values.yaml rename to stable/outline/7.0.10/ix_values.yaml index dae60a702e..1fca0c014b 100644 --- a/stable/outline/7.0.9/ix_values.yaml +++ b/stable/outline/7.0.10/ix_values.yaml @@ -1,7 +1,7 @@ image: repository: tccr.io/truecharts/outline pullPolicy: IfNotPresent - tag: 0.66.3@sha256:14ffd3c6ab1600700a2c5645d78e94a18b0b2b8313ac9e863c2feba800384a34 + tag: 0.69.0@sha256:94a476351c27c309faca804e4e804b68271b871fab6d245bf94282697633accb service: main: ports: @@ -10,13 +10,11 @@ service: # Enabled redis redis: enabled: true - - redisUsername: outline + redisUsername: default # Enabled postgres cnpg: main: enabled: true - user: outline database: outline @@ -44,9 +42,8 @@ workload: key: std REDIS_URL: secretKeyRef: - expandObjectName: false - name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}' - key: url + name: secrets + key: REDIS_CUSTOM_URL SECRET_KEY: secretKeyRef: name: secrets @@ -56,11 +53,9 @@ workload: name: secrets key: UTILS_SECRET command: - [ - "sh", - "-c", - "yarn sequelize db:migrate --env=production-ssl-disabled", - ] + - sh + - -c + - yarn sequelize db:migrate --env=production-ssl-disabled containers: main: probes: diff --git a/stable/outline/7.0.9/questions.yaml b/stable/outline/7.0.10/questions.yaml similarity index 99% rename from stable/outline/7.0.9/questions.yaml rename to stable/outline/7.0.10/questions.yaml index e90638b28e..425db0b011 100644 --- a/stable/outline/7.0.9/questions.yaml +++ b/stable/outline/7.0.10/questions.yaml @@ -1132,7 +1132,7 @@ questions: description: When supported by the container, this sets the User ID running the Application Process. Not supported by all Apps schema: type: int - show_if: [["runAsUser", "=", "0"]] + show_if: [["runAsUser", "=", 0]] default: 568 - variable: UMASK label: UMASK diff --git a/stable/outline/7.0.9/templates/NOTES.txt b/stable/outline/7.0.10/templates/NOTES.txt similarity index 100% rename from stable/outline/7.0.9/templates/NOTES.txt rename to stable/outline/7.0.10/templates/NOTES.txt diff --git a/stable/outline/7.0.10/templates/_secrets.tpl b/stable/outline/7.0.10/templates/_secrets.tpl new file mode 100644 index 0000000000..2f8a26860a --- /dev/null +++ b/stable/outline/7.0.10/templates/_secrets.tpl @@ -0,0 +1,17 @@ +{{/* Define the secrets */}} +{{- define "outline.secrets" -}} +{{- $secretName := (printf "%s-outline-secrets" (include "tc.v1.common.lib.chart.names.fullname" $)) }} + +{{/* Outline wants a HEX 32 char string */}} +{{- $secret_key := (printf "%x" (randAlphaNum 32)) }} +{{- $utils_secret := (printf "%x" (randAlphaNum 32)) }} +{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) }} + {{- $secret_key = index .data "SECRET_KEY" | b64dec }} + {{- $utils_secret = index .data "UTILS_SECRET" | b64dec }} +{{- end }} +enabled: true +data: + SECRET_KEY: {{ $secret_key }} + UTILS_SECRET: {{ $utils_secret }} + REDIS_CUSTOM_URL: {{ .Values.redis.creds.url | trimAll "\"" }} +{{- end -}} diff --git a/stable/outline/7.0.9/templates/common.yaml b/stable/outline/7.0.10/templates/common.yaml similarity index 100% rename from stable/outline/7.0.9/templates/common.yaml rename to stable/outline/7.0.10/templates/common.yaml diff --git a/stable/outline/7.0.9/values.yaml b/stable/outline/7.0.10/values.yaml similarity index 100% rename from stable/outline/7.0.9/values.yaml rename to stable/outline/7.0.10/values.yaml diff --git a/stable/outline/7.0.9/app-changelog.md b/stable/outline/7.0.9/app-changelog.md deleted file mode 100644 index a74a024ed3..0000000000 --- a/stable/outline/7.0.9/app-changelog.md +++ /dev/null @@ -1,9 +0,0 @@ - - -## [outline-7.0.9](https://github.com/truecharts/charts/compare/outline-7.0.8...outline-7.0.9) (2023-04-25) - -### Chore - -- update helm general non-major ([#8153](https://github.com/truecharts/charts/issues/8153)) - - \ No newline at end of file diff --git a/stable/outline/7.0.9/templates/_secrets.tpl b/stable/outline/7.0.9/templates/_secrets.tpl deleted file mode 100644 index eb4c043b2f..0000000000 --- a/stable/outline/7.0.9/templates/_secrets.tpl +++ /dev/null @@ -1,18 +0,0 @@ -{{/* Define the secrets */}} -{{- define "outline.secrets" -}} -{{- $secretName := (printf "%s-outline-secrets" (include "tc.v1.common.lib.chart.names.fullname" $)) }} -{{- $outlineprevious := lookup "v1" "Secret" .Release.Namespace $secretName }} -enabled: true -data: - {{- if $outlineprevious }} - SECRET_KEY: {{ index $outlineprevious.data "SECRET_KEY" | b64dec }} - UTILS_SECRET: {{ index $outlineprevious.data "UTILS_SECRET"| b64dec }} - {{- else }} - {{- $secret_key := randAlphaNum 32 }} - {{- $utils_secret := randAlphaNum 32 }} - {{/* Outline wants a HEX 32 char string */}} - SECRET_KEY: {{ (printf "%x" $secret_key) }} - UTILS_SECRET: {{ (printf "%x" $utils_secret) }} - {{- end }} - -{{- end -}}