From ac891376bcf22af5a065712c8f0ea25df918b0a7 Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Sat, 26 Mar 2022 11:40:11 +0100 Subject: [PATCH] chore(library): Move Common and Common test to seperate Repo --- charts/library/common-test/CHANGELOG.md | 130 -- charts/library/common-test/CONFIG.md | 8 - charts/library/common-test/Chart.yaml | 25 - charts/library/common-test/README.md | 37 - .../library/common-test/ci/basic-values.yaml | 81 - .../common-test/ci/codeserver-values.yaml | 89 -- .../common-test/ci/configmap-values.yaml | 95 -- .../common-test/ci/ingress-values.yaml | 190 --- .../common-test/ci/netshoot-values.yaml | 84 -- .../common-test/ci/networkpolicy-values.yaml | 127 -- .../common-test/ci/persistence-values.yaml | 205 --- .../library/common-test/ci/rbac-values.yaml | 64 - .../ci/simple-persistence-values.yaml | 91 -- .../common-test/ci/simple-service-values.yaml | 82 - charts/library/common-test/helm-values.md | 19 - charts/library/common-test/security.md | 123 -- .../library/common-test/templates/common.yaml | 1 - charts/library/common-test/test.yaml | 123 -- charts/library/common-test/values.yaml | 10 - charts/library/common/.helmignore | 23 - charts/library/common/CHANGELOG.md | 1322 ----------------- charts/library/common/Chart.yaml | 18 - charts/library/common/README.md | 29 - charts/library/common/helm-values.md | 287 ---- charts/library/common/security.md | 24 - .../templates/_HorizontalPodAutoscaler.tpl | 37 - charts/library/common/templates/_all.tpl | 11 - .../library/common/templates/_configmap.tpl | 19 - .../library/common/templates/_daemonset.tpl | 40 - .../library/common/templates/_deployment.tpl | 58 - charts/library/common/templates/_ingress.tpl | 51 - .../common/templates/_networkPolicy.tpl | 162 -- .../library/common/templates/_postSetup.tpl | 63 - charts/library/common/templates/_pvc.tpl | 16 - charts/library/common/templates/_rbac.tpl | 52 - charts/library/common/templates/_secret.tpl | 17 - charts/library/common/templates/_service.tpl | 43 - .../common/templates/_serviceaccount.tpl | 18 - .../library/common/templates/_statefulset.tpl | 68 - .../addons/code-server/_codeserver.tpl | 50 - .../addons/code-server/_container.tpl | 50 - .../templates/addons/code-server/_secret.tpl | 22 - .../templates/addons/code-server/_volume.tpl | 17 - .../templates/addons/netshoot/_container.tpl | 39 - .../templates/addons/netshoot/_netshoot.tpl | 13 - .../templates/addons/promtail/_configmap.tpl | 35 - .../templates/addons/promtail/_container.tpl | 45 - .../templates/addons/promtail/_promtail.tpl | 25 - .../templates/addons/promtail/_volume.tpl | 7 - .../common/templates/addons/vpn/_vpn.tpl | 20 - .../templates/addons/vpn/openvpn/_addon.tpl | 17 - .../addons/vpn/openvpn/_container.tpl | 72 - .../templates/addons/vpn/openvpn/_secret.tpl | 14 - .../templates/addons/vpn/wireguard/_addon.tpl | 11 - .../addons/vpn/wireguard/_container.tpl | 68 - .../common/templates/classes/_configmap.tpl | 37 - .../templates/classes/_externalInterfaces.tpl | 15 - .../common/templates/classes/_ingress.tpl | 130 -- .../library/common/templates/classes/_pvc.tpl | 50 - .../common/templates/classes/_service.tpl | 134 -- .../templates/classes/_service_ports.tpl | 27 - .../common/templates/configmaps/_portal.tpl | 94 -- .../common/templates/lib/cert/_certSecret.tpl | 30 - .../common/templates/lib/cert/_certs.tpl | 57 - .../templates/lib/chart/_annotations.tpl | 11 - .../templates/lib/chart/_capabilities.tpl | 19 - .../common/templates/lib/chart/_labels.tpl | 15 - .../common/templates/lib/chart/_names.tpl | 65 - .../common/templates/lib/chart/_setup.tpl | 14 - .../common/templates/lib/chart/_values.tpl | 283 ---- .../lib/controller/_autopermissions.tpl | 43 - .../templates/lib/controller/_container.tpl | 161 -- .../templates/lib/controller/_hostpatch.tpl | 21 - .../common/templates/lib/controller/_pod.tpl | 130 -- .../templates/lib/controller/_ports.tpl | 36 - .../templates/lib/controller/_probes.tpl | 50 - .../lib/controller/_volumeMounts.tpl | 45 - .../templates/lib/controller/_volumes.tpl | 67 - .../lib/dependencies/_mariadbInit.tpl | 37 - .../lib/dependencies/_mariadbInjector.tpl | 48 - .../lib/dependencies/_postgresInit.tpl | 23 - .../lib/dependencies/_postgresInjector.tpl | 48 - .../lib/dependencies/_redisInjector.tpl | 37 - .../templates/lib/utils/_affinities.tpl | 102 -- .../common/templates/lib/utils/_images.tpl | 39 - .../common/templates/lib/utils/_labels.tpl | 14 - .../common/templates/lib/utils/_storage.tpl | 35 - .../common/templates/lib/utils/_tplvalues.tpl | 13 - .../common/templates/lib/utils/_warnings.tpl | 14 - charts/library/common/values.yaml | 1118 -------------- 90 files changed, 7509 deletions(-) delete mode 100644 charts/library/common-test/CHANGELOG.md delete mode 100644 charts/library/common-test/CONFIG.md delete mode 100644 charts/library/common-test/Chart.yaml delete mode 100644 charts/library/common-test/README.md delete mode 100644 charts/library/common-test/ci/basic-values.yaml delete mode 100644 charts/library/common-test/ci/codeserver-values.yaml delete mode 100644 charts/library/common-test/ci/configmap-values.yaml delete mode 100644 charts/library/common-test/ci/ingress-values.yaml delete mode 100644 charts/library/common-test/ci/netshoot-values.yaml delete mode 100644 charts/library/common-test/ci/networkpolicy-values.yaml delete mode 100644 charts/library/common-test/ci/persistence-values.yaml delete mode 100644 charts/library/common-test/ci/rbac-values.yaml delete mode 100644 charts/library/common-test/ci/simple-persistence-values.yaml delete mode 100644 charts/library/common-test/ci/simple-service-values.yaml delete mode 100644 charts/library/common-test/helm-values.md delete mode 100644 charts/library/common-test/security.md delete mode 100644 charts/library/common-test/templates/common.yaml delete mode 100644 charts/library/common-test/test.yaml delete mode 100644 charts/library/common-test/values.yaml delete mode 100644 charts/library/common/.helmignore delete mode 100644 charts/library/common/CHANGELOG.md delete mode 100644 charts/library/common/Chart.yaml delete mode 100644 charts/library/common/README.md delete mode 100644 charts/library/common/helm-values.md delete mode 100644 charts/library/common/security.md delete mode 100644 charts/library/common/templates/_HorizontalPodAutoscaler.tpl delete mode 100644 charts/library/common/templates/_all.tpl delete mode 100644 charts/library/common/templates/_configmap.tpl delete mode 100644 charts/library/common/templates/_daemonset.tpl delete mode 100644 charts/library/common/templates/_deployment.tpl delete mode 100644 charts/library/common/templates/_ingress.tpl delete mode 100644 charts/library/common/templates/_networkPolicy.tpl delete mode 100644 charts/library/common/templates/_postSetup.tpl delete mode 100644 charts/library/common/templates/_pvc.tpl delete mode 100644 charts/library/common/templates/_rbac.tpl delete mode 100644 charts/library/common/templates/_secret.tpl delete mode 100644 charts/library/common/templates/_service.tpl delete mode 100644 charts/library/common/templates/_serviceaccount.tpl delete mode 100644 charts/library/common/templates/_statefulset.tpl delete mode 100644 charts/library/common/templates/addons/code-server/_codeserver.tpl delete mode 100644 charts/library/common/templates/addons/code-server/_container.tpl delete mode 100644 charts/library/common/templates/addons/code-server/_secret.tpl delete mode 100644 charts/library/common/templates/addons/code-server/_volume.tpl delete mode 100644 charts/library/common/templates/addons/netshoot/_container.tpl delete mode 100644 charts/library/common/templates/addons/netshoot/_netshoot.tpl delete mode 100644 charts/library/common/templates/addons/promtail/_configmap.tpl delete mode 100644 charts/library/common/templates/addons/promtail/_container.tpl delete mode 100644 charts/library/common/templates/addons/promtail/_promtail.tpl delete mode 100644 charts/library/common/templates/addons/promtail/_volume.tpl delete mode 100644 charts/library/common/templates/addons/vpn/_vpn.tpl delete mode 100644 charts/library/common/templates/addons/vpn/openvpn/_addon.tpl delete mode 100644 charts/library/common/templates/addons/vpn/openvpn/_container.tpl delete mode 100644 charts/library/common/templates/addons/vpn/openvpn/_secret.tpl delete mode 100644 charts/library/common/templates/addons/vpn/wireguard/_addon.tpl delete mode 100644 charts/library/common/templates/addons/vpn/wireguard/_container.tpl delete mode 100644 charts/library/common/templates/classes/_configmap.tpl delete mode 100644 charts/library/common/templates/classes/_externalInterfaces.tpl delete mode 100644 charts/library/common/templates/classes/_ingress.tpl delete mode 100644 charts/library/common/templates/classes/_pvc.tpl delete mode 100644 charts/library/common/templates/classes/_service.tpl delete mode 100644 charts/library/common/templates/classes/_service_ports.tpl delete mode 100644 charts/library/common/templates/configmaps/_portal.tpl delete mode 100644 charts/library/common/templates/lib/cert/_certSecret.tpl delete mode 100644 charts/library/common/templates/lib/cert/_certs.tpl delete mode 100644 charts/library/common/templates/lib/chart/_annotations.tpl delete mode 100644 charts/library/common/templates/lib/chart/_capabilities.tpl delete mode 100644 charts/library/common/templates/lib/chart/_labels.tpl delete mode 100644 charts/library/common/templates/lib/chart/_names.tpl delete mode 100644 charts/library/common/templates/lib/chart/_setup.tpl delete mode 100644 charts/library/common/templates/lib/chart/_values.tpl delete mode 100644 charts/library/common/templates/lib/controller/_autopermissions.tpl delete mode 100644 charts/library/common/templates/lib/controller/_container.tpl delete mode 100644 charts/library/common/templates/lib/controller/_hostpatch.tpl delete mode 100644 charts/library/common/templates/lib/controller/_pod.tpl delete mode 100644 charts/library/common/templates/lib/controller/_ports.tpl delete mode 100644 charts/library/common/templates/lib/controller/_probes.tpl delete mode 100644 charts/library/common/templates/lib/controller/_volumeMounts.tpl delete mode 100644 charts/library/common/templates/lib/controller/_volumes.tpl delete mode 100644 charts/library/common/templates/lib/dependencies/_mariadbInit.tpl delete mode 100644 charts/library/common/templates/lib/dependencies/_mariadbInjector.tpl delete mode 100644 charts/library/common/templates/lib/dependencies/_postgresInit.tpl delete mode 100644 charts/library/common/templates/lib/dependencies/_postgresInjector.tpl delete mode 100644 charts/library/common/templates/lib/dependencies/_redisInjector.tpl delete mode 100644 charts/library/common/templates/lib/utils/_affinities.tpl delete mode 100644 charts/library/common/templates/lib/utils/_images.tpl delete mode 100644 charts/library/common/templates/lib/utils/_labels.tpl delete mode 100644 charts/library/common/templates/lib/utils/_storage.tpl delete mode 100644 charts/library/common/templates/lib/utils/_tplvalues.tpl delete mode 100644 charts/library/common/templates/lib/utils/_warnings.tpl delete mode 100644 charts/library/common/values.yaml diff --git a/charts/library/common-test/CHANGELOG.md b/charts/library/common-test/CHANGELOG.md deleted file mode 100644 index 327ef3f3995..00000000000 --- a/charts/library/common-test/CHANGELOG.md +++ /dev/null @@ -1,130 +0,0 @@ -# Changelog
- - - -### [common-test-3.3.8](https://github.com/truecharts/apps/compare/common-test-3.3.7...common-test-3.3.8) (2022-03-07) - -#### Chore - -* update docker general non-major ([#2046](https://github.com/truecharts/apps/issues/2046)) - - - - -### [common-test-3.3.7](https://github.com/truecharts/apps/compare/common-test-3.3.6...common-test-3.3.7) (2021-12-08) - -#### Fix - -* correct common version reference - - - - -### common-test-3.3.6 (2021-12-05) - -#### Chore - -* move all container references to TCCR ([#1448](https://github.com/truecharts/apps/issues/1448)) -* retrigger common release -* bump common -* update non-major ([#1466](https://github.com/truecharts/apps/issues/1466)) -* update non-major ([#1449](https://github.com/truecharts/apps/issues/1449)) -* update common - -#### Fix - -* use version-range -* move deps back to ghcr for now. - - - - -### [common-test-3.3.4](https://github.com/truecharts/apps/compare/common-test-3.3.2...common-test-3.3.4) (2021-12-05) - -#### Chore - -* update non-major ([#1466](https://github.com/truecharts/apps/issues/1466)) - -#### Fix - -* move deps back to ghcr for now. - - - - -### [common-test-3.3.2](https://github.com/truecharts/apps/compare/common-test-3.3.1...common-test-3.3.2) (2021-12-05) - -#### Fix - -* use version-range - - - - -### [common-test-3.3.1](https://github.com/truecharts/apps/compare/common-test-3.3.0...common-test-3.3.1) (2021-12-03) - -#### Chore - -* move all container references to TCCR ([#1448](https://github.com/truecharts/apps/issues/1448)) -* update non-major ([#1449](https://github.com/truecharts/apps/issues/1449)) - - - - -### [common-test-3.3.0](https://github.com/truecharts/apps/compare/common-test-3.2.0...common-test-3.3.0) (2021-10-20) - -#### Chore - -* Project-Eclipse 5, move app-readme to automatic generation script ([#1181](https://github.com/truecharts/apps/issues/1181)) -* Project-Eclipse part 2, adapting and cleaning changelog ([#1173](https://github.com/truecharts/apps/issues/1173)) - -#### Security - -* Improve Snyk hardening advisory ([#1208](https://github.com/truecharts/apps/issues/1208)) - - - - -### [common-test-3.2.0](https://github.com/truecharts/apps/compare/common-test-3.1.5...common-test-3.2.0) (2021-09-28) - - - - -### [common-test-3.1.5](https://github.com/truecharts/apps/compare/common-test-3.1.4...common-test-3.1.5) (2021-09-28) - -#### Chore - -* update non-major ([#1046](https://github.com/truecharts/apps/issues/1046)) - - - - -### [common-test-3.1.4](https://github.com/truecharts/apps/compare/common-test-3.1.3...common-test-3.1.4) (2021-09-25) - - - - -### [common-test-3.1.3](https://github.com/truecharts/apps/compare/common-test-3.1.2...common-test-3.1.3) (2021-09-21) - -#### Chore - -* update non-major ([#1013](https://github.com/truecharts/apps/issues/1013)) - - - - -### [common-test-3.1.2](https://github.com/truecharts/apps/compare/common-test-3.1.1...common-test-3.1.2) (2021-09-14) - -#### Fix - -* make sure autopermissions sets the group owner correctly ([#994](https://github.com/truecharts/apps/issues/994)) - - - - -### [common-test-3.1.1](https://github.com/truecharts/apps/compare/common-test-3.1.0...common-test-3.1.1) (2021-09-14) - -#### Chore - -* Use bitnami instead of stock postgresql container ([#960](https://github.com/truecharts/apps/issues/960)) -* update non-major ([#987](https://github.com/truecharts/apps/issues/987)) diff --git a/charts/library/common-test/CONFIG.md b/charts/library/common-test/CONFIG.md deleted file mode 100644 index fc9b2fa2d5f..00000000000 --- a/charts/library/common-test/CONFIG.md +++ /dev/null @@ -1,8 +0,0 @@ -# Configuration Options - -##### Connecting to other apps -If you need to connect this App to other Apps on TrueNAS SCALE, please refer to our "Linking Apps Internally" quick-start guide: -https://truecharts.org/manual/Quick-Start%20Guides/14-linking-apps/ - -##### Available config options -In the future this page is going to contain an automated list of options available in the installation/edit UI. diff --git a/charts/library/common-test/Chart.yaml b/charts/library/common-test/Chart.yaml deleted file mode 100644 index 592697fd1fc..00000000000 --- a/charts/library/common-test/Chart.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: v2 -appVersion: "1.8.0" -dependencies: -- name: common - repository: file://../common - version: '>=0.0.1' -deprecated: false -description: Helper chart to test different use cases of the common library -home: https://github.com/truecharts/apps/tree/master/charts/library/common-test -icon: https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png -keywords: -- common-test -- truecharts -- common -- test -kubeVersion: '>=1.16.0-0' -maintainers: -- email: info@truecharts.org - name: TrueCharts - url: https://truecharts.org -name: common-test -sources: -- https://github.com/truecharts/apps/tree/master/charts/library/common-test -type: application -version: 3.3.8 diff --git a/charts/library/common-test/README.md b/charts/library/common-test/README.md deleted file mode 100644 index 22565c7701e..00000000000 --- a/charts/library/common-test/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# Introduction - -Helper chart to test different use cases of the common library - -TrueCharts are designed to be installed as TrueNAS SCALE app only. We can not guarantee this charts works as a stand-alone helm installation. -**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/apps/issues/new/choose)** - -## Source Code - -* - -## Requirements - -Kubernetes: `>=1.16.0-0` - -## Dependencies - -| Repository | Name | Version | -|------------|------|---------| -| file://../common | common | >=0.0.1 | - -## Installing the Chart - -To install this App on TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/03-Installing-an-App/). - -## Uninstalling the Chart - -To remove this App from TrueNAS SCALE check our [Quick-Start Guide](https://truecharts.org/manual/Quick-Start%20Guides/07-Deleting-an-App/). - -## Support - -- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Open-Apps/) first. -- See the [Wiki](https://truecharts.org) -- Check our [Discord](https://discord.gg/tVsPTHWTtr) -- Open a [issue](https://github.com/truecharts/apps/issues/new/choose) ---- -All Rights Reserved - The TrueCharts Project diff --git a/charts/library/common-test/ci/basic-values.yaml b/charts/library/common-test/ci/basic-values.yaml deleted file mode 100644 index d64b7952017..00000000000 --- a/charts/library/common-test/ci/basic-values.yaml +++ /dev/null @@ -1,81 +0,0 @@ -image: - repository: ghcr.io/truecharts/whoami - pullPolicy: IfNotPresent - tag: v1.8.0@sha256:057b682b74eae04bdfc994050bc3a9c1ba5c13cb6f415464828f9d4219e7331f - -service: - main: - ports: - main: - port: 8080 - -args: - - --port - - '8080' - -ingress: - main: - enabled: true - -probes: - liveness: - enabled: true - readiness: - enabled: true - startup: - enabled: true - - -"ixCertificateAuthorities": {} -"ixCertificates": - "1": - "CA_type_existing": false - "CA_type_intermediate": false - "CA_type_internal": false - "CSR": "" - "DN": "/C=US/O=iXsystems/CN=localhost/emailAddress=info@ixsystems.com/ST=Tennessee/L=Maryville/subjectAltName=DNS:localhost" - "cert_type": "CERTIFICATE" - "cert_type_CSR": false - "cert_type_existing": true - "cert_type_internal": false - "certificate": "-----BEGIN CERTIFICATE-----\nMIIDqjCCApKgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCVVMx\nEjAQBgNVBAoMCWlYc3lzdGVtczESMBAGA1UEAwwJbG9jYWxob3N0MSEwHwYJKoZI\nhvcNAQkBFhJpbmZvQGl4c3lzdGVtcy5jb20xEjAQBgNVBAgMCVRlbm5lc3NlZTES\nMBAGA1UEBwwJTWFyeXZpbGxlMB4XDTIwMDkyNTE0MDUzOFoXDTIyMTIyOTE0MDUz\nOFowgYAxCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlpWHN5c3RlbXMxEjAQBgNVBAMM\nCWxvY2FsaG9zdDEhMB8GCSqGSIb3DQEJARYSaW5mb0BpeHN5c3RlbXMuY29tMRIw\nEAYDVQQIDAlUZW5uZXNzZWUxEjAQBgNVBAcMCU1hcnl2aWxsZTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALpoGliii6X8DeoFdLcR7jjsfJIn3nC8f1pT\nLQ3RURHUOEyhPT3Z6TkhaHeHoj8D6kiXROhyJJq3kw5OeqGZisfpGQhkxjpxkfh9\nfAhlvhuLwCWHaMvSh1TaT+h9+eHfcx3un5CIaH8b1KYRBMH+jmKFpr7jkPNkBXLS\nMA7jKIIa8pD9R6lF4gAsbqJafCbT3R7bqkd9xp3n3j2YhqQzETU2lmu4fra3BPio\nofK47kSkguUC6mtk6VrDf2+QtCKlY0dtbF3e2ZBNWo1aj86sjCtoEmqOCMsPRLc/\nXwQcfEqHY4XfafXwqk0G0UxV2ce18xKoR/pN3MpLBZ65NzPnpn0CAwEAAaMtMCsw\nFAYDVR0RBA0wC4IJbG9jYWxob3N0MBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqG\nSIb3DQEBCwUAA4IBAQBFW1R037y7wllg/gRk9p2T1stiG8iIXosblmL4Ak1YToTQ\n/0to5GY2ZYW29+rbA4SDTS5eeu2YqZ0A/fF3wey7ggzMS7KyNBOvx5QBJRw3PJGn\n+THfhXvdfkOyeUC6KWRGLgl+/zBFvgh6vFDq3jmv0NI4ehVBTBMCJn7r6577S16T\nwtgKMCooizII0Odu5HIF10gTieFIH3PQYm9JBji9iyemb9Ht3wn7fXQptfGadz/l\nWz/Dv9+a6IOr7JVJMHnqAIvPzpkav4efuVPOX1zbhjg4K5g+nRYfjr5F5upOd0Y3\nznWTUBUyI7CXRkpHtSDXfEqKgnk/8uv7GWw+hyKr\n-----END CERTIFICATE-----\n" - "certificate_path": "/etc/certificates/freenas_default.crt" - "chain": false - "chain_list": [ - "-----BEGIN CERTIFICATE-----\nMIIDqjCCApKgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCVVMx\nEjAQBgNVBAoMCWlYc3lzdGVtczESMBAGA1UEAwwJbG9jYWxob3N0MSEwHwYJKoZI\nhvcNAQkBFhJpbmZvQGl4c3lzdGVtcy5jb20xEjAQBgNVBAgMCVRlbm5lc3NlZTES\nMBAGA1UEBwwJTWFyeXZpbGxlMB4XDTIwMDkyNTE0MDUzOFoXDTIyMTIyOTE0MDUz\nOFowgYAxCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlpWHN5c3RlbXMxEjAQBgNVBAMM\nCWxvY2FsaG9zdDEhMB8GCSqGSIb3DQEJARYSaW5mb0BpeHN5c3RlbXMuY29tMRIw\nEAYDVQQIDAlUZW5uZXNzZWUxEjAQBgNVBAcMCU1hcnl2aWxsZTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALpoGliii6X8DeoFdLcR7jjsfJIn3nC8f1pT\nLQ3RURHUOEyhPT3Z6TkhaHeHoj8D6kiXROhyJJq3kw5OeqGZisfpGQhkxjpxkfh9\nfAhlvhuLwCWHaMvSh1TaT+h9+eHfcx3un5CIaH8b1KYRBMH+jmKFpr7jkPNkBXLS\nMA7jKIIa8pD9R6lF4gAsbqJafCbT3R7bqkd9xp3n3j2YhqQzETU2lmu4fra3BPio\nofK47kSkguUC6mtk6VrDf2+QtCKlY0dtbF3e2ZBNWo1aj86sjCtoEmqOCMsPRLc/\nXwQcfEqHY4XfafXwqk0G0UxV2ce18xKoR/pN3MpLBZ65NzPnpn0CAwEAAaMtMCsw\nFAYDVR0RBA0wC4IJbG9jYWxob3N0MBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqG\nSIb3DQEBCwUAA4IBAQBFW1R037y7wllg/gRk9p2T1stiG8iIXosblmL4Ak1YToTQ\n/0to5GY2ZYW29+rbA4SDTS5eeu2YqZ0A/fF3wey7ggzMS7KyNBOvx5QBJRw3PJGn\n+THfhXvdfkOyeUC6KWRGLgl+/zBFvgh6vFDq3jmv0NI4ehVBTBMCJn7r6577S16T\nwtgKMCooizII0Odu5HIF10gTieFIH3PQYm9JBji9iyemb9Ht3wn7fXQptfGadz/l\nWz/Dv9+a6IOr7JVJMHnqAIvPzpkav4efuVPOX1zbhjg4K5g+nRYfjr5F5upOd0Y3\nznWTUBUyI7CXRkpHtSDXfEqKgnk/8uv7GWw+hyKr\n-----END CERTIFICATE-----\n" - ] - "city": "Maryville" - "common": "localhost" - "country": "US" - "csr_path": "/etc/certificates/freenas_default.csr" - "digest_algorithm": "SHA256" - "email": "info@ixsystems.com" - "extensions": - "ExtendedKeyUsage": "TLS Web Server Authentication" - "SubjectAltName": "DNS:localhost" - "fingerprint": "9C:5A:1D:1B:E7:9E:0B:89:2B:37:F4:19:83:ED:3C:6B:D8:14:0D:9B" - "from": "Fri Sep 25 16:05:38 2020" - "id": 1 - "internal": "NO" - "issuer": "external" - "key_length": 2048 - "key_type": "RSA" - "lifetime": 825 - "name": "freenas_default" - "organization": "iXsystems" - "organizational_unit": "" - "parsed": true - "privatekey": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC6aBpYooul/A3q\nBXS3Ee447HySJ95wvH9aUy0N0VER1DhMoT092ek5IWh3h6I/A+pIl0TociSat5MO\nTnqhmYrH6RkIZMY6cZH4fXwIZb4bi8Alh2jL0odU2k/offnh33Md7p+QiGh/G9Sm\nEQTB/o5ihaa+45DzZAVy0jAO4yiCGvKQ/UepReIALG6iWnwm090e26pHfcad5949\nmIakMxE1NpZruH62twT4qKHyuO5EpILlAuprZOlaw39vkLQipWNHbWxd3tmQTVqN\nWo/OrIwraBJqjgjLD0S3P18EHHxKh2OF32n18KpNBtFMVdnHtfMSqEf6TdzKSwWe\nuTcz56Z9AgMBAAECggEARwcb4uIs7BZbBu0FSCyg5TfXT6m5bKOmszg2VqmHho+i\n1DAsMcEyyP4d3E3mWLSZNQfOzfOQVxPUCQOGXsUuyHXdgAFGN0bHJDRMara59a0O\njj5GhEO4JXD6OdCmwpZuOt2OF3iiuKxWHuElOvZQMuJSYzI7LULTgKjufv23lbsf\nxMO/v9yi57c5EGgnQ8siLKOy/FQZapn4Z9qKn+lVyk5gfaKP0pDsvV4d7nGYMDD2\nYijfkSyNecApFdtWiLE5zLUlvF6oNj8o66z3YrVNKrCPzhA/5Rkkwwk32SNxvKU3\nVZFSNPeOZ60BicxYcWO+b2aAa0WF+uazJAZ4q52gUQKBgQDu88R+0wm76secYkzE\nQglteLNZKFcvth0kI5xH42Hmk9IXkGimFoDJCIrLAuopyGnfNmqmh2is3QUMUPdR\n/wDLnKc4MCezEidNoD2RBC+bzM1hB9oye/b5sOZUDFXSa0k4XSLu1UEuy1yWhkuS\n6JjY1KQfc4FN0K0Fjqqo7UCTCwKBgQDHtKQh/NvMJ2ok4YW+/QAsus4mEK9eCyUy\nOuyDszQYrGvjkS7STKJVNxGLhWb0XKSIAxMZ66b1MwOt+71h7xNn6pcancfVdK7F\n1Xl5J+76SwbXSgQwTZuoMDxPIvZn7v/2ep5Ni/BcOhMcPIcobWb/OmXrFN1brBvo\nlFNQyWWhlwKBgFDAyPMjVvLO0U6kWdUpjA4W8GV9IJnbLdX8wt/4lClcY2/bOcKH\ncFaAMIeTIJemR0FMHpbQxCtHNmGHK03mo9orwsdWXtRBmk69jJDpnT1F5VKZWMAe\n7MRNaEmXMZm+8CvALgIQx8qMp2mnUPsA6Ea+9gg6/MPTdeWe5UXZiC0pAoGAGtSt\nPJfBXBNrklruYjORo3DRo5GYThVHQRFjl2orNKltsVxfIwgCw1ortEgPBgOwY0mu\ndkwP2V+qPeTVk+PQAqUk+gF6yLXtiUzeDiYMWHpeB+y81VSH9jfM0oELA/m7T/03\naYnEmE+BI8kKC6dvMBlDeisKdneQJFZRP0hfrC8CgYEAgYIyCGwcydKpe2Nkj0Fz\nKTtCMC/k4DvJfd5Kb9AbmrPUfKgA9Xj4GT6yPG6uBMi8r5etvLCKJ2x2NtN024a8\nQJLATYPrSsaZkE+9zM0j5nYAgbKpxBhlDzDAzn//3ByVzfgJ25S80XhTI2lfbLH/\nU07ssxdZaQCo+WuD82OvNcg=\n-----END PRIVATE KEY-----\n" - "privatekey_path": "/etc/certificates/freenas_default.key" - "revoked": false - "revoked_date": "" - "root_path": "/etc/certificates" - "san": [ - "DNS:localhost" - ] - "serial": 1 - "signedby": "" - "state": "Tennessee" - "subject_name_hash": 3193428416 - "type": 8 - "until": "Thu Dec 29 15:05:38 2022" diff --git a/charts/library/common-test/ci/codeserver-values.yaml b/charts/library/common-test/ci/codeserver-values.yaml deleted file mode 100644 index 9292a1f9f06..00000000000 --- a/charts/library/common-test/ci/codeserver-values.yaml +++ /dev/null @@ -1,89 +0,0 @@ -image: - repository: ghcr.io/truecharts/whoami - pullPolicy: IfNotPresent - tag: v1.8.0@sha256:057b682b74eae04bdfc994050bc3a9c1ba5c13cb6f415464828f9d4219e7331f - -service: - main: - ports: - main: - port: 8080 - -args: - - --port - - '8080' - -ingress: - main: - enabled: true - -probes: - liveness: - enabled: true - readiness: - enabled: true - startup: - enabled: true - -addons: - codeserver: - enabled: true - service: - type: NodePort - ports: - codeserver: - nodePort: 30067 - -"ixCertificateAuthorities": {} -"ixCertificates": - "1": - "CA_type_existing": false - "CA_type_intermediate": false - "CA_type_internal": false - "CSR": "" - "DN": "/C=US/O=iXsystems/CN=localhost/emailAddress=info@ixsystems.com/ST=Tennessee/L=Maryville/subjectAltName=DNS:localhost" - "cert_type": "CERTIFICATE" - "cert_type_CSR": false - "cert_type_existing": true - "cert_type_internal": false - "certificate": "-----BEGIN CERTIFICATE-----\nMIIDqjCCApKgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCVVMx\nEjAQBgNVBAoMCWlYc3lzdGVtczESMBAGA1UEAwwJbG9jYWxob3N0MSEwHwYJKoZI\nhvcNAQkBFhJpbmZvQGl4c3lzdGVtcy5jb20xEjAQBgNVBAgMCVRlbm5lc3NlZTES\nMBAGA1UEBwwJTWFyeXZpbGxlMB4XDTIwMDkyNTE0MDUzOFoXDTIyMTIyOTE0MDUz\nOFowgYAxCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlpWHN5c3RlbXMxEjAQBgNVBAMM\nCWxvY2FsaG9zdDEhMB8GCSqGSIb3DQEJARYSaW5mb0BpeHN5c3RlbXMuY29tMRIw\nEAYDVQQIDAlUZW5uZXNzZWUxEjAQBgNVBAcMCU1hcnl2aWxsZTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALpoGliii6X8DeoFdLcR7jjsfJIn3nC8f1pT\nLQ3RURHUOEyhPT3Z6TkhaHeHoj8D6kiXROhyJJq3kw5OeqGZisfpGQhkxjpxkfh9\nfAhlvhuLwCWHaMvSh1TaT+h9+eHfcx3un5CIaH8b1KYRBMH+jmKFpr7jkPNkBXLS\nMA7jKIIa8pD9R6lF4gAsbqJafCbT3R7bqkd9xp3n3j2YhqQzETU2lmu4fra3BPio\nofK47kSkguUC6mtk6VrDf2+QtCKlY0dtbF3e2ZBNWo1aj86sjCtoEmqOCMsPRLc/\nXwQcfEqHY4XfafXwqk0G0UxV2ce18xKoR/pN3MpLBZ65NzPnpn0CAwEAAaMtMCsw\nFAYDVR0RBA0wC4IJbG9jYWxob3N0MBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqG\nSIb3DQEBCwUAA4IBAQBFW1R037y7wllg/gRk9p2T1stiG8iIXosblmL4Ak1YToTQ\n/0to5GY2ZYW29+rbA4SDTS5eeu2YqZ0A/fF3wey7ggzMS7KyNBOvx5QBJRw3PJGn\n+THfhXvdfkOyeUC6KWRGLgl+/zBFvgh6vFDq3jmv0NI4ehVBTBMCJn7r6577S16T\nwtgKMCooizII0Odu5HIF10gTieFIH3PQYm9JBji9iyemb9Ht3wn7fXQptfGadz/l\nWz/Dv9+a6IOr7JVJMHnqAIvPzpkav4efuVPOX1zbhjg4K5g+nRYfjr5F5upOd0Y3\nznWTUBUyI7CXRkpHtSDXfEqKgnk/8uv7GWw+hyKr\n-----END CERTIFICATE-----\n" - "certificate_path": "/etc/certificates/freenas_default.crt" - "chain": false - "chain_list": [ - "-----BEGIN CERTIFICATE-----\nMIIDqjCCApKgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCVVMx\nEjAQBgNVBAoMCWlYc3lzdGVtczESMBAGA1UEAwwJbG9jYWxob3N0MSEwHwYJKoZI\nhvcNAQkBFhJpbmZvQGl4c3lzdGVtcy5jb20xEjAQBgNVBAgMCVRlbm5lc3NlZTES\nMBAGA1UEBwwJTWFyeXZpbGxlMB4XDTIwMDkyNTE0MDUzOFoXDTIyMTIyOTE0MDUz\nOFowgYAxCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlpWHN5c3RlbXMxEjAQBgNVBAMM\nCWxvY2FsaG9zdDEhMB8GCSqGSIb3DQEJARYSaW5mb0BpeHN5c3RlbXMuY29tMRIw\nEAYDVQQIDAlUZW5uZXNzZWUxEjAQBgNVBAcMCU1hcnl2aWxsZTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALpoGliii6X8DeoFdLcR7jjsfJIn3nC8f1pT\nLQ3RURHUOEyhPT3Z6TkhaHeHoj8D6kiXROhyJJq3kw5OeqGZisfpGQhkxjpxkfh9\nfAhlvhuLwCWHaMvSh1TaT+h9+eHfcx3un5CIaH8b1KYRBMH+jmKFpr7jkPNkBXLS\nMA7jKIIa8pD9R6lF4gAsbqJafCbT3R7bqkd9xp3n3j2YhqQzETU2lmu4fra3BPio\nofK47kSkguUC6mtk6VrDf2+QtCKlY0dtbF3e2ZBNWo1aj86sjCtoEmqOCMsPRLc/\nXwQcfEqHY4XfafXwqk0G0UxV2ce18xKoR/pN3MpLBZ65NzPnpn0CAwEAAaMtMCsw\nFAYDVR0RBA0wC4IJbG9jYWxob3N0MBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqG\nSIb3DQEBCwUAA4IBAQBFW1R037y7wllg/gRk9p2T1stiG8iIXosblmL4Ak1YToTQ\n/0to5GY2ZYW29+rbA4SDTS5eeu2YqZ0A/fF3wey7ggzMS7KyNBOvx5QBJRw3PJGn\n+THfhXvdfkOyeUC6KWRGLgl+/zBFvgh6vFDq3jmv0NI4ehVBTBMCJn7r6577S16T\nwtgKMCooizII0Odu5HIF10gTieFIH3PQYm9JBji9iyemb9Ht3wn7fXQptfGadz/l\nWz/Dv9+a6IOr7JVJMHnqAIvPzpkav4efuVPOX1zbhjg4K5g+nRYfjr5F5upOd0Y3\nznWTUBUyI7CXRkpHtSDXfEqKgnk/8uv7GWw+hyKr\n-----END CERTIFICATE-----\n" - ] - "city": "Maryville" - "common": "localhost" - "country": "US" - "csr_path": "/etc/certificates/freenas_default.csr" - "digest_algorithm": "SHA256" - "email": "info@ixsystems.com" - "extensions": - "ExtendedKeyUsage": "TLS Web Server Authentication" - "SubjectAltName": "DNS:localhost" - "fingerprint": "9C:5A:1D:1B:E7:9E:0B:89:2B:37:F4:19:83:ED:3C:6B:D8:14:0D:9B" - "from": "Fri Sep 25 16:05:38 2020" - "id": 1 - "internal": "NO" - "issuer": "external" - "key_length": 2048 - "key_type": "RSA" - "lifetime": 825 - "name": "freenas_default" - "organization": "iXsystems" - "organizational_unit": "" - "parsed": true - "privatekey": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC6aBpYooul/A3q\nBXS3Ee447HySJ95wvH9aUy0N0VER1DhMoT092ek5IWh3h6I/A+pIl0TociSat5MO\nTnqhmYrH6RkIZMY6cZH4fXwIZb4bi8Alh2jL0odU2k/offnh33Md7p+QiGh/G9Sm\nEQTB/o5ihaa+45DzZAVy0jAO4yiCGvKQ/UepReIALG6iWnwm090e26pHfcad5949\nmIakMxE1NpZruH62twT4qKHyuO5EpILlAuprZOlaw39vkLQipWNHbWxd3tmQTVqN\nWo/OrIwraBJqjgjLD0S3P18EHHxKh2OF32n18KpNBtFMVdnHtfMSqEf6TdzKSwWe\nuTcz56Z9AgMBAAECggEARwcb4uIs7BZbBu0FSCyg5TfXT6m5bKOmszg2VqmHho+i\n1DAsMcEyyP4d3E3mWLSZNQfOzfOQVxPUCQOGXsUuyHXdgAFGN0bHJDRMara59a0O\njj5GhEO4JXD6OdCmwpZuOt2OF3iiuKxWHuElOvZQMuJSYzI7LULTgKjufv23lbsf\nxMO/v9yi57c5EGgnQ8siLKOy/FQZapn4Z9qKn+lVyk5gfaKP0pDsvV4d7nGYMDD2\nYijfkSyNecApFdtWiLE5zLUlvF6oNj8o66z3YrVNKrCPzhA/5Rkkwwk32SNxvKU3\nVZFSNPeOZ60BicxYcWO+b2aAa0WF+uazJAZ4q52gUQKBgQDu88R+0wm76secYkzE\nQglteLNZKFcvth0kI5xH42Hmk9IXkGimFoDJCIrLAuopyGnfNmqmh2is3QUMUPdR\n/wDLnKc4MCezEidNoD2RBC+bzM1hB9oye/b5sOZUDFXSa0k4XSLu1UEuy1yWhkuS\n6JjY1KQfc4FN0K0Fjqqo7UCTCwKBgQDHtKQh/NvMJ2ok4YW+/QAsus4mEK9eCyUy\nOuyDszQYrGvjkS7STKJVNxGLhWb0XKSIAxMZ66b1MwOt+71h7xNn6pcancfVdK7F\n1Xl5J+76SwbXSgQwTZuoMDxPIvZn7v/2ep5Ni/BcOhMcPIcobWb/OmXrFN1brBvo\nlFNQyWWhlwKBgFDAyPMjVvLO0U6kWdUpjA4W8GV9IJnbLdX8wt/4lClcY2/bOcKH\ncFaAMIeTIJemR0FMHpbQxCtHNmGHK03mo9orwsdWXtRBmk69jJDpnT1F5VKZWMAe\n7MRNaEmXMZm+8CvALgIQx8qMp2mnUPsA6Ea+9gg6/MPTdeWe5UXZiC0pAoGAGtSt\nPJfBXBNrklruYjORo3DRo5GYThVHQRFjl2orNKltsVxfIwgCw1ortEgPBgOwY0mu\ndkwP2V+qPeTVk+PQAqUk+gF6yLXtiUzeDiYMWHpeB+y81VSH9jfM0oELA/m7T/03\naYnEmE+BI8kKC6dvMBlDeisKdneQJFZRP0hfrC8CgYEAgYIyCGwcydKpe2Nkj0Fz\nKTtCMC/k4DvJfd5Kb9AbmrPUfKgA9Xj4GT6yPG6uBMi8r5etvLCKJ2x2NtN024a8\nQJLATYPrSsaZkE+9zM0j5nYAgbKpxBhlDzDAzn//3ByVzfgJ25S80XhTI2lfbLH/\nU07ssxdZaQCo+WuD82OvNcg=\n-----END PRIVATE KEY-----\n" - "privatekey_path": "/etc/certificates/freenas_default.key" - "revoked": false - "revoked_date": "" - "root_path": "/etc/certificates" - "san": [ - "DNS:localhost" - ] - "serial": 1 - "signedby": "" - "state": "Tennessee" - "subject_name_hash": 3193428416 - "type": 8 - "until": "Thu Dec 29 15:05:38 2022" diff --git a/charts/library/common-test/ci/configmap-values.yaml b/charts/library/common-test/ci/configmap-values.yaml deleted file mode 100644 index 65cfd82d0cf..00000000000 --- a/charts/library/common-test/ci/configmap-values.yaml +++ /dev/null @@ -1,95 +0,0 @@ -image: - repository: ghcr.io/truecharts/whoami - pullPolicy: IfNotPresent - tag: v1.8.0@sha256:057b682b74eae04bdfc994050bc3a9c1ba5c13cb6f415464828f9d4219e7331f - -service: - main: - ports: - main: - port: 8080 - -args: - - --port - - '8080' - -ingress: - main: - enabled: true - -probes: - liveness: - enabled: true - readiness: - enabled: true - startup: - enabled: true - - -configmap: - configmap-example: - enabled: true - data: - test.yaml: "testfile content" - -persistence: - configmap: - enabled: true - type: configMap - objectName: '{{ include "common.names.fullname" . -}}-configmap-example' - mountPath: /configmapmount - - -"ixCertificateAuthorities": {} -"ixCertificates": - "1": - "CA_type_existing": false - "CA_type_intermediate": false - "CA_type_internal": false - "CSR": "" - "DN": "/C=US/O=iXsystems/CN=localhost/emailAddress=info@ixsystems.com/ST=Tennessee/L=Maryville/subjectAltName=DNS:localhost" - "cert_type": "CERTIFICATE" - "cert_type_CSR": false - "cert_type_existing": true - "cert_type_internal": false - "certificate": "-----BEGIN CERTIFICATE-----\nMIIDqjCCApKgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCVVMx\nEjAQBgNVBAoMCWlYc3lzdGVtczESMBAGA1UEAwwJbG9jYWxob3N0MSEwHwYJKoZI\nhvcNAQkBFhJpbmZvQGl4c3lzdGVtcy5jb20xEjAQBgNVBAgMCVRlbm5lc3NlZTES\nMBAGA1UEBwwJTWFyeXZpbGxlMB4XDTIwMDkyNTE0MDUzOFoXDTIyMTIyOTE0MDUz\nOFowgYAxCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlpWHN5c3RlbXMxEjAQBgNVBAMM\nCWxvY2FsaG9zdDEhMB8GCSqGSIb3DQEJARYSaW5mb0BpeHN5c3RlbXMuY29tMRIw\nEAYDVQQIDAlUZW5uZXNzZWUxEjAQBgNVBAcMCU1hcnl2aWxsZTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALpoGliii6X8DeoFdLcR7jjsfJIn3nC8f1pT\nLQ3RURHUOEyhPT3Z6TkhaHeHoj8D6kiXROhyJJq3kw5OeqGZisfpGQhkxjpxkfh9\nfAhlvhuLwCWHaMvSh1TaT+h9+eHfcx3un5CIaH8b1KYRBMH+jmKFpr7jkPNkBXLS\nMA7jKIIa8pD9R6lF4gAsbqJafCbT3R7bqkd9xp3n3j2YhqQzETU2lmu4fra3BPio\nofK47kSkguUC6mtk6VrDf2+QtCKlY0dtbF3e2ZBNWo1aj86sjCtoEmqOCMsPRLc/\nXwQcfEqHY4XfafXwqk0G0UxV2ce18xKoR/pN3MpLBZ65NzPnpn0CAwEAAaMtMCsw\nFAYDVR0RBA0wC4IJbG9jYWxob3N0MBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqG\nSIb3DQEBCwUAA4IBAQBFW1R037y7wllg/gRk9p2T1stiG8iIXosblmL4Ak1YToTQ\n/0to5GY2ZYW29+rbA4SDTS5eeu2YqZ0A/fF3wey7ggzMS7KyNBOvx5QBJRw3PJGn\n+THfhXvdfkOyeUC6KWRGLgl+/zBFvgh6vFDq3jmv0NI4ehVBTBMCJn7r6577S16T\nwtgKMCooizII0Odu5HIF10gTieFIH3PQYm9JBji9iyemb9Ht3wn7fXQptfGadz/l\nWz/Dv9+a6IOr7JVJMHnqAIvPzpkav4efuVPOX1zbhjg4K5g+nRYfjr5F5upOd0Y3\nznWTUBUyI7CXRkpHtSDXfEqKgnk/8uv7GWw+hyKr\n-----END CERTIFICATE-----\n" - "certificate_path": "/etc/certificates/freenas_default.crt" - "chain": false - "chain_list": [ - "-----BEGIN CERTIFICATE-----\nMIIDqjCCApKgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCVVMx\nEjAQBgNVBAoMCWlYc3lzdGVtczESMBAGA1UEAwwJbG9jYWxob3N0MSEwHwYJKoZI\nhvcNAQkBFhJpbmZvQGl4c3lzdGVtcy5jb20xEjAQBgNVBAgMCVRlbm5lc3NlZTES\nMBAGA1UEBwwJTWFyeXZpbGxlMB4XDTIwMDkyNTE0MDUzOFoXDTIyMTIyOTE0MDUz\nOFowgYAxCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlpWHN5c3RlbXMxEjAQBgNVBAMM\nCWxvY2FsaG9zdDEhMB8GCSqGSIb3DQEJARYSaW5mb0BpeHN5c3RlbXMuY29tMRIw\nEAYDVQQIDAlUZW5uZXNzZWUxEjAQBgNVBAcMCU1hcnl2aWxsZTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALpoGliii6X8DeoFdLcR7jjsfJIn3nC8f1pT\nLQ3RURHUOEyhPT3Z6TkhaHeHoj8D6kiXROhyJJq3kw5OeqGZisfpGQhkxjpxkfh9\nfAhlvhuLwCWHaMvSh1TaT+h9+eHfcx3un5CIaH8b1KYRBMH+jmKFpr7jkPNkBXLS\nMA7jKIIa8pD9R6lF4gAsbqJafCbT3R7bqkd9xp3n3j2YhqQzETU2lmu4fra3BPio\nofK47kSkguUC6mtk6VrDf2+QtCKlY0dtbF3e2ZBNWo1aj86sjCtoEmqOCMsPRLc/\nXwQcfEqHY4XfafXwqk0G0UxV2ce18xKoR/pN3MpLBZ65NzPnpn0CAwEAAaMtMCsw\nFAYDVR0RBA0wC4IJbG9jYWxob3N0MBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqG\nSIb3DQEBCwUAA4IBAQBFW1R037y7wllg/gRk9p2T1stiG8iIXosblmL4Ak1YToTQ\n/0to5GY2ZYW29+rbA4SDTS5eeu2YqZ0A/fF3wey7ggzMS7KyNBOvx5QBJRw3PJGn\n+THfhXvdfkOyeUC6KWRGLgl+/zBFvgh6vFDq3jmv0NI4ehVBTBMCJn7r6577S16T\nwtgKMCooizII0Odu5HIF10gTieFIH3PQYm9JBji9iyemb9Ht3wn7fXQptfGadz/l\nWz/Dv9+a6IOr7JVJMHnqAIvPzpkav4efuVPOX1zbhjg4K5g+nRYfjr5F5upOd0Y3\nznWTUBUyI7CXRkpHtSDXfEqKgnk/8uv7GWw+hyKr\n-----END CERTIFICATE-----\n" - ] - "city": "Maryville" - "common": "localhost" - "country": "US" - "csr_path": "/etc/certificates/freenas_default.csr" - "digest_algorithm": "SHA256" - "email": "info@ixsystems.com" - "extensions": - "ExtendedKeyUsage": "TLS Web Server Authentication" - "SubjectAltName": "DNS:localhost" - "fingerprint": "9C:5A:1D:1B:E7:9E:0B:89:2B:37:F4:19:83:ED:3C:6B:D8:14:0D:9B" - "from": "Fri Sep 25 16:05:38 2020" - "id": 1 - "internal": "NO" - "issuer": "external" - "key_length": 2048 - "key_type": "RSA" - "lifetime": 825 - "name": "freenas_default" - "organization": "iXsystems" - "organizational_unit": "" - "parsed": true - "privatekey": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC6aBpYooul/A3q\nBXS3Ee447HySJ95wvH9aUy0N0VER1DhMoT092ek5IWh3h6I/A+pIl0TociSat5MO\nTnqhmYrH6RkIZMY6cZH4fXwIZb4bi8Alh2jL0odU2k/offnh33Md7p+QiGh/G9Sm\nEQTB/o5ihaa+45DzZAVy0jAO4yiCGvKQ/UepReIALG6iWnwm090e26pHfcad5949\nmIakMxE1NpZruH62twT4qKHyuO5EpILlAuprZOlaw39vkLQipWNHbWxd3tmQTVqN\nWo/OrIwraBJqjgjLD0S3P18EHHxKh2OF32n18KpNBtFMVdnHtfMSqEf6TdzKSwWe\nuTcz56Z9AgMBAAECggEARwcb4uIs7BZbBu0FSCyg5TfXT6m5bKOmszg2VqmHho+i\n1DAsMcEyyP4d3E3mWLSZNQfOzfOQVxPUCQOGXsUuyHXdgAFGN0bHJDRMara59a0O\njj5GhEO4JXD6OdCmwpZuOt2OF3iiuKxWHuElOvZQMuJSYzI7LULTgKjufv23lbsf\nxMO/v9yi57c5EGgnQ8siLKOy/FQZapn4Z9qKn+lVyk5gfaKP0pDsvV4d7nGYMDD2\nYijfkSyNecApFdtWiLE5zLUlvF6oNj8o66z3YrVNKrCPzhA/5Rkkwwk32SNxvKU3\nVZFSNPeOZ60BicxYcWO+b2aAa0WF+uazJAZ4q52gUQKBgQDu88R+0wm76secYkzE\nQglteLNZKFcvth0kI5xH42Hmk9IXkGimFoDJCIrLAuopyGnfNmqmh2is3QUMUPdR\n/wDLnKc4MCezEidNoD2RBC+bzM1hB9oye/b5sOZUDFXSa0k4XSLu1UEuy1yWhkuS\n6JjY1KQfc4FN0K0Fjqqo7UCTCwKBgQDHtKQh/NvMJ2ok4YW+/QAsus4mEK9eCyUy\nOuyDszQYrGvjkS7STKJVNxGLhWb0XKSIAxMZ66b1MwOt+71h7xNn6pcancfVdK7F\n1Xl5J+76SwbXSgQwTZuoMDxPIvZn7v/2ep5Ni/BcOhMcPIcobWb/OmXrFN1brBvo\nlFNQyWWhlwKBgFDAyPMjVvLO0U6kWdUpjA4W8GV9IJnbLdX8wt/4lClcY2/bOcKH\ncFaAMIeTIJemR0FMHpbQxCtHNmGHK03mo9orwsdWXtRBmk69jJDpnT1F5VKZWMAe\n7MRNaEmXMZm+8CvALgIQx8qMp2mnUPsA6Ea+9gg6/MPTdeWe5UXZiC0pAoGAGtSt\nPJfBXBNrklruYjORo3DRo5GYThVHQRFjl2orNKltsVxfIwgCw1ortEgPBgOwY0mu\ndkwP2V+qPeTVk+PQAqUk+gF6yLXtiUzeDiYMWHpeB+y81VSH9jfM0oELA/m7T/03\naYnEmE+BI8kKC6dvMBlDeisKdneQJFZRP0hfrC8CgYEAgYIyCGwcydKpe2Nkj0Fz\nKTtCMC/k4DvJfd5Kb9AbmrPUfKgA9Xj4GT6yPG6uBMi8r5etvLCKJ2x2NtN024a8\nQJLATYPrSsaZkE+9zM0j5nYAgbKpxBhlDzDAzn//3ByVzfgJ25S80XhTI2lfbLH/\nU07ssxdZaQCo+WuD82OvNcg=\n-----END PRIVATE KEY-----\n" - "privatekey_path": "/etc/certificates/freenas_default.key" - "revoked": false - "revoked_date": "" - "root_path": "/etc/certificates" - "san": [ - "DNS:localhost" - ] - "serial": 1 - "signedby": "" - "state": "Tennessee" - "subject_name_hash": 3193428416 - "type": 8 - "until": "Thu Dec 29 15:05:38 2022" diff --git a/charts/library/common-test/ci/ingress-values.yaml b/charts/library/common-test/ci/ingress-values.yaml deleted file mode 100644 index f748cd0adc5..00000000000 --- a/charts/library/common-test/ci/ingress-values.yaml +++ /dev/null @@ -1,190 +0,0 @@ -image: - repository: ghcr.io/truecharts/whoami - pullPolicy: IfNotPresent - tag: v1.8.0@sha256:057b682b74eae04bdfc994050bc3a9c1ba5c13cb6f415464828f9d4219e7331f - -service: - main: - ports: - main: - port: 8080 - autolink: - enabled: true - ports: - autolink: - enabled: true - port: 8081 - -args: - - --port - - '8080' - -probes: - liveness: - enabled: true - readiness: - enabled: true - startup: - enabled: true - - -# -- Configure the ingresses for the chart here. -# Additional ingresses can be added by adding a dictionary key similar to the 'main' ingress. -# @default -- See below -ingress: - main: - enabled: true - primary: true - nameOverride: - fixedMiddlewares: - - chain-basic - middlewares: [] - annotationsList: [] - annotations: {} - - labelsList: [] - labels: {} - ingressClassName: # "nginx" - hosts: - - host: chart-example.local - paths: - - path: / - pathType: Prefix - service: - name: - port: - tls: [] - - label: - enabled: true - nameOverride: - fixedMiddlewares: - - chain-basic - middlewares: [] - annotationsList: [] - annotations: {} - labelsList: [] - labels: - labelexample1: labelvalue2 - ingressClassName: # "nginx" - hosts: - - host: label.chart-example.local - paths: - - path: / - pathType: Prefix - service: - name: - port: - tls: [] - - autolink: - enabled: true - fixedMiddlewares: - - chain-basic - hosts: - - host: label.chart-example.local - paths: - - path: / - pathType: Prefix - service: - name: - port: - tls: [] - autoLink: true - - labellist: - enabled: true - nameOverride: - fixedMiddlewares: - - chain-basic - middlewares: [] - annotationsList: [] - annotations: {} - labelsList: - - name: labelexample - value: labelcontent - labels: {} - ingressClassName: # "nginx" - hosts: - - host: labellist.chart-example.local - paths: - - path: / - pathType: Prefix - service: - name: - port: - tls: [] - - notls: - enabled: true - nameOverride: - fixedMiddlewares: - - chain-basic - middlewares: [] - annotationsList: [] - annotations: {} - labelsList: [] - labels: {} - ingressClassName: # "nginx" - hosts: - - host: notls.chart-example.local - paths: - - path: / - pathType: Prefix - service: - name: - port: - -"ixCertificateAuthorities": {} -"ixCertificates": - "1": - "CA_type_existing": false - "CA_type_intermediate": false - "CA_type_internal": false - "CSR": "" - "DN": "/C=US/O=iXsystems/CN=localhost/emailAddress=info@ixsystems.com/ST=Tennessee/L=Maryville/subjectAltName=DNS:localhost" - "cert_type": "CERTIFICATE" - "cert_type_CSR": false - "cert_type_existing": true - "cert_type_internal": false - "certificate": "-----BEGIN CERTIFICATE-----\nMIIDqjCCApKgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCVVMx\nEjAQBgNVBAoMCWlYc3lzdGVtczESMBAGA1UEAwwJbG9jYWxob3N0MSEwHwYJKoZI\nhvcNAQkBFhJpbmZvQGl4c3lzdGVtcy5jb20xEjAQBgNVBAgMCVRlbm5lc3NlZTES\nMBAGA1UEBwwJTWFyeXZpbGxlMB4XDTIwMDkyNTE0MDUzOFoXDTIyMTIyOTE0MDUz\nOFowgYAxCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlpWHN5c3RlbXMxEjAQBgNVBAMM\nCWxvY2FsaG9zdDEhMB8GCSqGSIb3DQEJARYSaW5mb0BpeHN5c3RlbXMuY29tMRIw\nEAYDVQQIDAlUZW5uZXNzZWUxEjAQBgNVBAcMCU1hcnl2aWxsZTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALpoGliii6X8DeoFdLcR7jjsfJIn3nC8f1pT\nLQ3RURHUOEyhPT3Z6TkhaHeHoj8D6kiXROhyJJq3kw5OeqGZisfpGQhkxjpxkfh9\nfAhlvhuLwCWHaMvSh1TaT+h9+eHfcx3un5CIaH8b1KYRBMH+jmKFpr7jkPNkBXLS\nMA7jKIIa8pD9R6lF4gAsbqJafCbT3R7bqkd9xp3n3j2YhqQzETU2lmu4fra3BPio\nofK47kSkguUC6mtk6VrDf2+QtCKlY0dtbF3e2ZBNWo1aj86sjCtoEmqOCMsPRLc/\nXwQcfEqHY4XfafXwqk0G0UxV2ce18xKoR/pN3MpLBZ65NzPnpn0CAwEAAaMtMCsw\nFAYDVR0RBA0wC4IJbG9jYWxob3N0MBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqG\nSIb3DQEBCwUAA4IBAQBFW1R037y7wllg/gRk9p2T1stiG8iIXosblmL4Ak1YToTQ\n/0to5GY2ZYW29+rbA4SDTS5eeu2YqZ0A/fF3wey7ggzMS7KyNBOvx5QBJRw3PJGn\n+THfhXvdfkOyeUC6KWRGLgl+/zBFvgh6vFDq3jmv0NI4ehVBTBMCJn7r6577S16T\nwtgKMCooizII0Odu5HIF10gTieFIH3PQYm9JBji9iyemb9Ht3wn7fXQptfGadz/l\nWz/Dv9+a6IOr7JVJMHnqAIvPzpkav4efuVPOX1zbhjg4K5g+nRYfjr5F5upOd0Y3\nznWTUBUyI7CXRkpHtSDXfEqKgnk/8uv7GWw+hyKr\n-----END CERTIFICATE-----\n" - "certificate_path": "/etc/certificates/freenas_default.crt" - "chain": false - "chain_list": [ - "-----BEGIN CERTIFICATE-----\nMIIDqjCCApKgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCVVMx\nEjAQBgNVBAoMCWlYc3lzdGVtczESMBAGA1UEAwwJbG9jYWxob3N0MSEwHwYJKoZI\nhvcNAQkBFhJpbmZvQGl4c3lzdGVtcy5jb20xEjAQBgNVBAgMCVRlbm5lc3NlZTES\nMBAGA1UEBwwJTWFyeXZpbGxlMB4XDTIwMDkyNTE0MDUzOFoXDTIyMTIyOTE0MDUz\nOFowgYAxCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlpWHN5c3RlbXMxEjAQBgNVBAMM\nCWxvY2FsaG9zdDEhMB8GCSqGSIb3DQEJARYSaW5mb0BpeHN5c3RlbXMuY29tMRIw\nEAYDVQQIDAlUZW5uZXNzZWUxEjAQBgNVBAcMCU1hcnl2aWxsZTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALpoGliii6X8DeoFdLcR7jjsfJIn3nC8f1pT\nLQ3RURHUOEyhPT3Z6TkhaHeHoj8D6kiXROhyJJq3kw5OeqGZisfpGQhkxjpxkfh9\nfAhlvhuLwCWHaMvSh1TaT+h9+eHfcx3un5CIaH8b1KYRBMH+jmKFpr7jkPNkBXLS\nMA7jKIIa8pD9R6lF4gAsbqJafCbT3R7bqkd9xp3n3j2YhqQzETU2lmu4fra3BPio\nofK47kSkguUC6mtk6VrDf2+QtCKlY0dtbF3e2ZBNWo1aj86sjCtoEmqOCMsPRLc/\nXwQcfEqHY4XfafXwqk0G0UxV2ce18xKoR/pN3MpLBZ65NzPnpn0CAwEAAaMtMCsw\nFAYDVR0RBA0wC4IJbG9jYWxob3N0MBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqG\nSIb3DQEBCwUAA4IBAQBFW1R037y7wllg/gRk9p2T1stiG8iIXosblmL4Ak1YToTQ\n/0to5GY2ZYW29+rbA4SDTS5eeu2YqZ0A/fF3wey7ggzMS7KyNBOvx5QBJRw3PJGn\n+THfhXvdfkOyeUC6KWRGLgl+/zBFvgh6vFDq3jmv0NI4ehVBTBMCJn7r6577S16T\nwtgKMCooizII0Odu5HIF10gTieFIH3PQYm9JBji9iyemb9Ht3wn7fXQptfGadz/l\nWz/Dv9+a6IOr7JVJMHnqAIvPzpkav4efuVPOX1zbhjg4K5g+nRYfjr5F5upOd0Y3\nznWTUBUyI7CXRkpHtSDXfEqKgnk/8uv7GWw+hyKr\n-----END CERTIFICATE-----\n" - ] - "city": "Maryville" - "common": "localhost" - "country": "US" - "csr_path": "/etc/certificates/freenas_default.csr" - "digest_algorithm": "SHA256" - "email": "info@ixsystems.com" - "extensions": - "ExtendedKeyUsage": "TLS Web Server Authentication" - "SubjectAltName": "DNS:localhost" - "fingerprint": "9C:5A:1D:1B:E7:9E:0B:89:2B:37:F4:19:83:ED:3C:6B:D8:14:0D:9B" - "from": "Fri Sep 25 16:05:38 2020" - "id": 1 - "internal": "NO" - "issuer": "external" - "key_length": 2048 - "key_type": "RSA" - "lifetime": 825 - "name": "freenas_default" - "organization": "iXsystems" - "organizational_unit": "" - "parsed": true - "privatekey": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC6aBpYooul/A3q\nBXS3Ee447HySJ95wvH9aUy0N0VER1DhMoT092ek5IWh3h6I/A+pIl0TociSat5MO\nTnqhmYrH6RkIZMY6cZH4fXwIZb4bi8Alh2jL0odU2k/offnh33Md7p+QiGh/G9Sm\nEQTB/o5ihaa+45DzZAVy0jAO4yiCGvKQ/UepReIALG6iWnwm090e26pHfcad5949\nmIakMxE1NpZruH62twT4qKHyuO5EpILlAuprZOlaw39vkLQipWNHbWxd3tmQTVqN\nWo/OrIwraBJqjgjLD0S3P18EHHxKh2OF32n18KpNBtFMVdnHtfMSqEf6TdzKSwWe\nuTcz56Z9AgMBAAECggEARwcb4uIs7BZbBu0FSCyg5TfXT6m5bKOmszg2VqmHho+i\n1DAsMcEyyP4d3E3mWLSZNQfOzfOQVxPUCQOGXsUuyHXdgAFGN0bHJDRMara59a0O\njj5GhEO4JXD6OdCmwpZuOt2OF3iiuKxWHuElOvZQMuJSYzI7LULTgKjufv23lbsf\nxMO/v9yi57c5EGgnQ8siLKOy/FQZapn4Z9qKn+lVyk5gfaKP0pDsvV4d7nGYMDD2\nYijfkSyNecApFdtWiLE5zLUlvF6oNj8o66z3YrVNKrCPzhA/5Rkkwwk32SNxvKU3\nVZFSNPeOZ60BicxYcWO+b2aAa0WF+uazJAZ4q52gUQKBgQDu88R+0wm76secYkzE\nQglteLNZKFcvth0kI5xH42Hmk9IXkGimFoDJCIrLAuopyGnfNmqmh2is3QUMUPdR\n/wDLnKc4MCezEidNoD2RBC+bzM1hB9oye/b5sOZUDFXSa0k4XSLu1UEuy1yWhkuS\n6JjY1KQfc4FN0K0Fjqqo7UCTCwKBgQDHtKQh/NvMJ2ok4YW+/QAsus4mEK9eCyUy\nOuyDszQYrGvjkS7STKJVNxGLhWb0XKSIAxMZ66b1MwOt+71h7xNn6pcancfVdK7F\n1Xl5J+76SwbXSgQwTZuoMDxPIvZn7v/2ep5Ni/BcOhMcPIcobWb/OmXrFN1brBvo\nlFNQyWWhlwKBgFDAyPMjVvLO0U6kWdUpjA4W8GV9IJnbLdX8wt/4lClcY2/bOcKH\ncFaAMIeTIJemR0FMHpbQxCtHNmGHK03mo9orwsdWXtRBmk69jJDpnT1F5VKZWMAe\n7MRNaEmXMZm+8CvALgIQx8qMp2mnUPsA6Ea+9gg6/MPTdeWe5UXZiC0pAoGAGtSt\nPJfBXBNrklruYjORo3DRo5GYThVHQRFjl2orNKltsVxfIwgCw1ortEgPBgOwY0mu\ndkwP2V+qPeTVk+PQAqUk+gF6yLXtiUzeDiYMWHpeB+y81VSH9jfM0oELA/m7T/03\naYnEmE+BI8kKC6dvMBlDeisKdneQJFZRP0hfrC8CgYEAgYIyCGwcydKpe2Nkj0Fz\nKTtCMC/k4DvJfd5Kb9AbmrPUfKgA9Xj4GT6yPG6uBMi8r5etvLCKJ2x2NtN024a8\nQJLATYPrSsaZkE+9zM0j5nYAgbKpxBhlDzDAzn//3ByVzfgJ25S80XhTI2lfbLH/\nU07ssxdZaQCo+WuD82OvNcg=\n-----END PRIVATE KEY-----\n" - "privatekey_path": "/etc/certificates/freenas_default.key" - "revoked": false - "revoked_date": "" - "root_path": "/etc/certificates" - "san": [ - "DNS:localhost" - ] - "serial": 1 - "signedby": "" - "state": "Tennessee" - "subject_name_hash": 3193428416 - "type": 8 - "until": "Thu Dec 29 15:05:38 2022" diff --git a/charts/library/common-test/ci/netshoot-values.yaml b/charts/library/common-test/ci/netshoot-values.yaml deleted file mode 100644 index 86d77344455..00000000000 --- a/charts/library/common-test/ci/netshoot-values.yaml +++ /dev/null @@ -1,84 +0,0 @@ -image: - repository: ghcr.io/truecharts/whoami - pullPolicy: IfNotPresent - tag: v1.8.0@sha256:057b682b74eae04bdfc994050bc3a9c1ba5c13cb6f415464828f9d4219e7331f - -service: - main: - ports: - main: - port: 8080 - -args: - - --port - - '8080' - -ingress: - main: - enabled: true - -probes: - liveness: - enabled: true - readiness: - enabled: true - startup: - enabled: true - -addons: - netshoot: - enabled: true - -"ixCertificateAuthorities": {} -"ixCertificates": - "1": - "CA_type_existing": false - "CA_type_intermediate": false - "CA_type_internal": false - "CSR": "" - "DN": "/C=US/O=iXsystems/CN=localhost/emailAddress=info@ixsystems.com/ST=Tennessee/L=Maryville/subjectAltName=DNS:localhost" - "cert_type": "CERTIFICATE" - "cert_type_CSR": false - "cert_type_existing": true - "cert_type_internal": false - "certificate": "-----BEGIN CERTIFICATE-----\nMIIDqjCCApKgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCVVMx\nEjAQBgNVBAoMCWlYc3lzdGVtczESMBAGA1UEAwwJbG9jYWxob3N0MSEwHwYJKoZI\nhvcNAQkBFhJpbmZvQGl4c3lzdGVtcy5jb20xEjAQBgNVBAgMCVRlbm5lc3NlZTES\nMBAGA1UEBwwJTWFyeXZpbGxlMB4XDTIwMDkyNTE0MDUzOFoXDTIyMTIyOTE0MDUz\nOFowgYAxCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlpWHN5c3RlbXMxEjAQBgNVBAMM\nCWxvY2FsaG9zdDEhMB8GCSqGSIb3DQEJARYSaW5mb0BpeHN5c3RlbXMuY29tMRIw\nEAYDVQQIDAlUZW5uZXNzZWUxEjAQBgNVBAcMCU1hcnl2aWxsZTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALpoGliii6X8DeoFdLcR7jjsfJIn3nC8f1pT\nLQ3RURHUOEyhPT3Z6TkhaHeHoj8D6kiXROhyJJq3kw5OeqGZisfpGQhkxjpxkfh9\nfAhlvhuLwCWHaMvSh1TaT+h9+eHfcx3un5CIaH8b1KYRBMH+jmKFpr7jkPNkBXLS\nMA7jKIIa8pD9R6lF4gAsbqJafCbT3R7bqkd9xp3n3j2YhqQzETU2lmu4fra3BPio\nofK47kSkguUC6mtk6VrDf2+QtCKlY0dtbF3e2ZBNWo1aj86sjCtoEmqOCMsPRLc/\nXwQcfEqHY4XfafXwqk0G0UxV2ce18xKoR/pN3MpLBZ65NzPnpn0CAwEAAaMtMCsw\nFAYDVR0RBA0wC4IJbG9jYWxob3N0MBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqG\nSIb3DQEBCwUAA4IBAQBFW1R037y7wllg/gRk9p2T1stiG8iIXosblmL4Ak1YToTQ\n/0to5GY2ZYW29+rbA4SDTS5eeu2YqZ0A/fF3wey7ggzMS7KyNBOvx5QBJRw3PJGn\n+THfhXvdfkOyeUC6KWRGLgl+/zBFvgh6vFDq3jmv0NI4ehVBTBMCJn7r6577S16T\nwtgKMCooizII0Odu5HIF10gTieFIH3PQYm9JBji9iyemb9Ht3wn7fXQptfGadz/l\nWz/Dv9+a6IOr7JVJMHnqAIvPzpkav4efuVPOX1zbhjg4K5g+nRYfjr5F5upOd0Y3\nznWTUBUyI7CXRkpHtSDXfEqKgnk/8uv7GWw+hyKr\n-----END CERTIFICATE-----\n" - "certificate_path": "/etc/certificates/freenas_default.crt" - "chain": false - "chain_list": [ - "-----BEGIN CERTIFICATE-----\nMIIDqjCCApKgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCVVMx\nEjAQBgNVBAoMCWlYc3lzdGVtczESMBAGA1UEAwwJbG9jYWxob3N0MSEwHwYJKoZI\nhvcNAQkBFhJpbmZvQGl4c3lzdGVtcy5jb20xEjAQBgNVBAgMCVRlbm5lc3NlZTES\nMBAGA1UEBwwJTWFyeXZpbGxlMB4XDTIwMDkyNTE0MDUzOFoXDTIyMTIyOTE0MDUz\nOFowgYAxCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlpWHN5c3RlbXMxEjAQBgNVBAMM\nCWxvY2FsaG9zdDEhMB8GCSqGSIb3DQEJARYSaW5mb0BpeHN5c3RlbXMuY29tMRIw\nEAYDVQQIDAlUZW5uZXNzZWUxEjAQBgNVBAcMCU1hcnl2aWxsZTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALpoGliii6X8DeoFdLcR7jjsfJIn3nC8f1pT\nLQ3RURHUOEyhPT3Z6TkhaHeHoj8D6kiXROhyJJq3kw5OeqGZisfpGQhkxjpxkfh9\nfAhlvhuLwCWHaMvSh1TaT+h9+eHfcx3un5CIaH8b1KYRBMH+jmKFpr7jkPNkBXLS\nMA7jKIIa8pD9R6lF4gAsbqJafCbT3R7bqkd9xp3n3j2YhqQzETU2lmu4fra3BPio\nofK47kSkguUC6mtk6VrDf2+QtCKlY0dtbF3e2ZBNWo1aj86sjCtoEmqOCMsPRLc/\nXwQcfEqHY4XfafXwqk0G0UxV2ce18xKoR/pN3MpLBZ65NzPnpn0CAwEAAaMtMCsw\nFAYDVR0RBA0wC4IJbG9jYWxob3N0MBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqG\nSIb3DQEBCwUAA4IBAQBFW1R037y7wllg/gRk9p2T1stiG8iIXosblmL4Ak1YToTQ\n/0to5GY2ZYW29+rbA4SDTS5eeu2YqZ0A/fF3wey7ggzMS7KyNBOvx5QBJRw3PJGn\n+THfhXvdfkOyeUC6KWRGLgl+/zBFvgh6vFDq3jmv0NI4ehVBTBMCJn7r6577S16T\nwtgKMCooizII0Odu5HIF10gTieFIH3PQYm9JBji9iyemb9Ht3wn7fXQptfGadz/l\nWz/Dv9+a6IOr7JVJMHnqAIvPzpkav4efuVPOX1zbhjg4K5g+nRYfjr5F5upOd0Y3\nznWTUBUyI7CXRkpHtSDXfEqKgnk/8uv7GWw+hyKr\n-----END CERTIFICATE-----\n" - ] - "city": "Maryville" - "common": "localhost" - "country": "US" - "csr_path": "/etc/certificates/freenas_default.csr" - "digest_algorithm": "SHA256" - "email": "info@ixsystems.com" - "extensions": - "ExtendedKeyUsage": "TLS Web Server Authentication" - "SubjectAltName": "DNS:localhost" - "fingerprint": "9C:5A:1D:1B:E7:9E:0B:89:2B:37:F4:19:83:ED:3C:6B:D8:14:0D:9B" - "from": "Fri Sep 25 16:05:38 2020" - "id": 1 - "internal": "NO" - "issuer": "external" - "key_length": 2048 - "key_type": "RSA" - "lifetime": 825 - "name": "freenas_default" - "organization": "iXsystems" - "organizational_unit": "" - "parsed": true - "privatekey": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC6aBpYooul/A3q\nBXS3Ee447HySJ95wvH9aUy0N0VER1DhMoT092ek5IWh3h6I/A+pIl0TociSat5MO\nTnqhmYrH6RkIZMY6cZH4fXwIZb4bi8Alh2jL0odU2k/offnh33Md7p+QiGh/G9Sm\nEQTB/o5ihaa+45DzZAVy0jAO4yiCGvKQ/UepReIALG6iWnwm090e26pHfcad5949\nmIakMxE1NpZruH62twT4qKHyuO5EpILlAuprZOlaw39vkLQipWNHbWxd3tmQTVqN\nWo/OrIwraBJqjgjLD0S3P18EHHxKh2OF32n18KpNBtFMVdnHtfMSqEf6TdzKSwWe\nuTcz56Z9AgMBAAECggEARwcb4uIs7BZbBu0FSCyg5TfXT6m5bKOmszg2VqmHho+i\n1DAsMcEyyP4d3E3mWLSZNQfOzfOQVxPUCQOGXsUuyHXdgAFGN0bHJDRMara59a0O\njj5GhEO4JXD6OdCmwpZuOt2OF3iiuKxWHuElOvZQMuJSYzI7LULTgKjufv23lbsf\nxMO/v9yi57c5EGgnQ8siLKOy/FQZapn4Z9qKn+lVyk5gfaKP0pDsvV4d7nGYMDD2\nYijfkSyNecApFdtWiLE5zLUlvF6oNj8o66z3YrVNKrCPzhA/5Rkkwwk32SNxvKU3\nVZFSNPeOZ60BicxYcWO+b2aAa0WF+uazJAZ4q52gUQKBgQDu88R+0wm76secYkzE\nQglteLNZKFcvth0kI5xH42Hmk9IXkGimFoDJCIrLAuopyGnfNmqmh2is3QUMUPdR\n/wDLnKc4MCezEidNoD2RBC+bzM1hB9oye/b5sOZUDFXSa0k4XSLu1UEuy1yWhkuS\n6JjY1KQfc4FN0K0Fjqqo7UCTCwKBgQDHtKQh/NvMJ2ok4YW+/QAsus4mEK9eCyUy\nOuyDszQYrGvjkS7STKJVNxGLhWb0XKSIAxMZ66b1MwOt+71h7xNn6pcancfVdK7F\n1Xl5J+76SwbXSgQwTZuoMDxPIvZn7v/2ep5Ni/BcOhMcPIcobWb/OmXrFN1brBvo\nlFNQyWWhlwKBgFDAyPMjVvLO0U6kWdUpjA4W8GV9IJnbLdX8wt/4lClcY2/bOcKH\ncFaAMIeTIJemR0FMHpbQxCtHNmGHK03mo9orwsdWXtRBmk69jJDpnT1F5VKZWMAe\n7MRNaEmXMZm+8CvALgIQx8qMp2mnUPsA6Ea+9gg6/MPTdeWe5UXZiC0pAoGAGtSt\nPJfBXBNrklruYjORo3DRo5GYThVHQRFjl2orNKltsVxfIwgCw1ortEgPBgOwY0mu\ndkwP2V+qPeTVk+PQAqUk+gF6yLXtiUzeDiYMWHpeB+y81VSH9jfM0oELA/m7T/03\naYnEmE+BI8kKC6dvMBlDeisKdneQJFZRP0hfrC8CgYEAgYIyCGwcydKpe2Nkj0Fz\nKTtCMC/k4DvJfd5Kb9AbmrPUfKgA9Xj4GT6yPG6uBMi8r5etvLCKJ2x2NtN024a8\nQJLATYPrSsaZkE+9zM0j5nYAgbKpxBhlDzDAzn//3ByVzfgJ25S80XhTI2lfbLH/\nU07ssxdZaQCo+WuD82OvNcg=\n-----END PRIVATE KEY-----\n" - "privatekey_path": "/etc/certificates/freenas_default.key" - "revoked": false - "revoked_date": "" - "root_path": "/etc/certificates" - "san": [ - "DNS:localhost" - ] - "serial": 1 - "signedby": "" - "state": "Tennessee" - "subject_name_hash": 3193428416 - "type": 8 - "until": "Thu Dec 29 15:05:38 2022" diff --git a/charts/library/common-test/ci/networkpolicy-values.yaml b/charts/library/common-test/ci/networkpolicy-values.yaml deleted file mode 100644 index 72e6a7fc7e1..00000000000 --- a/charts/library/common-test/ci/networkpolicy-values.yaml +++ /dev/null @@ -1,127 +0,0 @@ -image: - repository: ghcr.io/truecharts/whoami - pullPolicy: IfNotPresent - tag: v1.8.0@sha256:057b682b74eae04bdfc994050bc3a9c1ba5c13cb6f415464828f9d4219e7331f - -service: - main: - ports: - main: - port: 8080 - -args: - - --port - - '8080' - -ingress: - main: - enabled: true - -probes: - liveness: - enabled: true - readiness: - enabled: true - startup: - enabled: true - - -"ixCertificateAuthorities": {} -"ixCertificates": - "1": - "CA_type_existing": false - "CA_type_intermediate": false - "CA_type_internal": false - "CSR": "" - "DN": "/C=US/O=iXsystems/CN=localhost/emailAddress=info@ixsystems.com/ST=Tennessee/L=Maryville/subjectAltName=DNS:localhost" - "cert_type": "CERTIFICATE" - "cert_type_CSR": false - "cert_type_existing": true - "cert_type_internal": false - "certificate": "-----BEGIN CERTIFICATE-----\nMIIDqjCCApKgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCVVMx\nEjAQBgNVBAoMCWlYc3lzdGVtczESMBAGA1UEAwwJbG9jYWxob3N0MSEwHwYJKoZI\nhvcNAQkBFhJpbmZvQGl4c3lzdGVtcy5jb20xEjAQBgNVBAgMCVRlbm5lc3NlZTES\nMBAGA1UEBwwJTWFyeXZpbGxlMB4XDTIwMDkyNTE0MDUzOFoXDTIyMTIyOTE0MDUz\nOFowgYAxCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlpWHN5c3RlbXMxEjAQBgNVBAMM\nCWxvY2FsaG9zdDEhMB8GCSqGSIb3DQEJARYSaW5mb0BpeHN5c3RlbXMuY29tMRIw\nEAYDVQQIDAlUZW5uZXNzZWUxEjAQBgNVBAcMCU1hcnl2aWxsZTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALpoGliii6X8DeoFdLcR7jjsfJIn3nC8f1pT\nLQ3RURHUOEyhPT3Z6TkhaHeHoj8D6kiXROhyJJq3kw5OeqGZisfpGQhkxjpxkfh9\nfAhlvhuLwCWHaMvSh1TaT+h9+eHfcx3un5CIaH8b1KYRBMH+jmKFpr7jkPNkBXLS\nMA7jKIIa8pD9R6lF4gAsbqJafCbT3R7bqkd9xp3n3j2YhqQzETU2lmu4fra3BPio\nofK47kSkguUC6mtk6VrDf2+QtCKlY0dtbF3e2ZBNWo1aj86sjCtoEmqOCMsPRLc/\nXwQcfEqHY4XfafXwqk0G0UxV2ce18xKoR/pN3MpLBZ65NzPnpn0CAwEAAaMtMCsw\nFAYDVR0RBA0wC4IJbG9jYWxob3N0MBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqG\nSIb3DQEBCwUAA4IBAQBFW1R037y7wllg/gRk9p2T1stiG8iIXosblmL4Ak1YToTQ\n/0to5GY2ZYW29+rbA4SDTS5eeu2YqZ0A/fF3wey7ggzMS7KyNBOvx5QBJRw3PJGn\n+THfhXvdfkOyeUC6KWRGLgl+/zBFvgh6vFDq3jmv0NI4ehVBTBMCJn7r6577S16T\nwtgKMCooizII0Odu5HIF10gTieFIH3PQYm9JBji9iyemb9Ht3wn7fXQptfGadz/l\nWz/Dv9+a6IOr7JVJMHnqAIvPzpkav4efuVPOX1zbhjg4K5g+nRYfjr5F5upOd0Y3\nznWTUBUyI7CXRkpHtSDXfEqKgnk/8uv7GWw+hyKr\n-----END CERTIFICATE-----\n" - "certificate_path": "/etc/certificates/freenas_default.crt" - "chain": false - "chain_list": [ - "-----BEGIN CERTIFICATE-----\nMIIDqjCCApKgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCVVMx\nEjAQBgNVBAoMCWlYc3lzdGVtczESMBAGA1UEAwwJbG9jYWxob3N0MSEwHwYJKoZI\nhvcNAQkBFhJpbmZvQGl4c3lzdGVtcy5jb20xEjAQBgNVBAgMCVRlbm5lc3NlZTES\nMBAGA1UEBwwJTWFyeXZpbGxlMB4XDTIwMDkyNTE0MDUzOFoXDTIyMTIyOTE0MDUz\nOFowgYAxCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlpWHN5c3RlbXMxEjAQBgNVBAMM\nCWxvY2FsaG9zdDEhMB8GCSqGSIb3DQEJARYSaW5mb0BpeHN5c3RlbXMuY29tMRIw\nEAYDVQQIDAlUZW5uZXNzZWUxEjAQBgNVBAcMCU1hcnl2aWxsZTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALpoGliii6X8DeoFdLcR7jjsfJIn3nC8f1pT\nLQ3RURHUOEyhPT3Z6TkhaHeHoj8D6kiXROhyJJq3kw5OeqGZisfpGQhkxjpxkfh9\nfAhlvhuLwCWHaMvSh1TaT+h9+eHfcx3un5CIaH8b1KYRBMH+jmKFpr7jkPNkBXLS\nMA7jKIIa8pD9R6lF4gAsbqJafCbT3R7bqkd9xp3n3j2YhqQzETU2lmu4fra3BPio\nofK47kSkguUC6mtk6VrDf2+QtCKlY0dtbF3e2ZBNWo1aj86sjCtoEmqOCMsPRLc/\nXwQcfEqHY4XfafXwqk0G0UxV2ce18xKoR/pN3MpLBZ65NzPnpn0CAwEAAaMtMCsw\nFAYDVR0RBA0wC4IJbG9jYWxob3N0MBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqG\nSIb3DQEBCwUAA4IBAQBFW1R037y7wllg/gRk9p2T1stiG8iIXosblmL4Ak1YToTQ\n/0to5GY2ZYW29+rbA4SDTS5eeu2YqZ0A/fF3wey7ggzMS7KyNBOvx5QBJRw3PJGn\n+THfhXvdfkOyeUC6KWRGLgl+/zBFvgh6vFDq3jmv0NI4ehVBTBMCJn7r6577S16T\nwtgKMCooizII0Odu5HIF10gTieFIH3PQYm9JBji9iyemb9Ht3wn7fXQptfGadz/l\nWz/Dv9+a6IOr7JVJMHnqAIvPzpkav4efuVPOX1zbhjg4K5g+nRYfjr5F5upOd0Y3\nznWTUBUyI7CXRkpHtSDXfEqKgnk/8uv7GWw+hyKr\n-----END CERTIFICATE-----\n" - ] - "city": "Maryville" - "common": "localhost" - "country": "US" - "csr_path": "/etc/certificates/freenas_default.csr" - "digest_algorithm": "SHA256" - "email": "info@ixsystems.com" - "extensions": - "ExtendedKeyUsage": "TLS Web Server Authentication" - "SubjectAltName": "DNS:localhost" - "fingerprint": "9C:5A:1D:1B:E7:9E:0B:89:2B:37:F4:19:83:ED:3C:6B:D8:14:0D:9B" - "from": "Fri Sep 25 16:05:38 2020" - "id": 1 - "internal": "NO" - "issuer": "external" - "key_length": 2048 - "key_type": "RSA" - "lifetime": 825 - "name": "freenas_default" - "organization": "iXsystems" - "organizational_unit": "" - "parsed": true - "privatekey": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC6aBpYooul/A3q\nBXS3Ee447HySJ95wvH9aUy0N0VER1DhMoT092ek5IWh3h6I/A+pIl0TociSat5MO\nTnqhmYrH6RkIZMY6cZH4fXwIZb4bi8Alh2jL0odU2k/offnh33Md7p+QiGh/G9Sm\nEQTB/o5ihaa+45DzZAVy0jAO4yiCGvKQ/UepReIALG6iWnwm090e26pHfcad5949\nmIakMxE1NpZruH62twT4qKHyuO5EpILlAuprZOlaw39vkLQipWNHbWxd3tmQTVqN\nWo/OrIwraBJqjgjLD0S3P18EHHxKh2OF32n18KpNBtFMVdnHtfMSqEf6TdzKSwWe\nuTcz56Z9AgMBAAECggEARwcb4uIs7BZbBu0FSCyg5TfXT6m5bKOmszg2VqmHho+i\n1DAsMcEyyP4d3E3mWLSZNQfOzfOQVxPUCQOGXsUuyHXdgAFGN0bHJDRMara59a0O\njj5GhEO4JXD6OdCmwpZuOt2OF3iiuKxWHuElOvZQMuJSYzI7LULTgKjufv23lbsf\nxMO/v9yi57c5EGgnQ8siLKOy/FQZapn4Z9qKn+lVyk5gfaKP0pDsvV4d7nGYMDD2\nYijfkSyNecApFdtWiLE5zLUlvF6oNj8o66z3YrVNKrCPzhA/5Rkkwwk32SNxvKU3\nVZFSNPeOZ60BicxYcWO+b2aAa0WF+uazJAZ4q52gUQKBgQDu88R+0wm76secYkzE\nQglteLNZKFcvth0kI5xH42Hmk9IXkGimFoDJCIrLAuopyGnfNmqmh2is3QUMUPdR\n/wDLnKc4MCezEidNoD2RBC+bzM1hB9oye/b5sOZUDFXSa0k4XSLu1UEuy1yWhkuS\n6JjY1KQfc4FN0K0Fjqqo7UCTCwKBgQDHtKQh/NvMJ2ok4YW+/QAsus4mEK9eCyUy\nOuyDszQYrGvjkS7STKJVNxGLhWb0XKSIAxMZ66b1MwOt+71h7xNn6pcancfVdK7F\n1Xl5J+76SwbXSgQwTZuoMDxPIvZn7v/2ep5Ni/BcOhMcPIcobWb/OmXrFN1brBvo\nlFNQyWWhlwKBgFDAyPMjVvLO0U6kWdUpjA4W8GV9IJnbLdX8wt/4lClcY2/bOcKH\ncFaAMIeTIJemR0FMHpbQxCtHNmGHK03mo9orwsdWXtRBmk69jJDpnT1F5VKZWMAe\n7MRNaEmXMZm+8CvALgIQx8qMp2mnUPsA6Ea+9gg6/MPTdeWe5UXZiC0pAoGAGtSt\nPJfBXBNrklruYjORo3DRo5GYThVHQRFjl2orNKltsVxfIwgCw1ortEgPBgOwY0mu\ndkwP2V+qPeTVk+PQAqUk+gF6yLXtiUzeDiYMWHpeB+y81VSH9jfM0oELA/m7T/03\naYnEmE+BI8kKC6dvMBlDeisKdneQJFZRP0hfrC8CgYEAgYIyCGwcydKpe2Nkj0Fz\nKTtCMC/k4DvJfd5Kb9AbmrPUfKgA9Xj4GT6yPG6uBMi8r5etvLCKJ2x2NtN024a8\nQJLATYPrSsaZkE+9zM0j5nYAgbKpxBhlDzDAzn//3ByVzfgJ25S80XhTI2lfbLH/\nU07ssxdZaQCo+WuD82OvNcg=\n-----END PRIVATE KEY-----\n" - "privatekey_path": "/etc/certificates/freenas_default.key" - "revoked": false - "revoked_date": "" - "root_path": "/etc/certificates" - "san": [ - "DNS:localhost" - ] - "serial": 1 - "signedby": "" - "state": "Tennessee" - "subject_name_hash": 3193428416 - "type": 8 - "until": "Thu Dec 29 15:05:38 2022" - -networkPolicy: - enabled: true - - ingress: - - from: - - ipBlock: - cidr: 172.17.0.0/16 - except: - - 172.17.1.0/24 - - namespaceSelector: - matchLabels: - project: myproject - - podSelector: - matchLabels: - role: frontend - - namespaceSelector: - matchLabels: - project: myproject2 - podSelector: - matchLabels: - role: frontend2 - ports: - - protocol: TCP - port: 6379 - egress: - - to: - - ipBlock: - cidr: 172.17.2.0/16 - except: - - 172.17.2.0/24 - - namespaceSelector: - matchLabels: - project: myproject3 - - podSelector: - matchLabels: - role: frontend3 - - namespaceSelector: - matchLabels: - project: myproject4 - podSelector: - matchLabels: - role: frontend4 - ports: - - protocol: TCP - port: 5978 diff --git a/charts/library/common-test/ci/persistence-values.yaml b/charts/library/common-test/ci/persistence-values.yaml deleted file mode 100644 index 56279f14286..00000000000 --- a/charts/library/common-test/ci/persistence-values.yaml +++ /dev/null @@ -1,205 +0,0 @@ -image: - repository: ghcr.io/truecharts/whoami - pullPolicy: IfNotPresent - tag: v1.8.0@sha256:057b682b74eae04bdfc994050bc3a9c1ba5c13cb6f415464828f9d4219e7331f - -service: - main: - ports: - main: - port: 8080 - -args: - - --port - - '8080' - -ingress: - main: - enabled: true - -probes: - liveness: - enabled: true - readiness: - enabled: true - startup: - enabled: true - - -persistence: - pvc-stock: - enabled: true - annotationsList: [] - annotations: {} - labelsList: [] - labels: {} - type: pvc - forceName: "" - mountPath: - readOnly: false - nameOverride: - storageClass: - existingClaim: - subPath: - accessMode: ReadWriteOnce - size: 1Gi - retain: false - pvc-forcedname: - enabled: true - annotationsList: [] - annotations: {} - labelsList: [] - labels: {} - type: pvc - forceName: "testname" - mountPath: - readOnly: false - nameOverride: - storageClass: - existingClaim: - subPath: - accessMode: ReadWriteOnce - size: 1Gi - retain: false - pvc-readonly: - enabled: true - annotationsList: [] - annotations: {} - labelsList: [] - labels: {} - type: pvc - forceName: "" - mountPath: - readOnly: true - nameOverride: - storageClass: - existingClaim: - subPath: - accessMode: ReadWriteOnce - size: 1Gi - retain: false - pvc-labeled: - enabled: true - annotationsList: [] - annotations: {} - labelsList: [] - labels: - labelexample1: labelvalue2 - type: pvc - forceName: "" - mountPath: - readOnly: false - nameOverride: - storageClass: - existingClaim: - subPath: - accessMode: ReadWriteOnce - size: 1Gi - retain: false - pvc-labeled-list: - enabled: true - annotationsList: [] - annotations: {} - labelsList: - - name: labelexample - value: labelcontent - labels: {} - type: pvc - forceName: "" - mountPath: - readOnly: false - nameOverride: - storageClass: - existingClaim: - subPath: - accessMode: ReadWriteOnce - size: 1Gi - retain: false - - emptydir: - enabled: true - type: emptyDir - mountPath: /emptydir - medium: - sizeLimit: - emptydir-mem: - enabled: true - type: emptyDir - mountPath: /emptydirmem - medium: Memory - sizeLimit: - emptydir-size: - enabled: true - type: emptyDir - mountPath: /emptydirsize - medium: - sizeLimit: 1Gi - emptydir-memsize: - enabled: true - type: emptyDir - mountPath: /emptydirmemsize - medium: Memory - sizeLimit: 1Gi - - hostpath-stock: - enabled: true - type: hostPath - hostPath: /usr - mountPath: - hostPathType: "" - readOnly: false - - -"ixCertificateAuthorities": {} -"ixCertificates": - "1": - "CA_type_existing": false - "CA_type_intermediate": false - "CA_type_internal": false - "CSR": "" - "DN": "/C=US/O=iXsystems/CN=localhost/emailAddress=info@ixsystems.com/ST=Tennessee/L=Maryville/subjectAltName=DNS:localhost" - "cert_type": "CERTIFICATE" - "cert_type_CSR": false - "cert_type_existing": true - "cert_type_internal": false - "certificate": "-----BEGIN CERTIFICATE-----\nMIIDqjCCApKgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCVVMx\nEjAQBgNVBAoMCWlYc3lzdGVtczESMBAGA1UEAwwJbG9jYWxob3N0MSEwHwYJKoZI\nhvcNAQkBFhJpbmZvQGl4c3lzdGVtcy5jb20xEjAQBgNVBAgMCVRlbm5lc3NlZTES\nMBAGA1UEBwwJTWFyeXZpbGxlMB4XDTIwMDkyNTE0MDUzOFoXDTIyMTIyOTE0MDUz\nOFowgYAxCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlpWHN5c3RlbXMxEjAQBgNVBAMM\nCWxvY2FsaG9zdDEhMB8GCSqGSIb3DQEJARYSaW5mb0BpeHN5c3RlbXMuY29tMRIw\nEAYDVQQIDAlUZW5uZXNzZWUxEjAQBgNVBAcMCU1hcnl2aWxsZTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALpoGliii6X8DeoFdLcR7jjsfJIn3nC8f1pT\nLQ3RURHUOEyhPT3Z6TkhaHeHoj8D6kiXROhyJJq3kw5OeqGZisfpGQhkxjpxkfh9\nfAhlvhuLwCWHaMvSh1TaT+h9+eHfcx3un5CIaH8b1KYRBMH+jmKFpr7jkPNkBXLS\nMA7jKIIa8pD9R6lF4gAsbqJafCbT3R7bqkd9xp3n3j2YhqQzETU2lmu4fra3BPio\nofK47kSkguUC6mtk6VrDf2+QtCKlY0dtbF3e2ZBNWo1aj86sjCtoEmqOCMsPRLc/\nXwQcfEqHY4XfafXwqk0G0UxV2ce18xKoR/pN3MpLBZ65NzPnpn0CAwEAAaMtMCsw\nFAYDVR0RBA0wC4IJbG9jYWxob3N0MBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqG\nSIb3DQEBCwUAA4IBAQBFW1R037y7wllg/gRk9p2T1stiG8iIXosblmL4Ak1YToTQ\n/0to5GY2ZYW29+rbA4SDTS5eeu2YqZ0A/fF3wey7ggzMS7KyNBOvx5QBJRw3PJGn\n+THfhXvdfkOyeUC6KWRGLgl+/zBFvgh6vFDq3jmv0NI4ehVBTBMCJn7r6577S16T\nwtgKMCooizII0Odu5HIF10gTieFIH3PQYm9JBji9iyemb9Ht3wn7fXQptfGadz/l\nWz/Dv9+a6IOr7JVJMHnqAIvPzpkav4efuVPOX1zbhjg4K5g+nRYfjr5F5upOd0Y3\nznWTUBUyI7CXRkpHtSDXfEqKgnk/8uv7GWw+hyKr\n-----END CERTIFICATE-----\n" - "certificate_path": "/etc/certificates/freenas_default.crt" - "chain": false - "chain_list": [ - "-----BEGIN CERTIFICATE-----\nMIIDqjCCApKgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCVVMx\nEjAQBgNVBAoMCWlYc3lzdGVtczESMBAGA1UEAwwJbG9jYWxob3N0MSEwHwYJKoZI\nhvcNAQkBFhJpbmZvQGl4c3lzdGVtcy5jb20xEjAQBgNVBAgMCVRlbm5lc3NlZTES\nMBAGA1UEBwwJTWFyeXZpbGxlMB4XDTIwMDkyNTE0MDUzOFoXDTIyMTIyOTE0MDUz\nOFowgYAxCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlpWHN5c3RlbXMxEjAQBgNVBAMM\nCWxvY2FsaG9zdDEhMB8GCSqGSIb3DQEJARYSaW5mb0BpeHN5c3RlbXMuY29tMRIw\nEAYDVQQIDAlUZW5uZXNzZWUxEjAQBgNVBAcMCU1hcnl2aWxsZTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALpoGliii6X8DeoFdLcR7jjsfJIn3nC8f1pT\nLQ3RURHUOEyhPT3Z6TkhaHeHoj8D6kiXROhyJJq3kw5OeqGZisfpGQhkxjpxkfh9\nfAhlvhuLwCWHaMvSh1TaT+h9+eHfcx3un5CIaH8b1KYRBMH+jmKFpr7jkPNkBXLS\nMA7jKIIa8pD9R6lF4gAsbqJafCbT3R7bqkd9xp3n3j2YhqQzETU2lmu4fra3BPio\nofK47kSkguUC6mtk6VrDf2+QtCKlY0dtbF3e2ZBNWo1aj86sjCtoEmqOCMsPRLc/\nXwQcfEqHY4XfafXwqk0G0UxV2ce18xKoR/pN3MpLBZ65NzPnpn0CAwEAAaMtMCsw\nFAYDVR0RBA0wC4IJbG9jYWxob3N0MBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqG\nSIb3DQEBCwUAA4IBAQBFW1R037y7wllg/gRk9p2T1stiG8iIXosblmL4Ak1YToTQ\n/0to5GY2ZYW29+rbA4SDTS5eeu2YqZ0A/fF3wey7ggzMS7KyNBOvx5QBJRw3PJGn\n+THfhXvdfkOyeUC6KWRGLgl+/zBFvgh6vFDq3jmv0NI4ehVBTBMCJn7r6577S16T\nwtgKMCooizII0Odu5HIF10gTieFIH3PQYm9JBji9iyemb9Ht3wn7fXQptfGadz/l\nWz/Dv9+a6IOr7JVJMHnqAIvPzpkav4efuVPOX1zbhjg4K5g+nRYfjr5F5upOd0Y3\nznWTUBUyI7CXRkpHtSDXfEqKgnk/8uv7GWw+hyKr\n-----END CERTIFICATE-----\n" - ] - "city": "Maryville" - "common": "localhost" - "country": "US" - "csr_path": "/etc/certificates/freenas_default.csr" - "digest_algorithm": "SHA256" - "email": "info@ixsystems.com" - "extensions": - "ExtendedKeyUsage": "TLS Web Server Authentication" - "SubjectAltName": "DNS:localhost" - "fingerprint": "9C:5A:1D:1B:E7:9E:0B:89:2B:37:F4:19:83:ED:3C:6B:D8:14:0D:9B" - "from": "Fri Sep 25 16:05:38 2020" - "id": 1 - "internal": "NO" - "issuer": "external" - "key_length": 2048 - "key_type": "RSA" - "lifetime": 825 - "name": "freenas_default" - "organization": "iXsystems" - "organizational_unit": "" - "parsed": true - "privatekey": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC6aBpYooul/A3q\nBXS3Ee447HySJ95wvH9aUy0N0VER1DhMoT092ek5IWh3h6I/A+pIl0TociSat5MO\nTnqhmYrH6RkIZMY6cZH4fXwIZb4bi8Alh2jL0odU2k/offnh33Md7p+QiGh/G9Sm\nEQTB/o5ihaa+45DzZAVy0jAO4yiCGvKQ/UepReIALG6iWnwm090e26pHfcad5949\nmIakMxE1NpZruH62twT4qKHyuO5EpILlAuprZOlaw39vkLQipWNHbWxd3tmQTVqN\nWo/OrIwraBJqjgjLD0S3P18EHHxKh2OF32n18KpNBtFMVdnHtfMSqEf6TdzKSwWe\nuTcz56Z9AgMBAAECggEARwcb4uIs7BZbBu0FSCyg5TfXT6m5bKOmszg2VqmHho+i\n1DAsMcEyyP4d3E3mWLSZNQfOzfOQVxPUCQOGXsUuyHXdgAFGN0bHJDRMara59a0O\njj5GhEO4JXD6OdCmwpZuOt2OF3iiuKxWHuElOvZQMuJSYzI7LULTgKjufv23lbsf\nxMO/v9yi57c5EGgnQ8siLKOy/FQZapn4Z9qKn+lVyk5gfaKP0pDsvV4d7nGYMDD2\nYijfkSyNecApFdtWiLE5zLUlvF6oNj8o66z3YrVNKrCPzhA/5Rkkwwk32SNxvKU3\nVZFSNPeOZ60BicxYcWO+b2aAa0WF+uazJAZ4q52gUQKBgQDu88R+0wm76secYkzE\nQglteLNZKFcvth0kI5xH42Hmk9IXkGimFoDJCIrLAuopyGnfNmqmh2is3QUMUPdR\n/wDLnKc4MCezEidNoD2RBC+bzM1hB9oye/b5sOZUDFXSa0k4XSLu1UEuy1yWhkuS\n6JjY1KQfc4FN0K0Fjqqo7UCTCwKBgQDHtKQh/NvMJ2ok4YW+/QAsus4mEK9eCyUy\nOuyDszQYrGvjkS7STKJVNxGLhWb0XKSIAxMZ66b1MwOt+71h7xNn6pcancfVdK7F\n1Xl5J+76SwbXSgQwTZuoMDxPIvZn7v/2ep5Ni/BcOhMcPIcobWb/OmXrFN1brBvo\nlFNQyWWhlwKBgFDAyPMjVvLO0U6kWdUpjA4W8GV9IJnbLdX8wt/4lClcY2/bOcKH\ncFaAMIeTIJemR0FMHpbQxCtHNmGHK03mo9orwsdWXtRBmk69jJDpnT1F5VKZWMAe\n7MRNaEmXMZm+8CvALgIQx8qMp2mnUPsA6Ea+9gg6/MPTdeWe5UXZiC0pAoGAGtSt\nPJfBXBNrklruYjORo3DRo5GYThVHQRFjl2orNKltsVxfIwgCw1ortEgPBgOwY0mu\ndkwP2V+qPeTVk+PQAqUk+gF6yLXtiUzeDiYMWHpeB+y81VSH9jfM0oELA/m7T/03\naYnEmE+BI8kKC6dvMBlDeisKdneQJFZRP0hfrC8CgYEAgYIyCGwcydKpe2Nkj0Fz\nKTtCMC/k4DvJfd5Kb9AbmrPUfKgA9Xj4GT6yPG6uBMi8r5etvLCKJ2x2NtN024a8\nQJLATYPrSsaZkE+9zM0j5nYAgbKpxBhlDzDAzn//3ByVzfgJ25S80XhTI2lfbLH/\nU07ssxdZaQCo+WuD82OvNcg=\n-----END PRIVATE KEY-----\n" - "privatekey_path": "/etc/certificates/freenas_default.key" - "revoked": false - "revoked_date": "" - "root_path": "/etc/certificates" - "san": [ - "DNS:localhost" - ] - "serial": 1 - "signedby": "" - "state": "Tennessee" - "subject_name_hash": 3193428416 - "type": 8 - "until": "Thu Dec 29 15:05:38 2022" diff --git a/charts/library/common-test/ci/rbac-values.yaml b/charts/library/common-test/ci/rbac-values.yaml deleted file mode 100644 index 95e40c598c0..00000000000 --- a/charts/library/common-test/ci/rbac-values.yaml +++ /dev/null @@ -1,64 +0,0 @@ -image: - repository: ghcr.io/truecharts/whoami - pullPolicy: IfNotPresent - tag: v1.8.0@sha256:057b682b74eae04bdfc994050bc3a9c1ba5c13cb6f415464828f9d4219e7331f - -service: - main: - ports: - main: - port: 8080 - -args: - - --port - - '8080' - -rbac: - enabled: true - rules: - - apiGroups: - - "" - resources: - - services - - endpoints - - secrets - verbs: - - get - - list - - watch - - apiGroups: - - extensions - - networking.k8s.io - resources: - - ingresses - - ingressclasses - verbs: - - get - - list - - watch - - apiGroups: - - extensions - - networking.k8s.io - resources: - - ingresses/status - verbs: - - update - - apiGroups: - - traefik.containo.us - resources: - - ingressroutes - - ingressroutetcps - - ingressrouteudps - - middlewares - - middlewaretcps - - tlsoptions - - tlsstores - - traefikservices - - serverstransports - verbs: - - get - - list - - watch - -serviceAccount: - create: true diff --git a/charts/library/common-test/ci/simple-persistence-values.yaml b/charts/library/common-test/ci/simple-persistence-values.yaml deleted file mode 100644 index 20bdbfa1c61..00000000000 --- a/charts/library/common-test/ci/simple-persistence-values.yaml +++ /dev/null @@ -1,91 +0,0 @@ -image: - repository: ghcr.io/truecharts/whoami - pullPolicy: IfNotPresent - tag: v1.8.0@sha256:057b682b74eae04bdfc994050bc3a9c1ba5c13cb6f415464828f9d4219e7331f - -service: - main: - ports: - main: - port: 8080 - -args: - - --port - - '8080' - -ingress: - main: - enabled: true - -probes: - liveness: - enabled: true - readiness: - enabled: true - startup: - enabled: true - - -persistence: - simple-pvc: - enabled: true - type: simplePVC - simple-hostpath: - enabled: true - type: simpleHP - hostPathSimple: /usr - setPermissionsSimple: false - -"ixCertificateAuthorities": {} -"ixCertificates": - "1": - "CA_type_existing": false - "CA_type_intermediate": false - "CA_type_internal": false - "CSR": "" - "DN": "/C=US/O=iXsystems/CN=localhost/emailAddress=info@ixsystems.com/ST=Tennessee/L=Maryville/subjectAltName=DNS:localhost" - "cert_type": "CERTIFICATE" - "cert_type_CSR": false - "cert_type_existing": true - "cert_type_internal": false - "certificate": "-----BEGIN CERTIFICATE-----\nMIIDqjCCApKgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCVVMx\nEjAQBgNVBAoMCWlYc3lzdGVtczESMBAGA1UEAwwJbG9jYWxob3N0MSEwHwYJKoZI\nhvcNAQkBFhJpbmZvQGl4c3lzdGVtcy5jb20xEjAQBgNVBAgMCVRlbm5lc3NlZTES\nMBAGA1UEBwwJTWFyeXZpbGxlMB4XDTIwMDkyNTE0MDUzOFoXDTIyMTIyOTE0MDUz\nOFowgYAxCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlpWHN5c3RlbXMxEjAQBgNVBAMM\nCWxvY2FsaG9zdDEhMB8GCSqGSIb3DQEJARYSaW5mb0BpeHN5c3RlbXMuY29tMRIw\nEAYDVQQIDAlUZW5uZXNzZWUxEjAQBgNVBAcMCU1hcnl2aWxsZTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALpoGliii6X8DeoFdLcR7jjsfJIn3nC8f1pT\nLQ3RURHUOEyhPT3Z6TkhaHeHoj8D6kiXROhyJJq3kw5OeqGZisfpGQhkxjpxkfh9\nfAhlvhuLwCWHaMvSh1TaT+h9+eHfcx3un5CIaH8b1KYRBMH+jmKFpr7jkPNkBXLS\nMA7jKIIa8pD9R6lF4gAsbqJafCbT3R7bqkd9xp3n3j2YhqQzETU2lmu4fra3BPio\nofK47kSkguUC6mtk6VrDf2+QtCKlY0dtbF3e2ZBNWo1aj86sjCtoEmqOCMsPRLc/\nXwQcfEqHY4XfafXwqk0G0UxV2ce18xKoR/pN3MpLBZ65NzPnpn0CAwEAAaMtMCsw\nFAYDVR0RBA0wC4IJbG9jYWxob3N0MBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqG\nSIb3DQEBCwUAA4IBAQBFW1R037y7wllg/gRk9p2T1stiG8iIXosblmL4Ak1YToTQ\n/0to5GY2ZYW29+rbA4SDTS5eeu2YqZ0A/fF3wey7ggzMS7KyNBOvx5QBJRw3PJGn\n+THfhXvdfkOyeUC6KWRGLgl+/zBFvgh6vFDq3jmv0NI4ehVBTBMCJn7r6577S16T\nwtgKMCooizII0Odu5HIF10gTieFIH3PQYm9JBji9iyemb9Ht3wn7fXQptfGadz/l\nWz/Dv9+a6IOr7JVJMHnqAIvPzpkav4efuVPOX1zbhjg4K5g+nRYfjr5F5upOd0Y3\nznWTUBUyI7CXRkpHtSDXfEqKgnk/8uv7GWw+hyKr\n-----END CERTIFICATE-----\n" - "certificate_path": "/etc/certificates/freenas_default.crt" - "chain": false - "chain_list": [ - "-----BEGIN CERTIFICATE-----\nMIIDqjCCApKgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCVVMx\nEjAQBgNVBAoMCWlYc3lzdGVtczESMBAGA1UEAwwJbG9jYWxob3N0MSEwHwYJKoZI\nhvcNAQkBFhJpbmZvQGl4c3lzdGVtcy5jb20xEjAQBgNVBAgMCVRlbm5lc3NlZTES\nMBAGA1UEBwwJTWFyeXZpbGxlMB4XDTIwMDkyNTE0MDUzOFoXDTIyMTIyOTE0MDUz\nOFowgYAxCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlpWHN5c3RlbXMxEjAQBgNVBAMM\nCWxvY2FsaG9zdDEhMB8GCSqGSIb3DQEJARYSaW5mb0BpeHN5c3RlbXMuY29tMRIw\nEAYDVQQIDAlUZW5uZXNzZWUxEjAQBgNVBAcMCU1hcnl2aWxsZTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALpoGliii6X8DeoFdLcR7jjsfJIn3nC8f1pT\nLQ3RURHUOEyhPT3Z6TkhaHeHoj8D6kiXROhyJJq3kw5OeqGZisfpGQhkxjpxkfh9\nfAhlvhuLwCWHaMvSh1TaT+h9+eHfcx3un5CIaH8b1KYRBMH+jmKFpr7jkPNkBXLS\nMA7jKIIa8pD9R6lF4gAsbqJafCbT3R7bqkd9xp3n3j2YhqQzETU2lmu4fra3BPio\nofK47kSkguUC6mtk6VrDf2+QtCKlY0dtbF3e2ZBNWo1aj86sjCtoEmqOCMsPRLc/\nXwQcfEqHY4XfafXwqk0G0UxV2ce18xKoR/pN3MpLBZ65NzPnpn0CAwEAAaMtMCsw\nFAYDVR0RBA0wC4IJbG9jYWxob3N0MBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqG\nSIb3DQEBCwUAA4IBAQBFW1R037y7wllg/gRk9p2T1stiG8iIXosblmL4Ak1YToTQ\n/0to5GY2ZYW29+rbA4SDTS5eeu2YqZ0A/fF3wey7ggzMS7KyNBOvx5QBJRw3PJGn\n+THfhXvdfkOyeUC6KWRGLgl+/zBFvgh6vFDq3jmv0NI4ehVBTBMCJn7r6577S16T\nwtgKMCooizII0Odu5HIF10gTieFIH3PQYm9JBji9iyemb9Ht3wn7fXQptfGadz/l\nWz/Dv9+a6IOr7JVJMHnqAIvPzpkav4efuVPOX1zbhjg4K5g+nRYfjr5F5upOd0Y3\nznWTUBUyI7CXRkpHtSDXfEqKgnk/8uv7GWw+hyKr\n-----END CERTIFICATE-----\n" - ] - "city": "Maryville" - "common": "localhost" - "country": "US" - "csr_path": "/etc/certificates/freenas_default.csr" - "digest_algorithm": "SHA256" - "email": "info@ixsystems.com" - "extensions": - "ExtendedKeyUsage": "TLS Web Server Authentication" - "SubjectAltName": "DNS:localhost" - "fingerprint": "9C:5A:1D:1B:E7:9E:0B:89:2B:37:F4:19:83:ED:3C:6B:D8:14:0D:9B" - "from": "Fri Sep 25 16:05:38 2020" - "id": 1 - "internal": "NO" - "issuer": "external" - "key_length": 2048 - "key_type": "RSA" - "lifetime": 825 - "name": "freenas_default" - "organization": "iXsystems" - "organizational_unit": "" - "parsed": true - "privatekey": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC6aBpYooul/A3q\nBXS3Ee447HySJ95wvH9aUy0N0VER1DhMoT092ek5IWh3h6I/A+pIl0TociSat5MO\nTnqhmYrH6RkIZMY6cZH4fXwIZb4bi8Alh2jL0odU2k/offnh33Md7p+QiGh/G9Sm\nEQTB/o5ihaa+45DzZAVy0jAO4yiCGvKQ/UepReIALG6iWnwm090e26pHfcad5949\nmIakMxE1NpZruH62twT4qKHyuO5EpILlAuprZOlaw39vkLQipWNHbWxd3tmQTVqN\nWo/OrIwraBJqjgjLD0S3P18EHHxKh2OF32n18KpNBtFMVdnHtfMSqEf6TdzKSwWe\nuTcz56Z9AgMBAAECggEARwcb4uIs7BZbBu0FSCyg5TfXT6m5bKOmszg2VqmHho+i\n1DAsMcEyyP4d3E3mWLSZNQfOzfOQVxPUCQOGXsUuyHXdgAFGN0bHJDRMara59a0O\njj5GhEO4JXD6OdCmwpZuOt2OF3iiuKxWHuElOvZQMuJSYzI7LULTgKjufv23lbsf\nxMO/v9yi57c5EGgnQ8siLKOy/FQZapn4Z9qKn+lVyk5gfaKP0pDsvV4d7nGYMDD2\nYijfkSyNecApFdtWiLE5zLUlvF6oNj8o66z3YrVNKrCPzhA/5Rkkwwk32SNxvKU3\nVZFSNPeOZ60BicxYcWO+b2aAa0WF+uazJAZ4q52gUQKBgQDu88R+0wm76secYkzE\nQglteLNZKFcvth0kI5xH42Hmk9IXkGimFoDJCIrLAuopyGnfNmqmh2is3QUMUPdR\n/wDLnKc4MCezEidNoD2RBC+bzM1hB9oye/b5sOZUDFXSa0k4XSLu1UEuy1yWhkuS\n6JjY1KQfc4FN0K0Fjqqo7UCTCwKBgQDHtKQh/NvMJ2ok4YW+/QAsus4mEK9eCyUy\nOuyDszQYrGvjkS7STKJVNxGLhWb0XKSIAxMZ66b1MwOt+71h7xNn6pcancfVdK7F\n1Xl5J+76SwbXSgQwTZuoMDxPIvZn7v/2ep5Ni/BcOhMcPIcobWb/OmXrFN1brBvo\nlFNQyWWhlwKBgFDAyPMjVvLO0U6kWdUpjA4W8GV9IJnbLdX8wt/4lClcY2/bOcKH\ncFaAMIeTIJemR0FMHpbQxCtHNmGHK03mo9orwsdWXtRBmk69jJDpnT1F5VKZWMAe\n7MRNaEmXMZm+8CvALgIQx8qMp2mnUPsA6Ea+9gg6/MPTdeWe5UXZiC0pAoGAGtSt\nPJfBXBNrklruYjORo3DRo5GYThVHQRFjl2orNKltsVxfIwgCw1ortEgPBgOwY0mu\ndkwP2V+qPeTVk+PQAqUk+gF6yLXtiUzeDiYMWHpeB+y81VSH9jfM0oELA/m7T/03\naYnEmE+BI8kKC6dvMBlDeisKdneQJFZRP0hfrC8CgYEAgYIyCGwcydKpe2Nkj0Fz\nKTtCMC/k4DvJfd5Kb9AbmrPUfKgA9Xj4GT6yPG6uBMi8r5etvLCKJ2x2NtN024a8\nQJLATYPrSsaZkE+9zM0j5nYAgbKpxBhlDzDAzn//3ByVzfgJ25S80XhTI2lfbLH/\nU07ssxdZaQCo+WuD82OvNcg=\n-----END PRIVATE KEY-----\n" - "privatekey_path": "/etc/certificates/freenas_default.key" - "revoked": false - "revoked_date": "" - "root_path": "/etc/certificates" - "san": [ - "DNS:localhost" - ] - "serial": 1 - "signedby": "" - "state": "Tennessee" - "subject_name_hash": 3193428416 - "type": 8 - "until": "Thu Dec 29 15:05:38 2022" diff --git a/charts/library/common-test/ci/simple-service-values.yaml b/charts/library/common-test/ci/simple-service-values.yaml deleted file mode 100644 index 301d67c5a12..00000000000 --- a/charts/library/common-test/ci/simple-service-values.yaml +++ /dev/null @@ -1,82 +0,0 @@ -image: - repository: ghcr.io/truecharts/whoami - pullPolicy: IfNotPresent - tag: v1.8.0@sha256:057b682b74eae04bdfc994050bc3a9c1ba5c13cb6f415464828f9d4219e7331f - -service: - main: - type: Simple - ports: - main: - port: 8080 - -args: - - --port - - '8080' - -ingress: - main: - enabled: true - -probes: - liveness: - enabled: true - readiness: - enabled: true - startup: - enabled: true - - -"ixCertificateAuthorities": {} -"ixCertificates": - "1": - "CA_type_existing": false - "CA_type_intermediate": false - "CA_type_internal": false - "CSR": "" - "DN": "/C=US/O=iXsystems/CN=localhost/emailAddress=info@ixsystems.com/ST=Tennessee/L=Maryville/subjectAltName=DNS:localhost" - "cert_type": "CERTIFICATE" - "cert_type_CSR": false - "cert_type_existing": true - "cert_type_internal": false - "certificate": "-----BEGIN CERTIFICATE-----\nMIIDqjCCApKgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCVVMx\nEjAQBgNVBAoMCWlYc3lzdGVtczESMBAGA1UEAwwJbG9jYWxob3N0MSEwHwYJKoZI\nhvcNAQkBFhJpbmZvQGl4c3lzdGVtcy5jb20xEjAQBgNVBAgMCVRlbm5lc3NlZTES\nMBAGA1UEBwwJTWFyeXZpbGxlMB4XDTIwMDkyNTE0MDUzOFoXDTIyMTIyOTE0MDUz\nOFowgYAxCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlpWHN5c3RlbXMxEjAQBgNVBAMM\nCWxvY2FsaG9zdDEhMB8GCSqGSIb3DQEJARYSaW5mb0BpeHN5c3RlbXMuY29tMRIw\nEAYDVQQIDAlUZW5uZXNzZWUxEjAQBgNVBAcMCU1hcnl2aWxsZTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALpoGliii6X8DeoFdLcR7jjsfJIn3nC8f1pT\nLQ3RURHUOEyhPT3Z6TkhaHeHoj8D6kiXROhyJJq3kw5OeqGZisfpGQhkxjpxkfh9\nfAhlvhuLwCWHaMvSh1TaT+h9+eHfcx3un5CIaH8b1KYRBMH+jmKFpr7jkPNkBXLS\nMA7jKIIa8pD9R6lF4gAsbqJafCbT3R7bqkd9xp3n3j2YhqQzETU2lmu4fra3BPio\nofK47kSkguUC6mtk6VrDf2+QtCKlY0dtbF3e2ZBNWo1aj86sjCtoEmqOCMsPRLc/\nXwQcfEqHY4XfafXwqk0G0UxV2ce18xKoR/pN3MpLBZ65NzPnpn0CAwEAAaMtMCsw\nFAYDVR0RBA0wC4IJbG9jYWxob3N0MBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqG\nSIb3DQEBCwUAA4IBAQBFW1R037y7wllg/gRk9p2T1stiG8iIXosblmL4Ak1YToTQ\n/0to5GY2ZYW29+rbA4SDTS5eeu2YqZ0A/fF3wey7ggzMS7KyNBOvx5QBJRw3PJGn\n+THfhXvdfkOyeUC6KWRGLgl+/zBFvgh6vFDq3jmv0NI4ehVBTBMCJn7r6577S16T\nwtgKMCooizII0Odu5HIF10gTieFIH3PQYm9JBji9iyemb9Ht3wn7fXQptfGadz/l\nWz/Dv9+a6IOr7JVJMHnqAIvPzpkav4efuVPOX1zbhjg4K5g+nRYfjr5F5upOd0Y3\nznWTUBUyI7CXRkpHtSDXfEqKgnk/8uv7GWw+hyKr\n-----END CERTIFICATE-----\n" - "certificate_path": "/etc/certificates/freenas_default.crt" - "chain": false - "chain_list": [ - "-----BEGIN CERTIFICATE-----\nMIIDqjCCApKgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCVVMx\nEjAQBgNVBAoMCWlYc3lzdGVtczESMBAGA1UEAwwJbG9jYWxob3N0MSEwHwYJKoZI\nhvcNAQkBFhJpbmZvQGl4c3lzdGVtcy5jb20xEjAQBgNVBAgMCVRlbm5lc3NlZTES\nMBAGA1UEBwwJTWFyeXZpbGxlMB4XDTIwMDkyNTE0MDUzOFoXDTIyMTIyOTE0MDUz\nOFowgYAxCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlpWHN5c3RlbXMxEjAQBgNVBAMM\nCWxvY2FsaG9zdDEhMB8GCSqGSIb3DQEJARYSaW5mb0BpeHN5c3RlbXMuY29tMRIw\nEAYDVQQIDAlUZW5uZXNzZWUxEjAQBgNVBAcMCU1hcnl2aWxsZTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALpoGliii6X8DeoFdLcR7jjsfJIn3nC8f1pT\nLQ3RURHUOEyhPT3Z6TkhaHeHoj8D6kiXROhyJJq3kw5OeqGZisfpGQhkxjpxkfh9\nfAhlvhuLwCWHaMvSh1TaT+h9+eHfcx3un5CIaH8b1KYRBMH+jmKFpr7jkPNkBXLS\nMA7jKIIa8pD9R6lF4gAsbqJafCbT3R7bqkd9xp3n3j2YhqQzETU2lmu4fra3BPio\nofK47kSkguUC6mtk6VrDf2+QtCKlY0dtbF3e2ZBNWo1aj86sjCtoEmqOCMsPRLc/\nXwQcfEqHY4XfafXwqk0G0UxV2ce18xKoR/pN3MpLBZ65NzPnpn0CAwEAAaMtMCsw\nFAYDVR0RBA0wC4IJbG9jYWxob3N0MBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqG\nSIb3DQEBCwUAA4IBAQBFW1R037y7wllg/gRk9p2T1stiG8iIXosblmL4Ak1YToTQ\n/0to5GY2ZYW29+rbA4SDTS5eeu2YqZ0A/fF3wey7ggzMS7KyNBOvx5QBJRw3PJGn\n+THfhXvdfkOyeUC6KWRGLgl+/zBFvgh6vFDq3jmv0NI4ehVBTBMCJn7r6577S16T\nwtgKMCooizII0Odu5HIF10gTieFIH3PQYm9JBji9iyemb9Ht3wn7fXQptfGadz/l\nWz/Dv9+a6IOr7JVJMHnqAIvPzpkav4efuVPOX1zbhjg4K5g+nRYfjr5F5upOd0Y3\nznWTUBUyI7CXRkpHtSDXfEqKgnk/8uv7GWw+hyKr\n-----END CERTIFICATE-----\n" - ] - "city": "Maryville" - "common": "localhost" - "country": "US" - "csr_path": "/etc/certificates/freenas_default.csr" - "digest_algorithm": "SHA256" - "email": "info@ixsystems.com" - "extensions": - "ExtendedKeyUsage": "TLS Web Server Authentication" - "SubjectAltName": "DNS:localhost" - "fingerprint": "9C:5A:1D:1B:E7:9E:0B:89:2B:37:F4:19:83:ED:3C:6B:D8:14:0D:9B" - "from": "Fri Sep 25 16:05:38 2020" - "id": 1 - "internal": "NO" - "issuer": "external" - "key_length": 2048 - "key_type": "RSA" - "lifetime": 825 - "name": "freenas_default" - "organization": "iXsystems" - "organizational_unit": "" - "parsed": true - "privatekey": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC6aBpYooul/A3q\nBXS3Ee447HySJ95wvH9aUy0N0VER1DhMoT092ek5IWh3h6I/A+pIl0TociSat5MO\nTnqhmYrH6RkIZMY6cZH4fXwIZb4bi8Alh2jL0odU2k/offnh33Md7p+QiGh/G9Sm\nEQTB/o5ihaa+45DzZAVy0jAO4yiCGvKQ/UepReIALG6iWnwm090e26pHfcad5949\nmIakMxE1NpZruH62twT4qKHyuO5EpILlAuprZOlaw39vkLQipWNHbWxd3tmQTVqN\nWo/OrIwraBJqjgjLD0S3P18EHHxKh2OF32n18KpNBtFMVdnHtfMSqEf6TdzKSwWe\nuTcz56Z9AgMBAAECggEARwcb4uIs7BZbBu0FSCyg5TfXT6m5bKOmszg2VqmHho+i\n1DAsMcEyyP4d3E3mWLSZNQfOzfOQVxPUCQOGXsUuyHXdgAFGN0bHJDRMara59a0O\njj5GhEO4JXD6OdCmwpZuOt2OF3iiuKxWHuElOvZQMuJSYzI7LULTgKjufv23lbsf\nxMO/v9yi57c5EGgnQ8siLKOy/FQZapn4Z9qKn+lVyk5gfaKP0pDsvV4d7nGYMDD2\nYijfkSyNecApFdtWiLE5zLUlvF6oNj8o66z3YrVNKrCPzhA/5Rkkwwk32SNxvKU3\nVZFSNPeOZ60BicxYcWO+b2aAa0WF+uazJAZ4q52gUQKBgQDu88R+0wm76secYkzE\nQglteLNZKFcvth0kI5xH42Hmk9IXkGimFoDJCIrLAuopyGnfNmqmh2is3QUMUPdR\n/wDLnKc4MCezEidNoD2RBC+bzM1hB9oye/b5sOZUDFXSa0k4XSLu1UEuy1yWhkuS\n6JjY1KQfc4FN0K0Fjqqo7UCTCwKBgQDHtKQh/NvMJ2ok4YW+/QAsus4mEK9eCyUy\nOuyDszQYrGvjkS7STKJVNxGLhWb0XKSIAxMZ66b1MwOt+71h7xNn6pcancfVdK7F\n1Xl5J+76SwbXSgQwTZuoMDxPIvZn7v/2ep5Ni/BcOhMcPIcobWb/OmXrFN1brBvo\nlFNQyWWhlwKBgFDAyPMjVvLO0U6kWdUpjA4W8GV9IJnbLdX8wt/4lClcY2/bOcKH\ncFaAMIeTIJemR0FMHpbQxCtHNmGHK03mo9orwsdWXtRBmk69jJDpnT1F5VKZWMAe\n7MRNaEmXMZm+8CvALgIQx8qMp2mnUPsA6Ea+9gg6/MPTdeWe5UXZiC0pAoGAGtSt\nPJfBXBNrklruYjORo3DRo5GYThVHQRFjl2orNKltsVxfIwgCw1ortEgPBgOwY0mu\ndkwP2V+qPeTVk+PQAqUk+gF6yLXtiUzeDiYMWHpeB+y81VSH9jfM0oELA/m7T/03\naYnEmE+BI8kKC6dvMBlDeisKdneQJFZRP0hfrC8CgYEAgYIyCGwcydKpe2Nkj0Fz\nKTtCMC/k4DvJfd5Kb9AbmrPUfKgA9Xj4GT6yPG6uBMi8r5etvLCKJ2x2NtN024a8\nQJLATYPrSsaZkE+9zM0j5nYAgbKpxBhlDzDAzn//3ByVzfgJ25S80XhTI2lfbLH/\nU07ssxdZaQCo+WuD82OvNcg=\n-----END PRIVATE KEY-----\n" - "privatekey_path": "/etc/certificates/freenas_default.key" - "revoked": false - "revoked_date": "" - "root_path": "/etc/certificates" - "san": [ - "DNS:localhost" - ] - "serial": 1 - "signedby": "" - "state": "Tennessee" - "subject_name_hash": 3193428416 - "type": 8 - "until": "Thu Dec 29 15:05:38 2022" diff --git a/charts/library/common-test/helm-values.md b/charts/library/common-test/helm-values.md deleted file mode 100644 index f66651af449..00000000000 --- a/charts/library/common-test/helm-values.md +++ /dev/null @@ -1,19 +0,0 @@ -# Default Helm-Values - -TrueCharts is primarily build to supply TrueNAS SCALE Apps. -However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our values.yaml file. - -Most of our Apps also consume our "common" Helm Chart. -If this is the case, this means that all values.yaml values are set to the common chart values.yaml by default. This values.yaml file will only contain values that deviate from the common chart. -You will, however, be able to use all values referenced in the common chart here, besides the values listed in this document. - -## Values - -| Key | Type | Default | Description | -|-----|------|---------|-------------| -| image.pullPolicy | string | `"IfNotPresent"` | | -| image.repository | string | `"ghcr.io/truecharts/whoami"` | | -| image.tag | string | `"v1.8.0@sha256:057b682b74eae04bdfc994050bc3a9c1ba5c13cb6f415464828f9d4219e7331f"` | | -| service.main.ports.main.port | int | `8080` | | - -All Rights Reserved - The TrueCharts Project diff --git a/charts/library/common-test/security.md b/charts/library/common-test/security.md deleted file mode 100644 index ed56b0e5c26..00000000000 --- a/charts/library/common-test/security.md +++ /dev/null @@ -1,123 +0,0 @@ ---- -hide: - - toc ---- - -# Security Overview - - - -## Helm-Chart - -##### Scan Results - -#### Chart Object: common-test/templates/common.yaml - - - -| Type | Misconfiguration ID | Check | Severity | Explaination | Links | -|:----------------|:------------------:|:-----------:|:------------------:|-----------------------------------------|-----------------------------------------| -| Kubernetes Security Check | KSV001 | Process can elevate its own privileges | MEDIUM |
Expand... A program inside the container can elevate its own privileges and run as root, which might give the program control over the container and node.


Container 'hostpatch' of Deployment 'RELEASE-NAME-common-test' should set 'securityContext.allowPrivilegeEscalation' to false
|
Expand...https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted
https://avd.aquasec.com/appshield/ksv001
| -| Kubernetes Security Check | KSV003 | Default capabilities not dropped | LOW |
Expand... The container should drop all default capabilities and add only those that are needed for its execution.


Container 'RELEASE-NAME-common-test' of Deployment 'RELEASE-NAME-common-test' should add 'ALL' to 'securityContext.capabilities.drop'
|
Expand...https://kubesec.io/basics/containers-securitycontext-capabilities-drop-index-all/
https://avd.aquasec.com/appshield/ksv003
| -| Kubernetes Security Check | KSV003 | Default capabilities not dropped | LOW |
Expand... The container should drop all default capabilities and add only those that are needed for its execution.


Container 'hostpatch' of Deployment 'RELEASE-NAME-common-test' should add 'ALL' to 'securityContext.capabilities.drop'
|
Expand...https://kubesec.io/basics/containers-securitycontext-capabilities-drop-index-all/
https://avd.aquasec.com/appshield/ksv003
| -| Kubernetes Security Check | KSV011 | CPU not limited | LOW |
Expand... Enforcing CPU limits prevents DoS via resource exhaustion.


Container 'hostpatch' of Deployment 'RELEASE-NAME-common-test' should set 'resources.limits.cpu'
|
Expand...https://cloud.google.com/blog/products/containers-kubernetes/kubernetes-best-practices-resource-requests-and-limits
https://avd.aquasec.com/appshield/ksv011
| -| Kubernetes Security Check | KSV012 | Runs as root user | MEDIUM |
Expand... 'runAsNonRoot' forces the running image to run as a non-root user to ensure least privileges.


Container 'autopermissions' of Deployment 'RELEASE-NAME-common-test' should set 'securityContext.runAsNonRoot' to true
|
Expand...https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted
https://avd.aquasec.com/appshield/ksv012
| -| Kubernetes Security Check | KSV012 | Runs as root user | MEDIUM |
Expand... 'runAsNonRoot' forces the running image to run as a non-root user to ensure least privileges.


Container 'hostpatch' of Deployment 'RELEASE-NAME-common-test' should set 'securityContext.runAsNonRoot' to true
|
Expand...https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted
https://avd.aquasec.com/appshield/ksv012
| -| Kubernetes Security Check | KSV014 | Root file system is not read-only | LOW |
Expand... An immutable root file system prevents applications from writing to their local disk. This can limit intrusions, as attackers will not be able to tamper with the file system or write foreign executables to disk.


Container 'autopermissions' of Deployment 'RELEASE-NAME-common-test' should set 'securityContext.readOnlyRootFilesystem' to true
|
Expand...https://kubesec.io/basics/containers-securitycontext-readonlyrootfilesystem-true/
https://avd.aquasec.com/appshield/ksv014
| -| Kubernetes Security Check | KSV014 | Root file system is not read-only | LOW |
Expand... An immutable root file system prevents applications from writing to their local disk. This can limit intrusions, as attackers will not be able to tamper with the file system or write foreign executables to disk.


Container 'hostpatch' of Deployment 'RELEASE-NAME-common-test' should set 'securityContext.readOnlyRootFilesystem' to true
|
Expand...https://kubesec.io/basics/containers-securitycontext-readonlyrootfilesystem-true/
https://avd.aquasec.com/appshield/ksv014
| -| Kubernetes Security Check | KSV015 | CPU requests not specified | LOW |
Expand... When containers have resource requests specified, the scheduler can make better decisions about which nodes to place pods on, and how to deal with resource contention.


Container 'hostpatch' of Deployment 'RELEASE-NAME-common-test' should set 'resources.requests.cpu'
|
Expand...https://cloud.google.com/blog/products/containers-kubernetes/kubernetes-best-practices-resource-requests-and-limits
https://avd.aquasec.com/appshield/ksv015
| -| Kubernetes Security Check | KSV016 | Memory requests not specified | LOW |
Expand... When containers have memory requests specified, the scheduler can make better decisions about which nodes to place pods on, and how to deal with resource contention.


Container 'hostpatch' of Deployment 'RELEASE-NAME-common-test' should set 'resources.requests.memory'
|
Expand...https://kubesec.io/basics/containers-resources-limits-memory/
https://avd.aquasec.com/appshield/ksv016
| -| Kubernetes Security Check | KSV017 | Privileged container | HIGH |
Expand... Privileged containers share namespaces with the host system and do not offer any security. They should be used exclusively for system containers that require high privileges.


Container 'hostpatch' of Deployment 'RELEASE-NAME-common-test' should set 'securityContext.privileged' to false
|
Expand...https://kubernetes.io/docs/concepts/security/pod-security-standards/#baseline
https://avd.aquasec.com/appshield/ksv017
| -| Kubernetes Security Check | KSV018 | Memory not limited | LOW |
Expand... Enforcing memory limits prevents DoS via resource exhaustion.


Container 'hostpatch' of Deployment 'RELEASE-NAME-common-test' should set 'resources.limits.memory'
|
Expand...https://kubesec.io/basics/containers-resources-limits-memory/
https://avd.aquasec.com/appshield/ksv018
| -| Kubernetes Security Check | KSV020 | Runs with low user ID | MEDIUM |
Expand... Force the container to run with user ID > 10000 to avoid conflicts with the host’s user table.


Container 'RELEASE-NAME-common-test' of Deployment 'RELEASE-NAME-common-test' should set 'securityContext.runAsUser' > 10000
|
Expand...https://kubesec.io/basics/containers-securitycontext-runasuser/
https://avd.aquasec.com/appshield/ksv020
| -| Kubernetes Security Check | KSV020 | Runs with low user ID | MEDIUM |
Expand... Force the container to run with user ID > 10000 to avoid conflicts with the host’s user table.


Container 'autopermissions' of Deployment 'RELEASE-NAME-common-test' should set 'securityContext.runAsUser' > 10000
|
Expand...https://kubesec.io/basics/containers-securitycontext-runasuser/
https://avd.aquasec.com/appshield/ksv020
| -| Kubernetes Security Check | KSV020 | Runs with low user ID | MEDIUM |
Expand... Force the container to run with user ID > 10000 to avoid conflicts with the host’s user table.


Container 'hostpatch' of Deployment 'RELEASE-NAME-common-test' should set 'securityContext.runAsUser' > 10000
|
Expand...https://kubesec.io/basics/containers-securitycontext-runasuser/
https://avd.aquasec.com/appshield/ksv020
| -| Kubernetes Security Check | KSV021 | Runs with low group ID | MEDIUM |
Expand... Force the container to run with group ID > 10000 to avoid conflicts with the host’s user table.


Container 'RELEASE-NAME-common-test' of Deployment 'RELEASE-NAME-common-test' should set 'securityContext.runAsGroup' > 10000
|
Expand...https://kubesec.io/basics/containers-securitycontext-runasuser/
https://avd.aquasec.com/appshield/ksv021
| -| Kubernetes Security Check | KSV021 | Runs with low group ID | MEDIUM |
Expand... Force the container to run with group ID > 10000 to avoid conflicts with the host’s user table.


Container 'autopermissions' of Deployment 'RELEASE-NAME-common-test' should set 'securityContext.runAsGroup' > 10000
|
Expand...https://kubesec.io/basics/containers-securitycontext-runasuser/
https://avd.aquasec.com/appshield/ksv021
| -| Kubernetes Security Check | KSV021 | Runs with low group ID | MEDIUM |
Expand... Force the container to run with group ID > 10000 to avoid conflicts with the host’s user table.


Container 'hostpatch' of Deployment 'RELEASE-NAME-common-test' should set 'securityContext.runAsGroup' > 10000
|
Expand...https://kubesec.io/basics/containers-securitycontext-runasuser/
https://avd.aquasec.com/appshield/ksv021
| -| Kubernetes Security Check | KSV023 | hostPath volumes mounted | MEDIUM |
Expand... HostPath volumes must be forbidden.


Deployment 'RELEASE-NAME-common-test' should not set 'spec.template.volumes.hostPath'
|
Expand...https://kubernetes.io/docs/concepts/security/pod-security-standards/#baseline
https://avd.aquasec.com/appshield/ksv023
| -| Kubernetes Security Check | KSV029 | A root primary or supplementary GID set | LOW |
Expand... Containers should be forbidden from running with a root primary or supplementary GID.


Deployment 'RELEASE-NAME-common-test' should set 'spec.securityContext.runAsGroup', 'spec.securityContext.supplementalGroups[*]' and 'spec.securityContext.fsGroup' to integer greater than 0
|
Expand...https://kubernetes.io/docs/concepts/security/pod-security-standards/#restricted
https://avd.aquasec.com/appshield/ksv029
| - -## Containers - -##### Detected Containers - - tccr.io/truecharts/alpine:v3.14.2@sha256:4095394abbae907e94b1f2fd2e2de6c4f201a5b9704573243ca8eb16db8cdb7c - tccr.io/truecharts/alpine:v3.14.2@sha256:4095394abbae907e94b1f2fd2e2de6c4f201a5b9704573243ca8eb16db8cdb7c - tccr.io/truecharts/whoami:v1.8.0@sha256:057b682b74eae04bdfc994050bc3a9c1ba5c13cb6f415464828f9d4219e7331f - -##### Scan Results - - -#### Container: tccr.io/truecharts/alpine:v3.14.2@sha256:4095394abbae907e94b1f2fd2e2de6c4f201a5b9704573243ca8eb16db8cdb7c (alpine 3.14.2) - - -**alpine** - - -| Package | Vulnerability | Severity | Installed Version | Fixed Version | Links | -|:----------------|:------------------:|:-----------:|:------------------:|:-------------:|-----------------------------------------| -| busybox | CVE-2021-42378 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42378
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| busybox | CVE-2021-42379 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42379
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| busybox | CVE-2021-42380 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42380
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| busybox | CVE-2021-42381 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42381
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| busybox | CVE-2021-42382 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42382
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| busybox | CVE-2021-42383 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
| -| busybox | CVE-2021-42384 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42384
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| busybox | CVE-2021-42385 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42385
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| busybox | CVE-2021-42386 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42386
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| busybox | CVE-2021-42374 | MEDIUM | 1.33.1-r3 | 1.33.1-r4 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42374
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| busybox | CVE-2021-42375 | MEDIUM | 1.33.1-r3 | 1.33.1-r5 |
Expand...https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
| -| ssl_client | CVE-2021-42378 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42378
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| ssl_client | CVE-2021-42379 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42379
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| ssl_client | CVE-2021-42380 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42380
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| ssl_client | CVE-2021-42381 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42381
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| ssl_client | CVE-2021-42382 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42382
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| ssl_client | CVE-2021-42383 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
| -| ssl_client | CVE-2021-42384 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42384
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| ssl_client | CVE-2021-42385 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42385
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| ssl_client | CVE-2021-42386 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42386
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| ssl_client | CVE-2021-42374 | MEDIUM | 1.33.1-r3 | 1.33.1-r4 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42374
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| ssl_client | CVE-2021-42375 | MEDIUM | 1.33.1-r3 | 1.33.1-r5 |
Expand...https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
| - - -#### Container: tccr.io/truecharts/alpine:v3.14.2@sha256:4095394abbae907e94b1f2fd2e2de6c4f201a5b9704573243ca8eb16db8cdb7c (alpine 3.14.2) - - -**alpine** - - -| Package | Vulnerability | Severity | Installed Version | Fixed Version | Links | -|:----------------|:------------------:|:-----------:|:------------------:|:-------------:|-----------------------------------------| -| busybox | CVE-2021-42378 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42378
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| busybox | CVE-2021-42379 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42379
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| busybox | CVE-2021-42380 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42380
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| busybox | CVE-2021-42381 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42381
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| busybox | CVE-2021-42382 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42382
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| busybox | CVE-2021-42383 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
| -| busybox | CVE-2021-42384 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42384
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| busybox | CVE-2021-42385 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42385
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| busybox | CVE-2021-42386 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42386
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| busybox | CVE-2021-42374 | MEDIUM | 1.33.1-r3 | 1.33.1-r4 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42374
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| busybox | CVE-2021-42375 | MEDIUM | 1.33.1-r3 | 1.33.1-r5 |
Expand...https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
| -| ssl_client | CVE-2021-42378 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42378
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| ssl_client | CVE-2021-42379 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42379
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| ssl_client | CVE-2021-42380 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42380
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| ssl_client | CVE-2021-42381 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42381
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| ssl_client | CVE-2021-42382 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42382
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| ssl_client | CVE-2021-42383 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
| -| ssl_client | CVE-2021-42384 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42384
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| ssl_client | CVE-2021-42385 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42385
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| ssl_client | CVE-2021-42386 | HIGH | 1.33.1-r3 | 1.33.1-r6 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42386
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| ssl_client | CVE-2021-42374 | MEDIUM | 1.33.1-r3 | 1.33.1-r4 |
Expand...https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42374
https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
https://ubuntu.com/security/notices/USN-5179-1
| -| ssl_client | CVE-2021-42375 | MEDIUM | 1.33.1-r3 | 1.33.1-r5 |
Expand...https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/
https://security.netapp.com/advisory/ntap-20211223-0002/
| - - -#### Container: whoami - - -**gobinary** - - -| No Vulnerabilities found | -|:---------------------------------| diff --git a/charts/library/common-test/templates/common.yaml b/charts/library/common-test/templates/common.yaml deleted file mode 100644 index a6613c2ce21..00000000000 --- a/charts/library/common-test/templates/common.yaml +++ /dev/null @@ -1 +0,0 @@ -{{ include "common.all" . }} diff --git a/charts/library/common-test/test.yaml b/charts/library/common-test/test.yaml deleted file mode 100644 index 4707ed02a6a..00000000000 --- a/charts/library/common-test/test.yaml +++ /dev/null @@ -1,123 +0,0 @@ -image: - repository: b4bz/homer - tag: latest - pullPolicy: IfNotPresent - - -# -- Configure the ingresses for the chart here. -# Additional ingresses can be added by adding a dictionary key similar to the 'main' ingress. -# @default -- See below -ingress: - main: - # -- Enables or disables the ingress - enabled: true - - # -- Make this the primary ingress (used in probes, notes, etc...). - # If there is more than 1 ingress, make sure that only 1 ingress is marked as primary. - primary: true - - # -- Override the name suffix that is used for this ingress. - nameOverride: - - # -- List of middlewares in the traefikmiddlewares k8s namespace to add automatically - # Creates an annotation with the middlewares and appends k8s and traefik namespaces to the middleware names - # Primarily used for TrueNAS SCALE to add additional (seperate) middlewares without exposing them to the end-user - fixedMiddlewares: - - chain-basic - - # -- Additional List of middlewares in the traefikmiddlewares k8s namespace to add automatically - # Creates an annotation with the middlewares and appends k8s and traefik namespaces to the middleware names - middlewares: [] - - # -- Provide additional annotations which may be required. - annotations: {} - # kubernetes.io/ingress.class: nginx - # kubernetes.io/tls-acme: "true" - - # -- Provide additional labels which may be required. - labels: {} - - # -- Set the ingressClass that is used for this ingress. - # Requires Kubernetes >=1.19 - ingressClassName: # "nginx" - - ## Configure the hosts for the ingress - hosts: - - # -- Host address. Helm template can be passed. - host: chart-example.local - ## Configure the paths for the host - paths: - - # -- Path. Helm template can be passed. - path: / - # -- Ignored if not kubeVersion >= 1.14-0 - pathType: Prefix - service: - # -- Overrides the service name reference for this path - name: - # -- Overrides the service port reference for this path - port: - - # -- Configure TLS for the ingress. Both secretName and hosts can process a Helm template. - tls: - # - secretName: chart-example-tls - # -- Create a secret from a GUI selected TrueNAS SCALE certificate - - scaleCert: 1 - hosts: - - chart-example.local - - scaleCert: 1 - hosts: - - chart-example2.local - -"ixCertificateAuthorities": {} -"ixCertificates": - "1": - "CA_type_existing": false - "CA_type_intermediate": false - "CA_type_internal": false - "CSR": "" - "DN": "/C=US/O=iXsystems/CN=localhost/emailAddress=info@ixsystems.com/ST=Tennessee/L=Maryville/subjectAltName=DNS:localhost" - "cert_type": "CERTIFICATE" - "cert_type_CSR": false - "cert_type_existing": true - "cert_type_internal": false - "certificate": "-----BEGIN CERTIFICATE-----\nMIIDqjCCApKgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCVVMx\nEjAQBgNVBAoMCWlYc3lzdGVtczESMBAGA1UEAwwJbG9jYWxob3N0MSEwHwYJKoZI\nhvcNAQkBFhJpbmZvQGl4c3lzdGVtcy5jb20xEjAQBgNVBAgMCVRlbm5lc3NlZTES\nMBAGA1UEBwwJTWFyeXZpbGxlMB4XDTIwMDkyNTE0MDUzOFoXDTIyMTIyOTE0MDUz\nOFowgYAxCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlpWHN5c3RlbXMxEjAQBgNVBAMM\nCWxvY2FsaG9zdDEhMB8GCSqGSIb3DQEJARYSaW5mb0BpeHN5c3RlbXMuY29tMRIw\nEAYDVQQIDAlUZW5uZXNzZWUxEjAQBgNVBAcMCU1hcnl2aWxsZTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALpoGliii6X8DeoFdLcR7jjsfJIn3nC8f1pT\nLQ3RURHUOEyhPT3Z6TkhaHeHoj8D6kiXROhyJJq3kw5OeqGZisfpGQhkxjpxkfh9\nfAhlvhuLwCWHaMvSh1TaT+h9+eHfcx3un5CIaH8b1KYRBMH+jmKFpr7jkPNkBXLS\nMA7jKIIa8pD9R6lF4gAsbqJafCbT3R7bqkd9xp3n3j2YhqQzETU2lmu4fra3BPio\nofK47kSkguUC6mtk6VrDf2+QtCKlY0dtbF3e2ZBNWo1aj86sjCtoEmqOCMsPRLc/\nXwQcfEqHY4XfafXwqk0G0UxV2ce18xKoR/pN3MpLBZ65NzPnpn0CAwEAAaMtMCsw\nFAYDVR0RBA0wC4IJbG9jYWxob3N0MBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqG\nSIb3DQEBCwUAA4IBAQBFW1R037y7wllg/gRk9p2T1stiG8iIXosblmL4Ak1YToTQ\n/0to5GY2ZYW29+rbA4SDTS5eeu2YqZ0A/fF3wey7ggzMS7KyNBOvx5QBJRw3PJGn\n+THfhXvdfkOyeUC6KWRGLgl+/zBFvgh6vFDq3jmv0NI4ehVBTBMCJn7r6577S16T\nwtgKMCooizII0Odu5HIF10gTieFIH3PQYm9JBji9iyemb9Ht3wn7fXQptfGadz/l\nWz/Dv9+a6IOr7JVJMHnqAIvPzpkav4efuVPOX1zbhjg4K5g+nRYfjr5F5upOd0Y3\nznWTUBUyI7CXRkpHtSDXfEqKgnk/8uv7GWw+hyKr\n-----END CERTIFICATE-----\n" - "certificate_path": "/etc/certificates/freenas_default.crt" - "chain": false - "chain_list": [ - "-----BEGIN CERTIFICATE-----\nMIIDqjCCApKgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgDELMAkGA1UEBhMCVVMx\nEjAQBgNVBAoMCWlYc3lzdGVtczESMBAGA1UEAwwJbG9jYWxob3N0MSEwHwYJKoZI\nhvcNAQkBFhJpbmZvQGl4c3lzdGVtcy5jb20xEjAQBgNVBAgMCVRlbm5lc3NlZTES\nMBAGA1UEBwwJTWFyeXZpbGxlMB4XDTIwMDkyNTE0MDUzOFoXDTIyMTIyOTE0MDUz\nOFowgYAxCzAJBgNVBAYTAlVTMRIwEAYDVQQKDAlpWHN5c3RlbXMxEjAQBgNVBAMM\nCWxvY2FsaG9zdDEhMB8GCSqGSIb3DQEJARYSaW5mb0BpeHN5c3RlbXMuY29tMRIw\nEAYDVQQIDAlUZW5uZXNzZWUxEjAQBgNVBAcMCU1hcnl2aWxsZTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBALpoGliii6X8DeoFdLcR7jjsfJIn3nC8f1pT\nLQ3RURHUOEyhPT3Z6TkhaHeHoj8D6kiXROhyJJq3kw5OeqGZisfpGQhkxjpxkfh9\nfAhlvhuLwCWHaMvSh1TaT+h9+eHfcx3un5CIaH8b1KYRBMH+jmKFpr7jkPNkBXLS\nMA7jKIIa8pD9R6lF4gAsbqJafCbT3R7bqkd9xp3n3j2YhqQzETU2lmu4fra3BPio\nofK47kSkguUC6mtk6VrDf2+QtCKlY0dtbF3e2ZBNWo1aj86sjCtoEmqOCMsPRLc/\nXwQcfEqHY4XfafXwqk0G0UxV2ce18xKoR/pN3MpLBZ65NzPnpn0CAwEAAaMtMCsw\nFAYDVR0RBA0wC4IJbG9jYWxob3N0MBMGA1UdJQQMMAoGCCsGAQUFBwMBMA0GCSqG\nSIb3DQEBCwUAA4IBAQBFW1R037y7wllg/gRk9p2T1stiG8iIXosblmL4Ak1YToTQ\n/0to5GY2ZYW29+rbA4SDTS5eeu2YqZ0A/fF3wey7ggzMS7KyNBOvx5QBJRw3PJGn\n+THfhXvdfkOyeUC6KWRGLgl+/zBFvgh6vFDq3jmv0NI4ehVBTBMCJn7r6577S16T\nwtgKMCooizII0Odu5HIF10gTieFIH3PQYm9JBji9iyemb9Ht3wn7fXQptfGadz/l\nWz/Dv9+a6IOr7JVJMHnqAIvPzpkav4efuVPOX1zbhjg4K5g+nRYfjr5F5upOd0Y3\nznWTUBUyI7CXRkpHtSDXfEqKgnk/8uv7GWw+hyKr\n-----END CERTIFICATE-----\n" - ] - "city": "Maryville" - "common": "localhost" - "country": "US" - "csr_path": "/etc/certificates/freenas_default.csr" - "digest_algorithm": "SHA256" - "email": "info@ixsystems.com" - "extensions": - "ExtendedKeyUsage": "TLS Web Server Authentication" - "SubjectAltName": "DNS:localhost" - "fingerprint": "9C:5A:1D:1B:E7:9E:0B:89:2B:37:F4:19:83:ED:3C:6B:D8:14:0D:9B" - "from": "Fri Sep 25 16:05:38 2020" - "id": 1 - "internal": "NO" - "issuer": "external" - "key_length": 2048 - "key_type": "RSA" - "lifetime": 825 - "name": "freenas_default" - "organization": "iXsystems" - "organizational_unit": "" - "parsed": true - "privatekey": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC6aBpYooul/A3q\nBXS3Ee447HySJ95wvH9aUy0N0VER1DhMoT092ek5IWh3h6I/A+pIl0TociSat5MO\nTnqhmYrH6RkIZMY6cZH4fXwIZb4bi8Alh2jL0odU2k/offnh33Md7p+QiGh/G9Sm\nEQTB/o5ihaa+45DzZAVy0jAO4yiCGvKQ/UepReIALG6iWnwm090e26pHfcad5949\nmIakMxE1NpZruH62twT4qKHyuO5EpILlAuprZOlaw39vkLQipWNHbWxd3tmQTVqN\nWo/OrIwraBJqjgjLD0S3P18EHHxKh2OF32n18KpNBtFMVdnHtfMSqEf6TdzKSwWe\nuTcz56Z9AgMBAAECggEARwcb4uIs7BZbBu0FSCyg5TfXT6m5bKOmszg2VqmHho+i\n1DAsMcEyyP4d3E3mWLSZNQfOzfOQVxPUCQOGXsUuyHXdgAFGN0bHJDRMara59a0O\njj5GhEO4JXD6OdCmwpZuOt2OF3iiuKxWHuElOvZQMuJSYzI7LULTgKjufv23lbsf\nxMO/v9yi57c5EGgnQ8siLKOy/FQZapn4Z9qKn+lVyk5gfaKP0pDsvV4d7nGYMDD2\nYijfkSyNecApFdtWiLE5zLUlvF6oNj8o66z3YrVNKrCPzhA/5Rkkwwk32SNxvKU3\nVZFSNPeOZ60BicxYcWO+b2aAa0WF+uazJAZ4q52gUQKBgQDu88R+0wm76secYkzE\nQglteLNZKFcvth0kI5xH42Hmk9IXkGimFoDJCIrLAuopyGnfNmqmh2is3QUMUPdR\n/wDLnKc4MCezEidNoD2RBC+bzM1hB9oye/b5sOZUDFXSa0k4XSLu1UEuy1yWhkuS\n6JjY1KQfc4FN0K0Fjqqo7UCTCwKBgQDHtKQh/NvMJ2ok4YW+/QAsus4mEK9eCyUy\nOuyDszQYrGvjkS7STKJVNxGLhWb0XKSIAxMZ66b1MwOt+71h7xNn6pcancfVdK7F\n1Xl5J+76SwbXSgQwTZuoMDxPIvZn7v/2ep5Ni/BcOhMcPIcobWb/OmXrFN1brBvo\nlFNQyWWhlwKBgFDAyPMjVvLO0U6kWdUpjA4W8GV9IJnbLdX8wt/4lClcY2/bOcKH\ncFaAMIeTIJemR0FMHpbQxCtHNmGHK03mo9orwsdWXtRBmk69jJDpnT1F5VKZWMAe\n7MRNaEmXMZm+8CvALgIQx8qMp2mnUPsA6Ea+9gg6/MPTdeWe5UXZiC0pAoGAGtSt\nPJfBXBNrklruYjORo3DRo5GYThVHQRFjl2orNKltsVxfIwgCw1ortEgPBgOwY0mu\ndkwP2V+qPeTVk+PQAqUk+gF6yLXtiUzeDiYMWHpeB+y81VSH9jfM0oELA/m7T/03\naYnEmE+BI8kKC6dvMBlDeisKdneQJFZRP0hfrC8CgYEAgYIyCGwcydKpe2Nkj0Fz\nKTtCMC/k4DvJfd5Kb9AbmrPUfKgA9Xj4GT6yPG6uBMi8r5etvLCKJ2x2NtN024a8\nQJLATYPrSsaZkE+9zM0j5nYAgbKpxBhlDzDAzn//3ByVzfgJ25S80XhTI2lfbLH/\nU07ssxdZaQCo+WuD82OvNcg=\n-----END PRIVATE KEY-----\n" - "privatekey_path": "/etc/certificates/freenas_default.key" - "revoked": false - "revoked_date": "" - "root_path": "/etc/certificates" - "san": [ - "DNS:localhost" - ] - "serial": 1 - "signedby": "" - "state": "Tennessee" - "subject_name_hash": 3193428416 - "type": 8 - "until": "Thu Dec 29 15:05:38 2022" diff --git a/charts/library/common-test/values.yaml b/charts/library/common-test/values.yaml deleted file mode 100644 index 7315a0c0fe7..00000000000 --- a/charts/library/common-test/values.yaml +++ /dev/null @@ -1,10 +0,0 @@ -image: - repository: ghcr.io/truecharts/whoami - pullPolicy: IfNotPresent - tag: v1.8.0@sha256:057b682b74eae04bdfc994050bc3a9c1ba5c13cb6f415464828f9d4219e7331f - -service: - main: - ports: - main: - port: 8080 diff --git a/charts/library/common/.helmignore b/charts/library/common/.helmignore deleted file mode 100644 index 0e8a0eb36f4..00000000000 --- a/charts/library/common/.helmignore +++ /dev/null @@ -1,23 +0,0 @@ -# Patterns to ignore when building packages. -# This supports shell glob matching, relative path matching, and -# negation (prefixed with !). Only one pattern per line. -.DS_Store -# Common VCS dirs -.git/ -.gitignore -.bzr/ -.bzrignore -.hg/ -.hgignore -.svn/ -# Common backup files -*.swp -*.bak -*.tmp -*.orig -*~ -# Various IDEs -.project -.idea/ -*.tmproj -.vscode/ diff --git a/charts/library/common/CHANGELOG.md b/charts/library/common/CHANGELOG.md deleted file mode 100644 index 1be441ae583..00000000000 --- a/charts/library/common/CHANGELOG.md +++ /dev/null @@ -1,1322 +0,0 @@ -# Changelog
- - - -### [common-9.1.14](https://github.com/truecharts/apps/compare/common-9.1.13...common-9.1.14) (2022-03-26) - -#### Chore - -* update docker general non-major - -#### Fix - -* try to fix "did not find expected "-" indicator ([#2275](https://github.com/truecharts/apps/issues/2275)) - - - - -### [common-9.1.13](https://github.com/truecharts/apps/compare/common-9.1.12...common-9.1.13) (2022-03-24) - -#### Chore - -* update docker general non-major - - - - -### [common-9.1.12](https://github.com/truecharts/apps/compare/common-9.1.11...common-9.1.12) (2022-03-24) - -#### Fix - -* Add mariadbImage to values.yaml ([#2272](https://github.com/truecharts/apps/issues/2272)) - - - - -### [common-9.1.11](https://github.com/truecharts/apps/compare/common-9.1.10...common-9.1.11) (2022-03-24) - -#### Fix - -* typo in mariadb repo ([#2271](https://github.com/truecharts/apps/issues/2271)) - - - - -### [common-9.1.10](https://github.com/truecharts/apps/compare/common-9.1.9...common-9.1.10) (2022-03-24) - -#### Chore - -* update docker general non-major ([#2259](https://github.com/truecharts/apps/issues/2259)) -* update docker general non-major - - - - -### [common-9.1.9](https://github.com/truecharts/apps/compare/common-9.1.8...common-9.1.9) (2022-03-20) - -#### Fix - -* Wait for init ([#2226](https://github.com/truecharts/apps/issues/2226)) - - - - -### [common-9.1.8](https://github.com/truecharts/apps/compare/common-9.1.6...common-9.1.8) (2022-03-20) - -#### Chore - -* update docker general non-major - -#### Fix - -* add url without ql as some app does not like it ([#2231](https://github.com/truecharts/apps/issues/2231)) - - - - -### [common-9.1.6](https://github.com/truecharts/apps/compare/common-9.1.5...common-9.1.6) (2022-03-17) - -#### Chore - -* force common chart rerelease - - - - -### [common-9.1.5](https://github.com/truecharts/apps/compare/common-9.1.4...common-9.1.5) (2022-03-17) - -#### Chore - -* update docker general non-major ([#2198](https://github.com/truecharts/apps/issues/2198)) -* update docker general non-major ([#2196](https://github.com/truecharts/apps/issues/2196)) - - - - -### [common-9.1.4](https://github.com/truecharts/apps/compare/common-9.1.3...common-9.1.4) (2022-03-15) - -#### Chore - -* update docker general non-major ([#2175](https://github.com/truecharts/apps/issues/2175)) - - - - -### [common-9.1.3](https://github.com/truecharts/apps/compare/common-test-3.3.8...common-9.1.3) (2022-03-15) - -#### Chore - -* update docker general non-major ([#2108](https://github.com/truecharts/apps/issues/2108)) - -#### Docs - -* add BirdBare as a contributor for bug ([#2080](https://github.com/truecharts/apps/issues/2080)) - -#### Fix - -* remove `or` when only one argument ([#2166](https://github.com/truecharts/apps/issues/2166)) - - - - -### [common-9.1.2](https://github.com/truecharts/apps/compare/common-9.1.1...common-9.1.2) (2022-03-07) - -#### Chore - -* update docker general non-major ([#2046](https://github.com/truecharts/apps/issues/2046)) - - - - -### [common-9.1.1](https://github.com/truecharts/apps/compare/common-9.1.0...common-9.1.1) (2022-03-06) - -#### Feat - -* allow more PUID/UID types to sync with GUID/GID ([#2039](https://github.com/truecharts/apps/issues/2039)) - - - - -### [common-9.1.0](https://github.com/truecharts/apps/compare/common-9.0.1...common-9.1.0) (2022-03-06) - -#### Feat - -* bump and patch docker-compose disable -* allow shared ip ([#2033](https://github.com/truecharts/apps/issues/2033)) - - - - -### [common-9.0.0](https://github.com/truecharts/apps/compare/common-8.17.3...common-9.0.0) (2022-03-03) - -#### Fix - -* BREAKING CHANGE Move some env-vars outside of env section ([#2010](https://github.com/truecharts/apps/issues/2010)) - - - - -### [common-8.17.3](https://github.com/truecharts/apps/compare/common-8.17.2...common-8.17.3) (2022-03-03) - -#### Fix - -* fix TZ being wrongly defined in common and remove its references from some remaining Apps ([#2005](https://github.com/truecharts/apps/issues/2005)) - - - - -### [common-8.17.2](https://github.com/truecharts/apps/compare/common-8.17.1...common-8.17.2) (2022-02-28) - -#### Chore - -* update docker general non-major ([#1980](https://github.com/truecharts/apps/issues/1980)) - - - - -### [common-8.17.1](https://github.com/truecharts/apps/compare/common-8.17.0...common-8.17.1) (2022-02-25) - -#### Fix - -* correctly disable host docker-compose ([#1964](https://github.com/truecharts/apps/issues/1964)) - - - - -### [common-8.17.0](https://github.com/truecharts/apps/compare/common-8.16.1...common-8.17.0) (2022-02-24) - -#### Feat - -* block host docker-compose and create hostpatch initcontainer ([#1961](https://github.com/truecharts/apps/issues/1961)) - - - - -### [common-8.16.1](https://github.com/truecharts/apps/compare/common-8.16.0...common-8.16.1) (2022-02-22) - -#### Feat - -* Assing TZ a default value ([#1934](https://github.com/truecharts/apps/issues/1934)) - - - - -### [common-8.16.0](https://github.com/truecharts/apps/compare/common-8.15.4...common-8.16.0) (2022-02-21) - -#### Feat - -* add autolinking opion to ingress ([#1922](https://github.com/truecharts/apps/issues/1922)) - - - - -### [common-8.15.4](https://github.com/truecharts/apps/compare/common-8.15.3...common-8.15.4) (2022-02-14) - -#### Chore - -* update docker general non-major ([#1895](https://github.com/truecharts/apps/issues/1895)) - - - - -### [common-8.15.3](https://github.com/truecharts/apps/compare/common-8.15.2...common-8.15.3) (2022-02-10) - -#### Chore - -* update docker general non-major ([#1876](https://github.com/truecharts/apps/issues/1876)) - - - - -### [common-8.15.2](https://github.com/truecharts/apps/compare/common-8.15.1...common-8.15.2) (2022-02-08) - -#### Chore - -* update docker general non-major ([#1869](https://github.com/truecharts/apps/issues/1869)) - - - - -### [common-8.15.1](https://github.com/truecharts/apps/compare/common-8.15.0...common-8.15.1) (2022-02-07) - -#### Chore - -* update docker general non-major ([#1863](https://github.com/truecharts/apps/issues/1863)) -* update docker general non-major ([#1855](https://github.com/truecharts/apps/issues/1855)) - - - - -### [common-8.15.0](https://github.com/truecharts/apps/compare/common-8.14.5...common-8.15.0) (2022-02-06) - -#### Chore - -* update docker general non-major ([#1849](https://github.com/truecharts/apps/issues/1849)) - -#### Feat - -* add an initial inotify patch ([#1854](https://github.com/truecharts/apps/issues/1854)) - - - - -### [common-8.14.5](https://github.com/truecharts/apps/compare/common-8.14.4...common-8.14.5) (2022-02-03) - -#### Chore - -* update docker general non-major ([#1836](https://github.com/truecharts/apps/issues/1836)) - - - - -### [common-8.14.4](https://github.com/truecharts/apps/compare/common-8.14.3...common-8.14.4) (2022-01-31) - -#### Chore - -* update docker general non-major docker tags ([#1823](https://github.com/truecharts/apps/issues/1823)) - - - - -### [common-8.14.3](https://github.com/truecharts/apps/compare/common-8.14.2...common-8.14.3) (2022-01-31) - -#### Feat - -* force `NVIDIA_VISIBLE_DEVICES: "void"` when no GPU is assigned ([#1819](https://github.com/truecharts/apps/issues/1819)) - - - - -### [common-8.14.2](https://github.com/truecharts/apps/compare/common-8.14.1...common-8.14.2) (2022-01-24) - -#### Chore - -* update docker general non-major ([#1786](https://github.com/truecharts/apps/issues/1786)) - - - - -### [common-8.14.1](https://github.com/truecharts/apps/compare/common-8.14.0...common-8.14.1) (2022-01-23) - -#### Fix - -* correct mistakes in install and upgrade init containers - - - - -### [common-8.14.0](https://github.com/truecharts/apps/compare/common-8.13.5...common-8.14.0) (2022-01-23) - -#### Feat - -* add upgrade and install specific initContainers - - - - -### [common-8.13.5](https://github.com/truecharts/apps/compare/common-8.13.4...common-8.13.5) (2022-01-22) - -#### Chore - -* update docker general non-major ([#1764](https://github.com/truecharts/apps/issues/1764)) - - - - -### [common-8.13.4](https://github.com/truecharts/apps/compare/common-8.13.3...common-8.13.4) (2022-01-21) - -#### Chore - -* update docker general non-major ([#1751](https://github.com/truecharts/apps/issues/1751)) - - - - -### [common-8.13.3](https://github.com/truecharts/apps/compare/common-8.13.2...common-8.13.3) (2022-01-19) - -#### Chore - -* update docker general non-major ([#1741](https://github.com/truecharts/apps/issues/1741)) - - - - -### [common-8.13.2](https://github.com/truecharts/apps/compare/common-8.13.1...common-8.13.2) (2022-01-19) - -#### Chore - -* update docker general non-major ([#1729](https://github.com/truecharts/apps/issues/1729)) - -#### Fix - -* add a few more settings required for setting up USB devices - - - - -### [common-8.13.1](https://github.com/truecharts/apps/compare/common-8.13.0...common-8.13.1) (2022-01-17) - -#### Chore - -* update docker general non-major ([#1728](https://github.com/truecharts/apps/issues/1728)) - - - - -### [common-8.13.0](https://github.com/truecharts/apps/compare/common-8.12.2...common-8.13.0) (2022-01-13) - -#### Feat - -* add GUI for networkPolicy ([#1710](https://github.com/truecharts/apps/issues/1710)) -* expose capabilities in GUI ([#1709](https://github.com/truecharts/apps/issues/1709)) - - - - -### [common-8.12.2](https://github.com/truecharts/apps/compare/common-8.12.1...common-8.12.2) (2022-01-13) - -#### Feat - -* properly setup extra-args support ([#1708](https://github.com/truecharts/apps/issues/1708)) - - - - -### [common-8.12.1](https://github.com/truecharts/apps/compare/common-8.12.0...common-8.12.1) (2022-01-12) - -#### Fix - -* document the portal configmap and have it parse tpl for config ([#1612](https://github.com/truecharts/apps/issues/1612)) - - - - -### [common-8.12.0](https://github.com/truecharts/apps/compare/common-8.11.0...common-8.12.0) (2022-01-12) - -#### Feat - -* add TTY, STDIN and IPFamily support ([#1700](https://github.com/truecharts/apps/issues/1700)) - - - - -### [common-8.11.0](https://github.com/truecharts/apps/compare/common-8.10.6...common-8.11.0) (2022-01-12) - - - - -### [common-8.10.6](https://github.com/truecharts/apps/compare/common-8.10.5...common-8.10.6) (2022-01-10) - -#### Chore - -* update docker general non-major ([#1685](https://github.com/truecharts/apps/issues/1685)) - - - - -### [common-8.10.5](https://github.com/truecharts/apps/compare/common-8.10.4...common-8.10.5) (2022-01-10) - -#### Chore - -* update docker general non-major ([#1677](https://github.com/truecharts/apps/issues/1677)) - - - - -### [common-8.10.4](https://github.com/truecharts/apps/compare/common-8.10.3...common-8.10.4) (2022-01-10) - -#### Chore - -* update docker general major docker tags (major) ([#1678](https://github.com/truecharts/apps/issues/1678)) - - - - -### [common-8.10.3](https://github.com/truecharts/apps/compare/common-8.10.2...common-8.10.3) (2022-01-09) - -#### Fix - -* fix logic in tpl ([#1668](https://github.com/truecharts/apps/issues/1668)) - - - - -### [common-8.10.2](https://github.com/truecharts/apps/compare/common-8.10.1...common-8.10.2) (2022-01-04) - -#### Chore - -* update docker general non-major ([#1648](https://github.com/truecharts/apps/issues/1648)) - - - - -### [common-8.10.1](https://github.com/truecharts/apps/compare/common-8.10.0...common-8.10.1) (2022-01-03) - -#### Chore - -* update docker general non-major ([#1646](https://github.com/truecharts/apps/issues/1646)) - - - - -### [common-8.10.0](https://github.com/truecharts/apps/compare/common-8.9.27...common-8.10.0) (2021-12-29) - -#### Feat - -* add support for a, renovate compatible, image selector ([#1627](https://github.com/truecharts/apps/issues/1627)) - - - - -### [common-8.9.27](https://github.com/truecharts/apps/compare/common-8.9.26...common-8.9.27) (2021-12-27) - -#### Chore - -* update docker general non-major ([#1615](https://github.com/truecharts/apps/issues/1615)) - - - - -### [common-8.9.26](https://github.com/truecharts/apps/compare/common-8.9.25...common-8.9.26) (2021-12-24) - -#### Chore - -* update docker general non-major ([#1607](https://github.com/truecharts/apps/issues/1607)) -* update docker general non-major ([#1595](https://github.com/truecharts/apps/issues/1595)) - - - - -### [common-8.9.25](https://github.com/truecharts/apps/compare/common-8.9.24...common-8.9.25) (2021-12-20) - -#### Chore - -* update docker general non-major ([#1585](https://github.com/truecharts/apps/issues/1585)) - - - - -### [common-8.9.24](https://github.com/truecharts/apps/compare/common-8.9.23...common-8.9.24) (2021-12-19) - -#### Chore - -* update docker general non-major ([#1567](https://github.com/truecharts/apps/issues/1567)) - - - - -### [common-8.9.23](https://github.com/truecharts/apps/compare/common-8.9.22...common-8.9.23) (2021-12-18) - -#### Fix - -* add default dbindex for redis ([#1563](https://github.com/truecharts/apps/issues/1563)) - - - - -### [common-8.9.22](https://github.com/truecharts/apps/compare/common-8.9.21...common-8.9.22) (2021-12-18) - -#### Chore - -* update docker general non-major - -#### Fix - -* fix redis port ([#1561](https://github.com/truecharts/apps/issues/1561)) - - - - -### [common-8.9.21](https://github.com/truecharts/apps/compare/common-8.9.20...common-8.9.21) (2021-12-13) - -#### Chore - -* update docker general non-major ([#1531](https://github.com/truecharts/apps/issues/1531)) - - - - -### [common-8.9.20](https://github.com/truecharts/apps/compare/common-8.9.19...common-8.9.20) (2021-12-12) - -#### Chore - -* update docker general non-major ([#1518](https://github.com/truecharts/apps/issues/1518)) - - - - -### [common-8.9.19](https://github.com/truecharts/apps/compare/common-8.9.18...common-8.9.19) (2021-12-12) - -#### Fix - -* support some different jdbc url's for mariadb injector - - - - -### [common-8.9.18](https://github.com/truecharts/apps/compare/common-test-3.3.7...common-8.9.18) (2021-12-11) - -#### Chore - -* update non-major docker ([#1507](https://github.com/truecharts/apps/issues/1507)) - - - - -### [common-8.9.17](https://github.com/truecharts/apps/compare/common-8.9.16...common-8.9.17) (2021-12-08) - -#### Fix - -* try using a seperate renovate group for dependency train - - - - -### [common-8.9.16](https://github.com/truecharts/apps/compare/common-8.9.15...common-8.9.16) (2021-12-08) - -#### Chore - -* update non-major ([#1488](https://github.com/truecharts/apps/issues/1488)) - - - - -### [common-8.9.15](https://github.com/truecharts/apps/compare/common-8.9.14...common-8.9.15) (2021-12-07) - -#### Chore - -* update non-major ([#1479](https://github.com/truecharts/apps/issues/1479)) - - - - -### [common-8.9.14](https://github.com/truecharts/apps/compare/common-test-3.3.6...common-8.9.14) (2021-12-07) - -#### Chore - -* update non-major ([#1475](https://github.com/truecharts/apps/issues/1475)) - - - - -### common-8.9.13 (2021-12-05) - -#### Chore - -* move all container references to TCCR ([#1448](https://github.com/truecharts/apps/issues/1448)) -* ensure container references are prefixed with v -* cleanup the ci for the security page a bit -* bump common -* retrigger common release -* update non-major ([#1466](https://github.com/truecharts/apps/issues/1466)) -* update non-major ([#1449](https://github.com/truecharts/apps/issues/1449)) -* update non-major ([#1443](https://github.com/truecharts/apps/issues/1443)) -* update non-major ([#1427](https://github.com/truecharts/apps/issues/1427)) -* update non-major ([#1423](https://github.com/truecharts/apps/issues/1423)) -* update common - -#### Fix - -* move deps back to ghcr for now. - - - - -### [common-8.9.11](https://github.com/truecharts/apps/compare/common-test-3.3.2...common-8.9.11) (2021-12-05) - -#### Chore - -* update non-major ([#1466](https://github.com/truecharts/apps/issues/1466)) - -#### Fix - -* move deps back to ghcr for now. - - - - -### [common-8.9.10](https://github.com/truecharts/apps/compare/common-test-3.3.1...common-8.9.10) (2021-12-03) - - - - -### [common-8.9.9](https://github.com/truecharts/apps/compare/common-8.9.8...common-8.9.9) (2021-12-03) - -#### Chore - -* ensure container references are prefixed with v -* move all container references to TCCR ([#1448](https://github.com/truecharts/apps/issues/1448)) -* update non-major ([#1449](https://github.com/truecharts/apps/issues/1449)) - - - - -### [common-8.9.8](https://github.com/truecharts/apps/compare/common-8.9.7...common-8.9.8) (2021-12-01) - -#### Chore - -* update non-major ([#1443](https://github.com/truecharts/apps/issues/1443)) - - - - -### [common-8.9.7](https://github.com/truecharts/apps/compare/common-8.9.6...common-8.9.7) (2021-11-30) - -#### Chore - -* update non-major ([#1427](https://github.com/truecharts/apps/issues/1427)) - - - - -### [common-8.9.5](https://github.com/truecharts/apps/compare/common-8.9.4...common-8.9.5) (2021-11-29) - -#### Fix - -* always force a rename and recreate of cert-secrets on update ([#1422](https://github.com/truecharts/apps/issues/1422)) - - - - -### [common-8.9.4](https://github.com/truecharts/apps/compare/common-8.9.3...common-8.9.4) (2021-11-28) - -#### Fix - -* patch common mariadb linker - - - - -### [common-8.9.3](https://github.com/truecharts/apps/compare/common-8.9.2...common-8.9.3) (2021-11-23) - -#### Chore - -* update non-major ([#1384](https://github.com/truecharts/apps/issues/1384)) - - - - -### [common-8.9.2](https://github.com/truecharts/apps/compare/common-8.9.1...common-8.9.2) (2021-11-23) - -#### Fix - -* ensure storageClassName gets rendered correctly ([#1385](https://github.com/truecharts/apps/issues/1385)) - - - - -### [common-8.9.1](https://github.com/truecharts/apps/compare/common-8.9.0...common-8.9.1) (2021-11-22) - -#### Chore - -* update non-major ([#1380](https://github.com/truecharts/apps/issues/1380)) - - - - -### [common-8.9.0](https://github.com/truecharts/apps/compare/common-8.8.1...common-8.9.0) (2021-11-22) - -#### Feat - -* Implement some simplifications from Bitnami ([#1378](https://github.com/truecharts/apps/issues/1378)) - - - - -### [common-8.8.1](https://github.com/truecharts/apps/compare/common-8.8.0...common-8.8.1) (2021-11-21) - -#### Fix - -* also allow for templating in service selector - - - - -### [common-8.8.0](https://github.com/truecharts/apps/compare/common-8.7.1...common-8.8.0) (2021-11-21) - -#### Feat - -* allow for custom selector labels on services. ([#1374](https://github.com/truecharts/apps/issues/1374)) - - - - -### [common-8.7.1](https://github.com/truecharts/apps/compare/common-8.7.0...common-8.7.1) (2021-11-21) - -#### Fix - -* correct some mistakes in configMap handling in common ([#1369](https://github.com/truecharts/apps/issues/1369)) - - - - -### [common-8.7.0](https://github.com/truecharts/apps/compare/common-8.6.5...common-8.7.0) (2021-11-21) - -#### Chore - -* bump common - -#### Feat - -* add configmap and secret persistence objects ([#1368](https://github.com/truecharts/apps/issues/1368)) - - - - -### [common-8.6.5](https://github.com/truecharts/apps/compare/common-8.6.4...common-8.6.5) (2021-11-21) - -#### Fix - -* increate probe delay and timeout for weaker systems - - - - -### [common-8.6.4](https://github.com/truecharts/apps/compare/common-8.6.3...common-8.6.4) (2021-11-18) - -#### Chore - -* update non-major ([#1350](https://github.com/truecharts/apps/issues/1350)) - - - - -### [common-8.6.3](https://github.com/truecharts/apps/compare/common-8.6.2...common-8.6.3) (2021-11-16) - -#### Chore - -* update non-major ([#1342](https://github.com/truecharts/apps/issues/1342)) - - - - -### [common-8.6.2](https://github.com/truecharts/apps/compare/common-8.6.1...common-8.6.2) (2021-11-15) - -#### Chore - -* update non-major ([#1336](https://github.com/truecharts/apps/issues/1336)) - - - - -### [common-8.6.1](https://github.com/truecharts/apps/compare/common-8.6.0...common-8.6.1) (2021-11-15) - -#### Fix - -* correctly set defaults for volumeclaimtemplates and pvc's ([#1334](https://github.com/truecharts/apps/issues/1334)) - - - - -### [common-8.6.0](https://github.com/truecharts/apps/compare/common-8.5.7...common-8.6.0) (2021-11-15) - -#### Feat - -* add mariadb support layer - - - - -### [common-8.5.7](https://github.com/truecharts/apps/compare/common-8.5.6...common-8.5.7) (2021-11-14) - -#### Chore - -* clean up Chart.yaml ([#1322](https://github.com/truecharts/apps/issues/1322)) -* update non-major ([#1327](https://github.com/truecharts/apps/issues/1327)) - -#### Chort - -* bump common - - - - -### [common-8.5.6](https://github.com/truecharts/apps/compare/common-8.5.5...common-8.5.6) (2021-11-12) - -#### Feat - -* add redis App ([#1309](https://github.com/truecharts/apps/issues/1309)) - - - - -### [common-8.5.5](https://github.com/truecharts/apps/compare/common-8.5.4...common-8.5.5) (2021-11-10) - -#### Chore - -* update non-major ([#1302](https://github.com/truecharts/apps/issues/1302)) -* update non-major ([#1296](https://github.com/truecharts/apps/issues/1296)) - -#### Fix - -* fix release.name issues when installing - - - - -### [common-8.5.4](https://github.com/truecharts/apps/compare/common-8.5.3...common-8.5.4) (2021-11-08) - -#### Feat - -* also set and remember postgresql root password - - - - -### [common-8.5.3](https://github.com/truecharts/apps/compare/common-8.5.2...common-8.5.3) (2021-11-07) - -#### Chore - -* update non-major ([#1270](https://github.com/truecharts/apps/issues/1270)) - - - - -### [common-8.5.2](https://github.com/truecharts/apps/compare/common-8.5.1...common-8.5.2) (2021-11-06) - -#### Chore - -* Simplify GUI for deployment, persistence and securityContext ([#1289](https://github.com/truecharts/apps/issues/1289)) - - - - -### [common-8.5.1](https://github.com/truecharts/apps/compare/common-8.5.0...common-8.5.1) (2021-11-06) - -#### Chore - -* add additional aliasses for simple hostpath persistence ([#1287](https://github.com/truecharts/apps/issues/1287)) - - - - -### [common-8.5.0](https://github.com/truecharts/apps/compare/common-8.4.0...common-8.5.0) (2021-11-06) - -#### Feat - -* introduce simplePVC and simplyHP aliasses for persistence types ([#1286](https://github.com/truecharts/apps/issues/1286)) - - - - -### [common-8.4.0](https://github.com/truecharts/apps/compare/common-8.3.19...common-8.4.0) (2021-11-06) - -#### Feat - -* Add simple servicetype as a LoadBalancer Alias ([#1284](https://github.com/truecharts/apps/issues/1284)) - - - - -### [common-8.3.19](https://github.com/truecharts/apps/compare/common-8.3.18...common-8.3.19) (2021-11-02) - -#### Chore - -* update non-major ([#1265](https://github.com/truecharts/apps/issues/1265)) - - - - -### [common-8.3.18](https://github.com/truecharts/apps/compare/common-8.3.17...common-8.3.18) (2021-11-01) - -#### Chore - -* update non-major ([#1263](https://github.com/truecharts/apps/issues/1263)) - - - - -### [common-8.3.17](https://github.com/truecharts/apps/compare/common-8.3.16...common-8.3.17) (2021-11-01) - -#### Fix - -* set default ndots to 1 and fix dnsoptions in GUI ([#1262](https://github.com/truecharts/apps/issues/1262)) - - - - -### [common-8.3.16](https://github.com/truecharts/apps/compare/common-8.3.15...common-8.3.16) (2021-10-26) - -#### Chore - -* update bitnami/postgresql:14.0.0 docker digest to 6737f46 ([#1243](https://github.com/truecharts/apps/issues/1243)) -* update major docker tags (major) ([#1235](https://github.com/truecharts/apps/issues/1235)) - - - - -### [common-8.3.15](https://github.com/truecharts/apps/compare/common-8.3.14...common-8.3.15) (2021-10-26) - -#### Chore - -* update non-major ([#1232](https://github.com/truecharts/apps/issues/1232)) - - - - -### [common-8.3.14](https://github.com/truecharts/apps/compare/common-test-3.3.0...common-8.3.14) (2021-10-20) - -#### Fix - -* use correct PVC storageClass when using postgresql as a dependency on SCALE ([#1212](https://github.com/truecharts/apps/issues/1212)) - - - - -### [common-8.3.13](https://github.com/truecharts/apps/compare/common-8.3.12...common-8.3.13) (2021-10-19) - -#### Chore - -* Project-Eclipse part 2, adapting and cleaning changelog ([#1173](https://github.com/truecharts/apps/issues/1173)) -* update non-major ([#1174](https://github.com/truecharts/apps/issues/1174)) - -#### Fix - -* correct SCALE detection on statefullset - - - - -### [common-8.3.12](https://github.com/truecharts/apps/compare/common-8.3.11...common-8.3.12) (2021-10-18) - -#### Fix - -* Copy ixChartContext.storageClassName to child charts - - - - -### [common-8.3.11](https://github.com/truecharts/apps/compare/common-8.3.10...common-8.3.11) (2021-10-18) - -#### Feat - -* set SCALE-ZFS as a default storageClassName for SCALE when nothing is given. ([#1169](https://github.com/truecharts/apps/issues/1169)) - - - - -### [common-8.3.10](https://github.com/truecharts/apps/compare/common-8.3.9...common-8.3.10) (2021-10-17) - -#### Fix - -* Just provide warning when chmod fails on autopermissions ([#1157](https://github.com/truecharts/apps/issues/1157)) - - - - -### [common-8.3.9](https://github.com/truecharts/apps/compare/common-8.3.8...common-8.3.9) (2021-10-15) - -#### Chore - -* add varlog storage and streamline db urls again - - - - -### [common-8.3.8](https://github.com/truecharts/apps/compare/common-8.3.7...common-8.3.8) (2021-10-15) - - - - -### [common-8.3.7](https://github.com/truecharts/apps/compare/common-8.3.6...common-8.3.7) (2021-10-15) - -#### Feat - -* simplify postgresql url generator ([#1146](https://github.com/truecharts/apps/issues/1146)) - - - - -### [common-8.3.6](https://github.com/truecharts/apps/compare/common-8.3.5...common-8.3.6) (2021-10-13) - -#### Chore - -* update non-major docker tags ([#1134](https://github.com/truecharts/apps/issues/1134)) - - - - -### [common-8.3.5](https://github.com/truecharts/apps/compare/common-8.3.4...common-8.3.5) (2021-10-12) - -#### Chore - -* update non-major ([#1122](https://github.com/truecharts/apps/issues/1122)) - - - - -### [common-8.3.4](https://github.com/truecharts/apps/compare/common-8.3.3...common-8.3.4) (2021-10-09) - - - - -### [common-8.3.3](https://github.com/truecharts/apps/compare/common-8.3.2...common-8.3.3) (2021-10-09) - - - - -### [common-8.3.2](https://github.com/truecharts/apps/compare/common-8.3.1...common-8.3.2) (2021-10-09) - - - - -### [common-8.3.1](https://github.com/truecharts/apps/compare/common-8.3.0...common-8.3.1) (2021-10-09) - - - - -### [common-8.3.0](https://github.com/truecharts/apps/compare/common-8.2.2...common-8.3.0) (2021-10-09) - - - - -### [common-8.2.2](https://github.com/truecharts/apps/compare/common-8.2.1...common-8.2.2) (2021-10-04) - - - - -### [common-8.2.1](https://github.com/truecharts/apps/compare/common-8.2.0...common-8.2.1) (2021-10-04) - - - - -### [common-8.2.0](https://github.com/truecharts/apps/compare/common-8.1.1...common-8.2.0) (2021-10-04) - - - - -### [common-8.1.1](https://github.com/truecharts/apps/compare/common-8.1.0...common-8.1.1) (2021-10-03) - - - - -### [common-8.1.0](https://github.com/truecharts/apps/compare/common-8.0.13...common-8.1.0) (2021-10-03) - - - - -### [common-8.0.13](https://github.com/truecharts/apps/compare/common-8.0.12...common-8.0.13) (2021-09-29) - - - - -### [common-8.0.12](https://github.com/truecharts/apps/compare/common-8.0.11...common-8.0.12) (2021-09-29) - - - - -### [common-8.0.10](https://github.com/truecharts/apps/compare/common-8.0.9...common-8.0.10) (2021-09-29) - - - - -### [common-8.0.9](https://github.com/truecharts/apps/compare/common-test-3.1.5...common-8.0.9) (2021-09-28) - - - - -### [common-8.0.8](https://github.com/truecharts/apps/compare/common-8.0.7...common-8.0.8) (2021-09-26) - - - - -### [common-8.0.7](https://github.com/truecharts/apps/compare/common-8.0.6...common-8.0.7) (2021-09-26) - - - - -### [common-8.0.6](https://github.com/truecharts/apps/compare/common-8.0.5...common-8.0.6) (2021-09-26) - - - - -### [common-8.0.4](https://github.com/truecharts/apps/compare/common-8.0.3...common-8.0.4) (2021-09-25) - - - - -### [common-8.0.3](https://github.com/truecharts/apps/compare/common-test-3.1.4...common-8.0.3) (2021-09-25) - - - - -### [common-8.0.2](https://github.com/truecharts/apps/compare/common-8.0.1...common-8.0.2) (2021-09-25) - - - - -### [common-8.0.1](https://github.com/truecharts/apps/compare/common-8.0.0...common-8.0.1) (2021-09-25) - - - - -### [common-8.0.0](https://github.com/truecharts/apps/compare/common-test-3.1.3...common-8.0.0) (2021-09-25) - - - - -### [common-7.0.14](https://github.com/truecharts/apps/compare/common-7.0.13...common-7.0.14) (2021-09-14) - -#### Fix - -* make sure autopermissions sets the group owner correctly ([#994](https://github.com/truecharts/apps/issues/994)) - - - - -### [common-7.0.13](https://github.com/truecharts/apps/compare/common-7.0.12...common-7.0.13) (2021-09-14) - -#### Chore - -* update non-major ([#987](https://github.com/truecharts/apps/issues/987)) - - - - -### [common-7.0.12](https://github.com/truecharts/apps/compare/common-7.0.11...common-7.0.12) (2021-09-13) - -#### Fix - -* ensure wireguard env vars get created - - - - -### [common-7.0.11](https://github.com/truecharts/apps/compare/common-7.0.10...common-7.0.11) (2021-09-12) - -#### Fix - -* nuke all VPN volumes that we don't use (yet) out of Common - - - - -### [common-7.0.10](https://github.com/truecharts/apps/compare/common-7.0.9...common-7.0.10) (2021-09-12) - -#### Fix - -* completely remove unused volumes and correctly enable used volumes for VPN - - - - -### [common-7.0.9](https://github.com/truecharts/apps/compare/common-7.0.7...common-7.0.9) (2021-09-12) - -#### Fix - -* remove old configmap and secret references for VPN config/scripts - - - - -### [common-7.0.7](https://github.com/truecharts/apps/compare/common-7.0.6...common-7.0.7) (2021-09-12) - -#### Fix - -* correct vpn securityContext - - - - -### [common-7.0.6](https://github.com/truecharts/apps/compare/common-7.0.5...common-7.0.6) (2021-09-12) - - - - -### [common-7.0.5](https://github.com/truecharts/apps/compare/common-7.0.4...common-7.0.5) (2021-09-12) - -#### Fix - -* ensure annotationLists and labelLists don't get processed for disabled objects ([#971](https://github.com/truecharts/apps/issues/971)) - - - - -### [common-7.0.4](https://github.com/truecharts/apps/compare/common-7.0.3...common-7.0.4) (2021-09-12) - -#### Chore - -* update non-major ([#962](https://github.com/truecharts/apps/issues/962)) - -#### Feat - -* pin all container references to digests ([#963](https://github.com/truecharts/apps/issues/963)) - -#### Improv - -* improve dns and vpn values.yaml syntaxis ([#970](https://github.com/truecharts/apps/issues/970)) - - - - -### [common-7.0.3](https://github.com/truecharts/apps/compare/common-7.0.2...common-7.0.3) (2021-09-11) - -#### Chore - -* move more dockerhub containers to GHCR mirror ([#958](https://github.com/truecharts/apps/issues/958)) - -#### Fix - -* remove duplicate securitycontext from autopermissions - - - - -### [common-7.0.2](https://github.com/truecharts/apps/compare/common-7.0.1...common-7.0.2) (2021-09-10) - -#### Feat - -* Move some common containers to our own containers - -#### Refactor - -* change image layout to enable renovate updates of sidecarts ([#955](https://github.com/truecharts/apps/issues/955)) - - - - -### [common-7.0.1](https://github.com/truecharts/apps/compare/common-7.0.0...common-7.0.1) (2021-09-10) - -#### Feat - -* have VPN use a hostPath for the configfile instead of configmap ([#953](https://github.com/truecharts/apps/issues/953)) - -#### Fix - -* move runAsNonRoot to container securityContext to allow root sidecarts ([#954](https://github.com/truecharts/apps/issues/954)) - - - - -### [common-7.0.0](https://github.com/truecharts/apps/compare/common-6.14.0...common-7.0.0) (2021-09-09) - -#### Refactor - -* Restructure common init and additional container layout to dicts ([#950](https://github.com/truecharts/apps/issues/950)) - - - - -### [common-6.14.0](https://github.com/truecharts/apps/compare/common-6.13.11...common-6.14.0) (2021-09-09) - -#### Feat - -* port addons from k8s-at-home to common ([#948](https://github.com/truecharts/apps/issues/948)) - - - - -### [common-6.13.11](https://github.com/truecharts/apps/compare/common-6.13.10...common-6.13.11) (2021-09-09) - -#### Chore - -* update common test dependencies ([#949](https://github.com/truecharts/apps/issues/949)) - - - - -### [common-6.13.10](https://github.com/truecharts/apps/compare/common-6.13.9...common-6.13.10) (2021-09-09) - -#### Fix - -* ensure supplementalgroups when using devices are actually added ([#942](https://github.com/truecharts/apps/issues/942)) diff --git a/charts/library/common/Chart.yaml b/charts/library/common/Chart.yaml deleted file mode 100644 index 7857aafa89a..00000000000 --- a/charts/library/common/Chart.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: v2 -appVersion: "latest" -description: Function library for TrueCharts -home: https://github.com/truecharts/apps/tree/master/charts/common -icon: https://avatars.githubusercontent.com/u/76400755 -keywords: -- truecharts -- library-chart -- common -kubeVersion: '>=1.16.0-0' -maintainers: -- email: info@truecharts.org - name: TrueCharts - url: https://truecharts.org -name: common -sources: null -type: library -version: 9.1.14 diff --git a/charts/library/common/README.md b/charts/library/common/README.md deleted file mode 100644 index f369f6e2dd5..00000000000 --- a/charts/library/common/README.md +++ /dev/null @@ -1,29 +0,0 @@ -# Introduction - -Function library for TrueCharts - -Function library for TrueCharts -Since a lot of the TrueCharts Apps and Charts follow a similar pattern, this library was built to reduce maintenance cost between the charts that use it and try achieve a goal of being DRY. - -## Requirements - -Kubernetes: `>=1.16.0-0` - -## Dependencies - -| Repository | Name | Version | -|------------|------|---------| - -## Installing the Chart - -This is a Helm Library Chart. -WARNING: THIS CHART IS NOT MEANT TO BE INSTALLED DIRECTLY - -## Support - -- Please check our [quick-start guides](https://truecharts.org/manual/Quick-Start%20Guides/01-Adding-TrueCharts/) first. -- See the [Wiki](https://truecharts.org) -- Check our [Discord](https://discord.gg/tVsPTHWTtr) -- Open a [issue](https://github.com/truecharts/apps/issues/new/choose) ---- -All Rights Reserved - The TrueCharts Project diff --git a/charts/library/common/helm-values.md b/charts/library/common/helm-values.md deleted file mode 100644 index 36ca0c8dbeb..00000000000 --- a/charts/library/common/helm-values.md +++ /dev/null @@ -1,287 +0,0 @@ -# Default Helm-Values - -TrueCharts is primarily build to supply TrueNAS SCALE Apps. -However, we also supply all Apps as standard Helm-Charts. In this document we aim to document the default values in our Common Chart. -This chart is used by a lot of our Apps to provide sane defaults and logic. - -## Values - -| Key | Type | Default | Description | -|-----|------|---------|-------------| -| TZ | string | `"UTC"` | Set Container Timezone | -| additionalContainers | object | `{}` | Specify any additional containers here as dictionary items. Each additional container should have its own key. Helm templates can be used. | -| addons | object | See below | The common chart supports several add-ons. These can be configured under this key. | -| addons.codeserver | object | See values.yaml | The common library supports adding a code-server add-on to access files. It can be configured under this key. For more info, check out [our docs](http://docs.k8s-at-home.com/our-helm-charts/common-library-add-ons/#code-server) | -| addons.codeserver.args | list | `["--auth","none"]` | Set codeserver command line arguments. Consider setting --user-data-dir to a persistent location to preserve code-server setting changes | -| addons.codeserver.enabled | bool | `false` | Enable running a code-server container in the pod | -| addons.codeserver.env | object | `{}` | Set any environment variables for code-server here | -| addons.codeserver.envList | list | `[]` | All variables specified here will be added to the codeserver sidecar container See the documentation of the codeserver image for all config values | -| addons.codeserver.git | object | See below | Optionally allow access a Git repository by passing in a private SSH key | -| addons.codeserver.git.deployKey | string | `""` | Raw SSH private key | -| addons.codeserver.git.deployKeyBase64 | string | `""` | Base64-encoded SSH private key. When both variables are set, the raw SSH key takes precedence. | -| addons.codeserver.git.deployKeySecret | string | `""` | Existing secret containing SSH private key The chart expects it to be present under the `id_rsa` key. | -| addons.codeserver.ingress.enabled | bool | `false` | Enable an ingress for the code-server add-on. | -| addons.codeserver.service.enabled | bool | `true` | Enable a service for the code-server add-on. | -| addons.codeserver.workingDir | string | `"/"` | Specify the working dir that will be opened when code-server starts If not given, the app will default to the mountpah of the first specified volumeMount | -| addons.netshoot | object | See values.yaml | The common library supports adding a netshoot add-on to troubleshoot network issues within a Pod. It can be configured under this key. | -| addons.netshoot.enabled | bool | `false` | Enable running a netshoot container in the pod | -| addons.netshoot.env | object | `{}` | Set any environment variables for netshoot here | -| addons.netshoot.envList | list | `[]` | All variables specified here will be added to the netshoot sidecar container See the documentation of the netshoot image for all config values | -| addons.promtail | object | See values.yaml | The common library supports adding a promtail add-on to to access logs and ship them to loki. It can be configured under this key. | -| addons.promtail.args | list | `[]` | Set promtail command line arguments | -| addons.promtail.enabled | bool | `false` | Enable running a promtail container in the pod | -| addons.promtail.env | object | `{}` | Set any environment variables for promtail here | -| addons.promtail.envList | list | `[]` | All variables specified here will be added to the promtail sidecar container See the documentation of the promtail image for all config values | -| addons.promtail.logs | list | `[]` | The paths to logs on the volume | -| addons.promtail.loki | string | `""` | The URL to Loki | -| addons.vpn | object | See values.yaml | The common chart supports adding a VPN add-on. It can be configured under this key. For more info, check out [our docs](http://docs.k8s-at-home.com/our-helm-charts/common-library-add-ons/#wireguard-vpn) | -| addons.vpn.configFile | object | `{"enabled":true,"hostPath":"/vpn/vpn.conf","hostPathType":"File","noMount":true,"type":"hostPath"}` | Provide a customized vpn configuration file to be used by the VPN. | -| addons.vpn.configFile.hostPath | string | `"/vpn/vpn.conf"` | Which path on the host should be mounted. | -| addons.vpn.configFile.hostPathType | string | `"File"` | Specifying a hostPathType adds a check before trying to mount the path. See Kubernetes documentation for options. | -| addons.vpn.env | object | `{}` | All variables specified here will be added to the vpn sidecar container See the documentation of the VPN image for all config values | -| addons.vpn.envList | list | `[]` | All variables specified here will be added to the vpn sidecar container See the documentation of the VPN image for all config values | -| addons.vpn.openvpn | object | See below | OpenVPN specific configuration | -| addons.vpn.openvpn.username | string | `""` | Credentials to connect to the VPN Service (used with -a) Only using password is enough | -| addons.vpn.securityContext | object | See values.yaml | Set the VPN container specific securityContext | -| addons.vpn.type | string | `"disabled"` | Specify the VPN type. Valid options are disabled, openvpn or wireguard | -| affinity | object | `{}` | Defines affinity constraint rules. [[ref]](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity) | -| alpineImage | object | See below | alpine specific configuration | -| alpineImage.pullPolicy | string | `"IfNotPresent"` | Specify the Alpine image pull policy | -| alpineImage.repository | string | `"ghcr.io/truecharts/alpine"` | Specify the Alpine image | -| alpineImage.tag | string | `"v3.15.2@sha256:29ed3480a0ee43f7af681fed5d4fc215516abf1c41eade6938b26d8c9c2c7583"` | Specify the Alpine image tag | -| args | list | `[]` | Override the args for the default container | -| autoscaling | object | | Add a Horizontal Pod Autoscaler | -| codeserverImage | object | See below | codeserver specific configuration | -| codeserverImage.pullPolicy | string | `"IfNotPresent"` | Specify the code-server image pull policy | -| codeserverImage.repository | string | `"ghcr.io/truecharts/code-server"` | Specify the code-server image | -| codeserverImage.tag | string | `"v4.2.0@sha256:82e2d802e59b26954096529aa08e83bebd2004da664fee9ab6c911e4f5ab6c48"` | Specify the code-server image tag | -| command | list | `[]` | Override the command(s) for the default container | -| configmap | object | See below | Configure configMaps for the chart here. Additional configMaps can be added by adding a dictionary key similar to the 'config' object. | -| configmap.config.annotations | object | `{}` | Annotations to add to the configMap | -| configmap.config.data | object | `{}` | configMap data content. Helm template enabled. | -| configmap.config.enabled | bool | `false` | Enables or disables the configMap | -| configmap.config.labels | object | `{}` | Labels to add to the configMap | -| controller.annotations | object | `{}` | Set annotations on the deployment/statefulset/daemonset | -| controller.annotationsList | list | `[]` | Set additional annotations on the deployment/statefulset/daemonset | -| controller.enabled | bool | `true` | enable the controller. | -| controller.labels | object | `{}` | Set labels on the deployment/statefulset/daemonset | -| controller.labelsList | list | `[]` | Set additional labels on the deployment/statefulset/daemonset | -| controller.replicas | int | `1` | Number of desired pods | -| controller.revisionHistoryLimit | int | `3` | ReplicaSet revision history limit | -| controller.rollingUpdate.partition | string | `nil` | Set statefulset RollingUpdate partition | -| controller.rollingUpdate.surge | string | `nil` | Set deployment RollingUpdate max surge | -| controller.rollingUpdate.unavailable | string | `nil` | Set deployment RollingUpdate max unavailable | -| controller.strategy | string | `nil` | Set the controller upgrade strategy For Deployments, valid values are Recreate (default) and RollingUpdate. For StatefulSets, valid values are OnDelete and RollingUpdate (default). DaemonSets ignore this. | -| controller.type | string | `"deployment"` | Set the controller type. Valid options are deployment, daemonset or statefulset | -| customCapabilities | object | `{"add":[],"drop":[]}` | Can be used to set securityContext.capabilities outside of the GUI on TrueNAS SCALE | -| deviceList | list | [] | Configure persistenceList for the chart here. Used to create an additional GUI element in SCALE for mounting USB devices Additional items can be added by adding a items similar to persistence | -| dnsConfig | object | `{"nameservers":[],"options":[{"name":"ndots","value":"1"}],"searches":[]}` | Optional DNS settings, configuring the ndots option may resolve nslookup issues on some Kubernetes setups. | -| dnsPolicy | string | `nil` | Defaults to "ClusterFirst" if hostNetwork is false and "ClusterFirstWithHostNet" if hostNetwork is true. | -| enableServiceLinks | bool | `false` | Enable/disable the generation of environment variables for services. [[ref]](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service) | -| env | object | `{}` | Main environment variables. Template enabled. Syntax options: A) TZ: UTC B) PASSWD: '{{ .Release.Name }}' C) PASSWD: envFrom: ... | -| envFrom | list | `[]` | | -| envTpl | object | `{}` | | -| envValueFrom | object | `{}` | | -| externalInterfaces | list | `[]` | Use this directly attach a pod to a SCALE interface. Please be aware: This bypasses k8s services | -| extraArgs | list | `[]` | Add args in addition to the arguments set by default. Primarily for the SCALE GUI | -| global.fullnameOverride | string | `nil` | Set the entire name definition | -| global.isSCALE | bool | `false` | | -| global.nameOverride | string | `nil` | Set an override for the prefix of the fullname | -| hostAliases | list | `[]` | Use hostAliases to add custom entries to /etc/hosts - mapping IP addresses to hostnames. [[ref]](https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/) | -| hostNetwork | bool | `false` | When using hostNetwork make sure you set dnsPolicy to `ClusterFirstWithHostNet` | -| hostname | string | `nil` | Allows specifying explicit hostname setting | -| image.pullPolicy | string | `nil` | image pull policy | -| image.repository | string | `nil` | image repository | -| image.tag | string | `nil` | image tag | -| imageSelector | string | `"image"` | Image Selector allows for easy picking a different image dict, important for the SCALE GUI | -| ingress | object | See below | Configure the ingresses for the chart here. Additional ingresses can be added by adding a dictionary key similar to the 'main' ingress. | -| ingress.main.annotations | object | `{}` | Provide additional annotations which may be required. | -| ingress.main.autoLink | bool | `false` | Autolink the ingress to a service and port, both with the same name as the ingress. | -| ingress.main.enableFixedMiddlewares | bool | `true` | disable to ignore any default middlwares | -| ingress.main.enabled | bool | `false` | Enables or disables the ingress | -| ingress.main.fixedMiddlewares | list | `["chain-basic"]` | List of middlewares in the traefikmiddlewares k8s namespace to add automatically Creates an annotation with the middlewares and appends k8s and traefik namespaces to the middleware names Primarily used for TrueNAS SCALE to add additional (seperate) middlewares without exposing them to the end-user | -| ingress.main.hosts[0].host | string | `"chart-example.local"` | Host address. Helm template can be passed. | -| ingress.main.hosts[0].paths[0].path | string | `"/"` | Path. Helm template can be passed. | -| ingress.main.hosts[0].paths[0].pathType | string | `"Prefix"` | Ignored if not kubeVersion >= 1.14-0 | -| ingress.main.hosts[0].paths[0].service.name | string | `nil` | Overrides the service name reference for this path | -| ingress.main.hosts[0].paths[0].service.port | string | `nil` | Overrides the service port reference for this path | -| ingress.main.ingressClassName | string | `nil` | Set the ingressClass that is used for this ingress. Requires Kubernetes >=1.19 | -| ingress.main.labels | object | `{}` | Provide additional labels which may be required. | -| ingress.main.middlewares | list | `[]` | Additional List of middlewares in the traefikmiddlewares k8s namespace to add automatically Creates an annotation with the middlewares and appends k8s and traefik namespaces to the middleware names | -| ingress.main.nameOverride | string | `nil` | Override the name suffix that is used for this ingress. | -| ingress.main.primary | bool | `true` | Make this the primary ingress (used in probes, notes, etc...). If there is more than 1 ingress, make sure that only 1 ingress is marked as primary. | -| ingress.main.tls | list | `[]` | Configure TLS for the ingress. Both secretName and hosts can process a Helm template. | -| ingressList | list | [] | Configure ingressList for the chart here. Additional items can be added by adding a items similar to ingress | -| initContainers | object | `{}` | Specify any initContainers here as dictionary items. Each initContainer should have its own key. The dictionary item key will determine the order. Helm templates can be used. | -| installContainers | object | `{}` | These containers will be run, as an initcontainer, a single time at install only. | -| lifecycle | object | `{}` | Configure the lifecycle for the main container | -| mariadb | object | See below | mariadb dependency configuration | -| mariadb.url | object | `{}` | can be used to make an easy accessable note which URLS to use to access the DB. | -| mariadbImage | object | See below | mariadb specific configuration | -| mariadbImage.pullPolicy | string | `"IfNotPresent"` | Specify the mariadb image pull policy | -| mariadbImage.repository | string | `"ghcr.io/truecharts/mariadb"` | Specify the mariadb image | -| mariadbImage.tag | string | `"v10.7.3@sha256:63743b10ac562b8f63abd3dfa246298c6678cfeb9e7559c65265f5066385fcf6"` | Specify the mariadb image tag | -| netshootImage | object | See below | netshoot specific configuration | -| netshootImage.pullPolicy | string | `"Always"` | Specify the netshoot image pull policy | -| netshootImage.repository | string | `"ghcr.io/truecharts/netshoot"` | Specify the netshoot image | -| netshootImage.tag | string | `"latest@sha256:505d3430ed7c1d43fed18dbd1177b76ecb6fc376113bc41d34da230c402a4855"` | Specify the netshoot image tag | -| networkPolicy | object | See below | Configure networkPolicy for the chart here. | -| networkPolicy.egress | list | `[]` | add or remove egress policies | -| networkPolicy.enabled | bool | `false` | Enables or disables the networkPolicy | -| networkPolicy.ingress | list | `[]` | add or remove egress policies | -| networkPolicy.policyType | string | `""` | add or remove Policy types. Options: ingress, egress, ingress-egress | -| nodeSelector | object | `{}` | Node selection constraint [[ref]](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) | -| openvpnImage | object | See below | OpenVPN specific configuration | -| openvpnImage.pullPolicy | string | `"IfNotPresent"` | Specify the openvpn client image pull policy | -| openvpnImage.repository | string | `"ghcr.io/truecharts/openvpn-client"` | Specify the openvpn client image | -| openvpnImage.tag | string | `"latest@sha256:bc3a56b2c195a4b4ce5c67fb0c209f38036521ebd316df2a7d68b425b9c48b30"` | Specify the openvpn client image tag | -| persistence | object | See below | Configure persistence for the chart here. Additional items can be added by adding a dictionary key similar to the 'config' key. | -| persistence.config | object | See below | Default persistence for configuration files. | -| persistence.config.accessMode | string | `"ReadWriteOnce"` | AccessMode for the persistent volume. Make sure to select an access mode that is supported by your storage provider! [[ref]](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes) | -| persistence.config.annotations | object | `{}` | Add annotations to PVC object | -| persistence.config.enabled | bool | `false` | Enables or disables the persistence item | -| persistence.config.existingClaim | string | `nil` | If you want to reuse an existing claim, the name of the existing PVC can be passed here. | -| persistence.config.forceName | string | `""` | force the complete PVC name Will not add any prefix or suffix | -| persistence.config.labels | object | `{}` | Add labels to PVC object | -| persistence.config.mountPath | string | `nil` | Where to mount the volume in the main container. Defaults to `/`, setting to '-' creates the volume but disables the volumeMount. | -| persistence.config.nameOverride | string | `nil` | Override the name suffix that is used for this volume. | -| persistence.config.readOnly | bool | `false` | Specify if the volume should be mounted read-only. | -| persistence.config.size | string | `"999Gi"` | The amount of storage that is requested for the persistent volume. | -| persistence.config.storageClass | string | `nil` | Storage Class for the config volume. If set to `-`, dynamic provisioning is disabled. If set to `SCALE-ZFS`, the default provisioner for TrueNAS SCALE is used. If set to something else, the given storageClass is used. If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner. | -| persistence.config.subPath | string | `nil` | Used in conjunction with `existingClaim`. Specifies a sub-path inside the referenced volume instead of its root | -| persistence.config.type | string | `"pvc"` | Sets the persistence type Valid options are: simplePVC, simpleHP, pvc, emptyDir, secret, configMap, hostPath or custom | -| persistence.configmap-example | object | See below | Example of a configmap mount | -| persistence.configmap-example.mountPath | string | `nil` | Where to mount the volume in the main container. Defaults to `/`, setting to '-' creates the volume but disables the volumeMount. | -| persistence.configmap-example.objectName | string | `"myconfig-map"` | Specify the name of the configmap object to be mounted | -| persistence.configmap-example.readOnly | bool | `false` | Specify if the volume should be mounted read-only. | -| persistence.custom-mount | object | See below | Example of a custom mount | -| persistence.custom-mount.mountPath | string | `nil` | Where to mount the volume in the main container. Defaults to `/`, setting to '-' creates the volume but disables the volumeMount. | -| persistence.custom-mount.readOnly | bool | `false` | Specify if the volume should be mounted read-only. | -| persistence.custom-mount.volumeSpec | object | `{}` | Define the custom Volume spec here [[ref]](https://kubernetes.io/docs/concepts/storage/volumes/) | -| persistence.host-bin | object | See below | Hostpath mountpoint to allow mounting the /bin folder to disable docker-compose [[ref]]https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) TODO Delete this once iX has blocked docker-compose | -| persistence.host-bin.hostPath | string | `"/bin"` | Which path on the host should be mounted. | -| persistence.host-bin.mountPath | string | `"/host/bin"` | Where to mount the path in the main container. Defaults to the value of `hostPath` | -| persistence.host-dev | object | See below | Example of a hostPath mount [[ref]]https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) | -| persistence.host-dev.hostPath | string | `"/dev"` | Which path on the host should be mounted. | -| persistence.host-dev.hostPathType | string | `""` | Specifying a hostPathType adds a check before trying to mount the path. See Kubernetes documentation for options. | -| persistence.host-dev.mountPath | string | `""` | Where to mount the path in the main container. Defaults to the value of `hostPath` | -| persistence.host-dev.readOnly | bool | `true` | Specify if the path should be mounted read-only. | -| persistence.host-dev.setPermissions | bool | `false` | Automatic set permissions using chown and chmod | -| persistence.host-simple-dev | object | See below | Example of a Simple hostPath mount [[ref]]https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) | -| persistence.host-simple-dev.hostPathSimple | string | `"/dev"` | Which path on the host should be mounted. | -| persistence.host-simple-dev.hostPathType | string | `""` | Specifying a hostPathType adds a check before trying to mount the path. See Kubernetes documentation for options. | -| persistence.host-simple-dev.mountPath | string | `""` | Where to mount the path in the main container. Defaults to the value of `hostPath` | -| persistence.host-simple-dev.readOnly | bool | `true` | Specify if the path should be mounted read-only. | -| persistence.host-simple-dev.setPermissionsSimple | bool | `false` | Automatic set permissions using chown and chmod | -| persistence.host-usr-bin | object | See below | Hostpath mountpoint to allow mounting the /usr/bin folder to disable docker-compose [[ref]]https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) TODO Delete this once iX has blocked docker-compose | -| persistence.host-usr-bin.hostPath | string | `"/usr/bin"` | Which path on the host should be mounted. | -| persistence.host-usr-bin.mountPath | string | `"/host/usr/bin"` | Where to mount the path in the main container. Defaults to the value of `hostPath` | -| persistence.secret-example | object | See below | Example of a secret mount | -| persistence.secret-example.defaultMode | int | `777` | define the default mount mode for the secret | -| persistence.secret-example.items | list | `[{"key":"username","path":"my-group/my-username"}]` | Define the secret items to be mounted | -| persistence.secret-example.mountPath | string | `nil` | Where to mount the volume in the main container. Defaults to `/`, setting to '-' creates the volume but disables the volumeMount. | -| persistence.secret-example.objectName | string | `"mysecret"` | Specify the name of the secret object to be mounted | -| persistence.secret-example.readOnly | bool | `false` | Specify if the volume should be mounted read-only. | -| persistence.shared | object | See below | Create an emptyDir volume to share between all containers [[ref]]https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) | -| persistence.shared.medium | string | `nil` | Set the medium to "Memory" to mount a tmpfs (RAM-backed filesystem) instead of the storage medium that backs the node. | -| persistence.shared.sizeLimit | string | `nil` | If the `SizeMemoryBackedVolumes` feature gate is enabled, you can specify a size for memory backed volumes. | -| persistence.temp | object | See below | Create an emptyDir volume to share between all containers for temporary storage | -| persistence.temp.medium | string | `"Memory"` | Set the medium to "Memory" to mount a tmpfs (RAM-backed filesystem) instead of the storage medium that backs the node. | -| persistence.temp.sizeLimit | string | `nil` | If the `SizeMemoryBackedVolumes` feature gate is enabled, you can specify a size for memory backed volumes. | -| persistence.varlogs | object | See below | Create an emptyDir volume to share between all containers [[ref]]https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) | -| persistence.varlogs.medium | string | `nil` | Set the medium to "Memory" to mount a tmpfs (RAM-backed filesystem) instead of the storage medium that backs the node. | -| persistence.varlogs.sizeLimit | string | `nil` | If the `SizeMemoryBackedVolumes` feature gate is enabled, you can specify a size for memory backed volumes. | -| persistence.varrun | object | See below | Create an emptyDir volume to share between all containers [[ref]]https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) | -| persistence.varrun.medium | string | `"Memory"` | Set the medium to "Memory" to mount a tmpfs (RAM-backed filesystem) instead of the storage medium that backs the node. | -| persistence.varrun.sizeLimit | string | `nil` | If the `SizeMemoryBackedVolumes` feature gate is enabled, you can specify a size for memory backed volumes. | -| persistenceList | list | [] | Configure persistenceList for the chart here. Additional items can be added by adding a items similar to persistence | -| podAnnotations | object | `{}` | Set annotations on the pod | -| podAnnotationsList | list | `[]` | Set additional annotations on the pod | -| podLabels | object | `{}` | Set labels on the pod | -| podLabelsList | list | `[]` | Set additional labels on the pod | -| podSecurityContext | object | `{"fsGroup":568,"fsGroupChangePolicy":"OnRootMismatch","runAsGroup":568,"runAsUser":568,"supplementalGroups":[]}` | Configure the Security Context for the Pod | -| portal | object | `{"enabled":false}` | Set the primary portal for TrueNAS SCALE | -| portal.enabled | bool | `false` | enable generation of the portal configmap | -| postgresql | object | See below | Postgresql dependency configuration | -| postgresql.url | object | `{}` | can be used to make an easy accessable note which URLS to use to access the DB. | -| postgresqlImage | object | See below | postgresql specific configuration | -| postgresqlImage.pullPolicy | string | `"IfNotPresent"` | Specify the postgresql image pull policy | -| postgresqlImage.repository | string | `"ghcr.io/truecharts/postgresql"` | Specify the postgresql image | -| postgresqlImage.tag | string | `"v14.2.0@sha256:1461d3ab670fcc41923c92f330c932082f6653e031eefd1cc12123adb120f0c3"` | Specify the postgresql image tag | -| priorityClassName | string | `nil` | Custom priority class for different treatment by the scheduler | -| probes | object | See below | [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/) | -| probes.liveness | object | See below | Liveness probe configuration | -| probes.liveness.custom | bool | `false` | Set this to `true` if you wish to specify your own livenessProbe | -| probes.liveness.enabled | bool | `true` | Enable the liveness probe | -| probes.liveness.path | string | "/" | If a HTTP probe is used (default for HTTP/HTTPS services) this path is used | -| probes.liveness.spec | object | See below | The spec field contains the values for the default livenessProbe. If you selected `custom: true`, this field holds the definition of the livenessProbe. | -| probes.liveness.type | string | "TCP" | sets the probe type when not using a custom probe | -| probes.readiness | object | See below | Redainess probe configuration | -| probes.readiness.custom | bool | `false` | Set this to `true` if you wish to specify your own readinessProbe | -| probes.readiness.enabled | bool | `true` | Enable the readiness probe | -| probes.readiness.path | string | "/" | If a HTTP probe is used (default for HTTP/HTTPS services) this path is used | -| probes.readiness.spec | object | See below | The spec field contains the values for the default readinessProbe. If you selected `custom: true`, this field holds the definition of the readinessProbe. | -| probes.readiness.type | string | "TCP" | sets the probe type when not using a custom probe | -| probes.startup | object | See below | Startup probe configuration | -| probes.startup.custom | bool | `false` | Set this to `true` if you wish to specify your own startupProbe | -| probes.startup.enabled | bool | `true` | Enable the startup probe | -| probes.startup.path | string | "/" | If a HTTP probe is used (default for HTTP/HTTPS services) this path is used | -| probes.startup.spec | object | See below | The spec field contains the values for the default startupProbe. If you selected `custom: true`, this field holds the definition of the startupProbe. | -| probes.startup.type | string | "TCP" | sets the probe type when not using a custom probe | -| promtailImage | object | See below | promtail specific configuration | -| promtailImage.pullPolicy | string | `"IfNotPresent"` | Specify the promtail image pull policy | -| promtailImage.repository | string | `"ghcr.io/truecharts/promtail"` | Specify the promtail image | -| promtailImage.tag | string | `"v2.4.2@sha256:171e08dcdd1d6c09bff949c37ce4f4756b9ee0132f8d84631986faa223562a30"` | Specify the promtail image tag | -| rbac | object | See below | Create a ClusterRole and ClusterRoleBinding | -| rbac.clusterRoleAnnotations | object | `{}` | Set labels on the ClusterRole | -| rbac.clusterRoleBindingAnnotations | object | `{}` | Set labels on the ClusterRoleBinding | -| rbac.clusterRoleBindingLabels | object | `{}` | Set Annotations on the ClusterRoleBinding | -| rbac.clusterRoleLabels | object | `{}` | Set Annotations on the ClusterRole | -| rbac.enabled | bool | `false` | Enables or disables the ClusterRole and ClusterRoleBinding | -| rbac.rules | object | `{}` | Set Rules on the ClusterRole | -| rbac.subjects | object | `{}` | Add subjects to the ClusterRoleBinding. includes the above created serviceaccount | -| redis | object | See below | Redis dependency configuration | -| redis.url | object | `{}` | can be used to make an easy accessable note which URLS to use to access the DB. | -| resources | object | `{"limits":{"cpu":"4000m","memory":"8Gi"},"requests":{"cpu":"10m","memory":"50Mi"}}` | Set the resource requests / limits for the main container. | -| schedulerName | string | `nil` | Allows specifying a custom scheduler name | -| secret | object | `{}` | Use this to populate a secret with the values you specify. Be aware that these values are not encrypted by default, and could therefore visible to anybody with access to the values.yaml file. | -| security | object | `{"PUID":568,"UMASK":2}` | Set the Process User ID (PUID) env-var seperately | -| securityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"add":[],"drop":[]},"privileged":false,"readOnlyRootFilesystem":true,"runAsNonRoot":true}` | Configure the Security Context for the main container | -| service | object | See below | Configure the services for the chart here. Additional services can be added by adding a dictionary key similar to the 'main' service. | -| service.main.annotations | object | `{}` | Provide additional annotations which may be required. | -| service.main.enabled | bool | `true` | Enables or disables the service | -| service.main.ipFamilies | list | `[]` | The ip families that should be used. Options: IPv4, IPv6 | -| service.main.ipFamilyPolicy | string | `"SingleStack"` | Specify the ip policy. Options: SingleStack, PreferDualStack, RequireDualStack | -| service.main.labels | object | `{}` | Provide additional labels which may be required. | -| service.main.nameOverride | string | `nil` | Override the name suffix that is used for this service | -| service.main.ports | object | See below | Configure the Service port information here. Additional ports can be added by adding a dictionary key similar to the 'http' service. | -| service.main.ports.main.enabled | bool | `true` | Enables or disables the port | -| service.main.ports.main.nodePort | string | `nil` | Specify the nodePort value for the LoadBalancer and NodePort service types. [[ref]](https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport) | -| service.main.ports.main.port | string | `nil` | The port number | -| service.main.ports.main.primary | bool | `true` | Make this the primary port (used in probes, notes, etc...) If there is more than 1 service, make sure that only 1 port is marked as primary. | -| service.main.ports.main.protocol | string | `"HTTP"` | Port protocol. Support values are `HTTP`, `HTTPS`, `TCP` and `UDP`. HTTPS and HTTPS spawn a TCP service and get used for internal URL and name generation | -| service.main.ports.main.targetPort | string | `nil` | Specify a service targetPort if you wish to differ the service port from the application port. If `targetPort` is specified, this port number is used in the container definition instead of the `port` value. Therefore named ports are not supported for this field. | -| service.main.portsList | list | See below | Configure additional Service port information here. | -| service.main.primary | bool | `true` | Make this the primary service (used in probes, notes, etc...). If there is more than 1 service, make sure that only 1 service is marked as primary. | -| service.main.selector | object | `{}` | Override default selector | -| service.main.type | string | `"ClusterIP"` | Set the service type Options: Simple(Loadbalancer), LoadBalancer, ClusterIP, NodePort | -| serviceAccount | object | See below | Create serviceaccount | -| serviceAccount.annotations | object | `{}` | Annotations to add to the service account | -| serviceAccount.create | bool | `false` | Specifies whether a service account should be created | -| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | -| serviceList | list | See below | Configure additional services for the chart here. | -| stdin | bool | `false` | Determines whether containers in a pod runs with stdin enabled. | -| termination.gracePeriodSeconds | int | `10` | [[ref](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle)] | -| termination.messagePath | string | `nil` | [[ref](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle-1)] | -| termination.messagePolicy | string | `nil` | [[ref](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle-1)] | -| tolerations | list | `[]` | Specify taint tolerations [[ref]](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) | -| topologySpreadConstraints | list | `[]` | Defines topologySpreadConstraint rules. [[ref]](https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/) | -| tty | bool | `false` | Determines whether containers in a pod runs with TTY enabled. | -| upgradeContainers | object | `{}` | These containers will be run, as an initcontainer, a single time at each edit or update of the chart. | -| volumeClaimTemplates | list | `[]` | Used in conjunction with `controller.type: statefulset` to create individual disks for each instance. | -| wireguardImage | object | See below | WireGuard specific configuration | -| wireguardImage.pullPolicy | string | `"IfNotPresent"` | Specify the WireGuard image pull policy | -| wireguardImage.repository | string | `"ghcr.io/truecharts/wireguard"` | Specify the WireGuard image | -| wireguardImage.tag | string | `"v1.0.20210914@sha256:b7ae4f80183858ed6379b6f8f76f8ef4f1b474b222b8057e091ba0b4e5f62999"` | Specify the WireGuard image tag | - -All Rights Reserved - The TrueCharts Project diff --git a/charts/library/common/security.md b/charts/library/common/security.md deleted file mode 100644 index 85ba5314fd5..00000000000 --- a/charts/library/common/security.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -hide: - - toc ---- - -# Security Overview - - - -## Helm-Chart - -##### Scan Results - - - -| No Misconfigurations found | -|:---------------------------------| - -## Containers - -##### Detected Containers - - -##### Scan Results diff --git a/charts/library/common/templates/_HorizontalPodAutoscaler.tpl b/charts/library/common/templates/_HorizontalPodAutoscaler.tpl deleted file mode 100644 index c7cbbb4c164..00000000000 --- a/charts/library/common/templates/_HorizontalPodAutoscaler.tpl +++ /dev/null @@ -1,37 +0,0 @@ -{{/* -This template serves as a blueprint for horizontal pod autoscaler objects that are created -using the common library. -*/}} -{{- define "common.hpa" -}} - {{- if .Values.autoscaling.enabled -}} - {{- $hpaName := include "common.names.fullname" . -}} - {{- $targetName := include "common.names.fullname" . }} ---- -apiVersion: autoscaling/v2beta1 -kind: HorizontalPodAutoscaler -metadata: - name: {{ $hpaName }} - labels: - {{- include "common.labels" . | nindent 4 }} -spec: - scaleTargetRef: - apiVersion: apps/v1 - kind: {{ include "common.names.controllerType" . }} - name: {{ .Values.autoscaling.target | default $targetName }} - minReplicas: {{ .Values.autoscaling.minReplicas | default 1 }} - maxReplicas: {{ .Values.autoscaling.maxReplicas | default 3 }} - metrics: - {{- if .Values.autoscaling.targetCPUUtilizationPercentage }} - - type: Resource - resource: - name: cpu - targetAverageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }} - {{- end }} - {{- if .Values.autoscaling.targetMemoryUtilizationPercentage }} - - type: Resource - resource: - name: memory - targetAverageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }} - {{- end }} - {{- end -}} -{{- end -}} diff --git a/charts/library/common/templates/_all.tpl b/charts/library/common/templates/_all.tpl deleted file mode 100644 index 52cb4116f09..00000000000 --- a/charts/library/common/templates/_all.tpl +++ /dev/null @@ -1,11 +0,0 @@ -{{/* -Main entrypoint for the common library chart. It will render all underlying templates based on the provided values. -*/}} -{{- define "common.all" -}} - {{- /* Generate chart and dependency values */ -}} - {{- include "common.setup" . }} - - {{- /* Generate remaining objects */ -}} - {{- include "common.postSetup" . }} - -{{- end -}} diff --git a/charts/library/common/templates/_configmap.tpl b/charts/library/common/templates/_configmap.tpl deleted file mode 100644 index 73ad958e0ec..00000000000 --- a/charts/library/common/templates/_configmap.tpl +++ /dev/null @@ -1,19 +0,0 @@ -{{/* -Renders the configMap objects required by the chart. -*/}} -{{- define "common.configmap" -}} - {{- /* Generate named configMaps as required */ -}} - {{- range $name, $configmap := .Values.configmap }} - {{- if $configmap.enabled -}} - {{- $configmapValues := $configmap -}} - - {{/* set the default nameOverride to the configMap name */}} - {{- if not $configmapValues.nameOverride -}} - {{- $_ := set $configmapValues "nameOverride" $name -}} - {{ end -}} - - {{- $_ := set $ "ObjectValues" (dict "configmap" $configmapValues) -}} - {{- include "common.classes.configmap" $ }} - {{- end }} - {{- end }} -{{- end }} diff --git a/charts/library/common/templates/_daemonset.tpl b/charts/library/common/templates/_daemonset.tpl deleted file mode 100644 index 05c292147b7..00000000000 --- a/charts/library/common/templates/_daemonset.tpl +++ /dev/null @@ -1,40 +0,0 @@ -{{/* -This template serves as the blueprint for the DaemonSet objects that are created -within the common library. -*/}} -{{- define "common.daemonset" }} ---- -apiVersion: apps/v1 -kind: DaemonSet -metadata: - name: {{ include "common.names.fullname" . }} - labels: - {{- include "common.labels" . | nindent 4 }} - {{- with .Values.controller.labels }} - {{- toYaml . | nindent 4 }} - {{- end }} - annotations: - {{- include "common.annotations.workload" . | nindent 4 }} - {{- with .Values.controller.annotations }} - {{- toYaml . | nindent 4 }} - {{- end }} -spec: - revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit }} - selector: - matchLabels: - {{- include "common.labels.selectorLabels" . | nindent 6 }} - template: - metadata: - annotations: - {{- include "common.annotations.workload.spec" . | nindent 8 }} - {{- with .Values.podAnnotations }} - {{- toYaml . | nindent 8 }} - {{- end }} - labels: - {{- include "common.labels.selectorLabels" . | nindent 8 }} - {{- with .Values.podLabels }} - {{- toYaml . | nindent 8 }} - {{- end }} - spec: - {{- include "common.controller.pod" . | nindent 6 }} -{{- end }} diff --git a/charts/library/common/templates/_deployment.tpl b/charts/library/common/templates/_deployment.tpl deleted file mode 100644 index eb905d3b0ca..00000000000 --- a/charts/library/common/templates/_deployment.tpl +++ /dev/null @@ -1,58 +0,0 @@ -{{/* -This template serves as the blueprint for the Deployment objects that are created -within the common library. -*/}} -{{- define "common.deployment" }} ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ include "common.names.fullname" . }} - labels: - {{- include "common.labels" . | nindent 4 }} - {{- with .Values.controller.labels }} - {{- toYaml . | nindent 4 }} - {{- end }} - annotations: - {{- include "common.annotations.workload" . | nindent 4 }} - {{- with .Values.controller.annotations }} - {{- toYaml . | nindent 4 }} - {{- end }} -spec: - revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit }} - replicas: {{ .Values.controller.replicas }} - {{- $strategy := default "Recreate" .Values.controller.strategy }} - {{- if and (ne $strategy "Recreate") (ne $strategy "RollingUpdate") }} - {{- fail (printf "Not a valid strategy type for Deployment (%s)" $strategy) }} - {{- end }} - strategy: - type: {{ $strategy }} - {{- with .Values.controller.rollingUpdate }} - {{- if and (eq $strategy "RollingUpdate") (or .surge .unavailable) }} - rollingUpdate: - {{- with .unavailable }} - maxUnavailable: {{ . }} - {{- end }} - {{- with .surge }} - maxSurge: {{ . }} - {{- end }} - {{- end }} - {{- end }} - selector: - matchLabels: - {{- include "common.labels.selectorLabels" . | nindent 6 }} - template: - metadata: - annotations: - {{- include "common.annotations.workload.spec" . | nindent 8 }} - {{- with .Values.podAnnotations }} - {{- toYaml . | nindent 8 }} - {{- end }} - labels: - {{- include "common.labels.selectorLabels" . | nindent 8 }} - {{- with .Values.podLabels }} - {{- toYaml . | nindent 8 }} - {{- end }} - spec: - {{- include "common.controller.pod" . | nindent 6 }} -{{- end }} diff --git a/charts/library/common/templates/_ingress.tpl b/charts/library/common/templates/_ingress.tpl deleted file mode 100644 index 843c370a244..00000000000 --- a/charts/library/common/templates/_ingress.tpl +++ /dev/null @@ -1,51 +0,0 @@ -{{/* Renders the Ingress objects required by the chart */}} -{{- define "common.ingress" -}} - {{- /* Generate named ingresses as required */ -}} - {{- range $name, $ingress := .Values.ingress }} - {{- if $ingress.enabled -}} - {{- $ingressValues := $ingress -}} - - {{/* set defaults */}} - {{- if and (not $ingressValues.nameOverride) (ne $name (include "common.ingress.primary" $)) -}} - {{- $_ := set $ingressValues "nameOverride" $name -}} - {{- end -}} - - {{- $_ := set $ "ObjectValues" (dict "ingress" $ingressValues) -}} - {{- include "common.classes.ingress" $ }} - - {{- range $index, $tlsValues := $ingressValues.tls }} - {{- if .scaleCert }} - {{- $nameOverride := ( printf "%v-%v" "tls" $index ) -}} - {{- if $ingressValues.nameOverride -}} - {{- $nameOverride = ( printf "%v-%v-%v" $ingressValues.nameOverride "tls" $index ) -}} - {{- end }} - {{- $_ := set $tlsValues "nameOverride" $nameOverride -}} - {{- $_ := set $ "ObjectValues" (dict "certHolder" $tlsValues) -}} - {{- include "common.cert.secret" $ }} - {{- end }} - {{- end }} - {{- end }} - {{- end }} -{{- end }} - -{{/* Return the name of the primary ingress object */}} -{{- define "common.ingress.primary" -}} - {{- $enabledIngresses := dict -}} - {{- range $name, $ingress := .Values.ingress -}} - {{- if $ingress.enabled -}} - {{- $_ := set $enabledIngresses $name . -}} - {{- end -}} - {{- end -}} - - {{- $result := "" -}} - {{- range $name, $ingress := $enabledIngresses -}} - {{- if and (hasKey $ingress "primary") $ingress.primary -}} - {{- $result = $name -}} - {{- end -}} - {{- end -}} - - {{- if not $result -}} - {{- $result = keys $enabledIngresses | first -}} - {{- end -}} - {{- $result -}} -{{- end -}} diff --git a/charts/library/common/templates/_networkPolicy.tpl b/charts/library/common/templates/_networkPolicy.tpl deleted file mode 100644 index 441469858b6..00000000000 --- a/charts/library/common/templates/_networkPolicy.tpl +++ /dev/null @@ -1,162 +0,0 @@ -{{/* -Blueprint for the NetworkPolicy object that can be included in the addon. -*/}} -{{- define "common.networkpolicy" -}} -{{- if .Values.networkPolicy.enabled }} ---- -kind: NetworkPolicy -apiVersion: networking.k8s.io/v1 -metadata: - labels: - {{- include "common.labels" . | nindent 4 }} - name: {{ include "common.names.fullname" . }} -spec: - podSelector: - {{- if .Values.networkPolicy.podSelector }} - {{- with .Values.networkPolicy.podSelector }} - {{- . | toYaml | nindent 4 }} - {{- end -}} - {{- else }} - matchLabels: - {{- include "common.labels.selectorLabels" . | nindent 6 }} - {{- end }} - - {{- if .Values.networkPolicy.policyType }} - {{- if eq .Values.networkPolicy.policyType "ingress" }} - policyTypes: ["Ingress"] - {{- else if eq .Values.networkPolicy.policyType "egress" }} - policyTypes: ["Egress"] - - {{- else if eq .Values.networkPolicy.policyType "ingress-egress" }} - policyTypes: ["Ingress", "Egress"] - {{- end -}} - {{- end -}} - - {{- if .Values.networkPolicy.egress }} - egress: - {{- range .Values.networkPolicy.egress }} - - to: - {{- range .to }} - {{- $nss := false }} - {{- $ipb := false }} - {{- if .ipBlock }} - {{- if .ipBlock.cidr }} - {{- $ipb = true }} - - ipBlock: - cidr: {{ .ipBlock.cidr }} - {{- if .ipBlock.except }} - except: - {{- range .ipBlock.except }} - - {{ . }} - {{- end }} - {{- end -}} - {{- end -}} - {{- end -}} - - {{- if and ( .namespaceSelector ) ( not $ipb ) }} - {{- if or ( .namespaceSelector.matchLabels ) ( .namespaceSelector.matchExpressions ) -}} - {{- $nss = true }} - - namespaceSelector: - {{- if .namespaceSelector.matchLabels }} - matchLabels: - {{- .namespaceSelector.matchLabels | toYaml | nindent 12 }} - {{- end -}} - {{- if .namespaceSelector.matchExpressions }} - matchExpressions: - {{- .namespaceSelector.matchExpressions | toYaml | nindent 12 }} - {{- end -}} - {{- end -}} - {{- end -}} - - {{- if and ( .podSelector ) ( not $ipb ) }} - {{- if or ( .podSelector.matchLabels ) ( .podSelector.matchExpressions ) }} - {{- if $nss }} - podSelector: - {{- else }} - - podSelector: - {{- end }} - {{- if .podSelector.matchLabels }} - matchLabels: - {{- .podSelector.matchLabels | toYaml | nindent 12 }} - {{- end -}} - {{- if .podSelector.matchExpressions }} - matchExpressions: - {{- .podSelector.matchExpressions | toYaml | nindent 12 }} - {{- end -}} - {{- end -}} - {{- end -}} - {{- end -}} - - - {{- with .ports }} - ports: - {{- . | toYaml | nindent 6 }} - {{- end -}} - {{- end -}} - {{- end -}} - - {{- if .Values.networkPolicy.ingress }} - ingress: - {{- range .Values.networkPolicy.ingress }} - - from: - {{- range .from }} - {{- $nss := false }} - {{- $ipb := false }} - {{- if .ipBlock }} - {{- if .ipBlock.cidr }} - {{- $ipb = true }} - - ipBlock: - cidr: {{ .ipBlock.cidr }} - {{- if .ipBlock.except }} - except: - {{- range .ipBlock.except }} - - {{ . }} - {{- end }} - {{- end -}} - {{- end -}} - {{- end -}} - - {{- if and ( .namespaceSelector ) ( not $ipb ) }} - {{- if or ( .namespaceSelector.matchLabels ) ( .namespaceSelector.matchExpressions ) -}} - {{- $nss = true }} - - namespaceSelector: - {{- if .namespaceSelector.matchLabels }} - matchLabels: - {{- .namespaceSelector.matchLabels | toYaml | nindent 12 }} - {{- end -}} - {{- if .namespaceSelector.matchExpressions }} - matchExpressions: - {{- .namespaceSelector.matchExpressions | toYaml | nindent 12 }} - {{- end -}} - {{- end -}} - {{- end -}} - - {{- if and ( .podSelector ) ( not $ipb ) }} - {{- if or ( .podSelector.matchLabels ) ( .podSelector.matchExpressions ) }} - {{- if $nss }} - podSelector: - {{- else }} - - podSelector: - {{- end }} - {{- if .podSelector.matchLabels }} - matchLabels: - {{- .podSelector.matchLabels | toYaml | nindent 12 }} - {{- end -}} - {{- if .podSelector.matchExpressions }} - matchExpressions: - {{- .podSelector.matchExpressions | toYaml | nindent 12 }} - {{- end -}} - {{- end -}} - {{- end -}} - {{- end -}} - - {{- with .ports }} - ports: - {{- . | toYaml | nindent 6 }} - {{- end -}} - {{- end -}} - {{- end -}} - - -{{- end -}} -{{- end -}} diff --git a/charts/library/common/templates/_postSetup.tpl b/charts/library/common/templates/_postSetup.tpl deleted file mode 100644 index 73dde5353f9..00000000000 --- a/charts/library/common/templates/_postSetup.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{/* -Secondary entrypoint and primary loader for the common chart -*/}} -{{- define "common.postSetup" -}} - {{- /* Render the externalInterfaces */ -}} - {{ include "common.classes.externalInterfaces" . | nindent 0 }} - - {{- /* Enable code-server add-on if required */ -}} - {{- if .Values.addons.codeserver.enabled }} - {{- include "common.addon.codeserver" . }} - {{- end -}} - - {{- /* Enable VPN add-on if required */ -}} - {{- if ne "disabled" .Values.addons.vpn.type -}} - {{- include "common.addon.vpn" . }} - {{- end -}} - - {{- /* Enable promtail add-on if required */ -}} - {{- if .Values.addons.promtail.enabled }} - {{- include "common.addon.promtail" . }} - {{- end -}} - - {{- /* Enable netshoot add-on if required */ -}} - {{- if .Values.addons.netshoot.enabled }} - {{- include "common.addon.netshoot" . }} - {{- end -}} - - {{- /* Build the confimap */ -}} - {{ include "common.configmap" . | nindent 0 }} - - {{- /* Build the templates */ -}} - {{- include "common.pvc" . }} - - {{- include "common.serviceAccount" . }} - - {{- if .Values.controller.enabled }} - {{- if eq .Values.controller.type "deployment" }} - {{- include "common.deployment" . | nindent 0 }} - {{ else if eq .Values.controller.type "daemonset" }} - {{- include "common.daemonset" . | nindent 0 }} - {{ else if eq .Values.controller.type "statefulset" }} - {{- include "common.statefulset" . | nindent 0 }} - {{ else }} - {{- fail (printf "Not a valid controller.type (%s)" .Values.controller.type) }} - {{- end -}} - {{- end -}} - - {{ include "common.rbac" . | nindent 0 }} - - {{ include "common.hpa" . | nindent 0 }} - - {{ include "common.service" . | nindent 0 }} - - {{ include "common.ingress" . | nindent 0 }} - - {{- if .Values.secret -}} - {{ include "common.secret" . | nindent 0 }} - {{- end -}} - - {{ include "common.configmap.portal" . | nindent 0 }} - - {{ include "common.networkpolicy" . | nindent 0 }} -{{- end -}} diff --git a/charts/library/common/templates/_pvc.tpl b/charts/library/common/templates/_pvc.tpl deleted file mode 100644 index 608b4de6528..00000000000 --- a/charts/library/common/templates/_pvc.tpl +++ /dev/null @@ -1,16 +0,0 @@ -{{/* -Renders the Persistent Volume Claim objects required by the chart. -*/}} -{{- define "common.pvc" -}} - {{- /* Generate pvc as required */ -}} - {{- range $index, $PVC := .Values.persistence }} - {{- if and $PVC.enabled (eq (default "pvc" $PVC.type) "pvc") (not $PVC.existingClaim) -}} - {{- $persistenceValues := $PVC -}} - {{- if not $persistenceValues.nameOverride -}} - {{- $_ := set $persistenceValues "nameOverride" $index -}} - {{- end -}} - {{- $_ := set $ "ObjectValues" (dict "persistence" $persistenceValues) -}} - {{- include "common.classes.pvc" $ | nindent 0 -}} - {{- end }} - {{- end }} -{{- end }} diff --git a/charts/library/common/templates/_rbac.tpl b/charts/library/common/templates/_rbac.tpl deleted file mode 100644 index 0899366c1be..00000000000 --- a/charts/library/common/templates/_rbac.tpl +++ /dev/null @@ -1,52 +0,0 @@ -{{/* -This template serves as a blueprint for all PersistentVolumeClaim objects that are created -within the common library. -*/}} -{{- define "common.rbac" -}} -{{- if .Values.rbac.enabled }} ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: {{ include "common.names.fullname" . }} - labels: - {{- include "common.labels" . | nindent 4 }} - {{- with .Values.rbac.labels }} - {{- toYaml . | nindent 4 }} - {{- end }} - annotations: - {{- with .Values.rbac.annotations }} - {{- toYaml . | nindent 4 }} - {{- end }} -{{- with .Values.rbac.rules }} -rules: - {{- . | toYaml | nindent 4 }} -{{- end}} - ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: {{ include "common.names.fullname" . }} - labels: - {{- include "common.labels" . | nindent 4 }} - {{- with .Values.rbac.labels }} - {{- toYaml . | nindent 4 }} - {{- end }} - annotations: - {{- with .Values.rbac.annotations }} - {{- toYaml . | nindent 4 }} - {{- end }} -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: {{ include "common.names.fullname" . }} -subjects: - - kind: ServiceAccount - name: {{ include "common.names.serviceAccountName" . }} - namespace: {{ .Release.Namespace }} - {{- end }} - {{- with .Values.rbac.subjects }} - {{- toYaml . | nindent 2 }} - {{- end }} -{{- end -}} diff --git a/charts/library/common/templates/_secret.tpl b/charts/library/common/templates/_secret.tpl deleted file mode 100644 index 1a6df463d7f..00000000000 --- a/charts/library/common/templates/_secret.tpl +++ /dev/null @@ -1,17 +0,0 @@ -{{/* -The Secret object to be created. -*/}} -{{- define "common.secret" }} ---- -apiVersion: v1 -kind: Secret -metadata: - name: {{ include "common.names.fullname" . }} - labels: - {{- include "common.labels" . | nindent 4 }} -type: Opaque -{{- with .Values.secret }} -stringData: - {{- toYaml . | nindent 2 }} -{{- end }} -{{- end }} diff --git a/charts/library/common/templates/_service.tpl b/charts/library/common/templates/_service.tpl deleted file mode 100644 index 35811938bf3..00000000000 --- a/charts/library/common/templates/_service.tpl +++ /dev/null @@ -1,43 +0,0 @@ -{{/* -Renders the Service objects required by the chart. -*/}} -{{- define "common.service" -}} - {{- /* Generate named services as required */ -}} - {{- range $name, $service := .Values.service }} - {{- if $service.enabled -}} - {{- $serviceValues := $service -}} - - {{/* set the default nameOverride to the service name */}} - {{- if and (not $serviceValues.nameOverride) (ne $name (include "common.service.primary" $)) -}} - {{- $_ := set $serviceValues "nameOverride" $name -}} - {{ end -}} - - {{- $_ := set $ "ObjectValues" (dict "service" $serviceValues) -}} - {{- include "common.classes.service" $ }} - {{- end }} - {{- end }} -{{- end }} - -{{/* -Return the primary service object -*/}} -{{- define "common.service.primary" -}} - {{- $enabledServices := dict -}} - {{- range $name, $service := .Values.service -}} - {{- if $service.enabled -}} - {{- $_ := set $enabledServices $name . -}} - {{- end -}} - {{- end -}} - - {{- $result := "" -}} - {{- range $name, $service := $enabledServices -}} - {{- if and (hasKey $service "primary") $service.primary -}} - {{- $result = $name -}} - {{- end -}} - {{- end -}} - - {{- if not $result -}} - {{- $result = keys $enabledServices | first -}} - {{- end -}} - {{- $result -}} -{{- end -}} diff --git a/charts/library/common/templates/_serviceaccount.tpl b/charts/library/common/templates/_serviceaccount.tpl deleted file mode 100644 index dff16abf12d..00000000000 --- a/charts/library/common/templates/_serviceaccount.tpl +++ /dev/null @@ -1,18 +0,0 @@ -{{/* -The ServiceAccount object to be created. -*/}} -{{- define "common.serviceAccount" }} -{{- if .Values.serviceAccount.create }} ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: {{ default (include "common.names.fullname" .) .Values.serviceAccount.name }} - labels: - {{- include "common.labels" . | nindent 4 }} - {{- with .Values.serviceAccount.annotations }} - annotations: - {{- toYaml . | nindent 4 }} - {{- end }} -{{- end }} -{{- end }} diff --git a/charts/library/common/templates/_statefulset.tpl b/charts/library/common/templates/_statefulset.tpl deleted file mode 100644 index 9f4318ec7cd..00000000000 --- a/charts/library/common/templates/_statefulset.tpl +++ /dev/null @@ -1,68 +0,0 @@ -{{/* -This template serves as the blueprint for the StatefulSet objects that are created -within the common library. -*/}} -{{- define "common.statefulset" }} -{{- $values := .Values }} -{{- $releaseName := .Release.Name }} ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: {{ include "common.names.fullname" . }} - labels: - {{- include "common.labels" . | nindent 4 }} - {{- with .Values.controller.labels }} - {{- toYaml . | nindent 4 }} - {{- end }} - {{- with .Values.controller.annotations }} - annotations: - {{- toYaml . | nindent 4 }} - {{- end }} -spec: - revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit }} - replicas: {{ .Values.controller.replicas }} - {{- $strategy := default "RollingUpdate" .Values.controller.strategy }} - {{- if and (ne $strategy "OnDelete") (ne $strategy "RollingUpdate") }} - {{- fail (printf "Not a valid strategy type for StatefulSet (%s)" $strategy) }} - {{- end }} - updateStrategy: - type: {{ $strategy }} - {{- if and (eq $strategy "RollingUpdate") .Values.controller.rollingUpdate.partition }} - rollingUpdate: - partition: {{ .Values.controller.rollingUpdate.partition }} - {{- end }} - selector: - matchLabels: - {{- include "common.labels.selectorLabels" . | nindent 6 }} - serviceName: {{ include "common.names.fullname" . }} - template: - metadata: - {{- with .Values.podAnnotations }} - annotations: - {{- toYaml . | nindent 8 }} - {{- end }} - labels: - {{- include "common.labels.selectorLabels" . | nindent 8 }} - {{- with .Values.podLabels }} - {{- toYaml . | nindent 8 }} - {{- end }} - spec: - {{- include "common.controller.pod" . | nindent 6 }} - volumeClaimTemplates: - {{- range $index, $vct := .Values.volumeClaimTemplates }} - {{- $vctname := $index }} - {{- if $vct.name }} - {{- $vctname := $vct.name }} - {{- end }} - - metadata: - name: {{ $vctname }} - spec: - accessModes: - - {{ ( $vct.accessMode | default "ReadWriteOnce" ) | quote }} - resources: - requests: - storage: {{ $vct.size | default "999Gi" | quote }} - {{ include "common.storage.class" ( dict "persistence" $vct "global" $) }} - {{- end }} -{{- end }} diff --git a/charts/library/common/templates/addons/code-server/_codeserver.tpl b/charts/library/common/templates/addons/code-server/_codeserver.tpl deleted file mode 100644 index ef1ca677f29..00000000000 --- a/charts/library/common/templates/addons/code-server/_codeserver.tpl +++ /dev/null @@ -1,50 +0,0 @@ -{{/* -Template to render code-server addon -It will include / inject the required templates based on the given values. -*/}} -{{- define "common.addon.codeserver" -}} -{{- if .Values.addons.codeserver.enabled -}} - {{/* Append the code-server container to the additionalContainers */}} - {{- $container := include "common.addon.codeserver.container" . | fromYaml -}} - {{- if $container -}} - {{- $_ := set .Values.additionalContainers "addon-codeserver" $container -}} - {{- end -}} - - {{/* Include the deployKeySecret if not empty */}} - {{- $secret := include "common.addon.codeserver.deployKeySecret" . -}} - {{- if $secret -}} - {{- $secret | nindent 0 -}} - {{- end -}} - - {{/* Append the secret volume to the volumes */}} - {{- $volume := include "common.addon.codeserver.deployKeyVolumeSpec" . | fromYaml -}} - {{- if $volume -}} - {{- $_ := set .Values.persistence "deploykey" (dict "enabled" "true" "mountPath" "-" "type" "custom" "volumeSpec" $volume) -}} - {{- end -}} - - {{/* Add the code-server service */}} - {{- if .Values.addons.codeserver.service.enabled -}} - {{- $serviceValues := .Values.addons.codeserver.service -}} - {{- $_ := set $serviceValues "nameOverride" "codeserver" -}} - {{- $_ := set $ "ObjectValues" (dict "service" $serviceValues) -}} - {{- include "common.classes.service" $ -}} - {{- $_ := unset $ "ObjectValues" -}} - {{- end -}} - - {{/* Add the code-server ingress */}} - {{- if .Values.addons.codeserver.ingress.enabled -}} - {{- $ingressValues := .Values.addons.codeserver.ingress -}} - {{- $_ := set $ingressValues "nameOverride" "codeserver" -}} - - {{/* Determine the target service name & port */}} - {{- $svcName := printf "%v-codeserver" (include "common.names.fullname" .) -}} - {{- $svcPort := .Values.addons.codeserver.service.ports.codeserver.port -}} - {{- range $_, $host := $ingressValues.hosts -}} - {{- $_ := set (index $host.paths 0) "service" (dict "name" $svcName "port" $svcPort) -}} - {{- end -}} - {{- $_ := set $ "ObjectValues" (dict "ingress" $ingressValues) -}} - {{- include "common.classes.ingress" $ -}} - {{- $_ := unset $ "ObjectValues" -}} - {{- end -}} -{{- end -}} -{{- end -}} diff --git a/charts/library/common/templates/addons/code-server/_container.tpl b/charts/library/common/templates/addons/code-server/_container.tpl deleted file mode 100644 index 473b7d2387c..00000000000 --- a/charts/library/common/templates/addons/code-server/_container.tpl +++ /dev/null @@ -1,50 +0,0 @@ -{{/* -The code-server sidecar container to be inserted. -*/}} -{{- define "common.addon.codeserver.container" -}} -name: codeserver -image: "{{ .Values.codeserverImage.repository }}:{{ .Values.codeserverImage.tag }}" -imagePullPolicy: {{ .Values.codeserverImage.pullPolicy }} -securityContext: - runAsUser: 0 - runAsGroup: 0 -env: -{{- range $envList := .Values.addons.codeserver.envList }} - {{- if and $envList.name $envList.value }} - - name: {{ $envList.name }} - value: {{ $envList.value | quote }} - {{- else }} - {{- fail "Please specify name/value for codeserver environment variable" }} - {{- end }} -{{- end}} -{{- with .Values.addons.codeserver.env }} -{{- range $k, $v := . }} - - name: {{ $k }} - value: {{ $v | quote }} -{{- end }} -{{- end }} -ports: -- name: codeserver - containerPort: {{ .Values.addons.codeserver.service.ports.codeserver.port }} - protocol: TCP -args: -{{- range .Values.addons.codeserver.args }} -- {{ . | quote }} -{{- end }} -- "--port" -- "{{ .Values.addons.codeserver.service.ports.codeserver.port }}" -- {{ .Values.addons.codeserver.workingDir | default "/" }} -{{- with (include "common.controller.volumeMounts" . | trim) }} -volumeMounts: - {{ nindent 2 . }} -{{- end }} -{{- if or .Values.addons.codeserver.git.deployKey .Values.addons.codeserver.git.deployKeyBase64 .Values.addons.codeserver.git.deployKeySecret }} - - name: deploykey - mountPath: /root/.ssh/id_rsa - subPath: id_rsa -{{- end }} -{{- with .Values.addons.codeserver.resources }} -resources: - {{- toYaml . | nindent 2 }} -{{- end }} -{{- end -}} diff --git a/charts/library/common/templates/addons/code-server/_secret.tpl b/charts/library/common/templates/addons/code-server/_secret.tpl deleted file mode 100644 index 14c62327996..00000000000 --- a/charts/library/common/templates/addons/code-server/_secret.tpl +++ /dev/null @@ -1,22 +0,0 @@ -{{/* -The OpenVPN credentials secrets to be included. -*/}} -{{- define "common.addon.codeserver.deployKeySecret" -}} -{{- if or .Values.addons.codeserver.git.deployKey .Values.addons.codeserver.git.deployKeyBase64 }} ---- -apiVersion: v1 -kind: Secret -metadata: - name: {{ template "common.names.fullname" . }}-deploykey - labels: - {{- include "common.labels" . | nindent 4 }} -type: Opaque -{{- if .Values.addons.codeserver.git.deployKey }} -stringData: - id_rsa: {{ .Values.addons.codeserver.git.deployKey | quote }} -{{- else }} -data: - id_rsa: {{ .Values.addons.codeserver.git.deployKeyBase64 | quote }} -{{- end }} -{{- end }} -{{- end -}} diff --git a/charts/library/common/templates/addons/code-server/_volume.tpl b/charts/library/common/templates/addons/code-server/_volume.tpl deleted file mode 100644 index 6e6d5947a64..00000000000 --- a/charts/library/common/templates/addons/code-server/_volume.tpl +++ /dev/null @@ -1,17 +0,0 @@ -{{/* -The volume (referencing git deploykey) to be inserted into additionalVolumes. -*/}} -{{- define "common.addon.codeserver.deployKeyVolumeSpec" -}} -{{- if or .Values.addons.codeserver.git.deployKey .Values.addons.codeserver.git.deployKeyBase64 .Values.addons.codeserver.git.deployKeySecret }} -secret: - {{- if .Values.addons.codeserver.git.deployKeySecret }} - secretName: {{ .Values.addons.codeserver.git.deployKeySecret }} - {{- else }} - secretName: {{ include "common.names.fullname" . }}-deploykey - {{- end }} - defaultMode: 256 - items: - - key: id_rsa - path: id_rsa -{{- end -}} -{{- end -}} diff --git a/charts/library/common/templates/addons/netshoot/_container.tpl b/charts/library/common/templates/addons/netshoot/_container.tpl deleted file mode 100644 index 33eae63f967..00000000000 --- a/charts/library/common/templates/addons/netshoot/_container.tpl +++ /dev/null @@ -1,39 +0,0 @@ -{{/* -The netshoot sidecar container to be inserted. -*/}} -{{- define "common.addon.netshoot.container" -}} -name: netshoot -image: "{{ .Values.netshootImage.repository }}:{{ .Values.netshootImage.tag }}" -imagePullPolicy: {{ .Values.netshootImage.pullPolicy }} - -securityContext: - runAsUser: 0 - runAsGroup: 0 - capabilities: - add: - - NET_ADMIN - -env: -{{- range $envList := .Values.addons.netshoot.envList }} - {{- if and $envList.name $envList.value }} - - name: {{ $envList.name }} - value: {{ $envList.value | quote }} - {{- else }} - {{- fail "Please specify name/value for netshoot environment variable" }} - {{- end }} -{{- end}} -{{- with .Values.addons.netshoot.env }} -{{- range $k, $v := . }} - - name: {{ $k }} - value: {{ $v | quote }} -{{- end }} -{{- end }} -command: - - /bin/sh - - -c - - sleep infinity -{{- with .Values.addons.netshoot.resources }} -resources: - {{- toYaml . | nindent 2 }} -{{- end }} -{{- end -}} diff --git a/charts/library/common/templates/addons/netshoot/_netshoot.tpl b/charts/library/common/templates/addons/netshoot/_netshoot.tpl deleted file mode 100644 index 9a1e9fae731..00000000000 --- a/charts/library/common/templates/addons/netshoot/_netshoot.tpl +++ /dev/null @@ -1,13 +0,0 @@ -{{/* -Template to render netshoot addon -It will include / inject the required templates based on the given values. -*/}} -{{- define "common.addon.netshoot" -}} -{{- if .Values.addons.netshoot.enabled -}} - {{/* Append the netshoot container to the additionalContainers */}} - {{- $container := include "common.addon.netshoot.container" . | fromYaml -}} - {{- if $container -}} - {{- $_ := set .Values.additionalContainers "addon-netshoot" $container -}} - {{- end -}} -{{- end -}} -{{- end -}} diff --git a/charts/library/common/templates/addons/promtail/_configmap.tpl b/charts/library/common/templates/addons/promtail/_configmap.tpl deleted file mode 100644 index 3b92757689e..00000000000 --- a/charts/library/common/templates/addons/promtail/_configmap.tpl +++ /dev/null @@ -1,35 +0,0 @@ -{{/* -The promtail config to be included. -*/}} -{{- define "common.addon.promtail.configmap" -}} -{{- if .Values.addons.promtail.enabled }} ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ include "common.names.fullname" . }}-promtail - labels: - {{- include "common.labels" . | nindent 4 }} -data: - promtail.yaml: | - server: - http_listen_port: 9080 - grpc_listen_port: 0 - positions: - filename: /tmp/positions.yaml - {{- with .Values.addons.promtail.loki }} - client: - url: {{ . }} - {{- end }} - scrape_configs: - {{- range .Values.addons.promtail.logs }} - - job_name: {{ .name }} - static_configs: - - targets: - - localhost - labels: - job: {{ .name }} - __path__: "{{ .path }}" - {{- end }} -{{- end -}} -{{- end -}} diff --git a/charts/library/common/templates/addons/promtail/_container.tpl b/charts/library/common/templates/addons/promtail/_container.tpl deleted file mode 100644 index dda74a07b15..00000000000 --- a/charts/library/common/templates/addons/promtail/_container.tpl +++ /dev/null @@ -1,45 +0,0 @@ -{{/* -The promtail sidecar container to be inserted. -*/}} -{{- define "common.addon.promtail.container" -}} -name: promtail -image: "{{ .Values.promtailImage.repository }}:{{ .Values.promtailImage.tag }}" -imagePullPolicy: {{ .Values.promtailImage.pullPolicy }} - -securityContext: - runAsUser: 0 - runAsGroup: 0 - -env: -{{- range $envList := .Values.addons.promtail.envList }} - {{- if and $envList.name $envList.value }} - - name: {{ $envList.name }} - value: {{ $envList.value | quote }} - {{- else }} - {{- fail "Please specify name/value for promtail environment variable" }} - {{- end }} -{{- end}} -{{- with .Values.addons.promtail.env }} -{{- range $k, $v := . }} - - name: {{ $k }} - value: {{ $v | quote }} -{{- end }} -{{- end }} -args: -{{- range .Values.addons.promtail.args }} -- {{ . | quote }} -{{- end }} -- "-config.file=/etc/promtail/promtail.yaml" -volumeMounts: - - name: promtail-config - mountPath: /etc/promtail/promtail.yaml - subPath: promtail.yaml - readOnly: true -{{- with (include "common.controller.volumeMounts" . | trim) }} - {{ nindent 2 . }} -{{- end }} -{{- with .Values.addons.promtail.resources }} -resources: - {{- toYaml . | nindent 2 }} -{{- end }} -{{- end -}} diff --git a/charts/library/common/templates/addons/promtail/_promtail.tpl b/charts/library/common/templates/addons/promtail/_promtail.tpl deleted file mode 100644 index c8ef10f941f..00000000000 --- a/charts/library/common/templates/addons/promtail/_promtail.tpl +++ /dev/null @@ -1,25 +0,0 @@ -{{/* -Template to render promtail addon -It will include / inject the required templates based on the given values. -*/}} -{{- define "common.addon.promtail" -}} -{{- if .Values.addons.promtail.enabled -}} - {{/* Append the promtail container to the additionalContainers */}} - {{- $container := include "common.addon.promtail.container" . | fromYaml -}} - {{- if $container -}} - {{- $_ := set .Values.additionalContainers "addon-promtail" $container -}} - {{- end -}} - - {{/* Include the configmap if not empty */}} - {{- $configmap := include "common.addon.promtail.configmap" . -}} - {{- if $configmap -}} - {{- $configmap | nindent 0 -}} - {{- end -}} - - {{/* Append the promtail config volume to the volumes */}} - {{- $volume := include "common.addon.promtail.volumeSpec" . | fromYaml -}} - {{- if $volume -}} - {{- $_ := set .Values.persistence "promtail-config" (dict "enabled" "true" "mountPath" "-" "type" "custom" "volumeSpec" $volume) -}} - {{- end -}} -{{- end -}} -{{- end -}} diff --git a/charts/library/common/templates/addons/promtail/_volume.tpl b/charts/library/common/templates/addons/promtail/_volume.tpl deleted file mode 100644 index bce624b59f5..00000000000 --- a/charts/library/common/templates/addons/promtail/_volume.tpl +++ /dev/null @@ -1,7 +0,0 @@ -{{/* -The volume (referencing config) to be inserted into additionalVolumes. -*/}} -{{- define "common.addon.promtail.volumeSpec" -}} -configMap: - name: {{ include "common.names.fullname" . }}-promtail -{{- end -}} diff --git a/charts/library/common/templates/addons/vpn/_vpn.tpl b/charts/library/common/templates/addons/vpn/_vpn.tpl deleted file mode 100644 index 5b04611ec81..00000000000 --- a/charts/library/common/templates/addons/vpn/_vpn.tpl +++ /dev/null @@ -1,20 +0,0 @@ -{{/* -Template to render VPN addon -It will include / inject the required templates based on the given values. -*/}} -{{- define "common.addon.vpn" -}} -{{- if ne "disabled" .Values.addons.vpn.type -}} - {{- if eq "openvpn" .Values.addons.vpn.type -}} - {{- include "common.addon.openvpn" . }} - {{- end -}} - - {{- if eq "wireguard" .Values.addons.vpn.type -}} - {{- include "common.addon.wireguard" . }} - {{- end -}} - - - {{- $_ := set .Values.persistence "vpnconfig" .Values.addons.vpn.configFile -}} - - -{{- end -}} -{{- end -}} diff --git a/charts/library/common/templates/addons/vpn/openvpn/_addon.tpl b/charts/library/common/templates/addons/vpn/openvpn/_addon.tpl deleted file mode 100644 index 1cfcdd51fad..00000000000 --- a/charts/library/common/templates/addons/vpn/openvpn/_addon.tpl +++ /dev/null @@ -1,17 +0,0 @@ -{{/* -Template to render OpenVPN addon. It will add the container to the list of additionalContainers -and add a credentials secret if speciffied. -*/}} -{{- define "common.addon.openvpn" -}} - {{/* Append the openVPN container to the additionalContainers */}} - {{- $container := include "common.addon.openvpn.container" . | fromYaml -}} - {{- if $container -}} - {{- $_ := set .Values.additionalContainers "addon-openvpn" $container -}} - {{- end -}} - - {{/* Include the secret if not empty */}} - {{- $secret := include "common.addon.openvpn.secret" . -}} - {{- if $secret -}} - {{- $secret | nindent 0 -}} - {{- end -}} -{{- end -}} diff --git a/charts/library/common/templates/addons/vpn/openvpn/_container.tpl b/charts/library/common/templates/addons/vpn/openvpn/_container.tpl deleted file mode 100644 index eb1a5cf3e09..00000000000 --- a/charts/library/common/templates/addons/vpn/openvpn/_container.tpl +++ /dev/null @@ -1,72 +0,0 @@ -{{/* -The OpenVPN sidecar container to be inserted. -*/}} -{{- define "common.addon.openvpn.container" -}} -name: openvpn -image: "{{ .Values.openvpnImage.repository }}:{{ .Values.openvpnImage.tag }}" -imagePullPolicy: {{ .Values.openvpnImage.pullPolicy }} -securityContext: - runAsUser: 0 - runAsGroup: 0 - capabilities: - add: - - NET_ADMIN - - SYS_MODULE -env: -{{- range $envList := .Values.addons.vpn.envList }} - {{- if and $envList.name $envList.value }} - - name: {{ $envList.name }} - value: {{ $envList.value | quote }} - {{- else }} - {{- fail "Please specify name/value for VPN environment variable" }} - {{- end }} -{{- end}} -{{- with .Values.addons.vpn.env }} -{{- range $k, $v := . }} - - name: {{ $k }} - value: {{ $v | quote }} -{{- end }} -{{- end }} - -{{- if .Values.addons.vpn.killSwitch }} - - name: FIREWALL - value: "ON" - - name: ROUTE_1 - value: "172.16.0.0/12" - {{- range $index, $value := .Values.addons.vpn.excludedNetworks_IPv4 }} - - name: ROUTE_{{ add $index 2 }} - value: {{ $value | quote }} - {{- end}} -{{- if .Values.addons.vpn.excludedNetworks_IPv6 }} - {{- $excludednetworksv6 := ""}} - {{- range .Values.addons.vpn.excludedNetworks_IPv4 }} - {{- $excludednetworksv6 = ( printf "%v;%v" $excludednetworksv6 . ) }} - {{- end}} - {{- range $index, $value := .Values.addons.vpn.excludedNetworks_IPv6 }} - - name: ROUTE6_{{ add $index 1 }} - value: {{ $value | quote }} - {{- end}} -{{- end }} -{{- end }} - -{{- if or ( .Values.addons.vpn.openvpn.username ) ( .Values.addons.vpn.openvpn.password ) }} -envFrom: - - secretRef: - name: {{ include "common.names.fullname" . }}-openvpn -{{- end }} -volumeMounts: - - mountPath: {{ .Values.persistence.shared.mountPath }} - name: shared -{{- if .Values.addons.vpn.configFile }} - - name: vpnconfig - mountPath: /vpn/vpn.conf -{{- end }} -{{- with .Values.addons.vpn.livenessProbe }} -livenessProbe: - {{- toYaml . | nindent 2 }} -{{- end -}} -{{- with .Values.addons.vpn.resources }} -resources: - {{- toYaml . | nindent 2 }} -{{- end }} -{{- end -}} diff --git a/charts/library/common/templates/addons/vpn/openvpn/_secret.tpl b/charts/library/common/templates/addons/vpn/openvpn/_secret.tpl deleted file mode 100644 index b479afb04fd..00000000000 --- a/charts/library/common/templates/addons/vpn/openvpn/_secret.tpl +++ /dev/null @@ -1,14 +0,0 @@ -{{/* -The OpenVPN credentials secrets to be included. -*/}} -{{- define "common.addon.openvpn.secret" -}} ---- -apiVersion: v1 -kind: Secret -metadata: - name: {{ include "common.names.fullname" $ }}-openvpn - labels: - {{- include "common.labels" $ | nindent 4 }} -data: - VPN_AUTH: {{ ( printf "%v;%v" .Values.addons.vpn.openvpn.username .Values.addons.vpn.openvpn.password ) | b64enc }} -{{- end -}} diff --git a/charts/library/common/templates/addons/vpn/wireguard/_addon.tpl b/charts/library/common/templates/addons/vpn/wireguard/_addon.tpl deleted file mode 100644 index 6c7ea35c9e2..00000000000 --- a/charts/library/common/templates/addons/vpn/wireguard/_addon.tpl +++ /dev/null @@ -1,11 +0,0 @@ -{{/* -Template to render Wireguard addon. It will add the container to the list of additionalContainers. -*/}} -*/}} -{{- define "common.addon.wireguard" -}} - {{/* Append the Wireguard container to the additionalContainers */}} - {{- $container := fromYaml (include "common.addon.wireguard.container" .) -}} - {{- if $container -}} - {{- $_ := set .Values.additionalContainers "addon-wireguard" $container -}} - {{- end -}} -{{- end -}} diff --git a/charts/library/common/templates/addons/vpn/wireguard/_container.tpl b/charts/library/common/templates/addons/vpn/wireguard/_container.tpl deleted file mode 100644 index 1445f3f0015..00000000000 --- a/charts/library/common/templates/addons/vpn/wireguard/_container.tpl +++ /dev/null @@ -1,68 +0,0 @@ -{{/* -The Wireguard sidecar container to be inserted. -*/}} -{{- define "common.addon.wireguard.container" -}} -name: wireguard -image: "{{ .Values.wireguardImage.repository }}:{{ .Values.wireguardImage.tag }}" -imagePullPolicy: {{ .Values.wireguardImage.pullPolicy }} -securityContext: - runAsUser: 568 - runAsGroup: 568 - capabilities: - add: - - NET_ADMIN - - SYS_MODULE -env: - - name: SEPARATOR - value: ";" -{{- range $envList := .Values.addons.vpn.envList }} - {{- if and $envList.name $envList.value }} - - name: {{ $envList.name }} - value: {{ $envList.value | quote }} - {{- else }} - {{- fail "Please specify name/value for VPN environment variable" }} - {{- end }} -{{- end}} - -{{- with .Values.addons.vpn.env }} -{{- range $k, $v := . }} - - name: {{ $k }} - value: {{ $v | quote }} -{{- end }} -{{- end }} - -{{- if .Values.addons.vpn.killSwitch }} - - name: KILLSWITCH - value: "true" - {{- $excludednetworksv4 := "172.16.0.0/12"}} - {{- range .Values.addons.vpn.excludedNetworks_IPv4 }} - {{- $excludednetworksv4 = ( printf "%v;%v" $excludednetworksv4 . ) }} - {{- end}} - - name: KILLSWITCH_EXCLUDEDNETWORKS_IPV4 - value: {{ $excludednetworksv4 | quote }} -{{- if .Values.addons.vpn.excludedNetworks_IPv6 }} - {{- $excludednetworksv6 := ""}} - {{- range .Values.addons.vpn.excludedNetworks_IPv4 }} - {{- $excludednetworksv6 = ( printf "%v;%v" $excludednetworksv6 . ) }} - {{- end}} - - name: KILLSWITCH_EXCLUDEDNETWORKS_IPV6 - value: {{ .Values.addons.vpn.excludedNetworks_IPv6 | quote }} -{{- end }} -{{- end }} - -volumeMounts: - - mountPath: {{ .Values.persistence.shared.mountPath }} - name: shared -{{- if .Values.addons.vpn.configFile }} - - name: vpnconfig - mountPath: /etc/wireguard/wg0.conf -{{- end }} -{{- with .Values.addons.vpn.livenessProbe }} -livenessProbe: - {{- toYaml . | nindent 2 }} -{{- end -}} -{{- with .Values.addons.vpn.resources }} -resources: - {{- toYaml . | nindent 2 }} -{{- end }} -{{- end -}} diff --git a/charts/library/common/templates/classes/_configmap.tpl b/charts/library/common/templates/classes/_configmap.tpl deleted file mode 100644 index 31d841d6817..00000000000 --- a/charts/library/common/templates/classes/_configmap.tpl +++ /dev/null @@ -1,37 +0,0 @@ -{{/* -This template serves as a blueprint for all configMap objects that are created -within the common library. -*/}} -{{- define "common.classes.configmap" -}} - {{- $fullName := include "common.names.fullname" . -}} - {{- $configMapName := $fullName -}} - {{- $values := .Values.configmap -}} - - {{- if hasKey . "ObjectValues" -}} - {{- with .ObjectValues.configmap -}} - {{- $values = . -}} - {{- end -}} - {{ end -}} - - {{- if and (hasKey $values "nameOverride") $values.nameOverride -}} - {{- $configMapName = printf "%v-%v" $configMapName $values.nameOverride -}} - {{- end }} ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ $configMapName }} - labels: - {{- include "common.labels" . | nindent 4 }} - {{- with $values.labels }} - {{- toYaml . | nindent 4 }} - {{- end }} - {{- with $values.annotations }} - annotations: - {{- toYaml . | nindent 4 }} - {{- end }} -data: -{{- with $values.data }} - {{- tpl (toYaml .) $ | nindent 2 }} -{{- end }} -{{- end }} diff --git a/charts/library/common/templates/classes/_externalInterfaces.tpl b/charts/library/common/templates/classes/_externalInterfaces.tpl deleted file mode 100644 index 524b4f263b2..00000000000 --- a/charts/library/common/templates/classes/_externalInterfaces.tpl +++ /dev/null @@ -1,15 +0,0 @@ -{{/* -This template serves as a blueprint for External Interface objects that are created -using the SCALE GUI. -*/}} -{{- define "common.classes.externalInterfaces" -}} -{{- range $index, $iface := .Values.ixExternalInterfacesConfiguration }} ---- -apiVersion: "k8s.cni.cncf.io/v1" -kind: NetworkAttachmentDefinition -metadata: - name: ix-{{ $.Release.Name }}-{{ $index }} -spec: - config: '{{ $iface }}' -{{- end }} -{{- end -}} diff --git a/charts/library/common/templates/classes/_ingress.tpl b/charts/library/common/templates/classes/_ingress.tpl deleted file mode 100644 index 91b8cbb3c49..00000000000 --- a/charts/library/common/templates/classes/_ingress.tpl +++ /dev/null @@ -1,130 +0,0 @@ -{{/* -This template serves as a blueprint for all Ingress objects that are created -within the common library. -*/}} -{{- define "common.classes.ingress" -}} - {{- $fullName := include "common.names.fullname" . -}} - {{- $ingressName := $fullName -}} - {{- $values := .Values.ingress -}} - - {{- if hasKey . "ObjectValues" -}} - {{- with .ObjectValues.ingress -}} - {{- $values = . -}} - {{- end -}} - {{ end -}} - - {{- if and (hasKey $values "nameOverride") $values.nameOverride -}} - {{- $ingressName = printf "%v-%v" $ingressName $values.nameOverride -}} - {{- end -}} - - {{- $primaryService := get .Values.service (include "common.service.primary" .) -}} - {{- $autoLinkService := get .Values.service (include "common.service.primary" .) -}} - {{- $defaultServiceName := $fullName -}} - {{- if and (hasKey $primaryService "nameOverride") $primaryService.nameOverride -}} - {{- $defaultServiceName = printf "%v-%v" $defaultServiceName $primaryService.nameOverride -}} - {{- end -}} - {{- $defaultServicePort := get $primaryService.ports (include "common.classes.service.ports.primary" (dict "values" $primaryService)) -}} - - {{- if and (hasKey $values "nameOverride") ( $values.nameOverride ) ( $values.autoLink ) -}} - {{- $autoLinkService = get .Values.service $values.nameOverride -}} - {{- $defaultServiceName = $ingressName -}} - {{- $defaultServicePort = get $autoLinkService.ports $values.nameOverride -}} - {{- end -}} - - - {{- $isStable := include "common.capabilities.ingress.isStable" . }} - - {{- $mddwrNamespace := "default" }} - {{- if $values.ingressClassName }} - {{- $mddwrNamespace := ( printf "ix-%s" $values.ingressClassName ) }} - {{- end }} - - {{- $fixedMiddlewares := "" }} - {{- if $values.enableFixedMiddlewares }} - {{ range $index, $fixedMiddleware := $values.fixedMiddlewares }} - {{- if $index }} - {{ $fixedMiddlewares = ( printf "%v, %v-%v@%v" $fixedMiddlewares $mddwrNamespace $fixedMiddleware "kubernetescrd" ) }} - {{- else }} - {{ $fixedMiddlewares = ( printf "%v-%v@%v" $mddwrNamespace $fixedMiddleware "kubernetescrd" ) }} - {{- end }} - {{ end }} - {{- end }} - - {{- $middlewares := "" }} - {{ range $index, $middleware := $values.middlewares }} - {{- if $index }} - {{ $middlewares = ( printf "%v, %v-%v@%v" $middlewares $mddwrNamespace $middleware "kubernetescrd" ) }} - {{- else }} - {{ $middlewares = ( printf "%v-%v@%v" $mddwrNamespace $middleware "kubernetescrd" ) }} - {{- end }} - {{ end }} - - {{- if and ( $fixedMiddlewares ) ( $middlewares ) }} - {{ $middlewares = ( printf "%v, %v" $fixedMiddlewares $middlewares ) }} - {{- else if $fixedMiddlewares }} - {{ $middlewares = ( printf "%s" $fixedMiddlewares ) }} - {{ end }} - ---- -apiVersion: {{ include "common.capabilities.ingress.apiVersion" . }} -kind: Ingress -metadata: - name: {{ $ingressName }} - labels: - {{- include "common.labels" . | nindent 4 }} - {{- with $values.labels }} - {{- toYaml . | nindent 4 }} - {{- end }} - annotations: - "traefik.ingress.kubernetes.io/router.entrypoints": {{ $values.entrypoint | default "websecure" }} - "traefik.ingress.kubernetes.io/router.middlewares": {{ $middlewares | quote }} - {{- with $values.annotations }} - {{- toYaml . | nindent 4 }} - {{- end }} -spec: - {{- if and $isStable $values.ingressClassName }} - ingressClassName: {{ $values.ingressClassName }} - {{- end }} - {{- if $values.tls }} - tls: - {{- range $index, $tlsValues := $values.tls }} - - hosts: - {{- range $tlsValues.hosts }} - - {{ tpl . $ | quote }} - {{- end }} - {{- if $tlsValues.scaleCert }} - secretName: {{ ( printf "%v-%v-%v-%v-%v-%v" $ingressName "tls" $index "ixcert" $tlsValues.scaleCert $.Release.Revision ) }} - {{- else if .secretName }} - secretName: {{ tpl .secretName $ | quote}} - {{- end }} - {{- end }} - {{- end }} - rules: - {{- range $values.hosts }} - - host: {{ tpl .host $ | quote }} - http: - paths: - {{- range .paths }} - {{- $service := $defaultServiceName -}} - {{- $port := $defaultServicePort.port -}} - {{- if .service -}} - {{- $service = default $service .service.name -}} - {{- $port = default $port .service.port -}} - {{- end }} - - path: {{ tpl .path $ | quote }} - {{- if $isStable }} - pathType: {{ default "Prefix" .pathType }} - {{- end }} - backend: - {{- if $isStable }} - service: - name: {{ $service }} - port: - number: {{ $port }} - {{- else }} - serviceName: {{ $service }} - servicePort: {{ $port }} - {{- end }} - {{- end }} - {{- end }} -{{- end }} diff --git a/charts/library/common/templates/classes/_pvc.tpl b/charts/library/common/templates/classes/_pvc.tpl deleted file mode 100644 index f677a27ccc8..00000000000 --- a/charts/library/common/templates/classes/_pvc.tpl +++ /dev/null @@ -1,50 +0,0 @@ -{{/* -This template serves as a blueprint for all PersistentVolumeClaim objects that are created -within the common library. -*/}} -{{- define "common.classes.pvc" -}} -{{- $values := .Values.persistence -}} -{{- if hasKey . "ObjectValues" -}} - {{- with .ObjectValues.persistence -}} - {{- $values = . -}} - {{- end -}} -{{ end -}} -{{- $pvcName := include "common.names.fullname" . -}} -{{- if and (hasKey $values "nameOverride") $values.nameOverride -}} - {{- if not (eq $values.nameOverride "-") -}} - {{- $pvcName = printf "%v-%v" $pvcName $values.nameOverride -}} - {{ end -}} -{{ end }} -{{- if $values.forceName -}} - {{- $pvcName = $values.forceName -}} -{{ end }} ---- -kind: PersistentVolumeClaim -apiVersion: v1 -metadata: - name: {{ $pvcName }} - {{- if or $values.retain $values.annotations }} - annotations: - {{- if $values.retain }} - "helm.sh/resource-policy": keep - {{- end }} - {{- with $values.annotations }} - {{- toYaml . | nindent 4 }} - {{- end }} - {{- end }} - labels: - {{- include "common.labels" . | nindent 4 }} - {{- with $values.labels }} - {{- toYaml . | nindent 4 }} - {{- end }} -spec: - accessModes: - - {{ ( $values.accessMode | default "ReadWriteOnce" ) | quote }} - resources: - requests: - storage: {{ $values.size | default "999Gi" | quote }} - {{ include "common.storage.class" ( dict "persistence" $values "global" $ ) }} - {{- if $values.volumeName }} - volumeName: {{ $values.volumeName | quote }} - {{- end }} -{{- end -}} diff --git a/charts/library/common/templates/classes/_service.tpl b/charts/library/common/templates/classes/_service.tpl deleted file mode 100644 index f9fb561a406..00000000000 --- a/charts/library/common/templates/classes/_service.tpl +++ /dev/null @@ -1,134 +0,0 @@ -{{/* -This template serves as a blueprint for all Service objects that are created -within the common library. -*/}} -{{- define "common.classes.service" -}} -{{- $values := .Values.service -}} -{{- if hasKey . "ObjectValues" -}} - {{- with .ObjectValues.service -}} - {{- $values = . -}} - {{- end -}} -{{ end -}} - -{{- $serviceName := include "common.names.fullname" . -}} -{{- if and (hasKey $values "nameOverride") $values.nameOverride -}} - {{- $serviceName = printf "%v-%v" $serviceName $values.nameOverride -}} -{{ end -}} -{{- $svcType := $values.type | default "" -}} -{{- $primaryPort := get $values.ports (include "common.classes.service.ports.primary" (dict "values" $values)) }} ---- -apiVersion: v1 -kind: Service -metadata: - name: {{ $serviceName }} - labels: - {{- include "common.labels" . | nindent 4 }} - {{- if $values.labels }} - {{ toYaml $values.labels | nindent 4 }} - {{- end }} - annotations: - {{- if eq ( $primaryPort.protocol | default "" ) "HTTPS" }} - traefik.ingress.kubernetes.io/service.serversscheme: https - {{- end }} - {{- if eq ( $svcType | default "" ) "LoadBalancer" }} - metallb.universe.tf/allow-shared-ip: {{ include "common.names.fullname" . }} - {{- end }} - {{- with $values.annotations }} - {{ toYaml . | nindent 4 }} - {{- end }} -spec: - {{- if (or (eq $svcType "ClusterIP") (empty $svcType)) }} - type: ClusterIP - {{- if $values.clusterIP }} - clusterIP: {{ $values.clusterIP }} - {{end}} - {{- else if eq $svcType "ExternalName" }} - type: {{ $svcType }} - externalName: {{ $values.externalName }} - {{- else if eq $svcType "ExternalIP" }} - {{- else if eq $svcType "LoadBalancer" }} - type: {{ $svcType }} - {{- if $values.loadBalancerIP }} - loadBalancerIP: {{ $values.loadBalancerIP }} - {{- end }} - {{- if $values.externalTrafficPolicy }} - externalTrafficPolicy: {{ $values.externalTrafficPolicy }} - {{- end }} - {{- if $values.loadBalancerSourceRanges }} - loadBalancerSourceRanges: - {{ toYaml $values.loadBalancerSourceRanges | nindent 4 }} - {{- end -}} - {{- else }} - type: {{ $svcType }} - {{- end }} - {{- if $values.sessionAffinity }} - sessionAffinity: {{ $values.sessionAffinity }} - {{- if $values.sessionAffinityConfig }} - sessionAffinityConfig: - {{ toYaml $values.sessionAffinityConfig | nindent 4 }} - {{- end -}} - {{- end }} - {{- with $values.externalIPs }} - externalIPs: - {{- toYaml . | nindent 4 }} - {{- end }} - {{- if $values.publishNotReadyAddresses }} - publishNotReadyAddresses: {{ $values.publishNotReadyAddresses }} - {{- end }} - {{- if $values.ipFamilyPolicy }} - ipFamilyPolicy: {{ $values.ipFamilyPolicy }} - {{- end }} - {{- with $values.ipFamilies }} - ipFamilies: - {{ toYaml . | nindent 4 }} - {{- end }} - ports: - {{- range $name, $port := $values.ports }} - {{- if $port.enabled }} - - port: {{ $port.port }} - targetPort: {{ $port.targetPort | default $name }} - {{- if $port.protocol }} - {{- if or ( eq $port.protocol "HTTP" ) ( eq $port.protocol "HTTPS" ) ( eq $port.protocol "TCP" ) }} - protocol: TCP - {{- else }} - protocol: {{ $port.protocol }} - {{- end }} - {{- else }} - protocol: TCP - {{- end }} - name: {{ $name }} - {{- if (and (eq $svcType "NodePort") (not (empty $port.nodePort))) }} - nodePort: {{ $port.nodePort }} - {{ end }} - {{- end }} - {{- end }} - {{- if and ( ne $svcType "ExternalName" ) ( ne $svcType "ExternalIP" )}} - selector: - {{- if $values.selector }} - {{- with $values.selector }} - {{- tpl (toYaml .) $ | nindent 4 }} - {{- end }} - {{- else }} - {{- include "common.labels.selectorLabels" . | nindent 4 }} - {{- end }} - {{- end }} -{{- if eq $svcType "ExternalIP" }} ---- -apiVersion: v1 -kind: Endpoints -metadata: - name: {{ $serviceName }} - labels: - {{- include "common.labels" $ | nindent 4 }} -subsets: - - addresses: - - ip: {{ $values.externalIP }} - ports: - {{- range $name, $port := $values.ports }} - {{- if $port.enabled }} - - port: {{ $port.port | default 80 }} - name: {{ $name }} - {{- end }} - {{- end }} -{{- end }} -{{- end }} diff --git a/charts/library/common/templates/classes/_service_ports.tpl b/charts/library/common/templates/classes/_service_ports.tpl deleted file mode 100644 index 32cae4c8e19..00000000000 --- a/charts/library/common/templates/classes/_service_ports.tpl +++ /dev/null @@ -1,27 +0,0 @@ -{{/* -Return the primary port for a given Service object. -*/}} -{{- define "common.classes.service.ports.primary" -}} - {{- $enabledPorts := dict -}} - {{- range $name, $port := .values.ports -}} - {{- if $port.enabled -}} - {{- $_ := set $enabledPorts $name . -}} - {{- end -}} - {{- end -}} - - {{- if eq 0 (len $enabledPorts) }} - {{- fail (printf "No ports are enabled for service \"%s\"!" .serviceName) }} - {{- end }} - - {{- $result := "" -}} - {{- range $name, $port := $enabledPorts -}} - {{- if and (hasKey $port "primary") $port.primary -}} - {{- $result = $name -}} - {{- end -}} - {{- end -}} - - {{- if not $result -}} - {{- $result = keys $enabledPorts | first -}} - {{- end -}} - {{- $result -}} -{{- end -}} diff --git a/charts/library/common/templates/configmaps/_portal.tpl b/charts/library/common/templates/configmaps/_portal.tpl deleted file mode 100644 index b81329bb193..00000000000 --- a/charts/library/common/templates/configmaps/_portal.tpl +++ /dev/null @@ -1,94 +0,0 @@ -{{- define "common.configmap.portal" -}} - -{{- if .Values.portal }} -{{- if .Values.portal.enabled }} -{{- $primaryService := get .Values.service (include "common.service.primary" .) }} -{{- $primaryPort := get $primaryService.ports (include "common.classes.service.ports.primary" (dict "values" $primaryService)) -}} -{{- $ingr := index .Values.ingress (keys .Values.ingress | first) -}} -{{- $host := "$node_ip" }} -{{- $port := 443 }} -{{- $protocol := "https" }} -{{- $path := "/" }} -{{- $ingressport := 443 }} - -{{- if $ingr }} - {{- if $ingr.enabled }} - {{- range $ingr.hosts }} - {{- if .hostTpl }} - {{ $host = ( tpl .hostTpl $ ) }} - {{- else if .host }} - {{ $host = .host }} - {{- else }} - {{ $host = "$node_ip" }} - {{- end }} - {{- if .paths }} - {{- $path = (first .paths).path }} - {{- end }} - {{- end }} - {{- end }} -{{- end }} - -{{- $namespace := "default" }} -{{- if $ingr.ingressClassName }} -{{- $namespace := ( printf "ix-%s" $ingr.ingressClassName ) }} -{{- end }} -{{- $traefikportalhook := lookup "v1" "ConfigMap" $namespace "portalhook" }} - -{{- $entrypoint := "websecure" }} -{{- if $ingr.entrypoint }} - {{- $entrypoint = $ingr.entrypoint }} -{{- end }} - -{{- if .Values.portal.ingressPort }} - {{- $ingressport = .Values.portal.ingressPort }} -{{- else if $traefikportalhook }} - {{- if ( index $traefikportalhook.data $entrypoint ) }} - {{- $ingressport = ( index $traefikportalhook.data $entrypoint ) }} - {{- end }} -{{- end }} - -{{- if eq $host "$node_ip" }} - {{- if eq $primaryService.type "NodePort" }} - {{- $port = $primaryPort.nodePort }} - {{- end }} - {{- if eq $primaryService.type "LoadBalancer" }} - {{- $port = $primaryPort.port }} - {{- end }} - {{- if eq $primaryPort.protocol "HTTP" }} - {{- $protocol = "http" }} - {{- end }} -{{- else }} - {{- $port = $ingressport }} - {{- if $ingr.tls }} - {{- $protocol = "https" }} - {{- end }} -{{- end }} - - -{{- if and ( .Values.portal.host ) ( eq $host "$node_ip" ) }} - {{- $host = ( tpl .Values.portal.host $ ) }} -{{- end }} - -{{- if .Values.portal.path }} - {{- $path = ( tpl .Values.portal.path $ ) }} -{{- end }} - ---- - -apiVersion: v1 -kind: ConfigMap -metadata: - name: portal - labels: - {{ include "common.labels" . | nindent 4 }} - annotations: - rollme: {{ randAlphaNum 5 | quote }} -data: - protocol: {{ $protocol }} - host: {{ $host | quote }} - port: {{ $port | quote }} - path: {{ $path | quote }} - url: {{ ( printf "%v://%v:%v%v" $protocol $host $port $path ) | quote }} -{{- end }} -{{- end }} -{{- end -}} diff --git a/charts/library/common/templates/lib/cert/_certSecret.tpl b/charts/library/common/templates/lib/cert/_certSecret.tpl deleted file mode 100644 index 908edf39ffd..00000000000 --- a/charts/library/common/templates/lib/cert/_certSecret.tpl +++ /dev/null @@ -1,30 +0,0 @@ -{{- define "common.cert.secret" -}} - -{{- $secretName := include "common.names.fullname" . -}} - -{{- if .ObjectValues.certHolder -}} - {{- if hasKey .ObjectValues.certHolder "nameOverride" -}} - {{- $secretName = ( printf "%v-%v-%v-%v" $secretName .ObjectValues.certHolder.nameOverride "ixcert" .ObjectValues.certHolder.scaleCert ) -}} - {{- else }} - {{- $secretName = ( printf "%v-%v-%v" $secretName "ixcert" .ObjectValues.certHolder.scaleCert ) -}} - {{ end -}} -{{ else }} - {{- $_ := set $ "ObjectValues" (dict "certHolder" .Values) -}} - {{- $secretName = ( printf "%v-%v-%v-%v" $secretName "scalecert" "ixcert" .Values.scaleCert ) -}} -{{ end -}} - -{{- if eq (include "common.cert.available" $ ) "true" -}} - - -{{- printf "\n%s\n" "---" }} -apiVersion: v1 -kind: Secret -metadata: - name: {{ $secretName }}-{{ .Release.Revision }} - labels: {{ include "common.labels" . | nindent 4 }} -type: kubernetes.io/tls -data: - tls.crt: {{ (include "common.cert.publicKey" $ ) | toString | b64enc | quote }} - tls.key: {{ (include "common.cert.privateKey" $ ) | toString | b64enc | quote }} -{{- end -}} -{{- end -}} diff --git a/charts/library/common/templates/lib/cert/_certs.tpl b/charts/library/common/templates/lib/cert/_certs.tpl deleted file mode 100644 index bc223d25c5c..00000000000 --- a/charts/library/common/templates/lib/cert/_certs.tpl +++ /dev/null @@ -1,57 +0,0 @@ -{{/* -Retrieve true/false if certificate is configured -*/}} -{{- define "common.cert.available" -}} -{{- if .ObjectValues.certHolder.scaleCert -}} -{{- $values := (. | mustDeepCopy) -}} -{{- $_ := set $values "commonCertOptions" (dict "certKeyName" $values.ObjectValues.certHolder.scaleCert) -}} -{{- template "common.cert_present" $values -}} -{{- else -}} -{{- false -}} -{{- end -}} -{{- end -}} - - -{{/* -Retrieve public key of certificate -*/}} -{{- define "common.cert.publicKey" -}} -{{- $values := (. | mustDeepCopy) -}} -{{- $_ := set $values "commonCertOptions" (dict "certKeyName" $values.ObjectValues.certHolder.scaleCert "publicKey" true) -}} -{{ include "common.cert" $values }} -{{- end -}} - - -{{/* -Retrieve private key of certificate -*/}} -{{- define "common.cert.privateKey" -}} -{{- $values := (. | mustDeepCopy) -}} -{{- $_ := set $values "commonCertOptions" (dict "certKeyName" $values.ObjectValues.certHolder.scaleCert) -}} -{{ include "common.cert" $values }} -{{- end -}} - -{{/* -Retrieve true/false if certificate is available in ixCertificates -*/}} -{{- define "common.cert_present" -}} -{{- $values := . -}} -{{- hasKey $values.Values.ixCertificates ($values.commonCertOptions.certKeyName | toString) -}} -{{- end -}} - - -{{/* -Retrieve certificate from variable name -*/}} -{{- define "common.cert" -}} -{{- $values := . -}} -{{- $certKey := ($values.commonCertOptions.certKeyName | toString) -}} -{{- if hasKey $values.Values.ixCertificates $certKey -}} -{{- $cert := get $values.Values.ixCertificates $certKey -}} -{{- if $values.commonCertOptions.publicKey -}} -{{ $cert.certificate }} -{{- else -}} -{{ $cert.privatekey }} -{{- end -}} -{{- end -}} -{{- end -}} diff --git a/charts/library/common/templates/lib/chart/_annotations.tpl b/charts/library/common/templates/lib/chart/_annotations.tpl deleted file mode 100644 index 12a0a543364..00000000000 --- a/charts/library/common/templates/lib/chart/_annotations.tpl +++ /dev/null @@ -1,11 +0,0 @@ -{{/* Common annotations shared across objects */}} -{{- define "common.annotations.workload.spec" -}} -rollme: {{ randAlphaNum 5 | quote }} -{{- if .Values.ixExternalInterfacesConfigurationNames }} -k8s.v1.cni.cncf.io/networks: {{ join ", " .Values.ixExternalInterfacesConfigurationNames }} -{{- end }} -{{- end -}} - -{{- define "common.annotations.workload" -}} -rollme: {{ randAlphaNum 5 | quote }} -{{- end -}} diff --git a/charts/library/common/templates/lib/chart/_capabilities.tpl b/charts/library/common/templates/lib/chart/_capabilities.tpl deleted file mode 100644 index 96de3c104d9..00000000000 --- a/charts/library/common/templates/lib/chart/_capabilities.tpl +++ /dev/null @@ -1,19 +0,0 @@ -{{/* Allow KubeVersion to be overridden. */}} -{{- define "common.capabilities.ingress.kubeVersion" -}} - {{- default .Capabilities.KubeVersion.Version .Values.kubeVersionOverride -}} -{{- end -}} - -{{/* Return the appropriate apiVersion for Ingress objects */}} -{{- define "common.capabilities.ingress.apiVersion" -}} - {{- print "networking.k8s.io/v1" -}} - {{- if semverCompare "<1.19" (include "common.capabilities.ingress.kubeVersion" .) -}} - {{- print "beta1" -}} - {{- end -}} -{{- end -}} - -{{/* Check Ingress stability */}} -{{- define "common.capabilities.ingress.isStable" -}} - {{- if eq (include "common.capabilities.ingress.apiVersion" .) "networking.k8s.io/v1" -}} - {{- true -}} - {{- end -}} -{{- end -}} diff --git a/charts/library/common/templates/lib/chart/_labels.tpl b/charts/library/common/templates/lib/chart/_labels.tpl deleted file mode 100644 index 8a1e11aa807..00000000000 --- a/charts/library/common/templates/lib/chart/_labels.tpl +++ /dev/null @@ -1,15 +0,0 @@ -{{/* Common labels shared across objects */}} -{{- define "common.labels" -}} -helm.sh/chart: {{ include "common.names.chart" . }} -{{ include "common.labels.selectorLabels" . }} - {{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} - {{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end -}} - -{{/* Selector labels shared across objects */}} -{{- define "common.labels.selectorLabels" -}} -app.kubernetes.io/name: {{ include "common.names.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end -}} diff --git a/charts/library/common/templates/lib/chart/_names.tpl b/charts/library/common/templates/lib/chart/_names.tpl deleted file mode 100644 index 86d573f38f4..00000000000 --- a/charts/library/common/templates/lib/chart/_names.tpl +++ /dev/null @@ -1,65 +0,0 @@ -{{/* Expand the name of the chart */}} -{{- define "common.names.name" -}} - {{- $globalNameOverride := "" -}} - {{- if hasKey .Values "global" -}} - {{- $globalNameOverride = (default $globalNameOverride .Values.global.nameOverride) -}} - {{- end -}} - {{- default .Chart.Name (default .Values.nameOverride $globalNameOverride) | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "common.names.fullname" -}} - {{- $name := include "common.names.name" . -}} - {{- $globalFullNameOverride := "" -}} - {{- if hasKey .Values "global" -}} - {{- $globalFullNameOverride = (default $globalFullNameOverride .Values.global.fullnameOverride) -}} - {{- end -}} - {{- if or .Values.fullnameOverride $globalFullNameOverride -}} - {{- $name = default .Values.fullnameOverride $globalFullNameOverride -}} - {{- else -}} - {{- if contains $name .Release.Name -}} - {{- $name = .Release.Name -}} - {{- else -}} - {{- $name = printf "%s-%s" .Release.Name $name -}} - {{- end -}} - {{- end -}} - {{- trunc 63 $name | trimSuffix "-" -}} -{{- end -}} - -{{/* Create chart name and version as used by the chart label */}} -{{- define "common.names.chart" -}} - {{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} - -{{/* Create the name of the ServiceAccount to use */}} -{{- define "common.names.serviceAccountName" -}} - {{- if .Values.serviceAccount.create -}} - {{- default (include "common.names.fullname" .) .Values.serviceAccount.name -}} - {{- else -}} - {{- default "default" .Values.serviceAccount.name -}} - {{- end -}} -{{- end -}} - -{{/* Return the properly cased version of the controller type */}} -{{- define "common.names.controllerType" -}} - {{- if eq .Values.controller.type "deployment" -}} - {{- print "Deployment" -}} - {{- else if eq .Values.controller.type "daemonset" -}} - {{- print "DaemonSet" -}} - {{- else if eq .Values.controller.type "statefulset" -}} - {{- print "StatefulSet" -}} - {{- else -}} - {{- fail (printf "Not a valid controller.type (%s)" .Values.controller.type) -}} - {{- end -}} -{{- end -}} - -{{/* -Create the "name" + "." + "namespace" fqdn -*/}} -{{- define "common.names.fqdn" -}} -{{- printf "%s.%s" (include "common.names.fullname" .) .Release.Namespace | replace "+" "_" | trunc 63 | trimSuffix "-" -}} -{{- end -}} diff --git a/charts/library/common/templates/lib/chart/_setup.tpl b/charts/library/common/templates/lib/chart/_setup.tpl deleted file mode 100644 index afa2147fcf0..00000000000 --- a/charts/library/common/templates/lib/chart/_setup.tpl +++ /dev/null @@ -1,14 +0,0 @@ -{{- define "common.setup" -}} - -{{- /* Merge the local chart values and the common chart defaults */ -}} -{{- include "common.values" . }} - -{{- /* Autogenerate postgresql passwords if needed */ -}} -{{- include "common.dependencies.postgresql.injector" . }} - -{{- /* Autogenerate redis passwords if needed */ -}} -{{- include "common.dependencies.redis.injector" . }} - -{{- /* Autogenerate mariadb passwords if needed */ -}} -{{- include "common.dependencies.mariadb.injector" . }} -{{- end -}} diff --git a/charts/library/common/templates/lib/chart/_values.tpl b/charts/library/common/templates/lib/chart/_values.tpl deleted file mode 100644 index 087ec7a6883..00000000000 --- a/charts/library/common/templates/lib/chart/_values.tpl +++ /dev/null @@ -1,283 +0,0 @@ -{{/* Merge the local chart values and the common chart defaults */}} -{{- define "common.values" -}} - {{- if .Values.common -}} - {{- $defaultValues := deepCopy .Values.common -}} - {{- $userValues := deepCopy (omit .Values "common") -}} - {{- $mergedValues := mustMergeOverwrite $defaultValues $userValues -}} - {{- $_ := set . "Values" (deepCopy $mergedValues) -}} - {{- end -}} - - {{/* merge podAnnotationsList with podAnnotations */}} - {{- $podAnnotationsDict := dict }} - {{- range .Values.podAnnotationsList }} - {{- $_ := set $podAnnotationsDict .name .value }} - {{- end }} - {{- $podanno := merge .Values.podAnnotations $podAnnotationsDict }} - {{- $_ := set .Values "podAnnotations" (deepCopy $podanno) -}} - - {{/* merge podLabelsList with podLabels */}} - {{- $podLabelsDict := dict }} - {{- range .Values.controller.labelsList }} - {{- $_ := set $podLabelsDict .name .value }} - {{- end }} - {{- $podlab := merge .Values.controller.labels $podLabelsDict }} - {{- $_ := set .Values.controller "labels" (deepCopy $podlab) -}} - - {{/* merge controllerAnnotationsList with controllerAnnotations */}} - {{- $controllerAnnotationsDict := dict }} - {{- range .Values.controller.annotationsList }} - {{- $_ := set $controllerAnnotationsDict .name .value }} - {{- end }} - {{- $controlleranno := merge .Values.controller.annotations $controllerAnnotationsDict }} - {{- $_ := set .Values.controller "annotations" (deepCopy $controlleranno) -}} - - {{/* merge controllerLabelsList with controllerLabels */}} - {{- $controllerLabelsDict := dict }} - {{- range .Values.controller.labelsList }} - {{- $_ := set $controllerLabelsDict .name .value }} - {{- end }} - {{- $controllerlab := merge .Values.controller.labels $controllerLabelsDict }} - {{- $_ := set .Values "labels" (deepCopy $controllerlab) -}} - - - - {{/* merge persistenceList with Persitence */}} - {{- $perDict := dict }} - {{- range $index, $item := .Values.persistenceList -}} - {{- $name := ( printf "list-%s" ( $index | toString ) ) }} - {{- if $item.name }} - {{- $name = $item.name }} - {{- end }} - {{- $_ := set $perDict $name $item }} - {{- end }} - - {{/* merge deviceList with Persitence */}} - {{- range $index, $item := .Values.deviceList -}} - {{- $name := ( printf "device-%s" ( $index | toString ) ) }} - {{- if $item.name }} - {{- $name = $item.name }} - {{- end }} - {{- $_ := set $perDict $name $item }} - {{- end }} - {{- $per := merge .Values.persistence $perDict }} - {{- $_ := set .Values "persistence" (deepCopy $per) -}} - - - {{/* merge persistenceAnnotationsList with persistenceAnnotations */}} - {{- range $index, $item := .Values.persistence }} - {{- if $item.enabled }} - {{- $persistenceAnnotationsDict := dict }} - {{- range $item.annotationsList }} - {{- $_ := set $persistenceAnnotationsDict .name .value }} - {{- end }} - {{- $tmp := $item.annotations }} - {{- $persistenceanno := merge $tmp $persistenceAnnotationsDict }} - {{- $_ := set $item "annotations" (deepCopy $persistenceanno) -}} - {{- end }} - {{- end }} - - - {{/* merge persistenceLabelsList with persistenceLabels */}} - {{- range $index, $item := .Values.persistence }} - {{- if $item.enabled }} - {{- $persistenceLabelsDict := dict }} - {{- range $item.labelsList }} - {{- $_ := set $persistenceLabelsDict .name .value }} - {{- end }} - {{- $tmp := $item.labels }} - {{- $persistencelab := merge $tmp $persistenceLabelsDict }} - {{- $_ := set $item "labels" (deepCopy $persistencelab) -}} - {{- end }} - {{- end }} - - {{/* merge ingressList with ingress */}} - {{- $ingDict := dict }} - {{- range $index, $item := .Values.ingressList -}} - {{- $name := ( printf "list-%s" ( $index | toString ) ) }} - {{- if $item.name }} - {{- $name = $item.name }} - {{- end }} - {{- $_ := set $ingDict $name $item }} - {{- end }} - {{- $ing := merge .Values.ingress $ingDict }} - {{- $_ := set .Values "ingress" (deepCopy $ing) -}} - - - {{/* merge ingressAnnotationsList with ingressAnnotations */}} - {{- range $index, $item := .Values.ingress }} - {{- if $item.enabled }} - {{- $ingressAnnotationsDict := dict }} - {{- range $item.annotationsList }} - {{- $_ := set $ingressAnnotationsDict .name .value }} - {{- end }} - {{- $tmp := $item.annotations }} - {{- $ingressanno := merge $tmp $ingressAnnotationsDict }} - {{- $_ := set $item "annotations" (deepCopy $ingressanno) -}} - {{- end }} - {{- end }} - - - {{/* merge ingressLabelsList with ingressLabels */}} - {{- range $index, $item := .Values.ingress }} - {{- if $item.enabled }} - {{- $ingressLabelsDict := dict }} - {{- range $item.labelsList }} - {{- $_ := set $ingressLabelsDict .name .value }} - {{- end }} - {{- $tmp := $item.labels }} - {{- $ingresslab := merge $tmp $ingressLabelsDict }} - {{- $_ := set $item "labels" (deepCopy $ingresslab) -}} - {{- end }} - {{- end }} - - {{/* Enable privileged securitycontext when deviceList is used */}} - {{- if .Values.securityContext.privileged }} - {{- else if .Values.deviceList }} - {{- $_ := set .Values.securityContext "privileged" true -}} - {{- $_ := set .Values.securityContext "allowPrivilegeEscalation" true -}} - {{- end }} - - - {{/* save supplementalGroups to placeholder variables */}} - {{- $fixedGroups := list 568 }} - {{- $valuegroups := list }} - {{- $devGroups := list }} - {{- $gpuGroups := list }} - - {{/* put user-entered supplementalgroups in placeholder variable */}} - {{- if .Values.podSecurityContext.supplementalGroups }} - {{- $valuegroups = .Values.podSecurityContext.supplementalGroups }} - {{- end }} - - {{/* Append requered groups to supplementalGroups when deviceList is used */}} - {{- if .Values.deviceList}} - {{- $devGroups = list 5 10 20 24 }} - {{- end }} - - {{/* Append requered groups to supplementalGroups when scaleGPU is used */}} - {{- if .Values.scaleGPU }} - {{- $gpuGroups = list 44 107 }} - {{- end }} - - {{/* combine and write all supplementalGroups to .Values */}} - {{- $supGroups := concat $fixedGroups $valuegroups $devGroups $gpuGroups }} - {{- $_ := set .Values.podSecurityContext "supplementalGroups" $supGroups -}} - - {{/* merge serviceList with service */}} - {{- $portsDict := dict }} - {{- range $index, $item := .Values.serviceList -}} - {{- if $item.enabled }} - {{- $name := ( printf "list-%s" ( $index | toString ) ) }} - {{- if $item.name }} - {{- $name = $item.name }} - {{- end }} - {{- $_ := set $portsDict $name $item }} - {{- end }} - {{- end }} - {{- $srv := merge .Values.service $portsDict }} - {{- $_ := set .Values "service" (deepCopy $srv) -}} - - {{/* merge portsList with ports */}} - {{- range $index, $item := .Values.service -}} - {{- if $item.enabled }} - {{- $portsDict := dict }} - {{- range $index2, $item2 := $item.portsList -}} - {{- if $item2.enabled }} - {{- $name := ( printf "list-%s" ( $index2 | toString ) ) }} - {{- if $item2.name }} - {{- $name = $item2.name }} - {{- end }} - {{- $_ := set $portsDict $name $item2 }} - {{- end }} - {{- $tmp := $item.ports }} - {{- $ports := merge $tmp $portsDict }} - {{- $_ := set $item "ports" (deepCopy $ports) -}} - {{- end }} - {{- end }} - {{- end }} - - - {{/* automatically set CAP_NET_BIND_SERVICE */}} - {{- $fixedCapAdd := list }} - {{- $customCapAdd := list }} - {{- $valueCapAdd := list }} - {{- $dynamicCapAdd := list }} - {{- $fixedCapDrop := list }} - {{- $customCapDrop := list }} - {{- $valueCapDrop := list }} - {{- $dynamicCapDrop := list }} - {{- if .Values.securityContext.capabilities.add }} - {{- $valueCapAdd = .Values.securityContext.capabilities.add }} - {{- end }} - {{- if .Values.securityContext.capabilities.drop }} - {{- $valueCapDrop = .Values.securityContext.capabilities.drop }} - {{- end }} - {{- if .Values.customCapabilities.add }} - {{- $customCapAdd = .Values.customCapabilities.add }} - {{- end }} - {{- if .Values.customCapabilities.drop }} - {{- $customCapDrop = .Values.customCapabilities.drop }} - {{- end }} - - {{- $privPort := false }} - {{- range .Values.service }} - {{- range $name, $values := .ports }} - {{- if and ( $values.targetPort ) ( kindIs "int" $values.targetPort ) }} - {{- if ( semverCompare "<= 1024" ( toString $values.targetPort ) ) }} - {{- $privPort = true }} - {{- end }} - {{- else if and ( $values.port ) ( kindIs "int" $values.port ) }} - {{- if ( semverCompare "<= 1024" ( toString $values.port ) ) }} - {{- $privPort = true }} - {{- end }} - {{- end }} - {{- end }} - {{- end }} - - {{- if $privPort }} - {{- $dynamicCapAdd = list "NET_BIND_SERVICE" }} - {{- end }} - - {{/* combine and write all capabilities to .Values */}} - {{- $CapAdd := concat $fixedCapAdd $valueCapAdd $dynamicCapAdd }} - {{- $CapDrop := concat $fixedCapDrop $valueCapDrop $dynamicCapDrop }} - {{- if $CapDrop }} - {{- $_ := set .Values.securityContext.capabilities "drop" $CapDrop -}} - {{- end }} - {{- if $CapAdd }} - {{- $_ := set .Values.securityContext.capabilities "add" $CapAdd -}} - {{- end }} - - {{- range .Values.persistence }} - {{- if .type }} - {{- if eq .type "simplePVC" }} - {{- $_ := set . "type" "pvc" }} - {{- end }} - {{- if eq .type "simpleHP" }} - {{- $_ := set . "type" "hostPath" }} - {{- if .setPermissionsSimple }} - {{- $_ := set . "setPermissions" .setPermissionsSimple }} - {{- end }} - {{- if .hostPathSimple }} - {{- $_ := set . "hostPath" .hostPathSimple }} - {{- end }} - {{- end }} - {{- end }} - {{- end }} - - {{- range .Values.volumeClaimTemplates }} - {{- if .type }} - {{- if eq .type "simplePVC" }} - {{- $_ := set . "type" "pvc" }} - {{- end }} - {{- end }} - {{- end }} - - {{- range .Values.service }} - {{- if .type }} - {{- if eq .type "Simple" }} - {{- $_ := set . "type" "LoadBalancer" }} - {{- end }} - {{- end }} - {{- end }} -{{- end -}} diff --git a/charts/library/common/templates/lib/controller/_autopermissions.tpl b/charts/library/common/templates/lib/controller/_autopermissions.tpl deleted file mode 100644 index a40199af1e2..00000000000 --- a/charts/library/common/templates/lib/controller/_autopermissions.tpl +++ /dev/null @@ -1,43 +0,0 @@ -{{/* -This template serves as the blueprint for the mountPermissions job that is run -before chart installation. -*/}} -{{- define "common.controller.autopermissions" -}} -{{- $group := .Values.podSecurityContext.fsGroup -}} -{{- $hostPathMounts := dict -}} -{{- range $name, $mount := .Values.persistence -}} - {{- if and $mount.enabled $mount.setPermissions -}} - {{- $name = default ( $name| toString ) $mount.name -}} - {{- $_ := set $hostPathMounts $name $mount -}} - {{- end -}} -{{- end }} -- name: autopermissions - image: {{ .Values.alpineImage.repository }}:{{ .Values.alpineImage.tag }} - securityContext: - runAsUser: 0 - privileged: false - allowPrivilegeEscalation: false - capabilities: - drop: - - ALL - resources: - {{- with .Values.resources }} - {{- toYaml . | nindent 4 }} - {{- end }} - command: - - "/bin/sh" - - "-c" - - "echo 'Automatically correcting permissions...';{{ if and ( .Values.addons.vpn.configFile.enabled ) ( not ( eq .Values.addons.vpn.type "disabled" )) }}chown -R 568:568 /vpn/vpn.conf; chmod -R g+w /vpn/vpn.conf || echo 'chmod failed for vpn config, are you running NFSv4 ACLs?';{{ end }}{{ range $_, $hpm := $hostPathMounts }}chown -R :{{ $group }} {{ $hpm.mountPath | squote }}; chmod -R g+w || echo 'chmod failed for {{ $hpm.mountPath }}, are you running NFSv4 ACLs?' {{ $hpm.mountPath | squote }};{{ end }}" - volumeMounts: - {{- if and ( .Values.addons.vpn.configFile.enabled ) ( not ( eq .Values.addons.vpn.type "disabled" )) }} - - name: vpnconfig - mountPath: /vpn/vpn.conf - {{- end }} - {{- range $name, $hpm := $hostPathMounts }} - - name: {{ $name }} - mountPath: {{ $hpm.mountPath }} - {{- if $hpm.subPath }} - subPath: {{ $hpm.subPath }} - {{- end }} - {{- end }} -{{- end -}} diff --git a/charts/library/common/templates/lib/controller/_container.tpl b/charts/library/common/templates/lib/controller/_container.tpl deleted file mode 100644 index abdb30b20b6..00000000000 --- a/charts/library/common/templates/lib/controller/_container.tpl +++ /dev/null @@ -1,161 +0,0 @@ -{{- /* The main container included in the controller */ -}} -{{- define "common.controller.mainContainer" -}} -- name: {{ include "common.names.fullname" . }} - image: {{ include "common.images.selector" . }} - imagePullPolicy: {{ .Values.image.pullPolicy }} - {{- with .Values.command }} - command: - {{- if kindIs "string" . }} - - {{ . }} - {{- else }} - {{ toYaml . | nindent 4 }} - {{- end }} - {{- end }} - {{- if or ( .Values.extraArgs ) ( .Values.args ) }} - args: - {{- with .Values.args }} - {{- if kindIs "string" . }} - - {{ . }} - {{- else }} - {{ toYaml . | nindent 4 }} - {{- end }} - {{- end }} - {{- with .Values.extraArgs }} - {{- if kindIs "string" . }} - - {{ . }} - {{- else }} - {{ toYaml . | nindent 4 }} - {{- end }} - {{- end }} - {{- end }} - tty: {{ .Values.tty }} - stdin: {{ .Values.stdin }} - {{- with .Values.securityContext }} - securityContext: - {{- toYaml . | nindent 4 }} - {{- end }} - {{- with .Values.lifecycle }} - lifecycle: - {{- toYaml . | nindent 4 }} - {{- end }} - {{- with .Values.termination.messagePath }} - terminationMessagePath: {{ . }} - {{- end }} - {{- with .Values.termination.messagePolicy }} - terminationMessagePolicy: {{ . }} - {{- end }} - - env: - - name: PUID - value: {{ .Values.security.PUID | quote }} - - name: USER_ID - value: {{ .Values.security.PUID | quote }} - - name: UID - value: {{ .Values.security.PUID | quote }} - - name: UMASK - value: {{ .Values.security.UMASK | quote }} - - name: UMASK_SET - value: {{ .Values.security.UMASK | quote }} - - name: PGID - value: {{ .Values.podSecurityContext.fsGroup | quote }} - - name: GROUP_ID - value: {{ .Values.podSecurityContext.fsGroup | quote }} - - name: GID - value: {{ .Values.podSecurityContext.fsGroup | quote }} - {{- if or ( .Values.securityContext.readOnlyRootFilesystem ) ( .Values.securityContext.runAsNonRoot ) }} - - name: S6_READ_ONLY_ROOT - value: "1" - {{- end }} - {{- if not ( .Values.scaleGPU ) }} - - name: NVIDIA_VISIBLE_DEVICES - value: "void" - {{- else }} - - name: NVIDIA_DRIVER_CAPABILITIES - value: "all" - {{- end }} - - name: TZ - value: {{ .Values.TZ | quote }} - {{- with .Values.env }} - {{- range $k, $v := . }} - {{- $name := $k }} - {{- $value := $v }} - {{- if kindIs "int" $name }} - {{- $name = required "environment variables as a list of maps require a name field" $value.name }} - {{- end }} - - name: {{ quote $name }} - {{- if kindIs "map" $value -}} - {{- if hasKey $value "value" }} - {{- $value = $value.value -}} - {{- else if hasKey $value "valueFrom" }} - {{- toYaml $value | nindent 6 }} - {{- else }} - {{- dict "valueFrom" $value | toYaml | nindent 6 }} - {{- end }} - {{- end }} - {{- if not (kindIs "map" $value) }} - {{- if kindIs "string" $value }} - {{- $value = tpl $value $ }} - {{- end }} - value: {{ quote $value }} - {{- end }} - {{- end }} - {{- end }} - {{- range $key, $value := .Values.envTpl }} - - name: {{ $key }} - value: {{ tpl $value $ | quote }} - {{- end }} - {{- range $key, $value := .Values.envValueFrom }} - - name: {{ $key }} - valueFrom: - {{- if $value.secretKeyRef }} - secretKeyRef: - name: {{ tpl $value.secretKeyRef.name $ | quote }} - key: {{ tpl $value.secretKeyRef.key $ | quote }} - {{- else if $value.configMapRef }} - configMapRef: - name: {{ tpl $value.configMapRef.name $ | quote }} - key: {{ tpl $value.configMapRef.key $ | quote }} - {{- else }} - {{- $value | toYaml | nindent 8 }} - {{- end }} - {{- end }} - {{- range $envList := .Values.envList }} - {{- if and $envList.name $envList.value }} - - name: {{ $envList.name }} - value: {{ $envList.value | quote }} - {{- else }} - {{- fail "Please specify name/value for environment variable" }} - {{- end }} - {{- end}} - envFrom: - {{- range .Values.envFrom -}} - {{- if .secretRef }} - - secretRef: - name: {{ tpl .secretRef.name $ | quote }} - {{- else if .configMapRef }} - - configMapRef: - name: {{ tpl .configMapRef.name $ | quote }} - {{- else }} - {{- end }} - {{- end -}} - {{- if .Values.secret }} - - secretRef: - name: {{ include "common.names.fullname" . }} - {{- end }} - ports: - {{- include "common.controller.ports" . | trim | nindent 4 }} - {{- with (include "common.controller.volumeMounts" . | trim) }} - volumeMounts: - {{ nindent 4 . }} - {{- end }} - {{- include "common.controller.probes" . | trim | nindent 2 }} - {{/* - Merges the TrueNAS SCALE generated GPU info with the .Values.resources dict - */}} - {{- $resources := dict "limits" ( .Values.scaleGPU | default dict ) }} - {{- $resources = merge $resources .Values.resources }} - resources: - {{- with $resources }} - {{- toYaml . | nindent 4 }} - {{- end }} -{{- end -}} diff --git a/charts/library/common/templates/lib/controller/_hostpatch.tpl b/charts/library/common/templates/lib/controller/_hostpatch.tpl deleted file mode 100644 index 2ab164c501a..00000000000 --- a/charts/library/common/templates/lib/controller/_hostpatch.tpl +++ /dev/null @@ -1,21 +0,0 @@ -{{/* -This template serves as the blueprint for the mountPermissions job that is run -before chart installation. -TODO: delete docker compose deletion once iX has disabled it -*/}} -{{- define "common.controller.hostpatch" -}} -- name: hostpatch - image: {{ .Values.alpineImage.repository }}:{{ .Values.alpineImage.tag }} - securityContext: - runAsUser: 0 - privileged: true - command: - - "/bin/sh" - - "-c" - - ( sysctl -w fs.inotify.max_user_watches=524288 || echo "error setting inotify") && ( sysctl -w fs.inotify.max_user_instances=512 || echo "error setting inotify") && ( chmod -x /host/usr/bin/docker-compose || echo "error locking docker-compose") && ( chmod -x /host/bin/docker-compose || echo "error locking docker-compose") - volumeMounts: - - mountPath: /host/usr/bin - name: host-usr-bin - - mountPath: /host/bin - name: host-bin -{{- end -}} diff --git a/charts/library/common/templates/lib/controller/_pod.tpl b/charts/library/common/templates/lib/controller/_pod.tpl deleted file mode 100644 index e78b361c34a..00000000000 --- a/charts/library/common/templates/lib/controller/_pod.tpl +++ /dev/null @@ -1,130 +0,0 @@ -{{- /* -The pod definition included in the controller. -*/ -}} -{{- define "common.controller.pod" -}} - {{- with .Values.imagePullSecrets }} -imagePullSecrets: - {{- toYaml . | nindent 2 }} - {{- end }} -serviceAccountName: {{ include "common.names.serviceAccountName" . }} - {{- with .Values.podSecurityContext }} -securityContext: - {{- toYaml . | nindent 2 }} - {{- end }} - {{- with .Values.priorityClassName }} -priorityClassName: {{ . }} - {{- end }} - {{- with .Values.schedulerName }} -schedulerName: {{ . }} - {{- end }} - {{- with .Values.hostNetwork }} -hostNetwork: {{ . }} - {{- end }} - {{- with .Values.hostname }} -hostname: {{ . }} - {{- end }} - {{- if .Values.dnsPolicy }} -dnsPolicy: {{ .Values.dnsPolicy }} - {{- else if .Values.hostNetwork }} -dnsPolicy: ClusterFirstWithHostNet - {{- else }} -dnsPolicy: ClusterFirst - {{- end }} -{{- if or .Values.dnsConfig.options .Values.dnsConfig.nameservers .Values.dnsConfig.searches }} -dnsConfig: - {{- with .Values.dnsConfig.options }} - options: - {{- toYaml . | nindent 4 }} - {{- end }} - {{- with .Values.dnsConfig.nameservers }} - nameservers: [] - {{- toYaml . | nindent 4 }} - {{- end }} - {{- with .Values.dnsConfig.searches }} - searches: [] - {{- toYaml . | nindent 4 }} - {{- end }} -{{- end }} -enableServiceLinks: {{ .Values.enableServiceLinks }} - {{- with .Values.termination.gracePeriodSeconds }} -terminationGracePeriodSeconds: {{ . }} - {{- end }} -initContainers: - {{- include "common.controller.autopermissions" . | nindent 2 }} - {{- include "common.controller.hostpatch" . | nindent 2 }} - {{- include "common.dependencies.postgresql.init" . | nindent 2 }} - {{- include "common.dependencies.mariadb.init" . | nindent 2 }} - {{- if .Release.IsInstall }} - {{- if .Values.installContainers }} - {{- $installContainers := list }} - {{- range $index, $key := (keys .Values.installContainers | uniq | sortAlpha) }} - {{- $container := get $.Values.installContainers $key }} - {{- if not $container.name -}} - {{- $_ := set $container "name" $key }} - {{- end }} - {{- $installContainers = append $installContainers $container }} - {{- end }} - {{- tpl (toYaml $installContainers) $ | nindent 2 }} - {{- end }} - {{- end }} - {{- if .Release.IsUpgrade }} - {{- if .Values.upgradeContainers }} - {{- $upgradeContainers := list }} - {{- range $index, $key := (keys .Values.upgradeContainers | uniq | sortAlpha) }} - {{- $container := get $.Values.upgradeContainers $key }} - {{- if not $container.name -}} - {{- $_ := set $container "name" $key }} - {{- end }} - {{- $upgradeContainers = append $upgradeContainers $container }} - {{- end }} - {{- tpl (toYaml $upgradeContainers) $ | nindent 2 }} - {{- end }} - {{- end }} - {{- if .Values.initContainers }} - {{- $initContainers := list }} - {{- range $index, $key := (keys .Values.initContainers | uniq | sortAlpha) }} - {{- $container := get $.Values.initContainers $key }} - {{- if not $container.name -}} - {{- $_ := set $container "name" $key }} - {{- end }} - {{- $initContainers = append $initContainers $container }} - {{- end }} - {{- tpl (toYaml $initContainers) $ | nindent 2 }} - {{- end }} -containers: - {{- include "common.controller.mainContainer" . | nindent 2 }} - {{- with .Values.additionalContainers }} - {{- $additionalContainers := list }} - {{- range $name, $container := . }} - {{- if not $container.name -}} - {{- $_ := set $container "name" $name }} - {{- end }} - {{- $additionalContainers = append $additionalContainers $container }} - {{- end }} - {{- tpl (toYaml $additionalContainers) $ | nindent 2 }} - {{- end }} - {{- with (include "common.controller.volumes" . | trim) }} -volumes: - {{- nindent 2 . }} - {{- end }} - {{- with .Values.hostAliases }} -hostAliases: - {{- toYaml . | nindent 2 }} - {{- end }} - {{- with .Values.nodeSelector }} -nodeSelector: - {{- toYaml . | nindent 2 }} - {{- end }} - {{- with .Values.affinity }} -affinity: - {{- toYaml . | nindent 2 }} - {{- end }} - {{- with .Values.topologySpreadConstraints }} -topologySpreadConstraints: - {{- toYaml . | nindent 2 }} - {{- end }} - {{- with .Values.tolerations }} -tolerations: - {{- toYaml . | nindent 2 }} - {{- end }} -{{- end -}} diff --git a/charts/library/common/templates/lib/controller/_ports.tpl b/charts/library/common/templates/lib/controller/_ports.tpl deleted file mode 100644 index 5394690c237..00000000000 --- a/charts/library/common/templates/lib/controller/_ports.tpl +++ /dev/null @@ -1,36 +0,0 @@ -{{/* -Ports included by the controller. -*/}} -{{- define "common.controller.ports" -}} - {{- $ports := list -}} - {{- range .Values.service -}} - {{- if .enabled -}} - {{- range $name, $port := .ports -}} - {{- $_ := set $port "name" $name -}} - {{- $ports = mustAppend $ports $port -}} - {{- end }} - {{- end }} - {{- end }} - -{{/* export/render the list of ports */}} -{{- if $ports -}} -{{- range $_ := $ports }} -{{- if .enabled }} -- name: {{ .name }} - {{- if and .targetPort (kindIs "string" .targetPort) }} - {{- fail (printf "Our charts do not support named ports for targetPort. (port name %s, targetPort %s)" .name .targetPort) }} - {{- end }} - containerPort: {{ .targetPort | default .port }} - {{- if .protocol }} - {{- if or ( eq .protocol "HTTP" ) ( eq .protocol "HTTPS" ) ( eq .protocol "TCP" ) }} - protocol: TCP - {{- else }} - protocol: {{ .protocol }} - {{- end }} - {{- else }} - protocol: TCP - {{- end }} -{{- end}} -{{- end -}} -{{- end -}} -{{- end -}} diff --git a/charts/library/common/templates/lib/controller/_probes.tpl b/charts/library/common/templates/lib/controller/_probes.tpl deleted file mode 100644 index 59583e8da96..00000000000 --- a/charts/library/common/templates/lib/controller/_probes.tpl +++ /dev/null @@ -1,50 +0,0 @@ -{{/* -Probes selection logic. -*/}} -{{- define "common.controller.probes" -}} -{{- $primaryService := get .Values.service (include "common.service.primary" .) -}} -{{- $primaryPort := "" -}} -{{- if $primaryService -}} - {{- $primaryPort = get $primaryService.ports (include "common.classes.service.ports.primary" (dict "serviceName" (include "common.service.primary" .) "values" $primaryService)) -}} -{{- end -}} -{{- $probeType := "TCP" -}} - -{{- range $probeName, $probe := .Values.probes }} - {{- if $probe.enabled -}} - {{- $probeType = "TCP" -}} - {{- "" | nindent 0 }} - {{- $probeName }}Probe: - {{- if $probe.custom -}} - {{- $probe.spec | toYaml | nindent 2 }} - {{- else }} - {{- if and $primaryService $primaryPort -}} - {{- if $probe.type -}} - {{- if eq $probe.type "AUTO" -}} - {{- $probeType = $primaryPort.protocol -}} - {{- else -}} - {{- $probeType := $probe.type -}} - {{- end }} - {{- end }} - - {{- if or ( eq $probeType "HTTPS" ) ( eq $probeType "HTTP" ) -}} - {{- "httpGet:" | nindent 2 }} - {{- printf "path: %v" $probe.path | nindent 4 }} - {{- printf "scheme: %v" $probeType | nindent 4 }} - {{- else -}} - {{- "tcpSocket:" | nindent 2 }} - {{- end }} - - {{- if $primaryPort.targetPort }} - {{- printf "port: %v" $primaryPort.targetPort | nindent 4 }} - {{- else}} - {{- printf "port: %v" $primaryPort.port | nindent 4 }} - {{- end }} - {{- printf "initialDelaySeconds: %v" $probe.spec.initialDelaySeconds | nindent 2 }} - {{- printf "failureThreshold: %v" $probe.spec.failureThreshold | nindent 2 }} - {{- printf "timeoutSeconds: %v" $probe.spec.timeoutSeconds | nindent 2 }} - {{- printf "periodSeconds: %v" $probe.spec.periodSeconds | nindent 2 }} - {{- end }} - {{- end }} - {{- end }} -{{- end }} -{{- end }} diff --git a/charts/library/common/templates/lib/controller/_volumeMounts.tpl b/charts/library/common/templates/lib/controller/_volumeMounts.tpl deleted file mode 100644 index 7778f48d4a7..00000000000 --- a/charts/library/common/templates/lib/controller/_volumeMounts.tpl +++ /dev/null @@ -1,45 +0,0 @@ -{{/* Volumes included by the controller */}} -{{- define "common.controller.volumeMounts" -}} - {{- range $index, $item := .Values.persistence }} - {{- if not $item.noMount }} - {{- $mountPath := (printf "/%v" $index) -}} - {{- if eq "hostPath" (default "pvc" $item.type) -}} - {{- $mountPath = $item.hostPath -}} - {{- end -}} - {{- with $item.mountPath -}} - {{- $mountPath = . -}} - {{- end }} - {{- if and $item.enabled (ne $mountPath "-") }} -- mountPath: {{ $mountPath }} - name: {{ $index }} - {{- with $item.subPath }} - subPath: {{ . }} - {{- end }} - {{- with $item.readOnly }} - readOnly: {{ . }} - {{- end }} - {{- with $item.mountPropagation }} - mountPropagation: {{ . }} - {{- end }} - {{- end }} - {{- end }} - {{- end }} - - {{- if eq .Values.controller.type "statefulset" }} - {{- range $index, $vct := .Values.volumeClaimTemplates }} - {{- $vctname := $index }} - {{- if $vct.name }} - {{- $vctname := $vct.name }} - {{- end }} - {{- if not $vct.noMount }} -- mountPath: {{ $vct.mountPath }} - name: {{ $vctname }} - {{- if $vct.subPath }} - subPath: {{ $vct.subPath }} - {{- end }} - {{- end }} - {{- end }} - {{- end }} - - -{{- end -}} diff --git a/charts/library/common/templates/lib/controller/_volumes.tpl b/charts/library/common/templates/lib/controller/_volumes.tpl deleted file mode 100644 index 742a8c7e472..00000000000 --- a/charts/library/common/templates/lib/controller/_volumes.tpl +++ /dev/null @@ -1,67 +0,0 @@ -{{/* -Volumes included by the controller. -*/}} -{{- define "common.controller.volumes" -}} -{{- range $index, $persistence := .Values.persistence }} -{{- if $persistence.enabled }} -- name: {{ $index }} - {{- if eq (default "pvc" $persistence.type) "pvc" }} - {{- $pvcName := (include "common.names.fullname" $) -}} - {{- if $persistence.existingClaim }} - {{- /* Always prefer an existingClaim if that is set */}} - {{- $pvcName = $persistence.existingClaim -}} - {{- else -}} - {{- /* Otherwise refer to the PVC name */}} - {{- if $persistence.nameOverride -}} - {{- if not (eq $persistence.nameOverride "-") -}} - {{- $pvcName = (printf "%s-%s" (include "common.names.fullname" $) $persistence.nameOverride) -}} - {{- end -}} - {{- else -}} - {{- $pvcName = (printf "%s-%s" (include "common.names.fullname" $) $index) -}} - {{- end -}} - {{- if $persistence.forceName -}} - {{- $pvcName = $persistence.forceName -}} - {{- end -}} - {{- end }} - persistentVolumeClaim: - claimName: {{ $pvcName }} - {{- else if eq $persistence.type "emptyDir" }} - {{- $emptyDir := dict -}} - {{- with $persistence.medium -}} - {{- $_ := set $emptyDir "medium" . -}} - {{- end -}} - {{- with $persistence.sizeLimit -}} - {{- $_ := set $emptyDir "sizeLimit" . -}} - {{- end }} - emptyDir: {{- $emptyDir | toYaml | nindent 4 }} - {{- else if or (eq $persistence.type "configMap") (eq $persistence.type "secret") }} - {{- $objectName := (required (printf "objectName not set for persistence item %s" $index) $persistence.objectName) }} - {{- $objectName = tpl $objectName $ }} - {{- if eq $persistence.type "configMap" }} - configMap: - name: {{ $objectName }} - {{- else }} - secret: - secretName: {{ $objectName }} - {{- end }} - {{- with $persistence.defaultMode }} - defaultMode: {{ . }} - {{- end }} - {{- with $persistence.items }} - items: - {{- toYaml . | nindent 6 }} - {{- end }} - {{- else if eq $persistence.type "hostPath" }} - hostPath: - path: {{ required "hostPath not set" $persistence.hostPath }} - {{- with $persistence.hostPathType }} - type: {{ . }} - {{- end }} - {{- else if eq $persistence.type "custom" }} - {{- toYaml $persistence.volumeSpec | nindent 2 }} - {{- else }} - {{- fail (printf "Not a valid persistence.type (%s)" $persistence.type) }} - {{- end }} -{{- end }} -{{- end }} -{{- end }} diff --git a/charts/library/common/templates/lib/dependencies/_mariadbInit.tpl b/charts/library/common/templates/lib/dependencies/_mariadbInit.tpl deleted file mode 100644 index 84da2d169c5..00000000000 --- a/charts/library/common/templates/lib/dependencies/_mariadbInit.tpl +++ /dev/null @@ -1,37 +0,0 @@ -{{/* -This template ensures pods with postgresql dependency have a delayed start -*/}} -{{- define "common.dependencies.mariadb.init" -}} -{{- if .Values.mariadb.enabled }} -- name: mariadb-init - image: "{{ .Values.mariadbImage.repository}}:{{ .Values.mariadbImage.tag }}" - env: - - name: MARIADB_HOST - valueFrom: - secretKeyRef: - name: mariadbcreds - key: plainhost - - name: MARIADB_ROOT_PASSWORD - valueFrom: - secretKeyRef: - name: mariadbcreds - key: mariadb-root-password - securityContext: - capabilities: - drop: - - ALL - resources: - {{- with .Values.resources }} - {{- toYaml . | nindent 4 }} - {{- end }} - command: ["bash", "-ec"] - args: - - > - until - mysqladmin -uroot -h"${MARIADB_HOST}" -p"${MARIADB_ROOT_PASSWORD}" ping \ - && mysqladmin -uroot -h"${MARIADB_HOST}" -p"${MARIADB_ROOT_PASSWORD}" status; - do sleep 2; - done - imagePullPolicy: IfNotPresent -{{- end }} -{{- end -}} diff --git a/charts/library/common/templates/lib/dependencies/_mariadbInjector.tpl b/charts/library/common/templates/lib/dependencies/_mariadbInjector.tpl deleted file mode 100644 index a67874cab5a..00000000000 --- a/charts/library/common/templates/lib/dependencies/_mariadbInjector.tpl +++ /dev/null @@ -1,48 +0,0 @@ -{{/* -This template generates a random password and ensures it persists across updates/edits to the chart -*/}} -{{- define "common.dependencies.mariadb.injector" -}} -{{- $pghost := printf "%v-%v" .Release.Name "mariadb" }} - -{{- if .Values.mariadb.enabled }} ---- -apiVersion: v1 -kind: Secret -metadata: - labels: - {{- include "common.labels" . | nindent 4 }} - name: mariadbcreds -{{- $dbprevious := lookup "v1" "Secret" .Release.Namespace "mariadbcreds" }} -{{- $dbPass := "" }} -{{- $rootPass := "" }} -data: -{{- if $dbprevious }} - {{- $dbPass = ( index $dbprevious.data "mariadb-password" ) | b64dec }} - {{- $rootPass = ( index $dbprevious.data "mariadb-root-password" ) | b64dec }} - mariadb-password: {{ ( index $dbprevious.data "mariadb-password" ) }} - mariadb-root-password: {{ ( index $dbprevious.data "mariadb-root-password" ) }} -{{- else }} - {{- $dbPass = randAlphaNum 50 }} - {{- $rootPass = randAlphaNum 50 }} - mariadb-password: {{ $dbPass | b64enc | quote }} - mariadb-root-password: {{ $rootPass | b64enc | quote }} -{{- end }} - url: {{ ( printf "sql://%v:%v@%v-mariadb:3306/%v" .Values.mariadb.mariadbUsername $dbPass .Release.Name .Values.mariadb.mariadbDatabase ) | b64enc | quote }} - urlnossl: {{ ( printf "sql://%v:%v@%v-mariadb:3306/%v?sslmode=disable" .Values.mariadb.mariadbUsername $dbPass .Release.Name .Values.mariadb.mariadbDatabase ) | b64enc | quote }} - plainporthost: {{ ( printf "%v-%v:3306" .Release.Name "mariadb" ) | b64enc | quote }} - plainhost: {{ ( printf "%v-%v" .Release.Name "mariadb" ) | b64enc | quote }} - jdbc: {{ ( printf "jdbc:sqlserver://%v-mariadb:3306/%v" .Release.Name .Values.mariadb.mariadbDatabase ) | b64enc | quote }} - jdbc-mysql: {{ ( printf "jdbc:mysql://%v-mariadb:3306/%v" .Release.Name .Values.mariadb.mariadbDatabase ) | b64enc | quote }} - jdbc-mariadb: {{ ( printf "jdbc:mariadb://%v-mariadb:3306/%v" .Release.Name .Values.mariadb.mariadbDatabase ) | b64enc | quote }} -type: Opaque -{{- $_ := set .Values.mariadb "mariadbPassword" ( $dbPass | quote ) }} -{{- $_ := set .Values.mariadb "mariadbRootPassword" ( $rootPass | quote ) }} -{{- $_ := set .Values.mariadb.url "plain" ( ( printf "%v-%v" .Release.Name "mariadb" ) | quote ) }} -{{- $_ := set .Values.mariadb.url "plainhost" ( ( printf "%v-%v" .Release.Name "mariadb" ) | quote ) }} -{{- $_ := set .Values.mariadb.url "plainport" ( ( printf "%v-%v:3306" .Release.Name "mariadb" ) | quote ) }} -{{- $_ := set .Values.mariadb.url "plainporthost" ( ( printf "%v-%v:3306" .Release.Name "mariadb" ) | quote ) }} -{{- $_ := set .Values.mariadb.url "complete" ( ( printf "sql://%v:%v@%v-mariadb:3306/%v" .Values.mariadb.mariadbUsername $dbPass .Release.Name .Values.mariadb.mariadbDatabase ) | quote ) }} -{{- $_ := set .Values.mariadb.url "jdbc" ( ( printf "jdbc:sqlserver://%v-mariadb:3306/%v" .Release.Name .Values.mariadb.mariadbDatabase ) | quote ) }} - -{{- end }} -{{- end -}} diff --git a/charts/library/common/templates/lib/dependencies/_postgresInit.tpl b/charts/library/common/templates/lib/dependencies/_postgresInit.tpl deleted file mode 100644 index 52acf71e4a2..00000000000 --- a/charts/library/common/templates/lib/dependencies/_postgresInit.tpl +++ /dev/null @@ -1,23 +0,0 @@ -{{/* -This template ensures pods with postgresql dependency have a delayed start -*/}} -{{- define "common.dependencies.postgresql.init" -}} -{{- $pghost := printf "%v-%v" .Release.Name "postgresql" }} -{{- if .Values.postgresql.enabled }} -- name: postgresql-init - image: "{{ .Values.postgresqlImage.repository}}:{{ .Values.postgresqlImage.tag }}" - securityContext: - capabilities: - drop: - - ALL - resources: - {{- with .Values.resources }} - {{- toYaml . | nindent 4 }} - {{- end }} - command: - - "sh" - - "-c" - - "until pg_isready -U {{ .Values.postgresql.postgresqlUsername }} -h {{ $pghost }}; do sleep 2 ; done" - imagePullPolicy: IfNotPresent -{{- end }} -{{- end -}} diff --git a/charts/library/common/templates/lib/dependencies/_postgresInjector.tpl b/charts/library/common/templates/lib/dependencies/_postgresInjector.tpl deleted file mode 100644 index c4394259b9d..00000000000 --- a/charts/library/common/templates/lib/dependencies/_postgresInjector.tpl +++ /dev/null @@ -1,48 +0,0 @@ -{{/* -This template generates a random password and ensures it persists across updates/edits to the chart -*/}} -{{- define "common.dependencies.postgresql.injector" -}} -{{- $pghost := printf "%v-%v" .Release.Name "postgresql" }} - -{{- if .Values.postgresql.enabled }} ---- -apiVersion: v1 -kind: Secret -metadata: - labels: - {{- include "common.labels" . | nindent 4 }} - name: dbcreds -{{- $dbprevious := lookup "v1" "Secret" .Release.Namespace "dbcreds" }} -{{- $dbPass := "" }} -{{- $pgPass := "" }} -data: -{{- if $dbprevious }} - {{- $dbPass = ( index $dbprevious.data "postgresql-password" ) | b64dec }} - {{- $pgPass = ( index $dbprevious.data "postgresql-postgres-password" ) | b64dec }} - postgresql-password: {{ ( index $dbprevious.data "postgresql-password" ) }} - postgresql-postgres-password: {{ ( index $dbprevious.data "postgresql-postgres-password" ) }} -{{- else }} - {{- $dbPass = randAlphaNum 50 }} - {{- $pgPass = randAlphaNum 50 }} - postgresql-password: {{ $dbPass | b64enc | quote }} - postgresql-postgres-password: {{ $pgPass | b64enc | quote }} -{{- end }} - url: {{ ( printf "postgresql://%v:%v@%v-postgresql:5432/%v" .Values.postgresql.postgresqlUsername $dbPass .Release.Name .Values.postgresql.postgresqlDatabase ) | b64enc | quote }} - url-noql: {{ ( printf "postgres://%v:%v@%v-postgresql:5432/%v" .Values.postgresql.postgresqlUsername $dbPass .Release.Name .Values.postgresql.postgresqlDatabase ) | b64enc | quote }} - urlnossl: {{ ( printf "postgresql://%v:%v@%v-postgresql:5432/%v?sslmode=disable" .Values.postgresql.postgresqlUsername $dbPass .Release.Name .Values.postgresql.postgresqlDatabase ) | b64enc | quote }} - plainporthost: {{ ( printf "%v-%v" .Release.Name "postgresql" ) | b64enc | quote }} - plainhost: {{ ( printf "%v-%v" .Release.Name "postgresql" ) | b64enc | quote }} - jdbc: {{ ( printf "jdbc:postgresql://%v-postgresql:5432/%v" .Release.Name .Values.postgresql.postgresqlDatabase ) | b64enc | quote }} -type: Opaque -{{- $_ := set .Values.postgresql "postgresqlPassword" ( $dbPass | quote ) }} -{{- $_ := set .Values.postgresql "postgrespassword" ( $pgPass | quote ) }} -{{- $_ := set .Values.postgresql.url "plain" ( ( printf "%v-%v" .Release.Name "postgresql" ) | quote ) }} -{{- $_ := set .Values.postgresql.url "plainhost" ( ( printf "%v-%v" .Release.Name "postgresql" ) | quote ) }} -{{- $_ := set .Values.postgresql.url "plainport" ( ( printf "%v-%v:5432" .Release.Name "postgresql" ) | quote ) }} -{{- $_ := set .Values.postgresql.url "plainporthost" ( ( printf "%v-%v:5432" .Release.Name "postgresql" ) | quote ) }} -{{- $_ := set .Values.postgresql.url "complete" ( ( printf "postgresql://%v:%v@%v-postgresql:5432/%v" .Values.postgresql.postgresqlUsername $dbPass .Release.Name .Values.postgresql.postgresqlDatabase ) | quote ) }} -{{- $_ := set .Values.postgresql.url "complete-noql" ( ( printf "postgres://%v:%v@%v-postgresql:5432/%v" .Values.postgresql.postgresqlUsername $dbPass .Release.Name .Values.postgresql.postgresqlDatabase ) | quote ) }} -{{- $_ := set .Values.postgresql.url "jdbc" ( ( printf "jdbc:postgresql://%v-postgresql:5432/%v" .Release.Name .Values.postgresql.postgresqlDatabase ) | quote ) }} - -{{- end }} -{{- end -}} diff --git a/charts/library/common/templates/lib/dependencies/_redisInjector.tpl b/charts/library/common/templates/lib/dependencies/_redisInjector.tpl deleted file mode 100644 index 69a88815e3b..00000000000 --- a/charts/library/common/templates/lib/dependencies/_redisInjector.tpl +++ /dev/null @@ -1,37 +0,0 @@ -{{/* -This template generates a random password and ensures it persists across updates/edits to the chart -*/}} -{{- define "common.dependencies.redis.injector" -}} -{{- $pghost := printf "%v-%v" .Release.Name "redis" }} - -{{- if .Values.redis.enabled }} ---- -apiVersion: v1 -kind: Secret -metadata: - labels: - {{- include "common.labels" . | nindent 4 }} - name: rediscreds -{{- $dbprevious := lookup "v1" "Secret" .Release.Namespace "rediscreds" }} -{{- $dbPass := "" }} -{{- $dbIndex := default "0" .Values.redis.redisDatabase }} -data: -{{- if $dbprevious }} - {{- $dbPass = ( index $dbprevious.data "redis-password" ) | b64dec }} - redis-password: {{ ( index $dbprevious.data "redis-password" ) }} -{{- else }} - {{- $dbPass = randAlphaNum 50 }} - redis-password: {{ $dbPass | b64enc | quote }} -{{- end }} - url: {{ ( printf "redis://%v:%v@%v-redis:6379/%v" .Values.redis.redisUsername $dbPass .Release.Name $dbIndex ) | b64enc | quote }} - plainporthost: {{ ( printf "%v-%v" .Release.Name "redis" ) | b64enc | quote }} - plainhost: {{ ( printf "%v-%v" .Release.Name "redis" ) | b64enc | quote }} -type: Opaque -{{- $_ := set .Values.redis "redisPassword" ( $dbPass | quote ) }} -{{- $_ := set .Values.redis.url "plain" ( ( printf "%v-%v" .Release.Name "redis" ) | quote ) }} -{{- $_ := set .Values.redis.url "plainhost" ( ( printf "%v-%v" .Release.Name "redis" ) | quote ) }} -{{- $_ := set .Values.redis.url "plainport" ( ( printf "%v-%v:6379" .Release.Name "redis" ) | quote ) }} -{{- $_ := set .Values.redis.url "plainporthost" ( ( printf "%v-%v:6379" .Release.Name "redis" ) | quote ) }} - -{{- end }} -{{- end -}} diff --git a/charts/library/common/templates/lib/utils/_affinities.tpl b/charts/library/common/templates/lib/utils/_affinities.tpl deleted file mode 100644 index e85b8792dc0..00000000000 --- a/charts/library/common/templates/lib/utils/_affinities.tpl +++ /dev/null @@ -1,102 +0,0 @@ -{{/* vim: set filetype=mustache: */}} - -{{/* -Return a soft nodeAffinity definition -{{ include "common.affinities.nodes.soft" (dict "key" "FOO" "values" (list "BAR" "BAZ")) -}} -*/}} -{{- define "common.affinities.nodes.soft" -}} -preferredDuringSchedulingIgnoredDuringExecution: - - preference: - matchExpressions: - - key: {{ .key }} - operator: In - values: - {{- range .values }} - - {{ . | quote }} - {{- end }} - weight: 1 -{{- end -}} - -{{/* -Return a hard nodeAffinity definition -{{ include "common.affinities.nodes.hard" (dict "key" "FOO" "values" (list "BAR" "BAZ")) -}} -*/}} -{{- define "common.affinities.nodes.hard" -}} -requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: {{ .key }} - operator: In - values: - {{- range .values }} - - {{ . | quote }} - {{- end }} -{{- end -}} - -{{/* -Return a nodeAffinity definition -{{ include "common.affinities.nodes" (dict "type" "soft" "key" "FOO" "values" (list "BAR" "BAZ")) -}} -*/}} -{{- define "common.affinities.nodes" -}} - {{- if eq .type "soft" }} - {{- include "common.affinities.nodes.soft" . -}} - {{- else if eq .type "hard" }} - {{- include "common.affinities.nodes.hard" . -}} - {{- end -}} -{{- end -}} - -{{/* -Return a soft podAffinity/podAntiAffinity definition -{{ include "common.affinities.pods.soft" (dict "component" "FOO" "extraMatchLabels" .Values.extraMatchLabels "context" $) -}} -*/}} -{{- define "common.affinities.pods.soft" -}} -{{- $component := default "" .component -}} -{{- $extraMatchLabels := default (dict) .extraMatchLabels -}} -preferredDuringSchedulingIgnoredDuringExecution: - - podAffinityTerm: - labelSelector: - matchLabels: {{- (include "common.labels.matchLabels" .context) | nindent 10 }} - {{- if not (empty $component) }} - {{ printf "app.kubernetes.io/component: %s" $component }} - {{- end }} - {{- range $key, $value := $extraMatchLabels }} - {{ $key }}: {{ $value | quote }} - {{- end }} - namespaces: - - {{ .context.Release.Namespace | quote }} - topologyKey: kubernetes.io/hostname - weight: 1 -{{- end -}} - -{{/* -Return a hard podAffinity/podAntiAffinity definition -{{ include "common.affinities.pods.hard" (dict "component" "FOO" "extraMatchLabels" .Values.extraMatchLabels "context" $) -}} -*/}} -{{- define "common.affinities.pods.hard" -}} -{{- $component := default "" .component -}} -{{- $extraMatchLabels := default (dict) .extraMatchLabels -}} -requiredDuringSchedulingIgnoredDuringExecution: - - labelSelector: - matchLabels: {{- (include "common.labels.matchLabels" .context) | nindent 8 }} - {{- if not (empty $component) }} - {{ printf "app.kubernetes.io/component: %s" $component }} - {{- end }} - {{- range $key, $value := $extraMatchLabels }} - {{ $key }}: {{ $value | quote }} - {{- end }} - namespaces: - - {{ .context.Release.Namespace | quote }} - topologyKey: kubernetes.io/hostname -{{- end -}} - -{{/* -Return a podAffinity/podAntiAffinity definition -{{ include "common.affinities.pods" (dict "type" "soft" "key" "FOO" "values" (list "BAR" "BAZ")) -}} -*/}} -{{- define "common.affinities.pods" -}} - {{- if eq .type "soft" }} - {{- include "common.affinities.pods.soft" . -}} - {{- else if eq .type "hard" }} - {{- include "common.affinities.pods.hard" . -}} - {{- end -}} -{{- end -}} diff --git a/charts/library/common/templates/lib/utils/_images.tpl b/charts/library/common/templates/lib/utils/_images.tpl deleted file mode 100644 index a7f656ab253..00000000000 --- a/charts/library/common/templates/lib/utils/_images.tpl +++ /dev/null @@ -1,39 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Return the proper image name -{{ include "common.images.image" ( dict "imageRoot" .Values.path.to.the.image "global" $) }} -*/}} -{{- define "common.images.image" -}} -{{- $repositoryName := .imageRoot.repository -}} -{{- $tag := .imageRoot.tag | toString -}} -{{- printf "%s:%s" $repositoryName $tag -}} -{{- end -}} - -{{/* -Return the image name using the selector -{{ include "common.images.selector" . }} -*/}} -{{- define "common.images.selector" -}} -{{- $imageDict := get .Values "image" }} -{{- $selected := .Values.imageSelector }} -{{- if hasKey .Values $selected }} -{{- $imageDict = get .Values $selected }} -{{- end }} -{{- $repositoryName := $imageDict.repository -}} -{{- $tag :=$imageDict.tag | toString -}} -{{- printf "%s:%s" $repositoryName $tag -}} -{{- end -}} - -{{/* -Return the proper Docker Image Registry Secret Names (deprecated: use common.images.renderPullSecrets instead) -{{ include "common.images.pullSecrets" ( dict "images" (list .Values.path.to.the.image1, .Values.path.to.the.image2) "global" .Values.global) }} -*/}} -{{- define "common.images.pullSecrets" -}} -{{- end -}} - -{{/* -Return the proper Docker Image Registry Secret Names evaluating values as templates -{{ include "common.images.renderPullSecrets" ( dict "images" (list .Values.path.to.the.image1, .Values.path.to.the.image2) "context" $) }} -*/}} -{{- define "common.images.renderPullSecrets" -}} -{{- end -}} diff --git a/charts/library/common/templates/lib/utils/_labels.tpl b/charts/library/common/templates/lib/utils/_labels.tpl deleted file mode 100644 index eab03905101..00000000000 --- a/charts/library/common/templates/lib/utils/_labels.tpl +++ /dev/null @@ -1,14 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Kubernetes standard labels -*/}} -{{- define "common.labels.standard" -}} -{{- include "common.labels" . }} -{{- end -}} - -{{/* -Labels to use on deploy.spec.selector.matchLabels and svc.spec.selector -*/}} -{{- define "common.labels.matchLabels" -}} -{{- include "common.labels.selectorLabels" . }} -{{- end -}} diff --git a/charts/library/common/templates/lib/utils/_storage.tpl b/charts/library/common/templates/lib/utils/_storage.tpl deleted file mode 100644 index 2ffd800c7fe..00000000000 --- a/charts/library/common/templates/lib/utils/_storage.tpl +++ /dev/null @@ -1,35 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Return the proper Storage Class -{{ include "common.storage.class" ( dict "persistence" .Values.path.to.the.persistence "global" $ ) }} -*/}} -{{- define "common.storage.class" -}} - -{{- $storageClass := .persistence.storageClass -}} -{{- $output := "" -}} - -{{- if $storageClass -}} - {{- if (eq "-" $storageClass) -}} - {{- $output = "\"\"" -}} - {{- else if (eq "SCALE-ZFS" $storageClass ) }} - {{- $output = ( printf "ix-storage-class-%s" .global.Release.Name ) -}} - {{- else }} - {{- $output = $storageClass -}} - {{- end -}} -{{- else if .global }} - {{- if .global.Values.storageClass -}} - {{- $output = .global.Values.storageClass -}} - {{- else if .global.Values.ixChartContext }} - {{- $output = ( printf "ix-storage-class-%s" .global.Release.Name ) -}} - {{- else if .global.Values.global -}} - {{- if .global.Values.global.storageClass -}} - {{- $output = .global.Values.global.storageClass -}} - {{- end -}} - {{- if or ( .global.Values.global.ixChartContext ) ( .global.Values.global.isSCALE ) -}} - {{- $output = ( printf "ix-storage-class-%s" .global.Release.Name ) -}} - {{- end }} - {{- end -}} -{{- end -}} -{{- printf "storageClassName: %s" $output -}} - -{{- end -}} diff --git a/charts/library/common/templates/lib/utils/_tplvalues.tpl b/charts/library/common/templates/lib/utils/_tplvalues.tpl deleted file mode 100644 index 2db166851bb..00000000000 --- a/charts/library/common/templates/lib/utils/_tplvalues.tpl +++ /dev/null @@ -1,13 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Renders a value that contains template. -Usage: -{{ include "common.tplvalues.render" ( dict "value" .Values.path.to.the.Value "context" $) }} -*/}} -{{- define "common.tplvalues.render" -}} - {{- if typeIs "string" .value }} - {{- tpl .value .context }} - {{- else }} - {{- tpl (.value | toYaml) .context }} - {{- end }} -{{- end -}} diff --git a/charts/library/common/templates/lib/utils/_warnings.tpl b/charts/library/common/templates/lib/utils/_warnings.tpl deleted file mode 100644 index 464afa4cc93..00000000000 --- a/charts/library/common/templates/lib/utils/_warnings.tpl +++ /dev/null @@ -1,14 +0,0 @@ -{{/* vim: set filetype=mustache: */}} -{{/* -Warning about using rolling tag. -Usage: -{{ include "common.warnings.rollingTag" .Values.path.to.the.imageRoot }} -*/}} -{{- define "common.warnings.rollingTag" -}} - -{{- if not (.tag | toString | regexFind "-r\\d+$|sha256:") }} -WARNING: Rolling tag detected ({{ .repository }}:{{ .tag }}), please note that it is strongly recommended to avoid using rolling tags in a production environment. -+info https://docs.bitnami.com/containers/how-to/understand-rolling-tags-containers/ -{{- end }} - -{{- end -}} diff --git a/charts/library/common/values.yaml b/charts/library/common/values.yaml deleted file mode 100644 index de5f07d8756..00000000000 --- a/charts/library/common/values.yaml +++ /dev/null @@ -1,1118 +0,0 @@ -# -- OpenVPN specific configuration -# @default -- See below -openvpnImage: - # -- Specify the openvpn client image - repository: ghcr.io/truecharts/openvpn-client - # -- Specify the openvpn client image tag - tag: latest@sha256:bc3a56b2c195a4b4ce5c67fb0c209f38036521ebd316df2a7d68b425b9c48b30 - # -- Specify the openvpn client image pull policy - pullPolicy: IfNotPresent - -# -- WireGuard specific configuration -# @default -- See below -wireguardImage: - # -- Specify the WireGuard image - repository: ghcr.io/truecharts/wireguard - # -- Specify the WireGuard image tag - tag: v1.0.20210914@sha256:b7ae4f80183858ed6379b6f8f76f8ef4f1b474b222b8057e091ba0b4e5f62999 - # -- Specify the WireGuard image pull policy - pullPolicy: IfNotPresent - -# -- promtail specific configuration -# @default -- See below -promtailImage: - # -- Specify the promtail image - repository: ghcr.io/truecharts/promtail - # -- Specify the promtail image tag - tag: v2.4.2@sha256:171e08dcdd1d6c09bff949c37ce4f4756b9ee0132f8d84631986faa223562a30 - # -- Specify the promtail image pull policy - pullPolicy: IfNotPresent - -# -- netshoot specific configuration -# @default -- See below -netshootImage: - # -- Specify the netshoot image - repository: ghcr.io/truecharts/netshoot - # -- Specify the netshoot image tag - tag: latest@sha256:505d3430ed7c1d43fed18dbd1177b76ecb6fc376113bc41d34da230c402a4855 - # -- Specify the netshoot image pull policy - pullPolicy: Always - -# -- codeserver specific configuration -# @default -- See below -codeserverImage: - # -- Specify the code-server image - repository: ghcr.io/truecharts/code-server - # -- Specify the code-server image tag - tag: v4.2.0@sha256:82e2d802e59b26954096529aa08e83bebd2004da664fee9ab6c911e4f5ab6c48 - # -- Specify the code-server image pull policy - pullPolicy: IfNotPresent - -# -- alpine specific configuration -# @default -- See below -alpineImage: - # -- Specify the Alpine image - repository: ghcr.io/truecharts/alpine - # -- Specify the Alpine image tag - tag: v3.15.2@sha256:29ed3480a0ee43f7af681fed5d4fc215516abf1c41eade6938b26d8c9c2c7583 - # -- Specify the Alpine image pull policy - pullPolicy: IfNotPresent - -# -- postgresql specific configuration -# @default -- See below -postgresqlImage: - # -- Specify the postgresql image - repository: ghcr.io/truecharts/postgresql - # -- Specify the postgresql image tag - tag: v14.2.0@sha256:1461d3ab670fcc41923c92f330c932082f6653e031eefd1cc12123adb120f0c3 - # -- Specify the postgresql image pull policy - pullPolicy: IfNotPresent - -# -- mariadb specific configuration -# @default -- See below -mariadbImage: - # -- Specify the mariadb image - repository: ghcr.io/truecharts/mariadb - # -- Specify the mariadb image tag - tag: v10.7.3@sha256:63743b10ac562b8f63abd3dfa246298c6678cfeb9e7559c65265f5066385fcf6 - # -- Specify the mariadb image pull policy - pullPolicy: IfNotPresent - -global: - # -- Set an override for the prefix of the fullname - nameOverride: - # -- Set the entire name definition - fullnameOverride: - isSCALE: false - -controller: - # -- enable the controller. - enabled: true - # -- Set the controller type. - # Valid options are deployment, daemonset or statefulset - type: deployment - # -- Set additional annotations on the deployment/statefulset/daemonset - annotationsList: [] - # - name: somename - # value: somevalue - # -- Set annotations on the deployment/statefulset/daemonset - annotations: {} - # -- Set additional labels on the deployment/statefulset/daemonset - labelsList: [] - # - name: somename - # value: somevalue - # -- Set labels on the deployment/statefulset/daemonset - labels: {} - # -- Number of desired pods - replicas: 1 - # -- Set the controller upgrade strategy - # For Deployments, valid values are Recreate (default) and RollingUpdate. - # For StatefulSets, valid values are OnDelete and RollingUpdate (default). - # DaemonSets ignore this. - strategy: - rollingUpdate: - # -- Set deployment RollingUpdate max unavailable - unavailable: - # -- Set deployment RollingUpdate max surge - surge: - # -- Set statefulset RollingUpdate partition - partition: - # -- ReplicaSet revision history limit - revisionHistoryLimit: 3 - -image: - # -- image repository - repository: - # -- image tag - tag: - # -- image pull policy - pullPolicy: - -# -- Image Selector allows for easy picking a different image dict, important for the SCALE GUI -imageSelector: "image" - - -# -- Override the command(s) for the default container -command: [] - -# -- Override the args for the default container -args: [] - -# -- Add args in addition to the arguments set by default. -# Primarily for the SCALE GUI -extraArgs: [] - -# -- Set Container Timezone -TZ: UTC - -# -- Set the primary portal for TrueNAS SCALE -portal: - # -- enable generation of the portal configmap - enabled: false - # -- Override Path using helm variables - # path: '/' - # -- Override the host, for example: by using a custom IP - # host: 192.168.66.6 - # -- Override the auotmatically gathered ingress port - # ingressPort: 666 - -# -- Set additional annotations on the pod -podAnnotationsList: [] -# - name: somename -# value: somevalue - -# -# -- Set annotations on the pod -podAnnotations: {} - -# -- Set additional labels on the pod -podLabelsList: [] -# - name: somename -# value: somevalue - -# -- Set labels on the pod -podLabels: {} - -# -- Determines whether containers in a pod runs with TTY enabled. -tty: false - -# -- Determines whether containers in a pod runs with stdin enabled. -stdin: false - -# -- Add a Horizontal Pod Autoscaler -# @default -- -autoscaling: - enabled: false - target: # deploymentname - minReplicas: # 1 - maxReplicas: # 100 - targetCPUUtilizationPercentage: # 80 - targetMemoryUtilizationPercentage: # 80 - -# -- Create serviceaccount -# @default -- See below -serviceAccount: - # -- Specifies whether a service account should be created - create: false - - # -- Annotations to add to the service account - annotations: {} - - # -- The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "" - -# -- Create a ClusterRole and ClusterRoleBinding -# @default -- See below -rbac: - # -- Enables or disables the ClusterRole and ClusterRoleBinding - enabled: false - - # -- Set Annotations on the ClusterRole - clusterRoleLabels: {} - - # -- Set labels on the ClusterRole - clusterRoleAnnotations: {} - - # -- Set Annotations on the ClusterRoleBinding - - clusterRoleBindingLabels: {} - - # -- Set labels on the ClusterRoleBinding - clusterRoleBindingAnnotations: {} - - # -- Set Rules on the ClusterRole - rules: {} - - # -- Add subjects to the ClusterRoleBinding. - # includes the above created serviceaccount - subjects: {} - -# -- Configure networkPolicy for the chart here. -# @default -- See below -networkPolicy: - # -- Enables or disables the networkPolicy - enabled: false - - # customizes the podSelector (defaults to the helm-chart selector-labels - # podSelector: - - # -- add or remove Policy types. Options: ingress, egress, ingress-egress - policyType: "" - - # -- add or remove egress policies - egress: [] - - # -- add or remove egress policies - ingress: [] - -# -- Use this directly attach a pod to a SCALE interface. -# Please be aware: This bypasses k8s services -externalInterfaces: [] - # - hostInterface: "ens3" - # ipam: - # type: "dhcp" - # - hostInterface: "br0" - # ipam: - # type: "static" - # staticIPConfigurations: - # - "192.168.0.120/24" - # staticRoutes: - # - destination: "0.0.0.0/0" - # gateway: "192.168.0.1" - - -# -- Use this to populate a secret with the values you specify. -# Be aware that these values are not encrypted by default, and could therefore visible -# to anybody with access to the values.yaml file. -secret: {} - # PASSWORD: my-password - -# -- Main environment variables. Template enabled. -# Syntax options: -# A) TZ: UTC -# B) PASSWD: '{{ .Release.Name }}' -# C) PASSWD: -# envFrom: -# ... -env: {} - -## Variables with values set from templates, example -## With a release name of: demo, the example env value will be: demo-admin -envTpl: {} - # TEMPLATE_VALUE: "{{ .Release.Name }}-admin" - -## Variables with values from (for example) the Downward API -## See https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/ -envValueFrom: {} - # NODE_NAME: - # fieldRef: - # fieldPath: spec.nodeName - -envFrom: [] -# - configMapRef: -# name: config-map-name -# - secretRef: -# name: secret-name -# -- Custom priority class for different treatment by the scheduler -priorityClassName: # system-node-critical - -# -- Allows specifying a custom scheduler name -schedulerName: # awkward-dangerous-scheduler - -# -- Allows specifying explicit hostname setting -hostname: - -# -- When using hostNetwork make sure you set dnsPolicy to `ClusterFirstWithHostNet` -hostNetwork: false - -# -- Defaults to "ClusterFirst" if hostNetwork is false and "ClusterFirstWithHostNet" if hostNetwork is true. -dnsPolicy: # ClusterFirst - -# -- Optional DNS settings, configuring the ndots option may resolve nslookup issues on some Kubernetes setups. -dnsConfig: - options: - - name: ndots - value: "1" - nameservers: [] - searches: [] - -# -- Enable/disable the generation of environment variables for services. -# [[ref]](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service) -enableServiceLinks: false - -# -- Set the Process User ID (PUID) env-var seperately -security: - PUID: 568 - UMASK: 002 - -# -- Can be used to set securityContext.capabilities outside of the GUI on TrueNAS SCALE -customCapabilities: - drop: [] - add: [] - -# -- Configure the Security Context for the Pod -podSecurityContext: - runAsUser: 568 - runAsGroup: 568 - fsGroup: 568 - supplementalGroups: [] - fsGroupChangePolicy: OnRootMismatch - -# -- Configure the Security Context for the main container -securityContext: - privileged: false - readOnlyRootFilesystem: true - allowPrivilegeEscalation: false - runAsNonRoot: true - capabilities: - drop: [] - add: [] - -# -- Configure the lifecycle for the main container -lifecycle: {} - -# -- These containers will be run, as an initcontainer, a single time at install only. -installContainers: {} - -# -- These containers will be run, as an initcontainer, a single time at each edit or update of the chart. -upgradeContainers: {} - -# -- Specify any initContainers here as dictionary items. Each initContainer should have its own key. -# The dictionary item key will determine the order. Helm templates can be used. -initContainers: {} - -# -- Specify any additional containers here as dictionary items. Each additional container should have its own key. -# Helm templates can be used. -additionalContainers: {} - -# -- Probe configuration -# -- [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/) -# @default -- See below -probes: - # -- Liveness probe configuration - # @default -- See below - liveness: - # -- Enable the liveness probe - enabled: true - # -- Set this to `true` if you wish to specify your own livenessProbe - custom: false - # -- sets the probe type when not using a custom probe - # @default -- "TCP" - type: TCP - # -- If a HTTP probe is used (default for HTTP/HTTPS services) this path is used - # @default -- "/" - path: "/" - # -- The spec field contains the values for the default livenessProbe. - # If you selected `custom: true`, this field holds the definition of the livenessProbe. - # @default -- See below - spec: - initialDelaySeconds: 10 - periodSeconds: 10 - timeoutSeconds: 5 - failureThreshold: 5 - - # -- Redainess probe configuration - # @default -- See below - readiness: - # -- Enable the readiness probe - enabled: true - # -- Set this to `true` if you wish to specify your own readinessProbe - custom: false - # -- sets the probe type when not using a custom probe - # @default -- "TCP" - type: TCP - # -- If a HTTP probe is used (default for HTTP/HTTPS services) this path is used - # @default -- "/" - path: "/" - # -- The spec field contains the values for the default readinessProbe. - # If you selected `custom: true`, this field holds the definition of the readinessProbe. - # @default -- See below - spec: - initialDelaySeconds: 10 - periodSeconds: 10 - timeoutSeconds: 5 - failureThreshold: 5 - - # -- Startup probe configuration - # @default -- See below - startup: - # -- Enable the startup probe - enabled: true - # -- Set this to `true` if you wish to specify your own startupProbe - custom: false - # -- sets the probe type when not using a custom probe - # @default -- "TCP" - type: TCP - # -- If a HTTP probe is used (default for HTTP/HTTPS services) this path is used - # @default -- "/" - path: "/" - # -- The spec field contains the values for the default startupProbe. - # If you selected `custom: true`, this field holds the definition of the startupProbe. - # @default -- See below - spec: - initialDelaySeconds: 10 - timeoutSeconds: 2 - ## This means it has a maximum of 5*30=150 seconds to start up before it fails - periodSeconds: 5 - failureThreshold: 60 - -termination: - # -- Configure the path at which the file to which the main container's termination message will be written. - # -- [[ref](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle-1)] - messagePath: - - # -- Indicate how the main container's termination message should be populated. - # Valid options are `File` and `FallbackToLogsOnError`. - # -- [[ref](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle-1)] - messagePolicy: - - # -- Duration in seconds the pod needs to terminate gracefully - # -- [[ref](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle)] - gracePeriodSeconds: 10 - -# -- Configure additional services for the chart here. -# @default -- See below -serviceList: [] - -# -- Configure the services for the chart here. -# Additional services can be added by adding a dictionary key similar to the 'main' service. -# @default -- See below -service: - main: - # -- Enables or disables the service - enabled: true - - # -- Make this the primary service (used in probes, notes, etc...). - # If there is more than 1 service, make sure that only 1 service is marked as primary. - primary: true - - # -- Override the name suffix that is used for this service - nameOverride: - - # -- Override default selector - selector: {} - - # -- Set the service type - # Options: Simple(Loadbalancer), LoadBalancer, ClusterIP, NodePort - type: ClusterIP - annotationsList: [] - # - name: somename - # value: somevalue - # -- Provide additional annotations which may be required. - annotations: {} - - labelsList: [] - # - name: somename - # value: somevalue - # -- Set labels on the deployment/statefulset/daemonset - # -- Provide additional labels which may be required. - labels: {} - - # -- Configure additional Service port information here. - # @default -- See below - portsList: [] - - # -- Specify the ip policy. Options: SingleStack, PreferDualStack, RequireDualStack - ipFamilyPolicy: SingleStack - - # -- The ip families that should be used. Options: IPv4, IPv6 - ipFamilies: [ ] - - # -- Configure the Service port information here. - # Additional ports can be added by adding a dictionary key similar to the 'http' service. - # @default -- See below - ports: - main: - # -- Enables or disables the port - enabled: true - - # -- Make this the primary port (used in probes, notes, etc...) - # If there is more than 1 service, make sure that only 1 port is marked as primary. - primary: true - - # -- The port number - port: - - # -- Port protocol. - # Support values are `HTTP`, `HTTPS`, `TCP` and `UDP`. - # HTTPS and HTTPS spawn a TCP service and get used for internal URL and name generation - protocol: HTTP - - # -- Specify a service targetPort if you wish to differ the service port from the application port. - # If `targetPort` is specified, this port number is used in the container definition instead of - # the `port` value. Therefore named ports are not supported for this field. - targetPort: - - # -- Specify the nodePort value for the LoadBalancer and NodePort service types. - # [[ref]](https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport) - nodePort: - -# -- Configure ingressList for the chart here. -# Additional items can be added by adding a items similar to ingress -# @default -- [] -ingressList: [] - -# -- Configure the ingresses for the chart here. -# Additional ingresses can be added by adding a dictionary key similar to the 'main' ingress. -# @default -- See below -ingress: - main: - # -- Enables or disables the ingress - enabled: false - - # -- Make this the primary ingress (used in probes, notes, etc...). - # If there is more than 1 ingress, make sure that only 1 ingress is marked as primary. - primary: true - - # -- Override the name suffix that is used for this ingress. - nameOverride: - - # -- Autolink the ingress to a service and port, both with the same name as the ingress. - autoLink: false - - # -- disable to ignore any default middlwares - enableFixedMiddlewares: true - - # -- List of middlewares in the traefikmiddlewares k8s namespace to add automatically - # Creates an annotation with the middlewares and appends k8s and traefik namespaces to the middleware names - # Primarily used for TrueNAS SCALE to add additional (seperate) middlewares without exposing them to the end-user - fixedMiddlewares: - - chain-basic - - # -- Additional List of middlewares in the traefikmiddlewares k8s namespace to add automatically - # Creates an annotation with the middlewares and appends k8s and traefik namespaces to the middleware names - middlewares: [] - annotationsList: [] - # - name: somename - # value: somevalue - # -- Provide additional annotations which may be required. - annotations: {} - # kubernetes.io/ingress.class: nginx - # kubernetes.io/tls-acme: "true" - - labelsList: [] - # - name: somename - # value: somevalue - # -- Set labels on the deployment/statefulset/daemonset - # -- Provide additional labels which may be required. - # -- Provide additional labels which may be required. - labels: {} - - # -- Set the ingressClass that is used for this ingress. - # Requires Kubernetes >=1.19 - ingressClassName: # "nginx" - - ## Configure the hosts for the ingress - hosts: - - # -- Host address. Helm template can be passed. - host: chart-example.local - ## Configure the paths for the host - paths: - - # -- Path. Helm template can be passed. - path: / - # -- Ignored if not kubeVersion >= 1.14-0 - pathType: Prefix - service: - # -- Overrides the service name reference for this path - name: - # -- Overrides the service port reference for this path - port: - - # -- Configure TLS for the ingress. Both secretName and hosts can process a Helm template. - tls: [] - # - secretName: chart-example-tls - # -- Create a secret from a GUI selected TrueNAS SCALE certificate - # scaleCert: true - # hosts: - # - chart-example.local - -# -- Configure persistenceList for the chart here. -# Used to create an additional GUI element in SCALE for mounting USB devices -# Additional items can be added by adding a items similar to persistence -# @default -- [] -deviceList: [] - -# -- Configure persistenceList for the chart here. -# Additional items can be added by adding a items similar to persistence -# @default -- [] -persistenceList: [] - -# -- Configure configMaps for the chart here. -# Additional configMaps can be added by adding a dictionary key similar to the 'config' object. -# @default -- See below -configmap: - config: - # -- Enables or disables the configMap - enabled: false - # -- Labels to add to the configMap - labels: {} - # -- Annotations to add to the configMap - annotations: {} - # -- configMap data content. Helm template enabled. - data: {} - # foo: bar - -# -- Configure persistence for the chart here. -# Additional items can be added by adding a dictionary key similar to the 'config' key. -# @default -- See below -persistence: - # -- Default persistence for configuration files. - # @default -- See below - config: - # -- Enables or disables the persistence item - enabled: false - annotationsList: [] - # - name: somename - # value: somevalue - # -- Add annotations to PVC object - annotations: {} - - labelsList: [] - # - name: somename - # value: somevalue - # -- Set labels on the deployment/statefulset/daemonset - # -- Provide additional labels which may be required. - # -- Add labels to PVC object - labels: {} - - # -- Sets the persistence type - # Valid options are: simplePVC, simpleHP, pvc, emptyDir, secret, configMap, hostPath or custom - type: pvc - - # -- force the complete PVC name - # Will not add any prefix or suffix - forceName: "" - - # -- Where to mount the volume in the main container. - # Defaults to `/`, - # setting to '-' creates the volume but disables the volumeMount. - mountPath: # /config - # -- Specify if the volume should be mounted read-only. - readOnly: false - # -- Override the name suffix that is used for this volume. - nameOverride: - - # -- Storage Class for the config volume. - # If set to `-`, dynamic provisioning is disabled. - # If set to `SCALE-ZFS`, the default provisioner for TrueNAS SCALE is used. - # If set to something else, the given storageClass is used. - # If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner. - storageClass: # "-" - - # -- If you want to reuse an existing claim, the name of the existing PVC can be passed here. - existingClaim: # your-claim - - # -- Used in conjunction with `existingClaim`. Specifies a sub-path inside the referenced volume instead of its root - subPath: # some-subpath - - # mountPropagation: {} - - # -- AccessMode for the persistent volume. - # Make sure to select an access mode that is supported by your storage provider! - # [[ref]](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes) - accessMode: ReadWriteOnce - - # -- The amount of storage that is requested for the persistent volume. - size: 999Gi - - # - Set to true to retain the PVC upon `helm uninstall` - retain: false - - # -- Create an emptyDir volume to share between all containers - # [[ref]]https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) - # @default -- See below - shared: - enabled: true - type: emptyDir - mountPath: /shared - - # -- Set the medium to "Memory" to mount a tmpfs (RAM-backed filesystem) instead - # of the storage medium that backs the node. - medium: # Memory - - # -- If the `SizeMemoryBackedVolumes` feature gate is enabled, you can - # specify a size for memory backed volumes. - sizeLimit: # 1Gi - - # -- Create an emptyDir volume to share between all containers - # [[ref]]https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) - # @default -- See below - varlogs: - enabled: true - type: emptyDir - mountPath: /var/logs - - # -- Set the medium to "Memory" to mount a tmpfs (RAM-backed filesystem) instead - # of the storage medium that backs the node. - medium: # Memory - - # -- If the `SizeMemoryBackedVolumes` feature gate is enabled, you can - # specify a size for memory backed volumes. - sizeLimit: # 1Gi - - # -- Create an emptyDir volume to share between all containers for temporary storage - # @default -- See below - temp: - enabled: true - type: emptyDir - mountPath: /tmp - # -- Set the medium to "Memory" to mount a tmpfs (RAM-backed filesystem) instead - # of the storage medium that backs the node. - medium: Memory - # -- If the `SizeMemoryBackedVolumes` feature gate is enabled, you can - # specify a size for memory backed volumes. - sizeLimit: # 1Gi - - # -- Create an emptyDir volume to share between all containers - # [[ref]]https://kubernetes.io/docs/concepts/storage/volumes/#emptydir) - # @default -- See below - varrun: - enabled: false - type: emptyDir - mountPath: /var/run - # -- Set the medium to "Memory" to mount a tmpfs (RAM-backed filesystem) instead - # of the storage medium that backs the node. - medium: Memory - # -- If the `SizeMemoryBackedVolumes` feature gate is enabled, you can - # specify a size for memory backed volumes. - sizeLimit: # 1Gi - - - # -- Hostpath mountpoint to allow mounting the /usr/bin folder to disable docker-compose - # [[ref]]https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) - # @default -- See below - # TODO Delete this once iX has blocked docker-compose - host-usr-bin: - enabled: true - noMount: true - type: hostPath - # -- Which path on the host should be mounted. - hostPath: /usr/bin - # -- Where to mount the path in the main container. - # Defaults to the value of `hostPath` - mountPath: "/host/usr/bin" - - # -- Hostpath mountpoint to allow mounting the /bin folder to disable docker-compose - # [[ref]]https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) - # @default -- See below - # TODO Delete this once iX has blocked docker-compose - host-bin: - enabled: true - noMount: true - type: hostPath - # -- Which path on the host should be mounted. - hostPath: /bin - # -- Where to mount the path in the main container. - # Defaults to the value of `hostPath` - mountPath: "/host/bin" - - # -- Example of a hostPath mount - # [[ref]]https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) - # @default -- See below - host-dev: - enabled: false - type: hostPath - # -- Which path on the host should be mounted. - hostPath: /dev - # -- Automatic set permissions using chown and chmod - setPermissions: false - # -- Where to mount the path in the main container. - # Defaults to the value of `hostPath` - mountPath: "" # /myDev - # -- Specifying a hostPathType adds a check before trying to mount the path. - # See Kubernetes documentation for options. - hostPathType: "" - # -- Specify if the path should be mounted read-only. - readOnly: true - - # -- Example of a Simple hostPath mount - # [[ref]]https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) - # @default -- See below - host-simple-dev: - enabled: false - type: simpleHP - # -- Which path on the host should be mounted. - hostPathSimple: /dev - # -- Automatic set permissions using chown and chmod - setPermissionsSimple: false - # -- Where to mount the path in the main container. - # Defaults to the value of `hostPath` - mountPath: "" # /myDev - # -- Specifying a hostPathType adds a check before trying to mount the path. - # See Kubernetes documentation for options. - hostPathType: "" - # -- Specify if the path should be mounted read-only. - readOnly: true - - # -- Example of a custom mount - # @default -- See below - custom-mount: - enabled: false - type: custom - # -- Where to mount the volume in the main container. - # Defaults to `/`, - # setting to '-' creates the volume but disables the volumeMount. - mountPath: # /custom-mount - # -- Specify if the volume should be mounted read-only. - readOnly: false - # -- Define the custom Volume spec here - # [[ref]](https://kubernetes.io/docs/concepts/storage/volumes/) - volumeSpec: {} - # configMap: - # defaultMode: 420 - # name: my-settings - - # -- Example of a configmap mount - # @default -- See below - configmap-example: - enabled: false - type: configMap - # -- Specify the name of the configmap object to be mounted - objectName: myconfig-map - # -- Where to mount the volume in the main container. - # Defaults to `/`, - # setting to '-' creates the volume but disables the volumeMount. - mountPath: # /custom-mount - # -- Specify if the volume should be mounted read-only. - readOnly: false - - # -- Example of a secret mount - # @default -- See below - secret-example: - enabled: false - type: secret - # -- Specify the name of the secret object to be mounted - objectName: mysecret - # -- Where to mount the volume in the main container. - # Defaults to `/`, - # setting to '-' creates the volume but disables the volumeMount. - mountPath: # /custom-mount - # -- Specify if the volume should be mounted read-only. - readOnly: false - # -- define the default mount mode for the secret - defaultMode: 777 - # -- Define the secret items to be mounted - items: - - key: username - path: my-group/my-username - -# -- Used in conjunction with `controller.type: statefulset` to create individual disks for each instance. -volumeClaimTemplates: [] -# data: -# mountPath: /data -# accessMode: "ReadWriteOnce" -# size: 1Gi - -## Or use a list -# - name: backup -# mountPath: /backup -# subPath: theSubPath -# accessMode: "ReadWriteOnce" -# size: 2Gi -# storageClass: cheap-storage-class - -# -- Node selection constraint -# [[ref]](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) -nodeSelector: {} - -# -- Defines affinity constraint rules. -# [[ref]](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity) -affinity: {} - -# -- Defines topologySpreadConstraint rules. -# [[ref]](https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/) -topologySpreadConstraints: [] -# - maxSkew: -# topologyKey: -# whenUnsatisfiable: -# labelSelector: - -# -- Specify taint tolerations -# [[ref]](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) -tolerations: [] - -# -- Use hostAliases to add custom entries to /etc/hosts - mapping IP addresses to hostnames. -# [[ref]](https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/) -hostAliases: [] -# - ip: "192.168.1.100" -# hostnames: -# - "example.com" -# - "www.example.com" - -# -- Set the resource requests / limits for the main container. -resources: - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - limits: - cpu: 4000m - memory: 8Gi - requests: - cpu: 10m - memory: 50Mi - -# -- The common chart supports several add-ons. These can be configured under this key. -# @default -- See below -addons: - # -- The common chart supports adding a VPN add-on. It can be configured under this key. - # For more info, check out [our docs](http://docs.k8s-at-home.com/our-helm-charts/common-library-add-ons/#wireguard-vpn) - # @default -- See values.yaml - vpn: - # -- Specify the VPN type. Valid options are disabled, openvpn or wireguard - type: disabled - - # -- OpenVPN specific configuration - # @default -- See below - openvpn: - # -- Credentials to connect to the VPN Service (used with -a) - # Only using password is enough - username: "" - password: "" - - killSwitch: true - excludedNetworks_IPv4: [] - excludedNetworks_IPv6: [] - - # -- Set the VPN container specific securityContext - # @default -- See values.yaml - securityContext: {} - - # -- All variables specified here will be added to the vpn sidecar container - # See the documentation of the VPN image for all config values - env: {} - # TZ: UTC - - # -- All variables specified here will be added to the vpn sidecar container - # See the documentation of the VPN image for all config values - envList: [] - #- name: someenv - # value: somevalue - - # -- Provide a customized vpn configuration file to be used by the VPN. - configFile: - enabled: true - type: hostPath - # -- Which path on the host should be mounted. - hostPath: /vpn/vpn.conf - noMount: true - # -- Specifying a hostPathType adds a check before trying to mount the path. - # See Kubernetes documentation for options. - hostPathType: "File" - - # -- The common library supports adding a code-server add-on to access files. It can be configured under this key. - # For more info, check out [our docs](http://docs.k8s-at-home.com/our-helm-charts/common-library-add-ons/#code-server) - # @default -- See values.yaml - codeserver: - # -- Enable running a code-server container in the pod - enabled: false - - # -- Set any environment variables for code-server here - env: {} - # TZ: UTC - - # -- All variables specified here will be added to the codeserver sidecar container - # See the documentation of the codeserver image for all config values - envList: [] - #- name: someenv - # value: somevalue - # -- Set codeserver command line arguments. - # Consider setting --user-data-dir to a persistent location to preserve code-server setting changes - args: - - --auth - - none - # - --user-data-dir - # - "/config/.vscode" - - # -- Specify the working dir that will be opened when code-server starts - # If not given, the app will default to the mountpah of the first specified volumeMount - workingDir: "/" - - # -- Optionally allow access a Git repository by passing in a private SSH key - # @default -- See below - git: - # -- Raw SSH private key - deployKey: "" - # -- Base64-encoded SSH private key. When both variables are set, the raw SSH key takes precedence. - deployKeyBase64: "" - # -- Existing secret containing SSH private key - # The chart expects it to be present under the `id_rsa` key. - deployKeySecret: "" - - service: - # -- Enable a service for the code-server add-on. - enabled: true - type: ClusterIP - # Specify the default port information - ports: - codeserver: - port: 12321 - enabled: true - protocol: TCP - targetPort: codeserver - ## Specify the nodePort value for the LoadBalancer and NodePort service types. - ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport - ## - # nodePort: 36107 - - ingress: - # -- Enable an ingress for the code-server add-on. - enabled: false - annotations: {} - # kubernetes.io/ingress.class: nginx - labels: {} - hosts: - - host: code.chart-example.local - paths: - - path: / - # Ignored if not kubeVersion >= 1.14-0 - pathType: Prefix - tls: [] - - - # -- The common library supports adding a promtail add-on to to access logs and ship them to loki. It can be configured under this key. - # @default -- See values.yaml - promtail: - # -- Enable running a promtail container in the pod - enabled: false - # -- Set any environment variables for promtail here - env: {} - # -- All variables specified here will be added to the promtail sidecar container - # See the documentation of the promtail image for all config values - envList: [] - #- name: someenv - # value: somevalue - # -- Set promtail command line arguments - args: [] - # -- The URL to Loki - loki: "" - # -- The paths to logs on the volume - logs: [] - # - name: log - # path: /config/logs/*.log - - securityContext: - runAsUser: 0 - - # -- The common library supports adding a netshoot add-on to troubleshoot network issues within a Pod. It can be configured under this key. - # @default -- See values.yaml - netshoot: - # -- Enable running a netshoot container in the pod - enabled: false - - # -- Set any environment variables for netshoot here - env: {} - # -- All variables specified here will be added to the netshoot sidecar container - # See the documentation of the netshoot image for all config values - envList: [] - #- name: someenv - # value: somevalue - -## -# This section contains some-preconfig for frequently used dependencies -## - -# -- Postgresql dependency configuration -# @default -- See below -postgresql: - enabled: false - existingSecret: "dbcreds" - # -- can be used to make an easy accessable note which URLS to use to access the DB. - url: {} - -# -- Redis dependency configuration -# @default -- See below -redis: - enabled: false - existingSecret: "rediscreds" - # -- can be used to make an easy accessable note which URLS to use to access the DB. - url: {} - -# -- mariadb dependency configuration -# @default -- See below -mariadb: - enabled: false - existingSecret: "mariadbcreds" - # -- can be used to make an easy accessable note which URLS to use to access the DB. - url: {}