diff --git a/stable/authelia/8.0.12/CHANGELOG.md b/stable/authelia/8.0.13/CHANGELOG.md
similarity index 91%
rename from stable/authelia/8.0.12/CHANGELOG.md
rename to stable/authelia/8.0.13/CHANGELOG.md
index 0408e08909d..567827a8a14 100644
--- a/stable/authelia/8.0.12/CHANGELOG.md
+++ b/stable/authelia/8.0.13/CHANGELOG.md
@@ -1,6 +1,15 @@
# Changelog
+
+### [authelia-8.0.13](https://github.com/truecharts/apps/compare/authelia-8.0.12...authelia-8.0.13) (2021-12-05)
+
+#### Fix
+
+* correct upgrade handling without encryption key
+
+
+
### authelia-8.0.12 (2021-12-05)
@@ -88,12 +97,3 @@
* revert authelia default ports change
* update non-major deps helm releases ([#1432](https://github.com/truecharts/apps/issues/1432))
-
-#### Fix
-
-* correct some ports mistakes ([#1416](https://github.com/truecharts/apps/issues/1416))
-* move conflicting ports to 10xxx range ([#1415](https://github.com/truecharts/apps/issues/1415))
-* fix typo in theme selection ([#1428](https://github.com/truecharts/apps/issues/1428))
-
-
-
diff --git a/stable/authelia/8.0.12/CONFIG.md b/stable/authelia/8.0.13/CONFIG.md
similarity index 100%
rename from stable/authelia/8.0.12/CONFIG.md
rename to stable/authelia/8.0.13/CONFIG.md
diff --git a/stable/authelia/8.0.12/Chart.lock b/stable/authelia/8.0.13/Chart.lock
similarity index 87%
rename from stable/authelia/8.0.12/Chart.lock
rename to stable/authelia/8.0.13/Chart.lock
index 75a09da8470..4d0218e28bb 100644
--- a/stable/authelia/8.0.12/Chart.lock
+++ b/stable/authelia/8.0.13/Chart.lock
@@ -9,4 +9,4 @@ dependencies:
repository: https://truecharts.org/
version: 1.0.27
digest: sha256:c57e452f0a17297c59cb63a1049688892bcf8422f93200e7a474082dac656385
-generated: "2021-12-05T22:46:47.321604023Z"
+generated: "2021-12-06T00:00:08.010404524Z"
diff --git a/stable/authelia/8.0.12/Chart.yaml b/stable/authelia/8.0.13/Chart.yaml
similarity index 98%
rename from stable/authelia/8.0.12/Chart.yaml
rename to stable/authelia/8.0.13/Chart.yaml
index bcb53e3572f..bc4b95cd66f 100644
--- a/stable/authelia/8.0.12/Chart.yaml
+++ b/stable/authelia/8.0.13/Chart.yaml
@@ -38,7 +38,7 @@ sources:
- https://github.com/authelia/chartrepo
- https://github.com/authelia/authelia
type: application
-version: 8.0.12
+version: 8.0.13
annotations:
truecharts.org/catagories: |
- security
diff --git a/stable/authelia/8.0.12/README.md b/stable/authelia/8.0.13/README.md
similarity index 100%
rename from stable/authelia/8.0.12/README.md
rename to stable/authelia/8.0.13/README.md
diff --git a/stable/authelia/8.0.12/app-readme.md b/stable/authelia/8.0.13/app-readme.md
similarity index 100%
rename from stable/authelia/8.0.12/app-readme.md
rename to stable/authelia/8.0.13/app-readme.md
diff --git a/stable/authelia/8.0.12/charts/common-8.9.13.tgz b/stable/authelia/8.0.13/charts/common-8.9.13.tgz
similarity index 100%
rename from stable/authelia/8.0.12/charts/common-8.9.13.tgz
rename to stable/authelia/8.0.13/charts/common-8.9.13.tgz
diff --git a/stable/authelia/8.0.12/charts/postgresql-6.0.22.tgz b/stable/authelia/8.0.13/charts/postgresql-6.0.22.tgz
similarity index 100%
rename from stable/authelia/8.0.12/charts/postgresql-6.0.22.tgz
rename to stable/authelia/8.0.13/charts/postgresql-6.0.22.tgz
diff --git a/stable/authelia/8.0.12/charts/redis-1.0.27.tgz b/stable/authelia/8.0.13/charts/redis-1.0.27.tgz
similarity index 100%
rename from stable/authelia/8.0.12/charts/redis-1.0.27.tgz
rename to stable/authelia/8.0.13/charts/redis-1.0.27.tgz
diff --git a/stable/authelia/8.0.12/helm-values.md b/stable/authelia/8.0.13/helm-values.md
similarity index 100%
rename from stable/authelia/8.0.12/helm-values.md
rename to stable/authelia/8.0.13/helm-values.md
diff --git a/stable/authelia/8.0.12/ix_values.yaml b/stable/authelia/8.0.13/ix_values.yaml
similarity index 100%
rename from stable/authelia/8.0.12/ix_values.yaml
rename to stable/authelia/8.0.13/ix_values.yaml
diff --git a/stable/authelia/8.0.12/questions.yaml b/stable/authelia/8.0.13/questions.yaml
similarity index 100%
rename from stable/authelia/8.0.12/questions.yaml
rename to stable/authelia/8.0.13/questions.yaml
diff --git a/stable/authelia/8.0.12/security.md b/stable/authelia/8.0.13/security.md
similarity index 100%
rename from stable/authelia/8.0.12/security.md
rename to stable/authelia/8.0.13/security.md
diff --git a/stable/authelia/8.0.12/templates/_configmap.tpl b/stable/authelia/8.0.13/templates/_configmap.tpl
similarity index 100%
rename from stable/authelia/8.0.12/templates/_configmap.tpl
rename to stable/authelia/8.0.13/templates/_configmap.tpl
diff --git a/stable/authelia/8.0.12/templates/_secrets.tpl b/stable/authelia/8.0.13/templates/_secrets.tpl
similarity index 92%
rename from stable/authelia/8.0.12/templates/_secrets.tpl
rename to stable/authelia/8.0.13/templates/_secrets.tpl
index 42b3536ca55..2854c28fc79 100644
--- a/stable/authelia/8.0.12/templates/_secrets.tpl
+++ b/stable/authelia/8.0.13/templates/_secrets.tpl
@@ -15,9 +15,14 @@ metadata:
{{- $encryptionkey := "" }}
data:
{{- if $autheliaprevious }}
- ENCRYPTION_KEY: {{ index $autheliaprevious.data "ENCRYPTION_KEY" }}
SESSION_ENCRYPTION_KEY: {{ index $autheliaprevious.data "SESSION_ENCRYPTION_KEY" }}
JWT_TOKEN: {{ index $autheliaprevious.data "JWT_TOKEN" }}
+ {{- if ( hasKey $autheliaprevious.data "ENCRYPTION_KEY" ) }}
+ ENCRYPTION_KEY: {{ index $autheliaprevious.data "ENCRYPTION_KEY" }}
+ {{- else }}
+ {{- $encryptionkey := randAlphaNum 100 }}
+ ENCRYPTION_KEY: {{ $encryptionkey | b64enc | quote }}
+ {{- end }}
{{- else }}
{{- $jwtsecret := randAlphaNum 50 }}
{{- $sessionsecret := randAlphaNum 50 }}
diff --git a/stable/authelia/8.0.12/templates/common.yaml b/stable/authelia/8.0.13/templates/common.yaml
similarity index 100%
rename from stable/authelia/8.0.12/templates/common.yaml
rename to stable/authelia/8.0.13/templates/common.yaml
diff --git a/stable/authelia/8.0.12/values.yaml b/stable/authelia/8.0.13/values.yaml
similarity index 100%
rename from stable/authelia/8.0.12/values.yaml
rename to stable/authelia/8.0.13/values.yaml