From 86ab46d1bebfd1fc0afc8bac167ab6e70f501c44 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Sat, 20 Jul 2024 01:43:00 +1000 Subject: [PATCH] update gitea chart and fix typo --- apps/gitea/env/k3s-cluster/CHANGELOG.md | 8 +++- apps/gitea/env/k3s-cluster/Chart.lock | 6 +-- apps/gitea/env/k3s-cluster/Chart.yaml | 38 +++++++++---------- apps/gitea/env/k3s-cluster/README.md | 3 +- .../env/k3s-cluster/templates/deployment.yaml | 2 +- apps/gitea/env/k3s-cluster/values.yaml | 6 ++- 6 files changed, 35 insertions(+), 28 deletions(-) diff --git a/apps/gitea/env/k3s-cluster/CHANGELOG.md b/apps/gitea/env/k3s-cluster/CHANGELOG.md index 544fea4..662ce0e 100644 --- a/apps/gitea/env/k3s-cluster/CHANGELOG.md +++ b/apps/gitea/env/k3s-cluster/CHANGELOG.md @@ -1,8 +1,12 @@ # Changelog -## 2.3.13 (2024-07-15) +## 2.3.14 (2024-07-16) -* [bitnami/gitea] Include goss-wait test to improve test results ([#27980](https://github.com/bitnami/charts/pull/27980)) +* [bitnami/gitea] Global StorageClass as default value ([#28023](https://github.com/bitnami/charts/pull/28023)) + +## 2.3.13 (2024-07-15) + +* [bitnami/gitea] Include goss-wait test to improve test results (#27980) ([c690b0d](https://github.com/bitnami/charts/commit/c690b0d818d06feb79ad473ae1447d5b3b345518)), closes [#27980](https://github.com/bitnami/charts/issues/27980) ## 2.3.12 (2024-07-15) diff --git a/apps/gitea/env/k3s-cluster/Chart.lock b/apps/gitea/env/k3s-cluster/Chart.lock index 7158c17..a06a7c8 100644 --- a/apps/gitea/env/k3s-cluster/Chart.lock +++ b/apps/gitea/env/k3s-cluster/Chart.lock @@ -4,6 +4,6 @@ dependencies: version: 15.5.16 - name: common repository: oci://registry-1.docker.io/bitnamicharts - version: 2.20.4 -digest: sha256:5c93d00902a9a347213e2cd1598f037c662eb189713320b1ea327b3715208c58 -generated: "2024-07-15T08:32:04.304332975Z" + version: 2.20.5 +digest: sha256:30f7d33e4d16133de8f39c7ff6664a2e0ddc2f2d7ef8bfa5b4f91790514cd356 +generated: "2024-07-16T12:06:55.322856+02:00" diff --git a/apps/gitea/env/k3s-cluster/Chart.yaml b/apps/gitea/env/k3s-cluster/Chart.yaml index b3e3e43..3490a5c 100644 --- a/apps/gitea/env/k3s-cluster/Chart.yaml +++ b/apps/gitea/env/k3s-cluster/Chart.yaml @@ -12,29 +12,29 @@ annotations: apiVersion: v2 appVersion: 1.22.1 dependencies: -- condition: postgresql.enabled - name: postgresql - repository: oci://registry-1.docker.io/bitnamicharts - version: 15.x.x -- name: common - repository: oci://registry-1.docker.io/bitnamicharts - tags: - - bitnami-common - version: 2.x.x + - condition: postgresql.enabled + name: postgresql + repository: oci://registry-1.docker.io/bitnamicharts + version: 15.x.x + - name: common + repository: oci://registry-1.docker.io/bitnamicharts + tags: + - bitnami-common + version: 2.x.x description: Gitea is a lightweight code hosting solution. Written in Go, features low resource consumption, easy upgrades and multiple databases. home: https://bitnami.com icon: https://bitnami.com/assets/stacks/gitea/img/gitea-stack-220x234.png keywords: -- gitea -- analytics -- http -- web -- application -- php + - gitea + - analytics + - http + - web + - application + - php maintainers: -- name: Broadcom, Inc. All Rights Reserved. - url: https://github.com/bitnami/charts + - name: Broadcom, Inc. All Rights Reserved. + url: https://github.com/bitnami/charts name: gitea sources: -- https://github.com/bitnami/charts/tree/main/bitnami/gitea -version: 2.3.13 + - https://github.com/bitnami/charts/tree/main/bitnami/gitea +version: 2.3.14 diff --git a/apps/gitea/env/k3s-cluster/README.md b/apps/gitea/env/k3s-cluster/README.md index 03b8c07..b8c78db 100644 --- a/apps/gitea/env/k3s-cluster/README.md +++ b/apps/gitea/env/k3s-cluster/README.md @@ -130,7 +130,8 @@ helm install my-release --set persistence.existingClaim=PVC_NAME oci://REGISTRY_ | ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | | `global.imageRegistry` | Global Docker image registry | `""` | | `global.imagePullSecrets` | Global Docker registry secret names as an array | `[]` | -| `global.storageClass` | Global StorageClass for Persistent Volume(s) | `""` | +| `global.defaultStorageClass` | Global default StorageClass for Persistent Volume(s) | `""` | +| `global.storageClass` | DEPRECATED: use global.defaultStorageClass instead | `""` | | `global.compatibility.openshift.adaptSecurityContext` | Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation) | `auto` | ### Common parameters diff --git a/apps/gitea/env/k3s-cluster/templates/deployment.yaml b/apps/gitea/env/k3s-cluster/templates/deployment.yaml index 1923789..d280d4f 100644 --- a/apps/gitea/env/k3s-cluster/templates/deployment.yaml +++ b/apps/gitea/env/k3s-cluster/templates/deployment.yaml @@ -151,7 +151,7 @@ spec: name: gitea-secrets key: db_name - name: GITEA_DATABASE_USERNAME - vvalueFrom: + valueFrom: secretKeyRef: name: gitea-secrets key: db_user diff --git a/apps/gitea/env/k3s-cluster/values.yaml b/apps/gitea/env/k3s-cluster/values.yaml index c872e44..535ef5f 100644 --- a/apps/gitea/env/k3s-cluster/values.yaml +++ b/apps/gitea/env/k3s-cluster/values.yaml @@ -9,7 +9,8 @@ ## @param global.imageRegistry Global Docker image registry ## @param global.imagePullSecrets Global Docker registry secret names as an array -## @param global.storageClass Global StorageClass for Persistent Volume(s) +## @param global.defaultStorageClass Global default StorageClass for Persistent Volume(s) +## @param global.storageClass DEPRECATED: use global.defaultStorageClass instead ## global: imageRegistry: "" @@ -18,6 +19,7 @@ global: ## - myRegistryKeySecretName ## imagePullSecrets: [] + defaultStorageClass: "" storageClass: "" ## Compatibility adaptations for Kubernetes platforms ## @@ -254,7 +256,7 @@ persistence: ## Requires persistence.enabled: true ## If defined, PVC must be created manually before volume will be bound ## - existingClaim: "gitea-pvc" + existingClaim: "" ## @param persistence.hostPath If defined, the gitea-data volume will mount to the specified hostPath. ## Requires persistence.enabled: true ## Requires persistence.existingClaim: nil|false