diff --git a/stable/gitea/1.0.0/CHANGELOG.md b/stable/gitea/1.0.0/CHANGELOG.md
deleted file mode 100644
index 6a744cbe2ff..00000000000
--- a/stable/gitea/1.0.0/CHANGELOG.md
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-### [gitea-1.0.0](https://github.com/truecharts/apps/compare/gitea-0.0.5...gitea-1.0.0) (2021-10-01)
-
diff --git a/stable/gitea/1.0.1/CHANGELOG.md b/stable/gitea/1.0.1/CHANGELOG.md
new file mode 100644
index 00000000000..0b1347533ee
--- /dev/null
+++ b/stable/gitea/1.0.1/CHANGELOG.md
@@ -0,0 +1,4 @@
+
+
+### [gitea-1.0.1](https://github.com/truecharts/apps/compare/gitea-1.0.0...gitea-1.0.1) (2021-10-01)
+
diff --git a/stable/gitea/1.0.0/CONFIG.md b/stable/gitea/1.0.1/CONFIG.md
similarity index 100%
rename from stable/gitea/1.0.0/CONFIG.md
rename to stable/gitea/1.0.1/CONFIG.md
diff --git a/stable/gitea/1.0.0/Chart.lock b/stable/gitea/1.0.1/Chart.lock
similarity index 88%
rename from stable/gitea/1.0.0/Chart.lock
rename to stable/gitea/1.0.1/Chart.lock
index 86d38770211..f41b53c477d 100644
--- a/stable/gitea/1.0.0/Chart.lock
+++ b/stable/gitea/1.0.1/Chart.lock
@@ -9,4 +9,4 @@ dependencies:
repository: https://charts.bitnami.com/bitnami
version: 5.15.3
digest: sha256:31ea20ec333f850afa9cf3a2496456944683769564b80fd997d8321ca3f56830
-generated: "2021-10-01T14:50:17.661143155Z"
+generated: "2021-10-01T21:29:14.796478615Z"
diff --git a/stable/gitea/1.0.0/Chart.yaml b/stable/gitea/1.0.1/Chart.yaml
similarity index 98%
rename from stable/gitea/1.0.0/Chart.yaml
rename to stable/gitea/1.0.1/Chart.yaml
index ea791963c7a..e45d5f406ca 100644
--- a/stable/gitea/1.0.0/Chart.yaml
+++ b/stable/gitea/1.0.1/Chart.yaml
@@ -34,4 +34,4 @@ sources:
- https://github.com/go-gitea/gitea
- https://hub.docker.com/r/gitea/gitea/
type: application
-version: 1.0.0
+version: 1.0.1
diff --git a/stable/gitea/1.0.0/README.md b/stable/gitea/1.0.1/README.md
similarity index 100%
rename from stable/gitea/1.0.0/README.md
rename to stable/gitea/1.0.1/README.md
diff --git a/stable/gitea/1.0.0/app-readme.md b/stable/gitea/1.0.1/app-readme.md
similarity index 100%
rename from stable/gitea/1.0.0/app-readme.md
rename to stable/gitea/1.0.1/app-readme.md
diff --git a/stable/gitea/1.0.0/charts/common-8.0.13.tgz b/stable/gitea/1.0.1/charts/common-8.0.13.tgz
similarity index 100%
rename from stable/gitea/1.0.0/charts/common-8.0.13.tgz
rename to stable/gitea/1.0.1/charts/common-8.0.13.tgz
diff --git a/stable/gitea/1.0.0/charts/memcached-5.15.3.tgz b/stable/gitea/1.0.1/charts/memcached-5.15.3.tgz
similarity index 100%
rename from stable/gitea/1.0.0/charts/memcached-5.15.3.tgz
rename to stable/gitea/1.0.1/charts/memcached-5.15.3.tgz
diff --git a/stable/gitea/1.0.0/charts/postgresql-3.0.4.tgz b/stable/gitea/1.0.1/charts/postgresql-3.0.4.tgz
similarity index 100%
rename from stable/gitea/1.0.0/charts/postgresql-3.0.4.tgz
rename to stable/gitea/1.0.1/charts/postgresql-3.0.4.tgz
diff --git a/stable/gitea/1.0.0/ci/basic-values.yaml b/stable/gitea/1.0.1/ci/basic-values.yaml
similarity index 100%
rename from stable/gitea/1.0.0/ci/basic-values.yaml
rename to stable/gitea/1.0.1/ci/basic-values.yaml
diff --git a/stable/gitea/1.0.0/ci/ingress-values.yaml b/stable/gitea/1.0.1/ci/ingress-values.yaml
similarity index 100%
rename from stable/gitea/1.0.0/ci/ingress-values.yaml
rename to stable/gitea/1.0.1/ci/ingress-values.yaml
diff --git a/stable/gitea/1.0.0/helm-values.md b/stable/gitea/1.0.1/helm-values.md
similarity index 100%
rename from stable/gitea/1.0.0/helm-values.md
rename to stable/gitea/1.0.1/helm-values.md
diff --git a/stable/gitea/1.0.0/ix_values.yaml b/stable/gitea/1.0.1/ix_values.yaml
similarity index 100%
rename from stable/gitea/1.0.0/ix_values.yaml
rename to stable/gitea/1.0.1/ix_values.yaml
diff --git a/stable/gitea/1.0.0/questions.yaml b/stable/gitea/1.0.1/questions.yaml
similarity index 99%
rename from stable/gitea/1.0.0/questions.yaml
rename to stable/gitea/1.0.1/questions.yaml
index ef850b3ccd2..0f774eb42cc 100644
--- a/stable/gitea/1.0.0/questions.yaml
+++ b/stable/gitea/1.0.1/questions.yaml
@@ -1475,13 +1475,13 @@ questions:
schema:
type: string
default: "4000m"
- valid_chars: '^([0-9]+)(\.[0-9]?|m?)$'
+ valid_chars: '^(?!^0(\.0|m|)$)([0-9]+)(\.[0-9]|m?)$'
- variable: memory
label: "Memory RAM"
schema:
type: string
default: "8Gi"
- valid_chars: '^([0-9.]+)([EPTGMK]i?|[EPTGMK]?|e[0-9]+)$'
+ valid_chars: '^(?!^0(e[0-9]|[EPTGMK]i?|)$)([0-9]+)(|[EPTGMK]i?|e[0-9]+)$'
- variable: requests
label: "Advanced Request minimum resources required"
schema:
@@ -1492,13 +1492,13 @@ questions:
schema:
type: string
default: "10m"
- valid_chars: '^([0-9]+)(\.[0-9]?|m?)$'
+ valid_chars: '^(?!^0(\.0|m|)$)([0-9]+)(\.[0-9]|m?)$'
- variable: memory
label: "Memory RAM"
schema:
type: string
default: "50Mi"
- valid_chars: '^([0-9.]+)([EPTGMK]i?|[EPTGMK]?|e[0-9]+)$'
+ valid_chars: '^(?!^0(e[0-9]|[EPTGMK]i?|)$)([0-9]+)(|[EPTGMK]i?|e[0-9]+)$'
- variable: autoscaling
group: "Resources and Devices"
diff --git a/stable/gitea/1.0.0/templates/_configmap.tpl b/stable/gitea/1.0.1/templates/_configmap.tpl
similarity index 100%
rename from stable/gitea/1.0.0/templates/_configmap.tpl
rename to stable/gitea/1.0.1/templates/_configmap.tpl
diff --git a/stable/gitea/1.0.0/templates/_secrets.tpl b/stable/gitea/1.0.1/templates/_secrets.tpl
similarity index 99%
rename from stable/gitea/1.0.0/templates/_secrets.tpl
rename to stable/gitea/1.0.1/templates/_secrets.tpl
index d2811e590d8..4dda8d1fe26 100644
--- a/stable/gitea/1.0.0/templates/_secrets.tpl
+++ b/stable/gitea/1.0.1/templates/_secrets.tpl
@@ -169,7 +169,7 @@ stringData:
# Copy config file to writable volume
cp /etc/gitea/conf/app.ini /data/gitea/conf/app.ini
- chown -Rf {{ .Values.podSecurityContext.runAsUser }}:{{ .Values.podSecurityContext.fsGroup }} "/data/gitea"
+ chown -Rf {{ .Values.podSecurityContext.runAsUser }}:{{ .Values.podSecurityContext.fsGroup }} "/data"
chmod a+rwx /data/gitea/conf/app.ini
# Patch dockercontainer for dynamic users
diff --git a/stable/gitea/1.0.0/templates/common.yaml b/stable/gitea/1.0.1/templates/common.yaml
similarity index 100%
rename from stable/gitea/1.0.0/templates/common.yaml
rename to stable/gitea/1.0.1/templates/common.yaml
diff --git a/stable/gitea/1.0.0/test_values.yaml b/stable/gitea/1.0.1/test_values.yaml
similarity index 100%
rename from stable/gitea/1.0.0/test_values.yaml
rename to stable/gitea/1.0.1/test_values.yaml
diff --git a/stable/gitea/1.0.0/values.yaml b/stable/gitea/1.0.1/values.yaml
similarity index 100%
rename from stable/gitea/1.0.0/values.yaml
rename to stable/gitea/1.0.1/values.yaml