Commit new Chart releases for TrueCharts

Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
TrueCharts-Bot 2023-07-28 21:45:27 +00:00
parent e381916493
commit 7e2fd5111e
207 changed files with 15545 additions and 252 deletions

View File

@ -0,0 +1,99 @@
**Important:**
*for the complete changelog, please refer to the website*
## [vaultwarden-21.0.1](https://github.com/truecharts/charts/compare/vaultwarden-21.0.0...vaultwarden-21.0.1) (2023-07-28)
### Chore
- update container image tccr.io/truecharts/vaultwarden to v1.29.1 ([#10953](https://github.com/truecharts/charts/issues/10953))
## [vaultwarden-21.0.0](https://github.com/truecharts/charts/compare/vaultwarden-20.2.0...vaultwarden-21.0.0) (2023-07-19)
### Chore
- update helm chart common to 13.2.0 ([#10555](https://github.com/truecharts/charts/issues/10555))
## [vaultwarden-20.2.0](https://github.com/truecharts/charts/compare/vaultwarden-20.1.0...vaultwarden-20.2.0) (2023-07-15)
### Feat
- push notification variables ([#10503](https://github.com/truecharts/charts/issues/10503))
## [vaultwarden-20.1.0](https://github.com/truecharts/charts/compare/vaultwarden-20.0.34...vaultwarden-20.1.0) (2023-07-15)
### Feat
- remove redundant websocket service ([#10491](https://github.com/truecharts/charts/issues/10491))
## [vaultwarden-20.0.34](https://github.com/truecharts/charts/compare/vaultwarden-20.0.33...vaultwarden-20.0.34) (2023-07-01)
### Chore
- update helm general non-major ([#10069](https://github.com/truecharts/charts/issues/10069))
## [vaultwarden-20.0.33](https://github.com/truecharts/charts/compare/vaultwarden-20.0.32...vaultwarden-20.0.33) (2023-06-13)
### Chore
- update helm chart common to 12.14.2 ([#9599](https://github.com/truecharts/charts/issues/9599))
## [vaultwarden-20.0.32](https://github.com/truecharts/charts/compare/vaultwarden-20.0.31...vaultwarden-20.0.32) (2023-06-11)
### Chore
- update helm general non-major ([#9558](https://github.com/truecharts/charts/issues/9558))
## [vaultwarden-20.0.31](https://github.com/truecharts/charts/compare/vaultwarden-20.0.30...vaultwarden-20.0.31) (2023-06-07)
### Chore
- update helm general non-major ([#9457](https://github.com/truecharts/charts/issues/9457))
## [vaultwarden-20.0.30](https://github.com/truecharts/charts/compare/vaultwarden-20.0.29...vaultwarden-20.0.30) (2023-06-07)
### Chore
- update helm general non-major ([#9423](https://github.com/truecharts/charts/issues/9423))
## [vaultwarden-20.0.29](https://github.com/truecharts/charts/compare/vaultwarden-20.0.28...vaultwarden-20.0.29) (2023-06-04)
### Chore
- update helm general non-major ([#9393](https://github.com/truecharts/charts/issues/9393))
### Feat
- hide advanced ingress options behind checbox ([#9203](https://github.com/truecharts/charts/issues/9203))

View File

@ -0,0 +1,33 @@
apiVersion: v2
appVersion: "1.29.1"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 13.2.0
deprecated: false
description: Unofficial Bitwarden compatible server written in Rust
home: https://truecharts.org/charts/enterprise/vaultwarden
icon: https://truecharts.org/img/hotlink-ok/chart-icons/vaultwarden.png
keywords:
- bitwarden
- bitwardenrs
- bitwarden_rs
- vaultwarden
- password
- rust
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: vaultwarden
sources:
- https://github.com/truecharts/charts/tree/master/charts/enterprise/vaultwarden
- https://github.com/dani-garcia/vaultwarden
type: application
version: 21.0.1
annotations:
truecharts.org/catagories: |
- security
truecharts.org/SCALE-support: "true"
truecharts.org/grade: U

View File

@ -0,0 +1,106 @@
Business Source License 1.1
Parameters
Licensor: The TrueCharts Project, it's owner and it's contributors
Licensed Work: The TrueCharts "Cert-Manager" Helm Chart
Additional Use Grant: You may use the licensed work in production, as long
as it is directly sourced from a TrueCharts provided
official repository, catalog or source. You may also make private
modification to the directly sourced licenced work,
when used in production.
The following cases are, due to their nature, also
defined as 'production use' and explicitly prohibited:
- Bundling, including or displaying the licensed work
with(in) another work intended for production use,
with the apparent intend of facilitating and/or
promoting production use by third parties in
violation of this license.
Change Date: 2050-01-01
Change License: 3-clause BSD license
For information about alternative licensing arrangements for the Software,
please contact: legal@truecharts.org
Notice
The Business Source License (this document, or the “License”) is not an Open
Source license. However, the Licensed Work will eventually be made available
under an Open Source License, as stated in this License.
License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
“Business Source License” is a trademark of MariaDB Corporation Ab.
-----------------------------------------------------------------------------
Business Source License 1.1
Terms
The Licensor hereby grants you the right to copy, modify, create derivative
works, redistribute, and make non-production use of the Licensed Work. The
Licensor may make an Additional Use Grant, above, permitting limited
production use.
Effective on the Change Date, or the fourth anniversary of the first publicly
available distribution of a specific version of the Licensed Work under this
License, whichever comes first, the Licensor hereby grants you rights under
the terms of the Change License, and the rights granted in the paragraph
above terminate.
If your use of the Licensed Work does not comply with the requirements
currently in effect as described in this License, you must purchase a
commercial license from the Licensor, its affiliated entities, or authorized
resellers, or you must refrain from using the Licensed Work.
All copies of the original and modified Licensed Work, and derivative works
of the Licensed Work, are subject to this License. This License applies
separately for each version of the Licensed Work and the Change Date may vary
for each version of the Licensed Work released by Licensor.
You must conspicuously display this License on each original or modified copy
of the Licensed Work. If you receive the Licensed Work in original or
modified form from a third party, the terms and conditions set forth in this
License apply to your use of that work.
Any use of the Licensed Work in violation of this License will automatically
terminate your rights under this License for the current and all other
versions of the Licensed Work.
This License does not grant you any right in any trademark or logo of
Licensor or its affiliates (provided that you may use a trademark or logo of
Licensor as expressly required by this License).
TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
TITLE.
MariaDB hereby grants you permission to use this Licenses text to license
your works, and to refer to it using the trademark “Business Source License”,
as long as you comply with the Covenants of Licensor below.
Covenants of Licensor
In consideration of the right to use this Licenses text and the “Business
Source License” name and trademark, Licensor covenants to MariaDB, and to all
other recipients of the licensed work to be provided by Licensor:
1. To specify as the Change License the GPL Version 2.0 or any later version,
or a license that is compatible with GPL Version 2.0 or a later version,
where “compatible” means that software provided under the Change License can
be included in a program with software provided under GPL Version 2.0 or a
later version. Licensor may specify additional Change Licenses without
limitation.
2. To either: (a) specify an additional grant of rights to use that does not
impose any additional restriction on the right granted in this License, as
the Additional Use Grant; or (b) insert the text “None”.
3. To specify a Change Date.
4. Not to modify this License in any other way.

View File

@ -0,0 +1,27 @@
# README
## General Info
TrueCharts can be installed as both *normal* Helm Charts or as Apps on TrueNAS SCALE.
However only installations using the TrueNAS SCALE Apps system are supported.
For more information about this App, please check the docs on the TrueCharts [website](https://truecharts.org/charts/enterprise/)
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)**
## Support
- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/manual/SCALE/guides/scale-intro).
- See the [Website](https://truecharts.org)
- Check our [Discord](https://discord.gg/tVsPTHWTtr)
- Open a [issue](https://github.com/truecharts/charts/issues/new/choose)
---
## Sponsor TrueCharts
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!
*All Rights Reserved - The TrueCharts Project*

View File

@ -0,0 +1,9 @@
## [vaultwarden-21.0.1](https://github.com/truecharts/charts/compare/vaultwarden-21.0.0...vaultwarden-21.0.1) (2023-07-28)
### Chore
- update container image tccr.io/truecharts/vaultwarden to v1.29.1 ([#10953](https://github.com/truecharts/charts/issues/10953))

View File

@ -0,0 +1,8 @@
Unofficial Bitwarden compatible server written in Rust
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/charts/enterprise/vaultwarden](https://truecharts.org/charts/enterprise/vaultwarden)
---
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!

Binary file not shown.

View File

@ -0,0 +1,161 @@
image:
repository: tccr.io/truecharts/vaultwarden
pullPolicy: IfNotPresent
tag: v1.29.1@sha256:5a670aee4b1a57a5a414607f9222f558ab365625f64ff78885f7776971c95b54
manifestManager:
enabled: true
service:
main:
ports:
main:
port: 10102
targetPort: 8080
workload:
main:
podSpec:
containers:
main:
env:
DOMAIN: "https://{{ if .Values.ingress }}{{ if .Values.ingress.main.enabled }}{{ ( index .Values.ingress.main.hosts 0 ).host }}{{ else }}placeholder.com{{ end }}{{ else }}placeholder.com{{ end }}"
DATABASE_URL:
secretKeyRef:
name: cnpg-main-urls
key: std
envFrom:
- configMapRef:
name: vaultwardenconfig
- secretRef:
name: vaultwardensecret
database:
# -- Database type,
# must be one of: 'sqlite', 'mysql' or 'postgresql'.
type: postgresql
# -- Enable DB Write-Ahead-Log for SQLite,
# disabled for other databases. https://github.com/dani-garcia/bitwarden_rs/wiki/Running-without-WAL-enabled
wal: true
## URL for external databases (mysql://user:pass@host:port or postgresql://user:pass@host:port).
# url: ""
## Set the size of the database connection pool.
# maxConnections: 10
## Connection retries during startup, 0 for infinite. 1 second between retries.
# retries: 15
# Set Bitwarden_rs application variables
vaultwarden:
# -- Allow any user to sign-up
# see: https://github.com/dani-garcia/bitwarden_rs/wiki/Disable-registration-of-new-users
allowSignups: true
## Whitelist domains allowed to sign-up. 'allowSignups' is ignored if set.
# signupDomains:
# - domain.tld
# -- Verify e-mail before login is enabled.
# SMTP must be enabled.
verifySignup: false
# When a user logs in an email is required to be sent. If sending the email fails the login attempt will fail. SMTP must be enabled.
requireEmail: false
## Maximum attempts before an email token is reset and a new email will need to be sent.
# emailAttempts: 3
## Email token validity in seconds.
# emailTokenExpiration: 600
# Allow invited users to sign-up even feature is disabled: https://github.com/dani-garcia/bitwarden_rs/wiki/Disable-invitations
allowInvitation: true
# Show password hints: https://github.com/dani-garcia/bitwarden_rs/wiki/Password-hint-display
## Default organization name in invitation e-mails that are not coming from a specific organization.
# defaultInviteName: ""
showPasswordHint: true
# Enable Web Vault (static content). https://github.com/dani-garcia/bitwarden_rs/wiki/Disabling-or-overriding-the-Vault-interface-hosting
enableWebVault: true
# Restrict creation of orgs. Options are: 'all', 'none' or a comma-separated list of users.
orgCreationUsers: all
## Limit attachment disk usage per organization.
# attachmentLimitOrg:
## Limit attachment disk usage per user.
# attachmentLimitUser:
## HaveIBeenPwned API Key. Can be purchased at https://haveibeenpwned.com/API/Key.
# hibpApiKey:
admin:
# Enable admin portal.
enabled: false
# Disabling the admin token will make the admin portal accessible to anyone, use carefully: https://github.com/dani-garcia/bitwarden_rs/wiki/Disable-admin-token
disableAdminToken: false
## Token for admin login, will be generated if not defined. https://github.com/dani-garcia/bitwarden_rs/wiki/Enabling-admin-page
# token:
# Enable SMTP. https://github.com/dani-garcia/bitwarden_rs/wiki/SMTP-configuration
smtp:
enabled: false
# SMTP hostname, required if SMTP is enabled.
host: ""
# SMTP sender e-mail address, required if SMTP is enabled.
from: ""
## SMTP sender name, defaults to 'Bitwarden_RS'.
# fromName: ""
## Enable SSL connection.
# ssl: true
## SMTP port. Defaults to 25 without SSL, 587 with SSL.
# port: 587
## SMTP Authentication Mechanisms. Comma-separated options: 'Plain', 'Login' and 'Xoauth2'. Defaults to 'Plain'.
# authMechanism: Plain
## Hostname to be sent for SMTP HELO. Defaults to pod name.
# heloName: ""
## SMTP timeout.
# timeout: 15
## Accept SSL session if certificate is valid but hostname doesn't match. DANGEROUS, vulnerable to men-in-the-middle attacks!
# invalidHostname: false
## Accept invalid certificates. DANGEROUS, vulnerable to men-in-the-middle attacks!
# invalidCertificate: false
## SMTP username.
# user: ""
## SMTP password. Required is user is specified, ignored if no user provided.
# password: ""
## Enable Yubico OTP authentication. https://github.com/dani-garcia/bitwarden_rs/wiki/Enabling-Yubikey-OTP-authentication
yubico:
enabled: false
## Yubico server. Defaults to YubiCloud.
# server:
## Yubico ID and Secret Key.
# clientId:
# secretKey:
## Enable Mobile Push Notifications. You must obtain and ID and Key here: https://bitwarden.com/host
push:
enabled: false
# installationId:
# installationKey:
## Logging options. https://github.com/dani-garcia/bitwarden_rs/wiki/Logging
log:
# Log to file.
file: ""
# Log level. Options are "trace", "debug", "info", "warn", "error" or "off".
level: "trace"
## Log timestamp format. See https://docs.rs/chrono/0.4.15/chrono/format/strftime/index.html. Defaults to time in milliseconds.
# timeFormat: ""
icons:
# Disables download of external icons. Setting to true will still serve icons from cache (/data/icon_cache). TTL will default to zero.
disableDownload: false
## Cache time-to-live for icons fetched. 0 means no purging.
# cache: 2592000
## Cache time-to-live for icons that were not available. 0 means no purging.
# cacheFailed: 259200
persistence:
data:
enabled: true
mountPath: "/data"
cnpg:
main:
enabled: true
user: vaultwarden
database: vaultwarden
portal:
open:
enabled: true

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,111 @@
{{/* Define the configmap */}}
{{- define "vaultwarden.configmap" -}}
enabled: true
data:
ROCKET_PORT: "8080"
SIGNUPS_ALLOWED: {{ .Values.vaultwarden.allowSignups | quote }}
{{- if .Values.vaultwarden.signupDomains }}
SIGNUPS_DOMAINS_WHITELIST: {{ join "," .Values.vaultwarden.signupDomains | quote }}
{{- end }}
{{- if and (eq .Values.vaultwarden.verifySignup true) (eq .Values.vaultwarden.smtp.enabled false) }}{{ required "Signup verification requires SMTP to be enabled" nil}}{{end}}
SIGNUPS_VERIFY: {{ .Values.vaultwarden.verifySignup | quote }}
{{- if and (eq .Values.vaultwarden.requireEmail true) (eq .Values.vaultwarden.smtp.enabled false) }}{{ required "Requiring emails for login depends on SMTP" nil}}{{end}}
REQUIRE_DEVICE_EMAIL: {{ .Values.vaultwarden.requireEmail | quote }}
{{- if .Values.vaultwarden.emailAttempts }}
EMAIL_ATTEMPTS_LIMIT: {{ .Values.vaultwarden.emailAttempts | quote }}
{{- end }}
{{- if .Values.vaultwarden.emailTokenExpiration }}
EMAIL_EXPIRATION_TIME: {{ .Values.vaultwarden.emailTokenExpiration | quote }}
{{- end }}
INVITATIONS_ALLOWED: {{ .Values.vaultwarden.allowInvitation | quote }}
{{- if .Values.vaultwarden.defaultInviteName }}
INVITATION_ORG_NAME: {{ .Values.vaultwarden.defaultInviteName | quote }}
{{- end }}
SHOW_PASSWORD_HINT: {{ .Values.vaultwarden.showPasswordHint | quote }}
WEB_VAULT_ENABLED: {{ .Values.vaultwarden.enableWebVault | quote }}
ORG_CREATION_USERS: {{ .Values.vaultwarden.orgCreationUsers | quote }}
{{- if .Values.vaultwarden.attachmentLimitOrg }}
ORG_ATTACHMENT_LIMIT: {{ .Values.vaultwarden.attachmentLimitOrg | quote }}
{{- end }}
{{- if .Values.vaultwarden.attachmentLimitUser }}
USER_ATTACHMENT_LIMIT: {{ .Values.vaultwarden.attachmentLimitUser | quote }}
{{- end }}
{{- if .Values.vaultwarden.hibpApiKey }}
HIBP_API_KEY: {{ .Values.vaultwarden.hibpApiKey | quote }}
{{- end }}
{{- include "vaultwarden.dbTypeValid" . }}
{{- if .Values.database.retries }}
DB_CONNECTION_RETRIES: {{ .Values.database.retries | quote }}
{{- end }}
{{- if .Values.database.maxConnections }}
DATABASE_MAX_CONNS: {{ .Values.database.maxConnections | quote }}
{{- end }}
{{- if eq .Values.vaultwarden.smtp.enabled true }}
SMTP_HOST: {{ required "SMTP host is required to enable SMTP" .Values.vaultwarden.smtp.host | quote }}
SMTP_FROM: {{ required "SMTP sender address ('from') is required to enable SMTP" .Values.vaultwarden.smtp.from | quote }}
{{- if .Values.vaultwarden.smtp.fromName }}
SMTP_FROM_NAME: {{ .Values.vaultwarden.smtp.fromName | quote }}
{{- end }}
{{- if .Values.vaultwarden.smtp.ssl }}
SMTP_SSL: {{ .Values.vaultwarden.smtp.ssl | quote }}
{{- end }}
{{- if .Values.vaultwarden.smtp.port }}
SMTP_PORT: {{ .Values.vaultwarden.smtp.port | quote }}
{{- end }}
{{- if .Values.vaultwarden.smtp.authMechanism }}
SMTP_AUTH_MECHANISM: {{ .Values.vaultwarden.smtp.authMechanism | quote }}
{{- end }}
{{- if .Values.vaultwarden.smtp.heloName }}
HELO_NAME: {{ .Values.vaultwarden.smtp.heloName | quote }}
{{- end }}
{{- if .Values.vaultwarden.smtp.timeout }}
SMTP_TIMEOUT: {{ .Values.vaultwarden.smtp.timeout | quote }}
{{- end }}
{{- if .Values.vaultwarden.smtp.invalidHostname }}
SMTP_ACCEPT_INVALID_HOSTNAMES: {{ .Values.vaultwarden.smtp.invalidHostname | quote }}
{{- end }}
{{- if .Values.vaultwarden.smtp.invalidCertificate }}
SMTP_ACCEPT_INVALID_CERTS: {{ .Values.vaultwarden.smtp.invalidCertificate | quote }}
{{- end }}
{{- end }}
{{- if .Values.vaultwarden.log.file }}
LOG_FILE: {{ .Values.vaultwarden.log.file | quote }}
{{- end }}
{{- if or .Values.vaultwarden.log.level .Values.vaultwarden.log.timeFormat }}
EXTENDED_LOGGING: "true"
{{- end }}
{{- if .Values.vaultwarden.log.level }}
{{- include "vaultwarden.logLevelValid" . }}
LOG_LEVEL: {{ .Values.vaultwarden.log.level | quote }}
{{- end }}
{{- if .Values.vaultwarden.log.timeFormat }}
LOG_TIMESTAMP_FORMAT: {{ .Values.vaultwarden.log.timeFormat | quote }}
{{- end }}
{{- if .Values.vaultwarden.icons.disableDownload }}
DISABLE_ICON_DOWNLOAD: {{ .Values.vaultwarden.icons.disableDownload | quote }}
{{- if and (not .Values.vaultwarden.icons.cache) (eq .Values.vaultwarden.icons.disableDownload "true") }}
ICON_CACHE_TTL: "0"
{{- end }}
{{- end }}
{{- if .Values.vaultwarden.icons.cache }}
ICON_CACHE_TTL: {{ .Values.vaultwarden.icons.cache | quote }}
{{- end }}
{{- if .Values.vaultwarden.icons.cacheFailed }}
ICON_CACHE_NEGTTL: {{ .Values.vaultwarden.icons.cacheFailed | quote }}
{{- end }}
{{- if eq .Values.vaultwarden.admin.enabled true }}
{{- if eq .Values.vaultwarden.admin.disableAdminToken true }}
DISABLE_ADMIN_TOKEN: "true"
{{- end }}
{{- end }}
{{- if eq .Values.vaultwarden.yubico.enabled true }}
{{- if .Values.vaultwarden.yubico.server }}
YUBICO_SERVER: {{ .Values.vaultwarden.yubico.server | quote }}
{{- end }}
{{- end }}
{{- if eq .Values.database.type "sqlite" }}
ENABLE_DB_WAL: {{ .Values.database.wal | quote }}
{{- else }}
ENABLE_DB_WAL: "false"
{{- end }}
{{- end -}}

View File

@ -0,0 +1,37 @@
{{/* Define the secrets */}}
{{- define "vaultwarden.secrets" -}}
{{- $adminToken := "" }}
{{- if eq .Values.vaultwarden.admin.enabled true }}
{{- $adminToken = .Values.vaultwarden.admin.token | default (randAlphaNum 48) | quote }}
{{- end -}}
{{- $smtpUser := "" }}
{{- if and (eq .Values.vaultwarden.smtp.enabled true ) (.Values.vaultwarden.smtp.user) }}
{{- $smtpUser = .Values.vaultwarden.smtp.user | quote }}
{{- end -}}
{{- $yubicoClientId := "" }}
{{- if eq .Values.vaultwarden.yubico.enabled true }}
{{- $yubicoClientId = required "Yubico Client ID required" .Values.vaultwarden.yubico.clientId | toString | quote }}
{{- end -}}
enabled: true
data:
placeholder: placeholdervalue
{{- if ne $adminToken "" }}
ADMIN_TOKEN: {{ $adminToken }}
{{- end }}
{{- if ne $smtpUser "" }}
SMTP_USERNAME: {{ $smtpUser }}
SMTP_PASSWORD: {{ required "Must specify SMTP password" .Values.vaultwarden.smtp.password | quote }}
{{- end }}
{{- if ne $yubicoClientId "" }}
YUBICO_CLIENT_ID: {{ $yubicoClientId }}
YUBICO_SECRET_KEY: {{ required "Yubico Secret Key required" .Values.vaultwarden.yubico.secretKey | quote }}
{{- end }}
{{- if .Values.vaultwarden.push.enabled }}
PUSH_ENABLED: {{ .Values.vaultwarden.push.enabled | quote }}
PUSH_INSTALLATION_ID: {{ required "Installation ID required" .Values.vaultwarden.push.installationId | quote }}
PUSH_INSTALLATION_KEY: {{ required "Installation Key required" .Values.vaultwarden.push.installationKey | quote }}
{{- end }}
{{- end -}}

View File

@ -0,0 +1,17 @@
{{/*
Ensure valid DB type is select, defaults to SQLite
*/}}
{{- define "vaultwarden.dbTypeValid" -}}
{{- if not (or (eq .Values.database.type "postgresql") (eq .Values.database.type "mysql") (eq .Values.database.type "sqlite")) }}
{{- required "Invalid database type" nil }}
{{- end -}}
{{- end -}}
{{/*
Ensure log type is valid
*/}}
{{- define "vaultwarden.logLevelValid" -}}
{{- if not (or (eq .Values.vaultwarden.log.level "trace") (eq .Values.vaultwarden.log.level "debug") (eq .Values.vaultwarden.log.level "info") (eq .Values.vaultwarden.log.level "warn") (eq .Values.vaultwarden.log.level "error") (eq .Values.vaultwarden.log.level "off")) }}
{{- required "Invalid log level" nil }}
{{- end }}
{{- end }}

View File

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

View File

@ -1,9 +0,0 @@
## [docker-compose-6.0.30](https://github.com/truecharts/charts/compare/docker-compose-6.0.29...docker-compose-6.0.30) (2023-07-19)
### Chore
- update container image tccr.io/truecharts/docker-in-docker to v24.0.4 ([#10629](https://github.com/truecharts/charts/issues/10629))

View File

@ -4,6 +4,15 @@
## [docker-compose-6.0.31](https://github.com/truecharts/charts/compare/docker-compose-6.0.30...docker-compose-6.0.31) (2023-07-28)
### Chore
- update container image tccr.io/truecharts/docker-in-docker to v24.0.5 ([#10940](https://github.com/truecharts/charts/issues/10940))
## [docker-compose-6.0.30](https://github.com/truecharts/charts/compare/docker-compose-6.0.29...docker-compose-6.0.30) (2023-07-19)
### Chore
@ -88,12 +97,3 @@
## [docker-compose-6.0.21](https://github.com/truecharts/charts/compare/docker-compose-6.0.20...docker-compose-6.0.21) (2023-06-22)
### Chore
- update container image tccr.io/truecharts/docker-in-docker to v23.0.6 ([#9823](https://github.com/truecharts/charts/issues/9823))
## [docker-compose-6.0.20](https://github.com/truecharts/charts/compare/docker-compose-6.0.19...docker-compose-6.0.20) (2023-06-16)
### Chore

View File

@ -1,5 +1,5 @@
apiVersion: v2
appVersion: "24.0.4"
appVersion: "24.0.5"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
@ -20,7 +20,7 @@ name: docker-compose
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/docker-compose
type: application
version: 6.0.30
version: 6.0.31
annotations:
truecharts.org/catagories: |
- docker

View File

@ -0,0 +1,9 @@
## [docker-compose-6.0.31](https://github.com/truecharts/charts/compare/docker-compose-6.0.30...docker-compose-6.0.31) (2023-07-28)
### Chore
- update container image tccr.io/truecharts/docker-in-docker to v24.0.5 ([#10940](https://github.com/truecharts/charts/issues/10940))

View File

@ -1,7 +1,7 @@
image:
repository: tccr.io/truecharts/docker-in-docker
pullPolicy: IfNotPresent
tag: v24.0.4@sha256:815650b692b75635ae221a280565e266f4733bf0e61479ccd1efa4c41131302e
tag: v24.0.5@sha256:91955ee51e484b37528cb9f745c611b25ae19f849a7591a2eba8f55e57499649
hostNetwork: true
securityContext:

View File

@ -1,9 +0,0 @@
## [firefox-6.0.10](https://github.com/truecharts/charts/compare/firefox-6.0.9...firefox-6.0.10) (2023-07-24)
### Chore
- update container image tccr.io/truecharts/firefox to v115.0.2 ([#10788](https://github.com/truecharts/charts/issues/10788))

View File

@ -4,6 +4,15 @@
## [firefox-6.0.11](https://github.com/truecharts/charts/compare/firefox-6.0.10...firefox-6.0.11) (2023-07-28)
### Chore
- update container image tccr.io/truecharts/firefox to v115.0.3 ([#10941](https://github.com/truecharts/charts/issues/10941))
## [firefox-6.0.10](https://github.com/truecharts/charts/compare/firefox-6.0.9...firefox-6.0.10) (2023-07-24)
### Chore

View File

@ -1,5 +1,5 @@
apiVersion: v2
appVersion: "115.0.2"
appVersion: "115.0.3"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
@ -21,7 +21,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/firefox
- https://github.com/linuxserver/docker-firefox
type: application
version: 6.0.10
version: 6.0.11
annotations:
truecharts.org/catagories: |
- browser

View File

@ -0,0 +1,9 @@
## [firefox-6.0.11](https://github.com/truecharts/charts/compare/firefox-6.0.10...firefox-6.0.11) (2023-07-28)
### Chore
- update container image tccr.io/truecharts/firefox to v115.0.3 ([#10941](https://github.com/truecharts/charts/issues/10941))

View File

@ -1,7 +1,7 @@
image:
repository: tccr.io/truecharts/firefox
pullPolicy: IfNotPresent
tag: v115.0.2@sha256:e0eee93bb5b532bee6a1d49bd9d04a21592ad14496f24212e771928b13a030aa
tag: v115.0.3@sha256:9ede56941eb9fc917866eb32ca61aa1c78c4ea298904aa2fee7284e13eec0f4f
securityContext:
container:

View File

@ -1,9 +0,0 @@
## [fluidd-5.0.25](https://github.com/truecharts/charts/compare/fluidd-5.0.24...fluidd-5.0.25) (2023-07-25)
### Chore
- update container image tccr.io/truecharts/fluidd to v1.24.1 ([#10828](https://github.com/truecharts/charts/issues/10828))

View File

@ -4,6 +4,15 @@
## [fluidd-5.0.26](https://github.com/truecharts/charts/compare/fluidd-5.0.25...fluidd-5.0.26) (2023-07-28)
### Chore
- update container image tccr.io/truecharts/fluidd to v1.24.2 ([#10942](https://github.com/truecharts/charts/issues/10942))
## [fluidd-5.0.25](https://github.com/truecharts/charts/compare/fluidd-5.0.24...fluidd-5.0.25) (2023-07-25)
### Chore
@ -88,12 +97,3 @@
## [fluidd-5.0.16](https://github.com/truecharts/charts/compare/fluidd-5.0.15...fluidd-5.0.16) (2023-05-24)
### Chore
- update helm general non-major ([#9125](https://github.com/truecharts/charts/issues/9125))

View File

@ -1,5 +1,5 @@
apiVersion: v2
appVersion: "1.24.1"
appVersion: "1.24.2"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
@ -18,7 +18,7 @@ name: fluidd
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/fluidd
- https://github.com/fluidd-core/fluidd
version: 5.0.25
version: 5.0.26
annotations:
truecharts.org/catagories: |
- utilities

View File

@ -0,0 +1,9 @@
## [fluidd-5.0.26](https://github.com/truecharts/charts/compare/fluidd-5.0.25...fluidd-5.0.26) (2023-07-28)
### Chore
- update container image tccr.io/truecharts/fluidd to v1.24.2 ([#10942](https://github.com/truecharts/charts/issues/10942))

View File

@ -1,6 +1,6 @@
image:
repository: tccr.io/truecharts/fluidd
tag: v1.24.1@sha256:7209a91c8e5f99cd802b8435ab19eb928dc665b113d1b56d1c48b937072bb616
tag: v1.24.2@sha256:5a98864a3ff0fb1f346e8366f4b035b25a22cbf32de439c9a637e77849c75efd
pullPolicy: IfNotPresent
securityContext:

View File

@ -0,0 +1,99 @@
**Important:**
*for the complete changelog, please refer to the website*
## [gitea-13.0.22](https://github.com/truecharts/charts/compare/gitea-13.0.21...gitea-13.0.22) (2023-07-28)
### Chore
- update container image tccr.io/truecharts/gitea to v1.20.1 ([#10943](https://github.com/truecharts/charts/issues/10943))
## [gitea-13.0.21](https://github.com/truecharts/charts/compare/gitea-13.0.20...gitea-13.0.21) (2023-07-19)
### Chore
- update container image tccr.io/truecharts/gitea to v1.20.0 ([#10610](https://github.com/truecharts/charts/issues/10610))
## [gitea-13.0.20](https://github.com/truecharts/charts/compare/gitea-13.0.19...gitea-13.0.20) (2023-07-07)
### Chore
- update container image tccr.io/truecharts/gitea to v1.19.4 ([#10218](https://github.com/truecharts/charts/issues/10218))
## [gitea-13.0.19](https://github.com/truecharts/charts/compare/gitea-13.0.18...gitea-13.0.19) (2023-07-04)
### Chore
- update helm general non-major ([#10135](https://github.com/truecharts/charts/issues/10135))
## [gitea-13.0.18](https://github.com/truecharts/charts/compare/gitea-13.0.17...gitea-13.0.18) (2023-07-01)
### Chore
- update helm general non-major ([#10069](https://github.com/truecharts/charts/issues/10069))
## [gitea-13.0.17](https://github.com/truecharts/charts/compare/gitea-13.0.16...gitea-13.0.17) (2023-06-13)
### Chore
- update helm chart common to 12.14.2 ([#9599](https://github.com/truecharts/charts/issues/9599))
## [gitea-13.0.16](https://github.com/truecharts/charts/compare/gitea-13.0.15...gitea-13.0.16) (2023-06-11)
### Chore
- update helm general non-major ([#9558](https://github.com/truecharts/charts/issues/9558))
## [gitea-13.0.15](https://github.com/truecharts/charts/compare/gitea-13.0.14...gitea-13.0.15) (2023-06-07)
### Chore
- update helm general non-major ([#9459](https://github.com/truecharts/charts/issues/9459))
## [gitea-13.0.14](https://github.com/truecharts/charts/compare/gitea-13.0.13...gitea-13.0.14) (2023-06-07)
### Chore
- update helm general non-major ([#9457](https://github.com/truecharts/charts/issues/9457))
## [gitea-13.0.13](https://github.com/truecharts/charts/compare/gitea-13.0.12...gitea-13.0.13) (2023-06-07)
### Chore
- update helm general non-major ([#9423](https://github.com/truecharts/charts/issues/9423))
## [gitea-13.0.12](https://github.com/truecharts/charts/compare/gitea-13.0.11...gitea-13.0.12) (2023-06-04)
### Chore

View File

@ -0,0 +1,37 @@
apiVersion: v2
appVersion: "1.20.1"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.14.6
- condition: memcached.enabled
name: memcached
repository: https://deps.truecharts.org/
version: 6.0.69
deprecated: false
description: Self hosted GIT repositories
home: https://truecharts.org/charts/stable/gitea
icon: https://truecharts.org/img/hotlink-ok/chart-icons/gitea.png
keywords:
- git
- issue tracker
- code review
- wiki
- gitea
- gogs
kubeVersion: ">=1.16.0-0"
maintainers:
- email: info@truecharts.org
name: TrueCharts
url: https://truecharts.org
name: gitea
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/gitea
- https://gitea.com/gitea/helm-chart
- https://github.com/go-gitea/gitea
type: application
version: 13.0.22
annotations:
truecharts.org/catagories: |
- GIT
truecharts.org/SCALE-support: "true"

View File

@ -0,0 +1,106 @@
Business Source License 1.1
Parameters
Licensor: The TrueCharts Project, it's owner and it's contributors
Licensed Work: The TrueCharts "Blocky" Helm Chart
Additional Use Grant: You may use the licensed work in production, as long
as it is directly sourced from a TrueCharts provided
official repository, catalog or source. You may also make private
modification to the directly sourced licenced work,
when used in production.
The following cases are, due to their nature, also
defined as 'production use' and explicitly prohibited:
- Bundling, including or displaying the licensed work
with(in) another work intended for production use,
with the apparent intend of facilitating and/or
promoting production use by third parties in
violation of this license.
Change Date: 2050-01-01
Change License: 3-clause BSD license
For information about alternative licensing arrangements for the Software,
please contact: legal@truecharts.org
Notice
The Business Source License (this document, or the “License”) is not an Open
Source license. However, the Licensed Work will eventually be made available
under an Open Source License, as stated in this License.
License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
“Business Source License” is a trademark of MariaDB Corporation Ab.
-----------------------------------------------------------------------------
Business Source License 1.1
Terms
The Licensor hereby grants you the right to copy, modify, create derivative
works, redistribute, and make non-production use of the Licensed Work. The
Licensor may make an Additional Use Grant, above, permitting limited
production use.
Effective on the Change Date, or the fourth anniversary of the first publicly
available distribution of a specific version of the Licensed Work under this
License, whichever comes first, the Licensor hereby grants you rights under
the terms of the Change License, and the rights granted in the paragraph
above terminate.
If your use of the Licensed Work does not comply with the requirements
currently in effect as described in this License, you must purchase a
commercial license from the Licensor, its affiliated entities, or authorized
resellers, or you must refrain from using the Licensed Work.
All copies of the original and modified Licensed Work, and derivative works
of the Licensed Work, are subject to this License. This License applies
separately for each version of the Licensed Work and the Change Date may vary
for each version of the Licensed Work released by Licensor.
You must conspicuously display this License on each original or modified copy
of the Licensed Work. If you receive the Licensed Work in original or
modified form from a third party, the terms and conditions set forth in this
License apply to your use of that work.
Any use of the Licensed Work in violation of this License will automatically
terminate your rights under this License for the current and all other
versions of the Licensed Work.
This License does not grant you any right in any trademark or logo of
Licensor or its affiliates (provided that you may use a trademark or logo of
Licensor as expressly required by this License).
TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
TITLE.
MariaDB hereby grants you permission to use this Licenses text to license
your works, and to refer to it using the trademark “Business Source License”,
as long as you comply with the Covenants of Licensor below.
Covenants of Licensor
In consideration of the right to use this Licenses text and the “Business
Source License” name and trademark, Licensor covenants to MariaDB, and to all
other recipients of the licensed work to be provided by Licensor:
1. To specify as the Change License the GPL Version 2.0 or any later version,
or a license that is compatible with GPL Version 2.0 or a later version,
where “compatible” means that software provided under the Change License can
be included in a program with software provided under GPL Version 2.0 or a
later version. Licensor may specify additional Change Licenses without
limitation.
2. To either: (a) specify an additional grant of rights to use that does not
impose any additional restriction on the right granted in this License, as
the Additional Use Grant; or (b) insert the text “None”.
3. To specify a Change Date.
4. Not to modify this License in any other way.

View File

@ -0,0 +1,9 @@
## [gitea-13.0.22](https://github.com/truecharts/charts/compare/gitea-13.0.21...gitea-13.0.22) (2023-07-28)
### Chore
- update container image tccr.io/truecharts/gitea to v1.20.1 ([#10943](https://github.com/truecharts/charts/issues/10943))

View File

@ -0,0 +1,8 @@
Self hosted GIT repositories
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/charts/stable/gitea](https://truecharts.org/charts/stable/gitea)
---
TrueCharts can only exist due to the incredible effort of our staff.
Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!

Binary file not shown.

View File

@ -0,0 +1,131 @@
image:
repository: tccr.io/truecharts/gitea
tag: v1.20.1@sha256:4bc7d37e95ed3bdd9aa9d35ec63712040bdc30378d9e6644ac996307bcbe9c5b
pullPolicy: IfNotPresent
service:
main:
ports:
main:
port: 10037
targetPort: 3000
ssh:
enabled: true
ports:
ssh:
enabled: true
port: 2222
targetPort: 2222
persistence:
data:
enabled: true
mountPath: "/data"
targetSelectAll: true
varlib:
enabled: true
mountPath: "/var/lib/gitea"
type: emptyDir
# Configure commit/action signing prerequisites
signing:
enabled: true
gpgHome: /data/git/.gnupg
admin:
username: giteaadmin
password: r8sA8CPHD9!bt6d
email: "gitea@local.domain"
metrics:
main:
enabled: true
type: "servicemonitor"
ldap:
enabled: false
# name:
# securityProtocol:
# host:
# port:
# userSearchBase:
# userFilter:
# adminFilter:
# emailAttribute:
# bindDn:
# bindPassword:
# usernameAttribute:
# sshPublicKeyAttribute:
oauth:
enabled: false
# name:
# provider:
# key:
# secret:
# autoDiscoverUrl:
# useCustomUrls:
# customAuthUrl:
# customTokenUrl:
# customProfileUrl:
# customEmailUrl:
config:
APP_NAME: "Gitea: Git with a cup of tea"
RUN_MODE: dev
ALLOWED_HOST_LIST: "127.0.0.1"
nodeIP: 127.0.0.1
customConfig: []
# - name: test
# keys:
# - name: testkey
# value: testvalue
# Enabled postgres
cnpg:
main:
enabled: true
user: gitea
database: gitea
# -- memcached dependency settings
memcached:
enabled: true
portal:
open:
enabled: true
securityContext:
container:
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
workload:
main:
podSpec:
initContainers:
1-init-directories:
enabled: true
imageSelector: image
type: init
command:
- "/usr/sbin/init_directory_structure.sh"
securityContext:
runAsUser: 0
runAsNonRoot: false
envFrom:
- configMapRef:
name: gitea-env
2-configure-gitea:
enabled: true
imageSelector: image
type: init
command:
- "/usr/sbin/configure_gitea.sh"
envFrom:
- configMapRef:
name: gitea-env
containers:
main:
probes:
liveness:
type: tcp
readiness:
type: tcp
startup:
type: tcp
envFrom:
- configMapRef:
name: gitea-env

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,15 @@
{{/* Define the configmap */}}
{{- define "gitea.configmap" -}}
enabled: true
data:
GITEA_APP_INI: "/data/gitea/conf/app.ini"
GITEA_CUSTOM: "/data/gitea"
GITEA_WORK_DIR: "/data"
GITEA_TEMP: "/tmp/gitea"
GITEA_ADMIN_USERNAME: {{ .Values.admin.username | quote }}
GITEA_ADMIN_PASSWORD: {{ .Values.admin.password | quote }}
SSH_PORT: {{ .Values.service.ssh.ports.ssh.port | quote }}
SSH_LISTEN_PORT: {{ .Values.service.ssh.ports.ssh.targetPort | quote }}
TMPDIR: "/tmp/gitea"
GNUPGHOME: "/data/git/.gnupg"
{{- end -}}

View File

@ -0,0 +1,233 @@
{{/* Define the secrets */}}
{{- define "gitea.secrets" -}}
{{ $DOMAIN := .Values.config.nodeIP | quote -}}
{{ $URL := (printf "http://%s/" .Values.config.nodeIP) }}
{{- $pgHost := printf "%v-cnpg-main-rw" (include "tc.v1.common.lib.chart.names.fullname" $) -}}
{{- if and (.Values.ingress.main.enabled) (gt (len .Values.ingress.main.hosts) 0) -}}
{{- $DOMAIN = (index .Values.ingress.main.hosts 0).host -}}
{{- $URL = (printf "https://%s/" (index .Values.ingress.main.hosts 0).host) -}}
{{- end -}}
secret:
enabled: true
data:
app.ini: |-
APP_NAME = {{ .Values.config.APP_NAME }}
RUN_MODE = {{ .Values.config.RUN_MODE }}
[cache]
ADAPTER = memcache
ENABLED = true
HOST = {{ printf "%v-%v:%v" .Release.Name "memcached" "11211" }}
{{- range $catindex, $catvalue := .Values.customConfig }}
{{- if eq $catvalue.name "cache" }}
{{- range $index, $value := $catvalue.keys }}
{{ $value.name }} = {{ $value.value }}
{{- end }}
{{- end }}
{{- end }}
[database]
DB_TYPE = postgres
HOST = {{ printf "%v:5432" $pgHost }}
NAME = {{ .Values.cnpg.main.database }}
PASSWD = {{ .Values.cnpg.main.creds.password }}
USER = {{ .Values.cnpg.main.user }}
{{- range $catindex, $catvalue := .Values.customConfig }}
{{- if eq $catvalue.name "database" }}
{{- range $index, $value := $catvalue.keys }}
{{ $value.name }} = {{ $value.value }}
{{- end }}
{{- end }}
{{- end }}
[metrics]
ENABLED = {{ .Values.metrics.enabled }}
{{- range $catindex, $catvalue := .Values.customConfig }}
{{- if eq $catvalue.name "metrics" }}
{{- range $index, $value := $catvalue.keys }}
{{ $value.name }} = {{ $value.value }}
{{- end }}
{{- end }}
{{- end }}
[repository]
ROOT = /data/git/gitea-repositories
{{- range $catindex, $catvalue := .Values.customConfig }}
{{- if eq $catvalue.name "repository" }}
{{- range $index, $value := $catvalue.keys }}
{{ $value.name }} = {{ $value.value }}
{{- end }}
{{- end }}
{{- end }}
[security]
INSTALL_LOCK = true
{{- range $catindex, $catvalue := .Values.customConfig }}
{{- if eq $catvalue.name "security" }}
{{- range $index, $value := $catvalue.keys }}
{{ $value.name }} = {{ $value.value }}
{{- end }}
{{- end }}
{{- end }}
[webhook]
ALLOWED_HOST_LIST = {{ .Values.config.ALLOWED_HOST_LIST }}
[server]
APP_DATA_PATH = /data
DOMAIN = {{ $DOMAIN }}
ENABLE_PPROF = false
HTTP_PORT = {{ .Values.service.main.ports.main.targetPort }}
PROTOCOL = http
ROOT_URL = {{ $URL }}
SSH_DOMAIN = {{ $DOMAIN }}
SSH_LISTEN_PORT = {{ .Values.service.ssh.ports.ssh.targetPort }}
SSH_PORT = {{ .Values.service.ssh.ports.ssh.port }}
START_SSH_SERVER = true
{{- range $catindex, $catvalue := .Values.customConfig }}
{{- if eq $catvalue.name "server" }}
{{- range $index, $value := $catvalue.keys }}
{{ $value.name }} = {{ $value.value }}
{{- end }}
{{- end }}
{{- end }}
{{- range $catindex, $catvalue := .Values.customConfig }}
{{- if not ( or ( eq $catvalue.name "server" ) ( eq $catvalue.name "server" ) ( eq $catvalue.name "security" ) ( eq $catvalue.name "repository" ) ( eq $catvalue.name "metrics" ) ( eq $catvalue.name "database" ) ( eq $catvalue.name "cache" ) ) }}
[{{ $catvalue.name }}]
{{- range $index, $value := $catvalue.keys }}
{{ $value.name }} = {{ $value.value }}
{{- end }}
{{- end }}
{{- end }}
init:
enabled: true
data:
init_directory_structure.sh: |-
#!/usr/bin/env bash
set -euo pipefail
{{- if .Values.initPreScript }}
# BEGIN: initPreScript
{{- with .Values.initPreScript -}}
{{ . | nindent 4}}
{{- end -}}
# END: initPreScript
{{- end }}
set -x
mkdir -p /data/git/.ssh
chmod -R 700 /data/git/.ssh
[ ! -d /data/gitea ] && mkdir -p /data/gitea/conf
# prepare temp directory structure
mkdir -p "${GITEA_TEMP}"
chown -Rf {{ .Values.securityContext.container.runAsUser }}:{{ .Values.securityContext.pod.fsGroup }} "${GITEA_TEMP}"
chmod ug+rwx "${GITEA_TEMP}"
# Copy config file to writable volume
cp /etc/gitea/conf/app.ini /data/gitea/conf/app.ini
chown -Rf {{ .Values.securityContext.container.runAsUser }}:{{ .Values.securityContext.pod.fsGroup }} "/data"
chmod a+rwx /data/gitea/conf/app.ini
# Patch dockercontainer for dynamic users
chown -Rf {{ .Values.securityContext.container.runAsUser }}:{{ .Values.securityContext.pod.fsGroup }} "/var/lib/gitea"
configure_gitea.sh: |-
#!/usr/bin/env bash
set -euo pipefail
# Connection retry inspired by https://gist.github.com/dublx/e99ea94858c07d2ca6de
function test_db_connection() {
local RETRY=0
local MAX=30
echo 'Wait for database to become avialable...'
until [ "${RETRY}" -ge "${MAX}" ]; do
nc -vz -w2 {{ $pgHost }} 5432 && break
RETRY=$[${RETRY}+1]
echo "...not ready yet (${RETRY}/${MAX})"
done
if [ "${RETRY}" -ge "${MAX}" ]; then
echo "Database not reachable after '${MAX}' attempts!"
exit 1
fi
}
test_db_connection
echo '==== BEGIN GITEA MIGRATION ===='
gitea migrate
echo '==== BEGIN GITEA CONFIGURATION ===='
{{- if or .Values.admin.existingSecret (and .Values.admin.username .Values.admin.password) }}
function configure_admin_user() {
local ACCOUNT_ID=$(gitea admin user list --admin | grep -e "\s\+${GITEA_ADMIN_USERNAME}\|{{ .Values.admin.email }}\s\+" | awk -F " " "{printf \$1}")
if [[ -z "${ACCOUNT_ID}" ]]; then
echo "No admin user '${GITEA_ADMIN_USERNAME}' found, neither email '{{ .Values.admin.email }}' is assigned to an admin. Creating now..."
gitea admin user create --admin --username "${GITEA_ADMIN_USERNAME}" --password "${GITEA_ADMIN_PASSWORD}" --email {{ .Values.admin.email | quote }} --must-change-password=false
echo '...created.'
else
echo "Admin account '${GITEA_ADMIN_USERNAME}' or email {{ .Values.admin.email }} already exist. Running update to sync password..."
gitea admin user change-password --username "${GITEA_ADMIN_USERNAME}" --password "${GITEA_ADMIN_PASSWORD}"
echo '...password sync done.'
fi
}
configure_admin_user
{{- end }}
{{- if .Values.ldap.enabled }}
function configure_ldap() {
local LDAP_NAME={{ (printf "%s" .Values.ldap.name) | squote }}
local GITEA_AUTH_ID=$(gitea admin auth list --vertical-bars | grep -E "\|${LDAP_NAME}\s+\|" | grep -iE '\|LDAP \(via BindDN\)\s+\|' | awk -F " " "{print \$1}")
if [[ -z "${GITEA_AUTH_ID}" ]]; then
echo "No ldap configuration found with name '${LDAP_NAME}'. Installing it now..."
gitea admin auth add-ldap {{- include "gitea.ldap_settings" . | indent 1 }}
echo '...installed.'
else
echo "Existing ldap configuration with name '${LDAP_NAME}': '${GITEA_AUTH_ID}'. Running update to sync settings..."
gitea admin auth update-ldap --id "${GITEA_AUTH_ID}" {{- include "gitea.ldap_settings" . | indent 1 }}
echo '...sync settings done.'
fi
}
configure_ldap
{{- end }}
{{- if .Values.oauth.enabled }}
function configure_oauth() {
local OAUTH_NAME={{ (printf "%s" .Values.oauth.name) | squote }}
local AUTH_ID=$(gitea admin auth list --vertical-bars | grep -E "\|${OAUTH_NAME}\s+\|" | grep -iE '\|OAuth2\s+\|' | awk -F " " "{print \$1}")
if [[ -z "${AUTH_ID}" ]]; then
echo "No oauth configuration found with name '${OAUTH_NAME}'. Installing it now..."
gitea admin auth add-oauth {{- include "gitea.oauth_settings" . | indent 1 }}
echo '...installed.'
else
echo "Existing oauth configuration with name '${OAUTH_NAME}': '${AUTH_ID}'. Running update to sync settings..."
gitea admin auth update-oauth --id "${AUTH_ID}" {{- include "gitea.oauth_settings" . | indent 1 }}
echo '...sync settings done.'
fi
}
configure_oauth
{{- end }}
echo '==== END GITEA CONFIGURATION ===='
{{- end -}}

View File

@ -0,0 +1,52 @@
{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . }}
{{/* Render secrets for gitea */}}
{{- $secrets := include "gitea.secrets" . | fromYaml -}}
{{- if $secrets -}}
{{- $_ := mustMergeOverwrite .Values.secret $secrets -}}
{{- end -}}
{{/* Render configmap for gitea */}}
{{- $configmap := include "gitea.configmap" . | fromYaml -}}
{{- if $configmap -}}
{{- $_ := set .Values.configmap "gitea-env" $configmap -}}
{{- end -}}
{{/* Append the general secret volumes to the volumes */}}
{{- define "gitea.initvolume" -}}
enabled: true
readOnly: true
type: secret
objectName: init
defaultMode: "0777"
targetSelector:
main:
main:
mountPath: /secrets/ini
1-init-directories:
mountPath: "/usr/sbin"
2-configure-gitea:
mountPath: "/usr/sbin"
{{- end -}}
{{/* Append the general secret volumes to the volumes */}}
{{- define "gitea.configvolume" -}}
enabled: true
readOnly: true
type: secret
objectName: secret
targetSelector:
main:
main:
mountPath: /secrets/config
1-init-directories:
mountPath: /etc/gitea/conf
{{- end -}}
{{- $_ := set .Values.persistence "init" (include "gitea.initvolume" . | fromYaml) -}}
{{- $_ := set .Values.persistence "config" (include "gitea.configvolume" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.apply" . }}

View File

@ -1,9 +0,0 @@
## [ispy-agent-dvr-5.0.33](https://github.com/truecharts/charts/compare/ispy-agent-dvr-5.0.32...ispy-agent-dvr-5.0.33) (2023-07-21)
### Chore
- update container image tccr.io/truecharts/ispy-agent-dvr to v4.8.7.0 ([#10705](https://github.com/truecharts/charts/issues/10705))

View File

@ -4,6 +4,15 @@
## [ispy-agent-dvr-5.0.34](https://github.com/truecharts/charts/compare/ispy-agent-dvr-5.0.33...ispy-agent-dvr-5.0.34) (2023-07-28)
### Chore
- update container image tccr.io/truecharts/ispy-agent-dvr to v4.8.8.0 ([#10903](https://github.com/truecharts/charts/issues/10903))
## [ispy-agent-dvr-5.0.33](https://github.com/truecharts/charts/compare/ispy-agent-dvr-5.0.32...ispy-agent-dvr-5.0.33) (2023-07-21)
### Chore
@ -85,15 +94,6 @@
## [ispy-agent-dvr-5.0.26](https://github.com/truecharts/charts/compare/ispy-agent-dvr-5.0.25...ispy-agent-dvr-5.0.26) (2023-06-15)
### Chore
- update container image tccr.io/truecharts/ispy-agent-dvr to v4.7.6.0 ([#9658](https://github.com/truecharts/charts/issues/9658))
## [ispy-agent-dvr-5.0.26](https://github.com/truecharts/charts/compare/ispy-agent-dvr-5.0.25...ispy-agent-dvr-5.0.26) (2023-06-15)
### Chore

View File

@ -1,5 +1,5 @@
apiVersion: v2
appVersion: "4.8.7.0"
appVersion: "4.8.8.0"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
@ -20,7 +20,7 @@ name: ispy-agent-dvr
sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/ispy-agent-dvr
- https://github.com/doitandbedone/ispyagentdvr-docker
version: 5.0.33
version: 5.0.34
annotations:
truecharts.org/catagories: |
- security

View File

@ -0,0 +1,9 @@
## [ispy-agent-dvr-5.0.34](https://github.com/truecharts/charts/compare/ispy-agent-dvr-5.0.33...ispy-agent-dvr-5.0.34) (2023-07-28)
### Chore
- update container image tccr.io/truecharts/ispy-agent-dvr to v4.8.8.0 ([#10903](https://github.com/truecharts/charts/issues/10903))

View File

@ -1,6 +1,6 @@
image:
repository: tccr.io/truecharts/ispy-agent-dvr
tag: v4.8.7.0@sha256:c87a1eddd7b9b67449426802758efc0ac563970684027bfa142459553c6db0b6
tag: v4.8.8.0@sha256:d8d54fd2dce9bbb0b743396a2053dcc6c3308029cfad2b401c14a46ab9abb5be
pullPolicy: IfNotPresent
service:
main:

View File

@ -4,6 +4,15 @@
## [libremdb-2.0.100](https://github.com/truecharts/charts/compare/libremdb-2.0.99...libremdb-2.0.100) (2023-07-28)
### Chore
- update container image tccr.io/truecharts/libremdb to latest ([#10938](https://github.com/truecharts/charts/issues/10938))
## [libremdb-2.0.99](https://github.com/truecharts/charts/compare/libremdb-2.0.98...libremdb-2.0.99) (2023-07-28)
### Chore
@ -88,12 +97,3 @@
## [libremdb-2.0.90](https://github.com/truecharts/charts/compare/libremdb-2.0.89...libremdb-2.0.90) (2023-07-22)
### Chore
- update container image tccr.io/truecharts/libremdb to latest ([#10735](https://github.com/truecharts/charts/issues/10735))
## [libremdb-2.0.89](https://github.com/truecharts/charts/compare/libremdb-2.0.88...libremdb-2.0.89) (2023-07-21)
### Chore

View File

@ -27,7 +27,7 @@ sources:
- https://github.com/zyachel/libremdb
- https://github.com/PussTheCat-org/docker-libremdb-quay
type: application
version: 2.0.99
version: 2.0.100
annotations:
truecharts.org/catagories: |
- media

View File

@ -0,0 +1,9 @@
## [libremdb-2.0.100](https://github.com/truecharts/charts/compare/libremdb-2.0.99...libremdb-2.0.100) (2023-07-28)
### Chore
- update container image tccr.io/truecharts/libremdb to latest ([#10938](https://github.com/truecharts/charts/issues/10938))

View File

@ -1,7 +1,7 @@
image:
repository: tccr.io/truecharts/libremdb
pullPolicy: IfNotPresent
tag: latest@sha256:cd098b83fc09e729c921adfcf41118e90b6aa985da7bc1f20ce31dbc22f2ac0c
tag: latest@sha256:f4bba804619c288d031bfda5e3a88282315064e9ac449ac0b75e82202a99f0d9
service:
main:
ports:

View File

@ -1,9 +0,0 @@
## [libremdb-2.0.99](https://github.com/truecharts/charts/compare/libremdb-2.0.98...libremdb-2.0.99) (2023-07-28)
### Chore
- update container image tccr.io/truecharts/libremdb to latest ([#10923](https://github.com/truecharts/charts/issues/10923))

View File

@ -1,9 +0,0 @@
## [muse-1.0.15](https://github.com/truecharts/charts/compare/muse-1.0.14...muse-1.0.15) (2023-07-21)
### Chore
- update container image tccr.io/truecharts/muse to v2.4.0 ([#10710](https://github.com/truecharts/charts/issues/10710))

View File

@ -4,6 +4,15 @@
## [muse-1.0.16](https://github.com/truecharts/charts/compare/muse-1.0.15...muse-1.0.16) (2023-07-28)
### Chore
- update container image tccr.io/truecharts/muse to v2.4.1 ([#10945](https://github.com/truecharts/charts/issues/10945))
## [muse-1.0.15](https://github.com/truecharts/charts/compare/muse-1.0.14...muse-1.0.15) (2023-07-21)
### Chore
@ -88,12 +97,3 @@
## [muse-1.0.6](https://github.com/truecharts/charts/compare/muse-1.0.5...muse-1.0.6) (2023-05-27)
### Chore
- update helm general non-major ([#9197](https://github.com/truecharts/charts/issues/9197))
## [muse-1.0.5](https://github.com/truecharts/charts/compare/muse-1.0.4...muse-1.0.5) (2023-05-26)
### Chore

View File

@ -1,5 +1,5 @@
apiVersion: v2
appVersion: "2.4.0"
appVersion: "2.4.1"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
@ -22,7 +22,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/muse
- https://github.com/codetheweb/muse
type: application
version: 1.0.15
version: 1.0.16
annotations:
truecharts.org/catagories: |
- media

View File

@ -0,0 +1,9 @@
## [muse-1.0.16](https://github.com/truecharts/charts/compare/muse-1.0.15...muse-1.0.16) (2023-07-28)
### Chore
- update container image tccr.io/truecharts/muse to v2.4.1 ([#10945](https://github.com/truecharts/charts/issues/10945))

View File

@ -1,7 +1,7 @@
image:
repository: tccr.io/truecharts/muse
pullPolicy: IfNotPresent
tag: v2.4.0@sha256:9d06275b8b1e7b643f4031236af7749c036f3334f5eb5c5cc369652fde1230a4
tag: v2.4.1@sha256:92dfb476efd708a86ff8815c194ae0a00312cbd59c5403e08d16708923f8847e
securityContext:
container:

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