diff --git a/charts/library/common-test/.helmignore b/charts/library/common-test/.helmignore new file mode 100644 index 00000000000..feb7464da6f --- /dev/null +++ b/charts/library/common-test/.helmignore @@ -0,0 +1,32 @@ +# 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 +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ +# OWNERS file for Kubernetes +OWNERS +# helm-docs templates +*.gotmpl +# docs folder +/docs +# icon +icon.png +icon.webp +icon-small.webp diff --git a/charts/library/common-test/Chart.yaml b/charts/library/common-test/Chart.yaml index 0689fa77b04..53e3d323945 100644 --- a/charts/library/common-test/Chart.yaml +++ b/charts/library/common-test/Chart.yaml @@ -1,27 +1,34 @@ +annotations: + truecharts.org/category: unsorted + truecharts.org/max_helm_version: "3.15" + truecharts.org/min_helm_version: "3.11" + truecharts.org/train: library apiVersion: v2 -appVersion: "" +appVersion: unknown dependencies: -- name: common - repository: file://../common - version: ~25.0.0 + - name: common + version: ~25.0.0 + repository: file://../common + condition: "" + alias: "" + tags: [] + import-values: [] 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 +home: https://truecharts.org/charts/library/common-test +icon: https://truecharts.org/img/hotlink-ok/chart-icons/common-test.webp keywords: -- common-test -- truecharts -- common -- test + - common-test + - truecharts + - common + - test kubeVersion: '>=1.24.0-0' maintainers: -- email: info@truecharts.org - name: TrueCharts - url: https://truecharts.org + - name: TrueCharts + email: info@truecharts.org + url: https://truecharts.org name: common-test sources: -- https://github.com/truecharts/apps/tree/master/charts/library/common-test + - https://github.com/truecharts/charts/tree/master/charts/library/common-test type: application version: 1.0.0 -annotations: - truecharts.org/min_helm_version: "3.11" diff --git a/charts/library/common-test/README.md b/charts/library/common-test/README.md index e69de29bb2d..ecc7b01c514 100644 --- a/charts/library/common-test/README.md +++ b/charts/library/common-test/README.md @@ -0,0 +1,61 @@ +--- +title: README +--- + +## General Info + +TrueCharts can be installed as both _normal_ Helm Charts or as TrueNAS SCALE Apps. +Both solutions are fully supported, but we heavily advice the use of normal Helm Charts where possible + +For more information about this Chart, please check the docs on the TrueCharts [website](https://truecharts.org/charts/library/common-test) + +**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)** + +## Installation + +### Helm-Chart installation + +To install TrueCharts Helm charts using Helm, you can use our OCI Repository. + +`helm install mychart oci://tccr.io/truecharts/common-test` + +For more information on how to install TrueCharts Helm charts, checkout the [instructions on the website](/guides) + + +### TrueNAS SCALE Apps + +For more information on how to use TrueCharts as TrueNAS SCALE Apps, please checkout the [quick-start guides for TrueNAS SCALE](/deprecated/scale). + +## Chart Specific Guides and information + +All our charts have dedicated documentation pages. +The documentation for this chart can be found here: +https://truecharts.org/charts/library/common-test + +## Configuration Options + +Please note: For TrueNAS SCALE, only options available in the GUI are supported. +Hence most of these docs do not apply to TrueNAS SCALE + +To view the chart specific options, please view Values.yaml included in the chart. +The most recent version of which, is available here: https://github.com/truecharts/charts/blob/master/charts/library/common-test/values.yaml + +All our Charts use a shared "common" library chart that contains most of the templating and options. +For the complete overview of all available options, please checkout the documentation for them on the [common docs on our website](/common) + +For information about the common chart and all defaults included with it, please review its values.yaml file available here: https://github.com/truecharts/library-charts/blob/main/library/common/values.yaml + +## Support + +- See the [Website](https://truecharts.org) +- Check our [Discord](https://discord.gg/tVsPTHWTtr) +- Open a [issue](https://github.com/truecharts/charts/issues/new/choose) + +--- + +## Sponsor TrueCharts + +TrueCharts can only exist due to the incredible effort of our staff. +Please consider making a [donation](/general/sponsor) or contributing back to the project any way you can! + +_All Rights Reserved - The TrueCharts Project_ diff --git a/charts/library/common-test/ci/codeserver-values.yaml b/charts/library/common-test/ci/codeserver-values.yaml index 6241ab64c1b..f78286d1764 100644 --- a/charts/library/common-test/ci/codeserver-values.yaml +++ b/charts/library/common-test/ci/codeserver-values.yaml @@ -36,10 +36,9 @@ workload: type: http port: "{{ .Values.service.main.ports.main.port }}" - args: - --port - - '8080' + - "8080" persistence: testpvc: diff --git a/charts/library/common-test/ci/configmap-values.yaml b/charts/library/common-test/ci/configmap-values.yaml index 8c770183e68..148deac63f2 100644 --- a/charts/library/common-test/ci/configmap-values.yaml +++ b/charts/library/common-test/ci/configmap-values.yaml @@ -36,7 +36,6 @@ workload: type: http port: "{{ .Values.service.main.ports.main.port }}" - key1: value1 key2: 80 key3: pair diff --git a/charts/library/common-test/ci/netshoot-values.yaml b/charts/library/common-test/ci/netshoot-values.yaml index ea09a9bd3d2..4d7e554d958 100644 --- a/charts/library/common-test/ci/netshoot-values.yaml +++ b/charts/library/common-test/ci/netshoot-values.yaml @@ -38,7 +38,7 @@ workload: args: - --port - - '8080' + - "8080" addons: netshoot: diff --git a/charts/library/common-test/ci/networkPolicy-values.yaml b/charts/library/common-test/ci/networkPolicy-values.yaml index c7cca36a80a..2a39fcc21cc 100644 --- a/charts/library/common-test/ci/networkPolicy-values.yaml +++ b/charts/library/common-test/ci/networkPolicy-values.yaml @@ -29,44 +29,44 @@ 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 + - 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 + - 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/register-operator-values.yaml b/charts/library/common-test/ci/register-operator-values.yaml index 035f0bb8232..6f948e38038 100644 --- a/charts/library/common-test/ci/register-operator-values.yaml +++ b/charts/library/common-test/ci/register-operator-values.yaml @@ -38,7 +38,7 @@ workload: args: - --port - - '8080' + - "8080" operator: register: true diff --git a/charts/library/common-test/ci/schedule-values.yaml b/charts/library/common-test/ci/schedule-values.yaml index 36a590d64d5..d0ef9bc3d20 100644 --- a/charts/library/common-test/ci/schedule-values.yaml +++ b/charts/library/common-test/ci/schedule-values.yaml @@ -58,4 +58,4 @@ schedules: ttl: "240h" storageLocation: default includedNamespaces: - - foo + - foo diff --git a/charts/library/common-test/ci/secrets-values.yaml b/charts/library/common-test/ci/secrets-values.yaml index fa5270a988b..22a6b542fd8 100644 --- a/charts/library/common-test/ci/secrets-values.yaml +++ b/charts/library/common-test/ci/secrets-values.yaml @@ -36,7 +36,6 @@ workload: type: http port: "{{ .Values.service.main.ports.main.port }}" - key1: value1 key2: 80 key3: pair diff --git a/charts/library/common-test/ci/vpn-gluetun-values.yaml b/charts/library/common-test/ci/vpn-gluetun-values.yaml index c5e59646ea9..b3fdc79352f 100644 --- a/charts/library/common-test/ci/vpn-gluetun-values.yaml +++ b/charts/library/common-test/ci/vpn-gluetun-values.yaml @@ -38,7 +38,7 @@ workload: args: - --port - - '8080' + - "8080" # -- The common chart supports several add-ons. These can be configured under this key. # @default -- See below @@ -55,7 +55,6 @@ addons: env: something: UTC - # -- you can directly specify the config file here config: "fdgdfsg" diff --git a/charts/library/common-test/ci/vpn-openvpn-values.yaml b/charts/library/common-test/ci/vpn-openvpn-values.yaml index c7cf11447f4..7566956c2ae 100644 --- a/charts/library/common-test/ci/vpn-openvpn-values.yaml +++ b/charts/library/common-test/ci/vpn-openvpn-values.yaml @@ -38,7 +38,7 @@ workload: args: - --port - - '8080' + - "8080" # -- The common chart supports several add-ons. These can be configured under this key. # @default -- See below @@ -63,7 +63,6 @@ addons: env: something: UTC - # -- you can directly specify the config file here config: "fdgdfsg" diff --git a/charts/library/common-test/ci/vpn-tailscale-values.yaml b/charts/library/common-test/ci/vpn-tailscale-values.yaml index 19aee245e3d..e3c8b8ecf63 100644 --- a/charts/library/common-test/ci/vpn-tailscale-values.yaml +++ b/charts/library/common-test/ci/vpn-tailscale-values.yaml @@ -38,7 +38,7 @@ workload: args: - --port - - '8080' + - "8080" # -- The common chart supports several add-ons. These can be configured under this key. # @default -- See below diff --git a/charts/library/common-test/ci/vpn-wireguard-values.yaml b/charts/library/common-test/ci/vpn-wireguard-values.yaml index 2f060c31727..241a644e93a 100644 --- a/charts/library/common-test/ci/vpn-wireguard-values.yaml +++ b/charts/library/common-test/ci/vpn-wireguard-values.yaml @@ -38,7 +38,7 @@ workload: args: - --port - - '8080' + - "8080" # -- The common chart supports several add-ons. These can be configured under this key. # @default -- See below @@ -55,7 +55,6 @@ addons: env: something: UTC - # -- you can directly specify the config file here config: "fdgdfsg" diff --git a/charts/library/common-test/tests/addons/autoperms_test.yaml b/charts/library/common-test/tests/addons/autoperms_test.yaml index fb115275e78..620e596ced3 100644 --- a/charts/library/common-test/tests/addons/autoperms_test.yaml +++ b/charts/library/common-test/tests/addons/autoperms_test.yaml @@ -322,7 +322,6 @@ tests: echo "" echo "Finished auto permissions job..." - - it: should have different resources set: resources: diff --git a/charts/library/common-test/tests/chartContext/data_test.yaml b/charts/library/common-test/tests/chartContext/data_test.yaml index b6d271a0274..535e63dc42e 100644 --- a/charts/library/common-test/tests/chartContext/data_test.yaml +++ b/charts/library/common-test/tests/chartContext/data_test.yaml @@ -33,8 +33,8 @@ tests: value: podCIDR: 172.16.0.0/16 svcCIDR: 172.17.0.0/16 - appUrl: http://127.0.0.1:12345 - appUrlWithPortAndPath: http://127.0.0.1:12345/ + appUrl: http://127.0.0.1:12345 + appUrlWithPortAndPath: http://127.0.0.1:12345/ appHost: "127.0.0.1" appPort: "12345" appPath: / @@ -69,8 +69,8 @@ tests: value: podCIDR: 172.16.0.0/16 svcCIDR: 172.17.0.0/16 - appUrl: http://1.2.3.4:12345 - appUrlWithPortAndPath: http://1.2.3.4:12345/ + appUrl: http://1.2.3.4:12345 + appUrlWithPortAndPath: http://1.2.3.4:12345/ appHost: "1.2.3.4" appPort: "12345" appPath: / @@ -116,8 +116,8 @@ tests: value: podCIDR: 172.16.0.0/16 svcCIDR: 172.17.0.0/16 - appUrl: https://example.com - appUrlWithPortAndPath: https://example.com:443/some-path + appUrl: https://example.com + appUrlWithPortAndPath: https://example.com:443/some-path appHost: "example.com" appPort: "443" appPath: /some-path @@ -163,8 +163,8 @@ tests: value: podCIDR: 172.16.0.0/16 svcCIDR: 172.17.0.0/16 - appUrl: http://example.com - appUrlWithPortAndPath: http://example.com:80/some-path + appUrl: http://example.com + appUrlWithPortAndPath: http://example.com:80/some-path appHost: "example.com" appPort: "80" appPath: /some-path @@ -214,8 +214,8 @@ tests: value: podCIDR: 172.16.0.0/16 svcCIDR: 172.17.0.0/16 - appUrl: https://example.com - appUrlWithPortAndPath: https://example.com:443/some-path + appUrl: https://example.com + appUrlWithPortAndPath: https://example.com:443/some-path appHost: "example.com" appPort: "443" appPath: /some-path @@ -265,8 +265,8 @@ tests: value: podCIDR: 172.16.0.0/16 svcCIDR: 172.17.0.0/16 - appUrl: https://example.com - appUrlWithPortAndPath: https://example.com:443/some-path + appUrl: https://example.com + appUrlWithPortAndPath: https://example.com:443/some-path appHost: "example.com" appPort: "443" appPath: /some-path @@ -315,8 +315,8 @@ tests: value: podCIDR: 172.16.0.0/16 svcCIDR: 172.17.0.0/16 - appUrl: https://example.com - appUrlWithPortAndPath: https://example.com:443/some-path + appUrl: https://example.com + appUrlWithPortAndPath: https://example.com:443/some-path appHost: "example.com" appPort: "443" appPath: /some-path diff --git a/charts/library/common-test/tests/container/envFrom_test.yaml b/charts/library/common-test/tests/container/envFrom_test.yaml index a9ab30694dc..eeb6f4bd4f9 100644 --- a/charts/library/common-test/tests/container/envFrom_test.yaml +++ b/charts/library/common-test/tests/container/envFrom_test.yaml @@ -260,7 +260,6 @@ tests: - failedTemplate: errorMessage: Container - Expected Secret [secret-other-name] defined in [envFrom] to exist - - it: it should fail empty expandObjectName set: image: *image diff --git a/charts/library/common-test/tests/container/env_dupe_test.yaml b/charts/library/common-test/tests/container/env_dupe_test.yaml index 07d6c4a22c5..5e88433bffb 100644 --- a/charts/library/common-test/tests/container/env_dupe_test.yaml +++ b/charts/library/common-test/tests/container/env_dupe_test.yaml @@ -5,7 +5,7 @@ release: name: test-release-name namespace: test-release-namespace tests: -# Failures + # Failures - it: should fail with dupe env in env and envList set: image: &image diff --git a/charts/library/common-test/tests/container/image_test.yaml b/charts/library/common-test/tests/container/image_test.yaml index eaa27b51c1f..2929de15ec1 100644 --- a/charts/library/common-test/tests/container/image_test.yaml +++ b/charts/library/common-test/tests/container/image_test.yaml @@ -139,4 +139,4 @@ tests: imageSelector: image asserts: - failedTemplate: - errorMessage: Container - Expected [.Values.image.pullPolicy] to be one of [IfNotPresent, Always, Never], but got [invalid] + errorMessage: Container - Expected [.Values.image.pullPolicy] to be one of [IfNotPresent, Always, Never], but got [invalid] diff --git a/charts/library/common-test/tests/ingress/validation_test.yaml b/charts/library/common-test/tests/ingress/validation_test.yaml index 590fcb60c65..97d438dd5e4 100644 --- a/charts/library/common-test/tests/ingress/validation_test.yaml +++ b/charts/library/common-test/tests/ingress/validation_test.yaml @@ -38,8 +38,8 @@ tests: integrations: &integrations traefik: enabled: false - ? my-ingress-super-long-name-that-is-longer-than-253-characters-my-ingress-super-long-name-that-is-longer-than-253-characters-my-ingress-super-long-name-that-is-longer-than-253-characters-my-ingress-super-long-long-long-long-long-long-long-long-name - : enabled: true + my-ingress-super-long-name-that-is-longer-than-253-characters-my-ingress-super-long-name-that-is-longer-than-253-characters-my-ingress-super-long-name-that-is-longer-than-253-characters-my-ingress-super-long-long-long-long-long-long-long-long-name: + enabled: true asserts: - failedTemplate: errorMessage: Name [test-release-name-common-test-my-ingress-super-long-name-that-is-longer-than-253-characters-my-ingress-super-long-name-that-is-longer-than-253-characters-my-ingress-super-long-name-that-is-longer-than-253-characters-my-ingress-super-long-long-long-long-long-long-long-long-name] is not valid. Must start and end with an alphanumeric lowercase character. It can contain '-'. And must be at most 253 characters. diff --git a/charts/library/common-test/tests/initContainer/validation_test.yaml b/charts/library/common-test/tests/initContainer/validation_test.yaml index bd47cbcd579..0d0e1385ed2 100644 --- a/charts/library/common-test/tests/initContainer/validation_test.yaml +++ b/charts/library/common-test/tests/initContainer/validation_test.yaml @@ -5,7 +5,7 @@ release: name: test-release-name namespace: test-release-namespace tests: -# Failures + # Failures - it: should fail with empty type on init container set: image: diff --git a/charts/library/common-test/tests/pod/volume_configmap_test.yaml b/charts/library/common-test/tests/pod/volume_configmap_test.yaml index dacfe143fe2..871a9479e02 100644 --- a/charts/library/common-test/tests/pod/volume_configmap_test.yaml +++ b/charts/library/common-test/tests/pod/volume_configmap_test.yaml @@ -138,7 +138,7 @@ tests: name: test-release-name-common-test-some-non-existent-object optional: true -# Failures + # Failures - it: should fail without objectName in configmap set: workload: diff --git a/charts/library/common-test/tests/pod/volume_device_test.yaml b/charts/library/common-test/tests/pod/volume_device_test.yaml index 2b152cd7558..aa4f9f52ec4 100644 --- a/charts/library/common-test/tests/pod/volume_device_test.yaml +++ b/charts/library/common-test/tests/pod/volume_device_test.yaml @@ -121,7 +121,7 @@ tests: path: /dev/nvme0n1 type: BlockDevice -# Failures + # Failures - it: should fail without hostPath set: workload: diff --git a/charts/library/common-test/tests/pod/volume_emptyDIr_test.yaml b/charts/library/common-test/tests/pod/volume_emptyDIr_test.yaml index 841b307677c..86abe647549 100644 --- a/charts/library/common-test/tests/pod/volume_emptyDIr_test.yaml +++ b/charts/library/common-test/tests/pod/volume_emptyDIr_test.yaml @@ -167,7 +167,7 @@ tests: medium: Memory sizeLimit: 1Gi -# Failures + # Failures - it: should fail with invalid medium in emptyDir set: workload: diff --git a/charts/library/common-test/tests/pod/volume_hostPath_test.yaml b/charts/library/common-test/tests/pod/volume_hostPath_test.yaml index e3af0ce1c4d..4c7f7b973f9 100644 --- a/charts/library/common-test/tests/pod/volume_hostPath_test.yaml +++ b/charts/library/common-test/tests/pod/volume_hostPath_test.yaml @@ -59,7 +59,7 @@ tests: path: /some-path type: DirectoryOrCreate -# Failures + # Failures - it: should fail without hostPath set: workload: diff --git a/charts/library/common-test/tests/pod/volume_iscsi_test.yaml b/charts/library/common-test/tests/pod/volume_iscsi_test.yaml index 8d53205dfe8..8f51c4365d6 100644 --- a/charts/library/common-test/tests/pod/volume_iscsi_test.yaml +++ b/charts/library/common-test/tests/pod/volume_iscsi_test.yaml @@ -204,7 +204,7 @@ tests: discovery.sendtargets.auth.username_in: some-usernameInitiator discovery.sendtargets.auth.password_in: some-passwordInitiator -# Failures + # Failures - it: should fail without iscsi object in iscsi volume set: workload: diff --git a/charts/library/common-test/tests/pod/volume_nfs_test.yaml b/charts/library/common-test/tests/pod/volume_nfs_test.yaml index b5272674047..40a13a83ee1 100644 --- a/charts/library/common-test/tests/pod/volume_nfs_test.yaml +++ b/charts/library/common-test/tests/pod/volume_nfs_test.yaml @@ -34,7 +34,7 @@ tests: path: /some-path server: some-server -# Failures + # Failures - it: should fail without path in nfs set: workload: diff --git a/charts/library/common-test/tests/pod/volume_secret_test.yaml b/charts/library/common-test/tests/pod/volume_secret_test.yaml index f6d4c7e0198..1e1284bee6e 100644 --- a/charts/library/common-test/tests/pod/volume_secret_test.yaml +++ b/charts/library/common-test/tests/pod/volume_secret_test.yaml @@ -138,7 +138,7 @@ tests: secretName: test-release-name-common-test-some-non-existent-object optional: true -# Failures + # Failures - it: should fail without objectName in secret set: workload: diff --git a/charts/library/common-test/tests/podDisruptionBudget/validation_test.yaml b/charts/library/common-test/tests/podDisruptionBudget/validation_test.yaml index c1c74bdc4ef..5e6617e314b 100644 --- a/charts/library/common-test/tests/podDisruptionBudget/validation_test.yaml +++ b/charts/library/common-test/tests/podDisruptionBudget/validation_test.yaml @@ -8,8 +8,8 @@ tests: - it: should fail with name longer than 63 characters set: podDisruptionBudget: - ? my-poddisruptionbudget-super-long-name-that-is-longer-than-63-characters - : enabled: true + my-poddisruptionbudget-super-long-name-that-is-longer-than-63-characters: + enabled: true asserts: - failedTemplate: errorMessage: Name [test-release-name-common-test-my-poddisruptionbudget-super-long-name-that-is-longer-than-63-characters] is not valid. Must start and end with an alphanumeric lowercase character. It can contain '-'. And must be at most 63 characters. diff --git a/charts/library/common-test/tests/priorityClass/spec_test.yaml b/charts/library/common-test/tests/priorityClass/spec_test.yaml index d5a78352315..6754015a4d8 100644 --- a/charts/library/common-test/tests/priorityClass/spec_test.yaml +++ b/charts/library/common-test/tests/priorityClass/spec_test.yaml @@ -94,8 +94,8 @@ tests: path: description value: test description -# - it: -# Failures + # - it: + # Failures - it: should fail with invalid preemptionPolicy set: priorityClass: diff --git a/charts/library/common-test/tests/secret/data_test.yaml b/charts/library/common-test/tests/secret/data_test.yaml index 5e5b87685a7..1d18ebd2e24 100644 --- a/charts/library/common-test/tests/secret/data_test.yaml +++ b/charts/library/common-test/tests/secret/data_test.yaml @@ -40,7 +40,6 @@ tests: path: type value: SomeCustomType - - it: should pass with key-value data from tpl set: data: bar diff --git a/charts/library/common-test/tests/service/cluster_ip_test.yaml b/charts/library/common-test/tests/service/cluster_ip_test.yaml index f77f8c778f5..9d2a354929d 100644 --- a/charts/library/common-test/tests/service/cluster_ip_test.yaml +++ b/charts/library/common-test/tests/service/cluster_ip_test.yaml @@ -41,10 +41,10 @@ tests: type: ClusterIP publishNotReadyAddresses: false ports: - - name: port-name - port: 12345 - protocol: TCP - targetPort: 12345 + - name: port-name + port: 12345 + protocol: TCP + targetPort: 12345 selector: app.kubernetes.io/instance: test-release-name app.kubernetes.io/name: common-test @@ -115,14 +115,14 @@ tests: clientIP: timeoutSeconds: 100 ports: - - name: port-name - port: 12345 - protocol: TCP - targetPort: 12345 - - name: port-name2 - port: 12344 - protocol: TCP - targetPort: 12346 + - name: port-name + port: 12345 + protocol: TCP + targetPort: 12345 + - name: port-name2 + port: 12344 + protocol: TCP + targetPort: 12346 selector: app.kubernetes.io/instance: test-release-name app.kubernetes.io/name: common-test diff --git a/charts/library/common-test/tests/service/external_name_test.yaml b/charts/library/common-test/tests/service/external_name_test.yaml index 83243ca0ebc..9c0913b87bd 100644 --- a/charts/library/common-test/tests/service/external_name_test.yaml +++ b/charts/library/common-test/tests/service/external_name_test.yaml @@ -37,10 +37,10 @@ tests: externalName: my-external-name publishNotReadyAddresses: false ports: - - name: port-name - port: 12345 - protocol: TCP - targetPort: 12345 + - name: port-name + port: 12345 + protocol: TCP + targetPort: 12345 - it: should pass with type externalName, without ports set: @@ -124,11 +124,11 @@ tests: clientIP: timeoutSeconds: 100 ports: - - name: port-name - port: 12345 - protocol: TCP - targetPort: 12345 - - name: port-name2 - port: 12344 - protocol: TCP - targetPort: 12346 + - name: port-name + port: 12345 + protocol: TCP + targetPort: 12345 + - name: port-name2 + port: 12344 + protocol: TCP + targetPort: 12346 diff --git a/charts/library/common-test/tests/service/load_balancer_test.yaml b/charts/library/common-test/tests/service/load_balancer_test.yaml index a46f679ef76..b9944db0a73 100644 --- a/charts/library/common-test/tests/service/load_balancer_test.yaml +++ b/charts/library/common-test/tests/service/load_balancer_test.yaml @@ -45,10 +45,10 @@ tests: allocateLoadBalancerNodePorts: false publishNotReadyAddresses: false ports: - - name: port-name - port: 12345 - protocol: TCP - targetPort: 12345 + - name: port-name + port: 12345 + protocol: TCP + targetPort: 12345 selector: app.kubernetes.io/instance: test-release-name app.kubernetes.io/name: common-test @@ -137,14 +137,14 @@ tests: clientIP: timeoutSeconds: 100 ports: - - name: port-name - port: 12345 - protocol: TCP - targetPort: 12345 - - name: port-name2 - port: 12344 - protocol: TCP - targetPort: 12346 + - name: port-name + port: 12345 + protocol: TCP + targetPort: 12345 + - name: port-name2 + port: 12344 + protocol: TCP + targetPort: 12346 selector: app.kubernetes.io/instance: test-release-name app.kubernetes.io/name: common-test diff --git a/charts/library/common-test/tests/service/node_port_test.yaml b/charts/library/common-test/tests/service/node_port_test.yaml index 4e07ef26405..6734e5fe234 100644 --- a/charts/library/common-test/tests/service/node_port_test.yaml +++ b/charts/library/common-test/tests/service/node_port_test.yaml @@ -42,11 +42,11 @@ tests: type: NodePort publishNotReadyAddresses: false ports: - - name: port-name - port: 12345 - protocol: TCP - targetPort: 12345 - nodePort: 30000 + - name: port-name + port: 12345 + protocol: TCP + targetPort: 12345 + nodePort: 30000 selector: app.kubernetes.io/instance: test-release-name app.kubernetes.io/name: common-test @@ -90,10 +90,10 @@ tests: type: ClusterIP publishNotReadyAddresses: false ports: - - name: port-name - port: 12345 - protocol: TCP - targetPort: 12345 + - name: port-name + port: 12345 + protocol: TCP + targetPort: 12345 selector: app.kubernetes.io/instance: test-release-name app.kubernetes.io/name: common-test @@ -172,16 +172,16 @@ tests: clientIP: timeoutSeconds: 100 ports: - - name: port-name - port: 12345 - protocol: TCP - targetPort: 12345 - nodePort: 30000 - - name: port-name2 - port: 12344 - protocol: TCP - targetPort: 12346 - nodePort: 30001 + - name: port-name + port: 12345 + protocol: TCP + targetPort: 12345 + nodePort: 30000 + - name: port-name2 + port: 12344 + protocol: TCP + targetPort: 12346 + nodePort: 30001 selector: app.kubernetes.io/instance: test-release-name app.kubernetes.io/name: common-test diff --git a/charts/library/common-test/values.yaml b/charts/library/common-test/values.yaml index 8ef27b24146..8761910871d 100644 --- a/charts/library/common-test/values.yaml +++ b/charts/library/common-test/values.yaml @@ -18,7 +18,6 @@ service: ports: main: enabled: false - # The above just disables the "main" objects, # every other config is stays as it is set in common's values.yaml. # Tests need to use a different name, other than `main`, diff --git a/charts/library/common/.helmignore b/charts/library/common/.helmignore index 0e8a0eb36f4..feb7464da6f 100644 --- a/charts/library/common/.helmignore +++ b/charts/library/common/.helmignore @@ -14,10 +14,19 @@ *.swp *.bak *.tmp -*.orig *~ # Various IDEs .project .idea/ *.tmproj .vscode/ +# OWNERS file for Kubernetes +OWNERS +# helm-docs templates +*.gotmpl +# docs folder +/docs +# icon +icon.png +icon.webp +icon-small.webp diff --git a/charts/library/common/Chart.yaml b/charts/library/common/Chart.yaml index c542545e899..5db0566039d 100644 --- a/charts/library/common/Chart.yaml +++ b/charts/library/common/Chart.yaml @@ -1,24 +1,51 @@ +annotations: + artifacthub.io/category: integration-delivery + artifacthub.io/license: BUSL-1.1 + artifacthub.io/links: | + - name: support + url: https://discord.com/invite/tVsPTHWTtr + truecharts.org/category: unsorted + truecharts.org/max_helm_version: "3.15" + truecharts.org/min_helm_version: "3.11" + truecharts.org/train: library apiVersion: v2 -appVersion: "latest" +appVersion: 1.10.3 +dependencies: [] +deprecated: false description: Function library for TrueCharts -home: https://github.com/truecharts/apps/tree/master/charts/common -icon: https://avatars.githubusercontent.com/u/76400755 +home: https://truecharts.org/charts/library/common +icon: https://truecharts.org/img/hotlink-ok/chart-icons/common.webp keywords: - truecharts - library-chart - common -kubeVersion: ">=1.24.0-0" +kubeVersion: '>=1.24.0-0' maintainers: - - email: info@truecharts.org - name: TrueCharts + - name: TrueCharts + email: info@truecharts.org url: https://truecharts.org name: common -sources: null +sources: + - https://ghcr.io/cloudnative-pg/postgis + - https://ghcr.io/cloudnative-pg/postgresql + - https://ghcr.io/tensorchord/cloudnative-pgvecto.rs + - https://github.com/truecharts/charts/tree/master/charts/library/common + - https://github.com/truecharts/containers/tree/master/apps/alpine + - https://github.com/truecharts/containers/tree/master/apps/code-server + - https://github.com/truecharts/containers/tree/master/apps/db-wait-mariadb + - https://github.com/truecharts/containers/tree/master/apps/db-wait-mongodb + - https://github.com/truecharts/containers/tree/master/apps/db-wait-postgres + - https://github.com/truecharts/containers/tree/master/apps/db-wait-redis + - https://github.com/truecharts/containers/tree/master/apps/gluetun + - https://github.com/truecharts/containers/tree/master/apps/kubectl + - https://github.com/truecharts/containers/tree/master/apps/netshoot + - https://github.com/truecharts/containers/tree/master/apps/openvpn-client + - https://github.com/truecharts/containers/tree/master/apps/scratch + - https://github.com/truecharts/containers/tree/master/apps/tailscale + - https://github.com/truecharts/containers/tree/master/apps/wget + - https://github.com/truecharts/containers/tree/master/apps/wireguard + - https://hub.docker.com/_/ + - https://hub.docker.com/r/mikefarah/yq + - https://hub.docker.com/r/traefik/whoami type: library version: 25.0.0 -annotations: - artifacthub.io/category: "integration-delivery" - artifacthub.io/license: "BUSL-1.1" - artifacthub.io/links: | - - name: support - url: https://discord.com/invite/tVsPTHWTtr diff --git a/charts/library/common/README.md b/charts/library/common/README.md index e8f72c95537..62ced5be9d3 100644 --- a/charts/library/common/README.md +++ b/charts/library/common/README.md @@ -1,22 +1,61 @@ -# Common Library +--- +title: README +--- -## Naming Scheme +## General Info -- ServiceAccount: - - Primary: `$FullName` - - Others: `$FullName-$ServiceAccountName` -- RBAC: - - Primary: `$FullName` - - Others: `$FullName-$RBACName` -- Service: - - Primary: `$FullName` - - Others: `$FullName-$ServiceName` -- Pods: - - Primary: `$FullName` - - Others: `$FullName-$PodName` -- Containers: `$ContainerName` -- ConfigMap: `$FullName-$ConfigMapName` -- Secret: `$FullName-$SecretName` +TrueCharts can be installed as both _normal_ Helm Charts or as TrueNAS SCALE Apps. +Both solutions are fully supported, but we heavily advice the use of normal Helm Charts where possible -> Full name -> `$ReleaseName-$ChartName` -> Any name that exceeds 63 characters, will throw an error +For more information about this Chart, please check the docs on the TrueCharts [website](https://truecharts.org/charts/library/common) + +**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)** + +## Installation + +### Helm-Chart installation + +To install TrueCharts Helm charts using Helm, you can use our OCI Repository. + +`helm install mychart oci://tccr.io/truecharts/common` + +For more information on how to install TrueCharts Helm charts, checkout the [instructions on the website](/guides) + + +### TrueNAS SCALE Apps + +For more information on how to use TrueCharts as TrueNAS SCALE Apps, please checkout the [quick-start guides for TrueNAS SCALE](/deprecated/scale). + +## Chart Specific Guides and information + +All our charts have dedicated documentation pages. +The documentation for this chart can be found here: +https://truecharts.org/charts/library/common + +## Configuration Options + +Please note: For TrueNAS SCALE, only options available in the GUI are supported. +Hence most of these docs do not apply to TrueNAS SCALE + +To view the chart specific options, please view Values.yaml included in the chart. +The most recent version of which, is available here: https://github.com/truecharts/charts/blob/master/charts/library/common/values.yaml + +All our Charts use a shared "common" library chart that contains most of the templating and options. +For the complete overview of all available options, please checkout the documentation for them on the [common docs on our website](/common) + +For information about the common chart and all defaults included with it, please review its values.yaml file available here: https://github.com/truecharts/library-charts/blob/main/library/common/values.yaml + +## Support + +- See the [Website](https://truecharts.org) +- Check our [Discord](https://discord.gg/tVsPTHWTtr) +- Open a [issue](https://github.com/truecharts/charts/issues/new/choose) + +--- + +## Sponsor TrueCharts + +TrueCharts can only exist due to the incredible effort of our staff. +Please consider making a [donation](/general/sponsor) or contributing back to the project any way you can! + +_All Rights Reserved - The TrueCharts Project_ diff --git a/charts/library/common/values.yaml b/charts/library/common/values.yaml index 573ae5dcb98..96e3381d545 100644 --- a/charts/library/common/values.yaml +++ b/charts/library/common/values.yaml @@ -224,7 +224,8 @@ service: primary: true protocol: http -credentials: {} +credentials: + {} # mys3: # type: s3 # url: "" diff --git a/charts/stable/tagspaces/Chart.yaml b/charts/stable/tagspaces/Chart.yaml index 08575a7fc7a..904cd84a2fb 100644 --- a/charts/stable/tagspaces/Chart.yaml +++ b/charts/stable/tagspaces/Chart.yaml @@ -31,6 +31,6 @@ name: tagspaces sources: - https://github.com/tagspaces/tagspaces - https://github.com/truecharts/charts/tree/master/charts/stable/tagspaces - - https://hub.docker.com/r/tagspaces/tagspaces-lite-web + - https://hub.docker.com/r/fardjad/tagspaces-lite-web type: application version: 6.0.0 diff --git a/charts/stable/youtubedl-material/Chart.yaml b/charts/stable/youtubedl-material/Chart.yaml index e4d30328c4e..4d7530c94c8 100644 --- a/charts/stable/youtubedl-material/Chart.yaml +++ b/charts/stable/youtubedl-material/Chart.yaml @@ -6,7 +6,7 @@ annotations: truecharts.org/min_helm_version: "3.11" truecharts.org/train: stable apiVersion: v2 -appVersion: 4.3.2 +appVersion: 2024.10.01 dependencies: - name: common version: 25.0.0