chore(incubator): make things work with new common part 3 (#15994)

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
This commit is contained in:
Kjeld Schouten
2023-12-15 22:41:48 +01:00
committed by GitHub
parent d42d189d19
commit 11272a4456
936 changed files with 615 additions and 1092 deletions
@@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0" kubeVersion: ">=1.24.0-0"
apiVersion: v2 apiVersion: v2
name: checkmk name: checkmk
version: 1.0.1 version: 1.0.2
appVersion: 2.2.0 appVersion: 2.2.0
description: description:
Checkmk is a leading tool for Infrastructure and Application Monitoring. Checkmk is a leading tool for Infrastructure and Application Monitoring.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

@@ -1,16 +1,9 @@
{{/* Define the secret */}} {{/* Define the secret */}}
{{- define "checkmk.secret" -}} {{- define "checkmk.secret" -}}
{{- $secretName := printf "%s-secret" (include "tc.common.names.fullname" .) }} {{- $secretName := printf "%s-secret" (include "tc.v1.common.names.fullname" .) }}
--- enabled: true
apiVersion: v1 data:
kind: Secret
type: Opaque
metadata:
name: {{ $secretName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
stringData:
CMK_PASSWORD: {{ .Values.cmk.password | quote }} CMK_PASSWORD: {{ .Values.cmk.password | quote }}
CMK_SITE_ID: {{ .Values.cmk.site_id | quote }} CMK_SITE_ID: {{ .Values.cmk.site_id | quote }}
CMK_LIVESTATUS_TCP: {{ ternary "on" "off" .Values.cmk.livestatus_tcp | quote }} CMK_LIVESTATUS_TCP: {{ ternary "on" "off" .Values.cmk.livestatus_tcp | quote }}
@@ -26,7 +26,6 @@ securityContext:
container: container:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsGroup: 0 runAsGroup: 0
runAsNonRoot: false
runAsUser: 0 runAsUser: 0
service: service:
livestatustcp: livestatustcp:
@@ -57,7 +56,7 @@ workload:
main: main:
envFrom: envFrom:
- secretRef: - secretRef:
name: '{{ include "tc.common.names.fullname" . }}-secret' name: 'secret'
probes: probes:
liveness: liveness:
spec: spec:
@@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0" kubeVersion: ">=1.24.0-0"
apiVersion: v2 apiVersion: v2
name: cherry name: cherry
version: 3.0.1 version: 3.0.2
appVersion: 0.0.7 appVersion: 0.0.7
description: An open source self-hosted bookmark service description: An open source self-hosted bookmark service
home: https://truecharts.org/charts/incubator/cherry home: https://truecharts.org/charts/incubator/cherry

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

@@ -1,15 +1,9 @@
{{/* Define the configmap */}} {{/* Define the configmap */}}
{{- define "cherry.configmap" -}} {{- define "cherry.configmap" -}}
{{- $configName := printf "%s-cherry-configmap" (include "tc.common.names.fullname" .) }} {{- $configName := printf "%s-cherry-configmap" (include "tc.v1.common.names.fullname" .) }}
--- enabled: true
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ $configName }}
labels: {{- include "tc.common.labels" . | nindent 4 }}
data: data:
DATABASE_PATH: /data/cherry.sqlite DATABASE_PATH: /data/cherry.sqlite
ENABLE_PUBLIC_REGISTRATION: {{ ternary "1" "0" .Values.cherry.public_registration | quote }} ENABLE_PUBLIC_REGISTRATION: {{ ternary "1" "0" .Values.cherry.public_registration | quote }}
@@ -1,25 +1,19 @@
{{/* Define the secrets */}} {{/* Define the secrets */}}
{{- define "cherry.secrets" -}} {{- define "cherry.secrets" -}}
{{- $secretName := printf "%s-cherry-secret" (include "tc.common.names.fullname" .) }} {{- $secretName := printf "%s-cherry-secret" (include "tc.v1.common.names.fullname" .) }}
--- enabled: true
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: {{ $secretName }}
data: data:
{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) }} {{- with (lookup "v1" "Secret" .Release.Namespace $secretName) }}
JWT_SECRET: {{ index .data "JWT_SECRET" }} JWT_SECRET: {{ index .data "JWT_SECRET" }}
{{- else }} {{- else }}
JWT_SECRET: {{ randAlphaNum 32 | b64enc }} JWT_SECRET: {{ randAlphaNum 32 }}
{{- end }} {{- end }}
{{- with .Values.cherry.google_oauth_id }} {{- with .Values.cherry.google_oauth_id }}
GOOGLE_OAUTH_CLIENT_ID: {{ . | b64enc }} GOOGLE_OAUTH_CLIENT_ID: {{ . }}
{{- end }} {{- end }}
{{- with .Values.cherry.google_oauth_secret }} {{- with .Values.cherry.google_oauth_secret }}
GOOGLE_OAUTH_CLIENT_SECRET: {{ . | b64enc }} GOOGLE_OAUTH_CLIENT_SECRET: {{ . }}
{{- end }} {{- end }}
{{- end -}} {{- end -}}
@@ -20,7 +20,6 @@ securityContext:
container: container:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsGroup: 0 runAsGroup: 0
runAsNonRoot: false
runAsUser: 0 runAsUser: 0
service: service:
main: main:
@@ -36,9 +35,9 @@ workload:
main: main:
envFrom: envFrom:
- secretRef: - secretRef:
name: '{{ include "tc.common.names.fullname" . }}-cherry-secret' name: 'cherry-secret'
- configMapRef: - configMapRef:
name: '{{ include "tc.common.names.fullname" . }}-cherry-configmap' name: 'cherry-configmap'
probes: probes:
liveness: liveness:
path: / path: /
@@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0" kubeVersion: ">=1.24.0-0"
apiVersion: v2 apiVersion: v2
name: cleanarr name: cleanarr
version: 3.0.1 version: 3.0.2
appVersion: 2.5.0 appVersion: 2.5.0
description: description:
A simple UI to help find and delete duplicate and sample files from your A simple UI to help find and delete duplicate and sample files from your

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

@@ -13,7 +13,6 @@ securityContext:
container: container:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsGroup: 0 runAsGroup: 0
runAsNonRoot: false
runAsUser: 0 runAsUser: 0
service: service:
main: main:
@@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0" kubeVersion: ">=1.24.0-0"
apiVersion: v2 apiVersion: v2
name: coupon-store name: coupon-store
version: 4.0.1 version: 4.0.2
appVersion: 1.3.0 appVersion: 1.3.0
description: A home for all your coupons and loyalty cards. description: A home for all your coupons and loyalty cards.
home: https://truecharts.org/charts/incubator/coupon-store home: https://truecharts.org/charts/incubator/coupon-store

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

@@ -1,10 +1,10 @@
{{/* Define the secrets */}} {{/* Define the secrets */}}
{{- define "couponstore.secrets" -}} {{- define "couponstore.secrets" -}}
{{- $secretName := printf "%s-couponstore-secret" (include "tc.common.names.fullname" .) }} {{- $secretName := printf "%s-couponstore-secret" (include "tc.v1.common.names.fullname" .) }}
--- ---
{{- $pg := .Values.postgresql }} {{- $pg := .Values.cnpg.main }}
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
@@ -15,7 +15,7 @@ data:
{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) }} {{- with (lookup "v1" "Secret" .Release.Namespace $secretName) }}
SECRET_KEY_BASE: {{ index .data "SECRET_KEY_BASE" }} SECRET_KEY_BASE: {{ index .data "SECRET_KEY_BASE" }}
{{- else }} {{- else }}
SECRET_KEY_BASE: {{ randAlphaNum 32 | b64enc }} SECRET_KEY_BASE: {{ randAlphaNum 32 }}
{{- end }} {{- end }}
DATABASE_URL: {{ printf "postgres://%v:%v@%v-postgresql:5432/%v" $pg.postgresqlUsername ($pg.postgresqlPassword | trimAll "\"") .Release.Name $pg.postgresqlDatabase | b64enc }} DATABASE_URL: {{ printf "postgres://%v:%v@%v-postgresql:5432/%v" $pg.user ($pg.postgresqlPassword | trimAll "\"") .Release.Name $pg.database }}
{{- end -}} {{- end -}}
@@ -5,16 +5,15 @@ image:
portal: portal:
open: open:
enabled: true enabled: true
postgresql: cnpg:
enabled: true main:
existingSecret: dbcreds enabled: true
postgresqlDatabase: coupon-store database: coupon-store
postgresqlUsername: coupon-store user: coupon-store
securityContext: securityContext:
container: container:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsGroup: 0 runAsGroup: 0
runAsNonRoot: false
runAsUser: 0 runAsUser: 0
service: service:
main: main:
@@ -33,4 +32,4 @@ workload:
}} -b '0.0.0.0' }} -b '0.0.0.0'
envFrom: envFrom:
- secretRef: - secretRef:
name: '{{ include "tc.common.names.fullname" . }}-couponstore-secret' name: 'couponstore-secret'
@@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0" kubeVersion: ">=1.24.0-0"
apiVersion: v2 apiVersion: v2
name: dsmr-reader name: dsmr-reader
version: 13.0.1 version: 13.0.2
appVersion: 2021.09.02 appVersion: 2021.09.02
description: DSMR-protocol reader, telegram data storage and energy consumption visualizer. description: DSMR-protocol reader, telegram data storage and energy consumption visualizer.
home: https://truecharts.org/charts/incubator/dsmr-reader home: https://truecharts.org/charts/incubator/dsmr-reader

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

@@ -9,16 +9,15 @@ persistence:
portal: portal:
open: open:
enabled: true enabled: true
postgresql: cnpg:
enabled: true main:
existingSecret: dbcreds enabled: true
postgresqlDatabase: dsmr-reader database: dsmr-reader
postgresqlUsername: dsmr-reader user: dsmr-reader
securityContext: securityContext:
container: container:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsGroup: 0 runAsGroup: 0
runAsNonRoot: false
runAsUser: 0 runAsUser: 0
service: service:
main: main:
@@ -37,11 +36,11 @@ workload:
secretKeyRef: secretKeyRef:
key: plainhost key: plainhost
name: dbcreds name: dbcreds
DJANGO_DATABASE_NAME: "{{ .Values.postgresql.postgresqlDatabase }}" DJANGO_DATABASE_NAME: "{{ .Values.cnpg.main.database }}"
DJANGO_DATABASE_PASSWORD: DJANGO_DATABASE_PASSWORD:
secretKeyRef: secretKeyRef:
key: postgresql-password key: postgresql-password
name: dbcreds name: dbcreds
DJANGO_DATABASE_PORT: "5432" DJANGO_DATABASE_PORT: "5432"
DJANGO_DATABASE_USER: "{{ .Values.postgresql.postgresqlUsername }}" DJANGO_DATABASE_USER: "{{ .Values.cnpg.main.user }}"
DJANGO_TIME_ZONE: "{{ .Values.TZ }}" DJANGO_TIME_ZONE: "{{ .Values.TZ }}"
@@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0" kubeVersion: ">=1.24.0-0"
apiVersion: v2 apiVersion: v2
name: euterpe name: euterpe
version: 4.0.1 version: 4.0.2
appVersion: 1.5.4 appVersion: 1.5.4
description: description:
Self-hosted streaming service for music, formerly known as HTTP Media Self-hosted streaming service for music, formerly known as HTTP Media

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

@@ -1,24 +1,17 @@
{{/* Define the secret */}} {{/* Define the secret */}}
{{- define "euterpe.secret" -}} {{- define "euterpe.secret" -}}
{{- $secretName := printf "%s-secret" (include "tc.common.names.fullname" .) }} {{- $secretName := printf "%s-secret" (include "tc.v1.common.names.fullname" .) }}
{{- $secretStorageName := printf "%s-storage-secret" (include "tc.common.names.fullname" .) }} {{- $secretStorageName := printf "%s-storage-secret" (include "tc.v1.common.names.fullname" .) }}
{{- $secretKey := "" }} {{- $secretKey := "" }}
{{- with (lookup "v1" "Secret" .Release.Namespace $secretStorageName) }} {{- with (lookup "v1" "Secret" .Release.Namespace $secretStorageName) }}
{{- $secretKey = (index .data "secret") | b64dec }} {{- $secretKey = (index .data "secret") | b64dec }}
{{- else }} {{- else }}
{{- $secretKey = randAlphaNum 32 | b64enc }} {{- $secretKey = randAlphaNum 32 }}
{{- end }} {{- end }}
--- enabled: true
apiVersion: v1 data:
kind: Secret
type: Opaque
metadata:
name: {{ $secretName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
stringData:
config.json: | config.json: |
{ {
"listen": {{ printf ":%v" .Values.service.main.ports.main.port | quote }}, "listen": {{ printf ":%v" .Values.service.main.ports.main.port | quote }},
@@ -64,15 +57,8 @@ stringData:
"write_timeout": {{ .Values.euterpe.danger_zone.write_timeout }}, "write_timeout": {{ .Values.euterpe.danger_zone.write_timeout }},
"max_header_bytes": {{ .Values.euterpe.danger_zone.max_header_bytes | int }} "max_header_bytes": {{ .Values.euterpe.danger_zone.max_header_bytes | int }}
} }
--- enabled: true
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: {{ $secretStorageName }}
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data: data:
{{/* Store secretKey to reuse */}} {{/* Store secretKey to reuse */}}
secret: {{ $secretKey | b64enc }} secret: {{ $secretKey }}
{{- end }} {{- end }}
@@ -41,7 +41,6 @@ securityContext:
container: container:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsGroup: 0 runAsGroup: 0
runAsNonRoot: false
runAsUser: 0 runAsUser: 0
service: service:
main: main:
@@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0" kubeVersion: ">=1.24.0-0"
apiVersion: v2 apiVersion: v2
name: flemarr name: flemarr
version: 3.0.1 version: 3.0.2
appVersion: latest appVersion: latest
description: description:
Flemmarr is a simple Python script that parses a configuration written Flemmarr is a simple Python script that parses a configuration written

Before

Width:  |  Height:  |  Size: 552 KiB

After

Width:  |  Height:  |  Size: 552 KiB

@@ -0,0 +1,10 @@
{{/* Define the secrets */}}
{{- define "flemarr.config" -}}
{{- $configName := printf "%s-flemarr-config" (include "tc.v1.common.names.fullname" .) }}
enabled: true
data:
config.yml: |
{{- .Values.flemarrConfig | toYaml | nindent 4 }}
{{- end -}}
@@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0" kubeVersion: ">=1.24.0-0"
apiVersion: v2 apiVersion: v2
name: focalboard name: focalboard
version: 14.0.1 version: 14.0.2
appVersion: 7.11.4 appVersion: 7.11.4
description: description:
Focalboard is an open source, self-hosted alternative to Trello, Notion, Focalboard is an open source, self-hosted alternative to Trello, Notion,

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

@@ -1,15 +1,9 @@
{{- define "focalboard.configmap" -}} {{- define "focalboard.configmap" -}}
{{- $pgPass := .Values.postgresql.postgresqlPassword | trimAll "\"" }} {{- $pgPass := .Values.cnpg.main.creds.password | trimAll "\"" }}
{{- $pgUser := .Values.postgresql.postgresqlUsername }} {{- $pgUser := .Values.cnpg.main.user }}
{{- $pgDB := .Values.postgresql.postgresqlDatabase }} {{- $pgDB := .Values.cnpg.main.database }}
--- enabled: true
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "tc.common.names.fullname" . }}-install
labels:
{{- include "tc.common.labels" . | nindent 4 }}
data: data:
focalboard-config: |- focalboard-config: |-
{ {
@@ -14,11 +14,11 @@ persistence:
portal: portal:
open: open:
enabled: true enabled: true
postgresql: cnpg:
enabled: true main:
existingSecret: dbcreds enabled: true
postgresqlDatabase: focalboard database: focalboard
postgresqlUsername: focalboard user: focalboard
securityContext: securityContext:
container: container:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
@@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0" kubeVersion: ">=1.24.0-0"
apiVersion: v2 apiVersion: v2
name: gotify name: gotify
version: 14.0.1 version: 14.0.2
appVersion: 2.4.0 appVersion: 2.4.0
description: A simple server for sending and receiving messages. description: A simple server for sending and receiving messages.
home: https://truecharts.org/charts/incubator/gotify home: https://truecharts.org/charts/incubator/gotify

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

@@ -1,13 +1,13 @@
{{/* Define the secret */}} {{/* Define the secret */}}
{{- define "gotify.secret" -}} {{- define "gotify.secret" -}}
{{- $secretName := printf "%s-secret" (include "tc.common.names.fullname" .) }} {{- $secretName := printf "%s-secret" (include "tc.v1.common.names.fullname" .) }}
{{- $secretEnvName := printf "%s-secret-env" (include "tc.common.names.fullname" .) }} {{- $secretEnvName := printf "%s-secret-env" (include "tc.v1.common.names.fullname" .) }}
{{- $url := (.Values.postgresql.url.plain | trimAll "\"") }} {{- $url := (.Values.cnpg.main.url.plain | trimAll "\"") }}
{{- $password := (.Values.postgresql.postgresqlPassword | trimAll "\"") }} {{- $password := (.Values.cnpg.main.creds.password | trimAll "\"") }}
{{- $dbuser := .Values.postgresql.postgresqlUsername }} {{- $dbuser := .Values.cnpg.main.user }}
{{- $dbname := .Values.postgresql.postgresqlDatabase }} {{- $dbname := .Values.cnpg.main.database }}
{{- $port := .Values.service.main.ports.main.port }} {{- $port := .Values.service.main.ports.main.port }}
--- ---
apiVersion: v1 apiVersion: v1
@@ -15,8 +15,8 @@ kind: Secret
metadata: metadata:
name: {{ $secretEnvName }} name: {{ $secretEnvName }}
labels: labels:
{{- include "tc.common.labels" . | nindent 4 }}
stringData: {{/* Env takes precedence, and it;s defined in Dockerfile as 80 */}} data: {{/* Env takes precedence, and it;s defined in Dockerfile as 80 */}}
GOTIFY_SERVER_PORT: {{ $port | quote }} GOTIFY_SERVER_PORT: {{ $port | quote }}
--- ---
apiVersion: v1 apiVersion: v1
@@ -24,8 +24,8 @@ kind: Secret
metadata: metadata:
name: {{ $secretName }} name: {{ $secretName }}
labels: labels:
{{- include "tc.common.labels" . | nindent 4 }}
stringData: data:
config.yml: | config.yml: |
server: server:
listenaddr: "" listenaddr: ""
@@ -21,7 +21,7 @@ persistence:
defaultMode: "0600" defaultMode: "0600"
enabled: true enabled: true
mountPath: /etc/gotify/config.yml mountPath: /etc/gotify/config.yml
objectName: '{{ include "tc.common.names.fullname" . }}-secret' objectName: 'secret'
readOnly: true readOnly: true
subPath: config.yml subPath: config.yml
type: secret type: secret
@@ -31,11 +31,11 @@ persistence:
portal: portal:
open: open:
enabled: true enabled: true
postgresql: cnpg:
enabled: true main:
existingSecret: dbcreds enabled: true
postgresqlDatabase: gotify database: gotify
postgresqlUsername: gotify user: gotify
service: service:
main: main:
ports: ports:
@@ -48,7 +48,7 @@ workload:
main: main:
envFrom: envFrom:
- secretRef: - secretRef:
name: '{{ include "tc.common.names.fullname" . }}-secret-env' name: 'secret-env'
probes: probes:
liveness: liveness:
path: /health path: /health
@@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0" kubeVersion: ">=1.24.0-0"
apiVersion: v2 apiVersion: v2
name: icinga2 name: icinga2
version: 8.0.1 version: 8.0.2
appVersion: 2.14.0 appVersion: 2.14.0
description: description:
A monitoring system which checks the availability of your network resources, A monitoring system which checks the availability of your network resources,

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

@@ -27,7 +27,6 @@ securityContext:
container: container:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsGroup: 0 runAsGroup: 0
runAsNonRoot: false
runAsUser: 0 runAsUser: 0
service: service:
api: api:
@@ -1,7 +1,7 @@
kubeVersion: ">=1.24.0-0" kubeVersion: ">=1.24.0-0"
apiVersion: v2 apiVersion: v2
name: koel name: koel
version: 8.0.1 version: 8.0.2
appVersion: latest appVersion: latest
description: description:
Koel is a simple web-based personal audio streaming service written in Koel is a simple web-based personal audio streaming service written in

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

@@ -1,12 +1,6 @@
{{/* Define the secrets */}} {{/* Define the secrets */}}
{{- define "koel.secrets" -}} {{- define "koel.secrets" -}}
--- enabled: true
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: koel-secrets
{{- $koelprevious := lookup "v1" "Secret" .Release.Namespace "koel-secrets" }} {{- $koelprevious := lookup "v1" "Secret" .Release.Namespace "koel-secrets" }}
{{- $app_key := "" }} {{- $app_key := "" }}
data: data:
@@ -14,7 +8,7 @@ data:
APP_KEY: {{ index $koelprevious.data "APP_KEY" }} APP_KEY: {{ index $koelprevious.data "APP_KEY" }}
{{- else }} {{- else }}
{{- $app_key := randAlphaNum 32 }} {{- $app_key := randAlphaNum 32 }}
APP_KEY: {{ $app_key | b64enc }} APP_KEY: {{ $app_key }}
{{- end }} {{- end }}
{{- end -}} {{- end -}}
@@ -29,7 +29,6 @@ securityContext:
container: container:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsGroup: 0 runAsGroup: 0
runAsNonRoot: false
runAsUser: 0 runAsUser: 0
service: service:
main: main:

Some files were not shown because too many files have changed in this diff Show More