From b1d56afe381f9264d6a284746cff764eaeff083c Mon Sep 17 00:00:00 2001 From: TrueCharts-Bot Date: Sat, 9 Sep 2023 17:10:36 +0000 Subject: [PATCH] Commit new Chart releases for TrueCharts Signed-off-by: TrueCharts-Bot --- incubator/firezone/0.1.0/app-changelog.md | 4 --- .../firezone/0.1.0/templates/_secrets.tpl | 28 ----------------- .../firezone/{0.1.0 => 0.2.0}/CHANGELOG.md | 5 +++ .../firezone/{0.1.0 => 0.2.0}/Chart.yaml | 2 +- incubator/firezone/{0.1.0 => 0.2.0}/README.md | 0 incubator/firezone/0.2.0/app-changelog.md | 4 +++ .../firezone/{0.1.0 => 0.2.0}/app-readme.md | 0 .../{0.1.0 => 0.2.0}/charts/common-14.0.3.tgz | Bin .../firezone/{0.1.0 => 0.2.0}/ix_values.yaml | 0 .../firezone/{0.1.0 => 0.2.0}/questions.yaml | 0 .../{0.1.0 => 0.2.0}/templates/NOTES.txt | 0 .../firezone/0.2.0/templates/_secrets.tpl | 29 ++++++++++++++++++ .../{0.1.0 => 0.2.0}/templates/common.yaml | 0 .../firezone/{0.1.0 => 0.2.0}/values.yaml | 0 14 files changed, 39 insertions(+), 33 deletions(-) delete mode 100644 incubator/firezone/0.1.0/app-changelog.md delete mode 100644 incubator/firezone/0.1.0/templates/_secrets.tpl rename incubator/firezone/{0.1.0 => 0.2.0}/CHANGELOG.md (93%) rename incubator/firezone/{0.1.0 => 0.2.0}/Chart.yaml (98%) rename incubator/firezone/{0.1.0 => 0.2.0}/README.md (100%) create mode 100644 incubator/firezone/0.2.0/app-changelog.md rename incubator/firezone/{0.1.0 => 0.2.0}/app-readme.md (100%) rename incubator/firezone/{0.1.0 => 0.2.0}/charts/common-14.0.3.tgz (100%) rename incubator/firezone/{0.1.0 => 0.2.0}/ix_values.yaml (100%) rename incubator/firezone/{0.1.0 => 0.2.0}/questions.yaml (100%) rename incubator/firezone/{0.1.0 => 0.2.0}/templates/NOTES.txt (100%) create mode 100644 incubator/firezone/0.2.0/templates/_secrets.tpl rename incubator/firezone/{0.1.0 => 0.2.0}/templates/common.yaml (100%) rename incubator/firezone/{0.1.0 => 0.2.0}/values.yaml (100%) diff --git a/incubator/firezone/0.1.0/app-changelog.md b/incubator/firezone/0.1.0/app-changelog.md deleted file mode 100644 index 734433f77d..0000000000 --- a/incubator/firezone/0.1.0/app-changelog.md +++ /dev/null @@ -1,4 +0,0 @@ - - -## [firezone-0.1.0](https://github.com/truecharts/charts/compare/firezone-0.0.8...firezone-0.1.0) (2023-09-07) - diff --git a/incubator/firezone/0.1.0/templates/_secrets.tpl b/incubator/firezone/0.1.0/templates/_secrets.tpl deleted file mode 100644 index 0813312160..0000000000 --- a/incubator/firezone/0.1.0/templates/_secrets.tpl +++ /dev/null @@ -1,28 +0,0 @@ -{{/* Define the secrets */}} -{{- define "firezone.secrets" -}} -{{- $secretName := (printf "%s-firezone-secrets" (include "tc.v1.common.lib.chart.names.fullname" $)) -}} -{{- $keyGuardian := randAlphaNum 64 -}} -{{- $keyDatabase := randAlphaNum 64 -}} -{{- $keySecret := randAlphaNum 64 -}} -{{- $keyLive := randAlphaNum 64 -}} -{{- $keyCookieSigning := randAlphaNum 64 -}} -{{- $keyCookieEncrypt := randAlphaNum 64 -}} -{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) -}} - {{- $keyGuardian = index .data "GUARDIAN_SECRET_KEY" | b64dec -}} - {{- $keyDatabase = index .data "DATABASE_ENCRYPTION_KEY" | b64dec -}} - {{- $keySecret = index .data "SECRET_KEY_BASE" | b64dec -}} - {{- $keyLive = index .data "LIVE_VIEW_SIGNING_SALT" | b64dec -}} - {{- $keyCookieSigning = index .data "COOKIE_SIGNING_SALT" | b64dec -}} - {{- $keyCookieEncrypt = index .data "COOKIE_ENCRYPTION_SALT" | b64dec -}} -{{- end }} -enabled: true -data: - # firezone requires all these keys to be in base 64 format presented in the container, so this b64enc here is intentional - # https://www.firezone.dev/docs/reference/env-vars#secrets-and-encryption - GUARDIAN_SECRET_KEY: {{ $keyGuardian | b64enc }} - DATABASE_ENCRYPTION_KEY: {{ $keyDatabase | b64enc }} - SECRET_KEY_BASE: {{ $keySecret | b64enc }} - LIVE_VIEW_SIGNING_SALT: {{ $keyLive | b64enc }} - COOKIE_SIGNING_SALT: {{ $keyCookieSigning | b64enc }} - COOKIE_ENCRYPTION_SALT: {{ $keyCookieEncrypt | b64enc }} -{{- end -}} diff --git a/incubator/firezone/0.1.0/CHANGELOG.md b/incubator/firezone/0.2.0/CHANGELOG.md similarity index 93% rename from incubator/firezone/0.1.0/CHANGELOG.md rename to incubator/firezone/0.2.0/CHANGELOG.md index 68ac66f1cb..711512a7ab 100644 --- a/incubator/firezone/0.1.0/CHANGELOG.md +++ b/incubator/firezone/0.2.0/CHANGELOG.md @@ -4,6 +4,11 @@ +## [firezone-0.2.0](https://github.com/truecharts/charts/compare/firezone-0.1.0...firezone-0.2.0) (2023-09-09) + + + + ## [firezone-0.1.0](https://github.com/truecharts/charts/compare/firezone-0.0.8...firezone-0.1.0) (2023-09-07) diff --git a/incubator/firezone/0.1.0/Chart.yaml b/incubator/firezone/0.2.0/Chart.yaml similarity index 98% rename from incubator/firezone/0.1.0/Chart.yaml rename to incubator/firezone/0.2.0/Chart.yaml index 97232aad8d..c8cadfac92 100644 --- a/incubator/firezone/0.1.0/Chart.yaml +++ b/incubator/firezone/0.2.0/Chart.yaml @@ -22,7 +22,7 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/incubator/firezone - https://github.com/firezone/firezone type: application -version: 0.1.0 +version: 0.2.0 annotations: truecharts.org/catagories: | - vpn diff --git a/incubator/firezone/0.1.0/README.md b/incubator/firezone/0.2.0/README.md similarity index 100% rename from incubator/firezone/0.1.0/README.md rename to incubator/firezone/0.2.0/README.md diff --git a/incubator/firezone/0.2.0/app-changelog.md b/incubator/firezone/0.2.0/app-changelog.md new file mode 100644 index 0000000000..f99b3be4a6 --- /dev/null +++ b/incubator/firezone/0.2.0/app-changelog.md @@ -0,0 +1,4 @@ + + +## [firezone-0.2.0](https://github.com/truecharts/charts/compare/firezone-0.1.0...firezone-0.2.0) (2023-09-09) + diff --git a/incubator/firezone/0.1.0/app-readme.md b/incubator/firezone/0.2.0/app-readme.md similarity index 100% rename from incubator/firezone/0.1.0/app-readme.md rename to incubator/firezone/0.2.0/app-readme.md diff --git a/incubator/firezone/0.1.0/charts/common-14.0.3.tgz b/incubator/firezone/0.2.0/charts/common-14.0.3.tgz similarity index 100% rename from incubator/firezone/0.1.0/charts/common-14.0.3.tgz rename to incubator/firezone/0.2.0/charts/common-14.0.3.tgz diff --git a/incubator/firezone/0.1.0/ix_values.yaml b/incubator/firezone/0.2.0/ix_values.yaml similarity index 100% rename from incubator/firezone/0.1.0/ix_values.yaml rename to incubator/firezone/0.2.0/ix_values.yaml diff --git a/incubator/firezone/0.1.0/questions.yaml b/incubator/firezone/0.2.0/questions.yaml similarity index 100% rename from incubator/firezone/0.1.0/questions.yaml rename to incubator/firezone/0.2.0/questions.yaml diff --git a/incubator/firezone/0.1.0/templates/NOTES.txt b/incubator/firezone/0.2.0/templates/NOTES.txt similarity index 100% rename from incubator/firezone/0.1.0/templates/NOTES.txt rename to incubator/firezone/0.2.0/templates/NOTES.txt diff --git a/incubator/firezone/0.2.0/templates/_secrets.tpl b/incubator/firezone/0.2.0/templates/_secrets.tpl new file mode 100644 index 0000000000..9414aa9eb6 --- /dev/null +++ b/incubator/firezone/0.2.0/templates/_secrets.tpl @@ -0,0 +1,29 @@ +{{/* Define the secrets */}} +{{- define "firezone.secrets" -}} +{{- $secretName := (printf "%s-firezone-secrets" (include "tc.v1.common.lib.chart.names.fullname" $)) -}} + +# firezone requires all these keys to be in base 64 | b64enc format presented in the container, so this b64enc here is intentional +# https://www.firezone.dev/docs/reference/env-vars#secrets-and-encryption +{{- $keyGuardian := randAlphaNum 64 | b64enc -}} +{{- $keyDatabase := randAlphaNum 64 | b64enc -}} +{{- $keySecret := randAlphaNum 64 | b64enc -}} +{{- $keyLive := randAlphaNum 64 | b64enc -}} +{{- $keyCookieSigning := randAlphaNum 64 | b64enc -}} +{{- $keyCookieEncrypt := randAlphaNum 64 | b64enc -}} +{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) -}} + {{- $keyGuardian = index .data "GUARDIAN_SECRET_KEY" | b64dec -}} + {{- $keyDatabase = index .data "DATABASE_ENCRYPTION_KEY" | b64dec -}} + {{- $keySecret = index .data "SECRET_KEY_BASE" | b64dec -}} + {{- $keyLive = index .data "LIVE_VIEW_SIGNING_SALT" | b64dec -}} + {{- $keyCookieSigning = index .data "COOKIE_SIGNING_SALT" | b64dec -}} + {{- $keyCookieEncrypt = index .data "COOKIE_ENCRYPTION_SALT" | b64dec -}} +{{- end }} +enabled: true +data: + GUARDIAN_SECRET_KEY: {{ $keyGuardian }} + DATABASE_ENCRYPTION_KEY: {{ $keyDatabase }} + SECRET_KEY_BASE: {{ $keySecret }} + LIVE_VIEW_SIGNING_SALT: {{ $keyLive }} + COOKIE_SIGNING_SALT: {{ $keyCookieSigning }} + COOKIE_ENCRYPTION_SALT: {{ $keyCookieEncrypt }} +{{- end -}} diff --git a/incubator/firezone/0.1.0/templates/common.yaml b/incubator/firezone/0.2.0/templates/common.yaml similarity index 100% rename from incubator/firezone/0.1.0/templates/common.yaml rename to incubator/firezone/0.2.0/templates/common.yaml diff --git a/incubator/firezone/0.1.0/values.yaml b/incubator/firezone/0.2.0/values.yaml similarity index 100% rename from incubator/firezone/0.1.0/values.yaml rename to incubator/firezone/0.2.0/values.yaml