Commit daily changes
Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
@@ -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
|
||||||
@@ -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
|
apiVersion: v2
|
||||||
appVersion: ""
|
appVersion: unknown
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: file://../common
|
version: ~25.0.0
|
||||||
version: ~25.0.0
|
repository: file://../common
|
||||||
|
condition: ""
|
||||||
|
alias: ""
|
||||||
|
tags: []
|
||||||
|
import-values: []
|
||||||
deprecated: false
|
deprecated: false
|
||||||
description: Helper chart to test different use cases of the common library
|
description: Helper chart to test different use cases of the common library
|
||||||
home: https://github.com/truecharts/apps/tree/master/charts/library/common-test
|
home: https://truecharts.org/charts/library/common-test
|
||||||
icon: https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png
|
icon: https://truecharts.org/img/hotlink-ok/chart-icons/common-test.webp
|
||||||
keywords:
|
keywords:
|
||||||
- common-test
|
- common-test
|
||||||
- truecharts
|
- truecharts
|
||||||
- common
|
- common
|
||||||
- test
|
- test
|
||||||
kubeVersion: '>=1.24.0-0'
|
kubeVersion: '>=1.24.0-0'
|
||||||
maintainers:
|
maintainers:
|
||||||
- email: info@truecharts.org
|
- name: TrueCharts
|
||||||
name: TrueCharts
|
email: info@truecharts.org
|
||||||
url: https://truecharts.org
|
url: https://truecharts.org
|
||||||
name: common-test
|
name: common-test
|
||||||
sources:
|
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
|
type: application
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
annotations:
|
|
||||||
truecharts.org/min_helm_version: "3.11"
|
|
||||||
|
|||||||
@@ -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_
|
||||||
|
|||||||
@@ -36,10 +36,9 @@ workload:
|
|||||||
type: http
|
type: http
|
||||||
port: "{{ .Values.service.main.ports.main.port }}"
|
port: "{{ .Values.service.main.ports.main.port }}"
|
||||||
|
|
||||||
|
|
||||||
args:
|
args:
|
||||||
- --port
|
- --port
|
||||||
- '8080'
|
- "8080"
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
testpvc:
|
testpvc:
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ workload:
|
|||||||
type: http
|
type: http
|
||||||
port: "{{ .Values.service.main.ports.main.port }}"
|
port: "{{ .Values.service.main.ports.main.port }}"
|
||||||
|
|
||||||
|
|
||||||
key1: value1
|
key1: value1
|
||||||
key2: 80
|
key2: 80
|
||||||
key3: pair
|
key3: pair
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ workload:
|
|||||||
|
|
||||||
args:
|
args:
|
||||||
- --port
|
- --port
|
||||||
- '8080'
|
- "8080"
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
netshoot:
|
netshoot:
|
||||||
|
|||||||
@@ -29,44 +29,44 @@ networkPolicy:
|
|||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
- from:
|
- from:
|
||||||
- ipBlock:
|
- ipBlock:
|
||||||
cidr: 172.17.0.0/16
|
cidr: 172.17.0.0/16
|
||||||
except:
|
except:
|
||||||
- 172.17.1.0/24
|
- 172.17.1.0/24
|
||||||
- namespaceSelector:
|
- namespaceSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
project: myproject
|
project: myproject
|
||||||
- podSelector:
|
- podSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
role: frontend
|
role: frontend
|
||||||
- namespaceSelector:
|
- namespaceSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
project: myproject2
|
project: myproject2
|
||||||
podSelector:
|
podSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
role: frontend2
|
role: frontend2
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 6379
|
port: 6379
|
||||||
egress:
|
egress:
|
||||||
- to:
|
- to:
|
||||||
- ipBlock:
|
- ipBlock:
|
||||||
cidr: 172.17.2.0/16
|
cidr: 172.17.2.0/16
|
||||||
except:
|
except:
|
||||||
- 172.17.2.0/24
|
- 172.17.2.0/24
|
||||||
- namespaceSelector:
|
- namespaceSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
project: myproject3
|
project: myproject3
|
||||||
- podSelector:
|
- podSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
role: frontend3
|
role: frontend3
|
||||||
- namespaceSelector:
|
- namespaceSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
project: myproject4
|
project: myproject4
|
||||||
podSelector:
|
podSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
role: frontend4
|
role: frontend4
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
port: 5978
|
port: 5978
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ workload:
|
|||||||
|
|
||||||
args:
|
args:
|
||||||
- --port
|
- --port
|
||||||
- '8080'
|
- "8080"
|
||||||
|
|
||||||
operator:
|
operator:
|
||||||
register: true
|
register: true
|
||||||
|
|||||||
@@ -58,4 +58,4 @@ schedules:
|
|||||||
ttl: "240h"
|
ttl: "240h"
|
||||||
storageLocation: default
|
storageLocation: default
|
||||||
includedNamespaces:
|
includedNamespaces:
|
||||||
- foo
|
- foo
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ workload:
|
|||||||
type: http
|
type: http
|
||||||
port: "{{ .Values.service.main.ports.main.port }}"
|
port: "{{ .Values.service.main.ports.main.port }}"
|
||||||
|
|
||||||
|
|
||||||
key1: value1
|
key1: value1
|
||||||
key2: 80
|
key2: 80
|
||||||
key3: pair
|
key3: pair
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ workload:
|
|||||||
|
|
||||||
args:
|
args:
|
||||||
- --port
|
- --port
|
||||||
- '8080'
|
- "8080"
|
||||||
|
|
||||||
# -- The common chart supports several add-ons. These can be configured under this key.
|
# -- The common chart supports several add-ons. These can be configured under this key.
|
||||||
# @default -- See below
|
# @default -- See below
|
||||||
@@ -55,7 +55,6 @@ addons:
|
|||||||
env:
|
env:
|
||||||
something: UTC
|
something: UTC
|
||||||
|
|
||||||
|
|
||||||
# -- you can directly specify the config file here
|
# -- you can directly specify the config file here
|
||||||
config: "fdgdfsg"
|
config: "fdgdfsg"
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ workload:
|
|||||||
|
|
||||||
args:
|
args:
|
||||||
- --port
|
- --port
|
||||||
- '8080'
|
- "8080"
|
||||||
|
|
||||||
# -- The common chart supports several add-ons. These can be configured under this key.
|
# -- The common chart supports several add-ons. These can be configured under this key.
|
||||||
# @default -- See below
|
# @default -- See below
|
||||||
@@ -63,7 +63,6 @@ addons:
|
|||||||
env:
|
env:
|
||||||
something: UTC
|
something: UTC
|
||||||
|
|
||||||
|
|
||||||
# -- you can directly specify the config file here
|
# -- you can directly specify the config file here
|
||||||
config: "fdgdfsg"
|
config: "fdgdfsg"
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ workload:
|
|||||||
|
|
||||||
args:
|
args:
|
||||||
- --port
|
- --port
|
||||||
- '8080'
|
- "8080"
|
||||||
|
|
||||||
# -- The common chart supports several add-ons. These can be configured under this key.
|
# -- The common chart supports several add-ons. These can be configured under this key.
|
||||||
# @default -- See below
|
# @default -- See below
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ workload:
|
|||||||
|
|
||||||
args:
|
args:
|
||||||
- --port
|
- --port
|
||||||
- '8080'
|
- "8080"
|
||||||
|
|
||||||
# -- The common chart supports several add-ons. These can be configured under this key.
|
# -- The common chart supports several add-ons. These can be configured under this key.
|
||||||
# @default -- See below
|
# @default -- See below
|
||||||
@@ -55,7 +55,6 @@ addons:
|
|||||||
env:
|
env:
|
||||||
something: UTC
|
something: UTC
|
||||||
|
|
||||||
|
|
||||||
# -- you can directly specify the config file here
|
# -- you can directly specify the config file here
|
||||||
config: "fdgdfsg"
|
config: "fdgdfsg"
|
||||||
|
|
||||||
|
|||||||
@@ -322,7 +322,6 @@ tests:
|
|||||||
echo ""
|
echo ""
|
||||||
echo "Finished auto permissions job..."
|
echo "Finished auto permissions job..."
|
||||||
|
|
||||||
|
|
||||||
- it: should have different resources
|
- it: should have different resources
|
||||||
set:
|
set:
|
||||||
resources:
|
resources:
|
||||||
|
|||||||
@@ -33,8 +33,8 @@ tests:
|
|||||||
value:
|
value:
|
||||||
podCIDR: 172.16.0.0/16
|
podCIDR: 172.16.0.0/16
|
||||||
svcCIDR: 172.17.0.0/16
|
svcCIDR: 172.17.0.0/16
|
||||||
appUrl: http://127.0.0.1:12345
|
appUrl: http://127.0.0.1:12345
|
||||||
appUrlWithPortAndPath: http://127.0.0.1:12345/
|
appUrlWithPortAndPath: http://127.0.0.1:12345/
|
||||||
appHost: "127.0.0.1"
|
appHost: "127.0.0.1"
|
||||||
appPort: "12345"
|
appPort: "12345"
|
||||||
appPath: /
|
appPath: /
|
||||||
@@ -69,8 +69,8 @@ tests:
|
|||||||
value:
|
value:
|
||||||
podCIDR: 172.16.0.0/16
|
podCIDR: 172.16.0.0/16
|
||||||
svcCIDR: 172.17.0.0/16
|
svcCIDR: 172.17.0.0/16
|
||||||
appUrl: http://1.2.3.4:12345
|
appUrl: http://1.2.3.4:12345
|
||||||
appUrlWithPortAndPath: http://1.2.3.4:12345/
|
appUrlWithPortAndPath: http://1.2.3.4:12345/
|
||||||
appHost: "1.2.3.4"
|
appHost: "1.2.3.4"
|
||||||
appPort: "12345"
|
appPort: "12345"
|
||||||
appPath: /
|
appPath: /
|
||||||
@@ -116,8 +116,8 @@ tests:
|
|||||||
value:
|
value:
|
||||||
podCIDR: 172.16.0.0/16
|
podCIDR: 172.16.0.0/16
|
||||||
svcCIDR: 172.17.0.0/16
|
svcCIDR: 172.17.0.0/16
|
||||||
appUrl: https://example.com
|
appUrl: https://example.com
|
||||||
appUrlWithPortAndPath: https://example.com:443/some-path
|
appUrlWithPortAndPath: https://example.com:443/some-path
|
||||||
appHost: "example.com"
|
appHost: "example.com"
|
||||||
appPort: "443"
|
appPort: "443"
|
||||||
appPath: /some-path
|
appPath: /some-path
|
||||||
@@ -163,8 +163,8 @@ tests:
|
|||||||
value:
|
value:
|
||||||
podCIDR: 172.16.0.0/16
|
podCIDR: 172.16.0.0/16
|
||||||
svcCIDR: 172.17.0.0/16
|
svcCIDR: 172.17.0.0/16
|
||||||
appUrl: http://example.com
|
appUrl: http://example.com
|
||||||
appUrlWithPortAndPath: http://example.com:80/some-path
|
appUrlWithPortAndPath: http://example.com:80/some-path
|
||||||
appHost: "example.com"
|
appHost: "example.com"
|
||||||
appPort: "80"
|
appPort: "80"
|
||||||
appPath: /some-path
|
appPath: /some-path
|
||||||
@@ -214,8 +214,8 @@ tests:
|
|||||||
value:
|
value:
|
||||||
podCIDR: 172.16.0.0/16
|
podCIDR: 172.16.0.0/16
|
||||||
svcCIDR: 172.17.0.0/16
|
svcCIDR: 172.17.0.0/16
|
||||||
appUrl: https://example.com
|
appUrl: https://example.com
|
||||||
appUrlWithPortAndPath: https://example.com:443/some-path
|
appUrlWithPortAndPath: https://example.com:443/some-path
|
||||||
appHost: "example.com"
|
appHost: "example.com"
|
||||||
appPort: "443"
|
appPort: "443"
|
||||||
appPath: /some-path
|
appPath: /some-path
|
||||||
@@ -265,8 +265,8 @@ tests:
|
|||||||
value:
|
value:
|
||||||
podCIDR: 172.16.0.0/16
|
podCIDR: 172.16.0.0/16
|
||||||
svcCIDR: 172.17.0.0/16
|
svcCIDR: 172.17.0.0/16
|
||||||
appUrl: https://example.com
|
appUrl: https://example.com
|
||||||
appUrlWithPortAndPath: https://example.com:443/some-path
|
appUrlWithPortAndPath: https://example.com:443/some-path
|
||||||
appHost: "example.com"
|
appHost: "example.com"
|
||||||
appPort: "443"
|
appPort: "443"
|
||||||
appPath: /some-path
|
appPath: /some-path
|
||||||
@@ -315,8 +315,8 @@ tests:
|
|||||||
value:
|
value:
|
||||||
podCIDR: 172.16.0.0/16
|
podCIDR: 172.16.0.0/16
|
||||||
svcCIDR: 172.17.0.0/16
|
svcCIDR: 172.17.0.0/16
|
||||||
appUrl: https://example.com
|
appUrl: https://example.com
|
||||||
appUrlWithPortAndPath: https://example.com:443/some-path
|
appUrlWithPortAndPath: https://example.com:443/some-path
|
||||||
appHost: "example.com"
|
appHost: "example.com"
|
||||||
appPort: "443"
|
appPort: "443"
|
||||||
appPath: /some-path
|
appPath: /some-path
|
||||||
|
|||||||
@@ -260,7 +260,6 @@ tests:
|
|||||||
- failedTemplate:
|
- failedTemplate:
|
||||||
errorMessage: Container - Expected Secret [secret-other-name] defined in [envFrom] to exist
|
errorMessage: Container - Expected Secret [secret-other-name] defined in [envFrom] to exist
|
||||||
|
|
||||||
|
|
||||||
- it: it should fail empty expandObjectName
|
- it: it should fail empty expandObjectName
|
||||||
set:
|
set:
|
||||||
image: *image
|
image: *image
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ release:
|
|||||||
name: test-release-name
|
name: test-release-name
|
||||||
namespace: test-release-namespace
|
namespace: test-release-namespace
|
||||||
tests:
|
tests:
|
||||||
# Failures
|
# Failures
|
||||||
- it: should fail with dupe env in env and envList
|
- it: should fail with dupe env in env and envList
|
||||||
set:
|
set:
|
||||||
image: &image
|
image: &image
|
||||||
|
|||||||
@@ -139,4 +139,4 @@ tests:
|
|||||||
imageSelector: image
|
imageSelector: image
|
||||||
asserts:
|
asserts:
|
||||||
- failedTemplate:
|
- 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]
|
||||||
|
|||||||
@@ -38,8 +38,8 @@ tests:
|
|||||||
integrations: &integrations
|
integrations: &integrations
|
||||||
traefik:
|
traefik:
|
||||||
enabled: false
|
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
|
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
|
enabled: true
|
||||||
asserts:
|
asserts:
|
||||||
- failedTemplate:
|
- 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.
|
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.
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ release:
|
|||||||
name: test-release-name
|
name: test-release-name
|
||||||
namespace: test-release-namespace
|
namespace: test-release-namespace
|
||||||
tests:
|
tests:
|
||||||
# Failures
|
# Failures
|
||||||
- it: should fail with empty type on init container
|
- it: should fail with empty type on init container
|
||||||
set:
|
set:
|
||||||
image:
|
image:
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ tests:
|
|||||||
name: test-release-name-common-test-some-non-existent-object
|
name: test-release-name-common-test-some-non-existent-object
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
# Failures
|
# Failures
|
||||||
- it: should fail without objectName in configmap
|
- it: should fail without objectName in configmap
|
||||||
set:
|
set:
|
||||||
workload:
|
workload:
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ tests:
|
|||||||
path: /dev/nvme0n1
|
path: /dev/nvme0n1
|
||||||
type: BlockDevice
|
type: BlockDevice
|
||||||
|
|
||||||
# Failures
|
# Failures
|
||||||
- it: should fail without hostPath
|
- it: should fail without hostPath
|
||||||
set:
|
set:
|
||||||
workload:
|
workload:
|
||||||
|
|||||||
@@ -167,7 +167,7 @@ tests:
|
|||||||
medium: Memory
|
medium: Memory
|
||||||
sizeLimit: 1Gi
|
sizeLimit: 1Gi
|
||||||
|
|
||||||
# Failures
|
# Failures
|
||||||
- it: should fail with invalid medium in emptyDir
|
- it: should fail with invalid medium in emptyDir
|
||||||
set:
|
set:
|
||||||
workload:
|
workload:
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ tests:
|
|||||||
path: /some-path
|
path: /some-path
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
|
|
||||||
# Failures
|
# Failures
|
||||||
- it: should fail without hostPath
|
- it: should fail without hostPath
|
||||||
set:
|
set:
|
||||||
workload:
|
workload:
|
||||||
|
|||||||
@@ -204,7 +204,7 @@ tests:
|
|||||||
discovery.sendtargets.auth.username_in: some-usernameInitiator
|
discovery.sendtargets.auth.username_in: some-usernameInitiator
|
||||||
discovery.sendtargets.auth.password_in: some-passwordInitiator
|
discovery.sendtargets.auth.password_in: some-passwordInitiator
|
||||||
|
|
||||||
# Failures
|
# Failures
|
||||||
- it: should fail without iscsi object in iscsi volume
|
- it: should fail without iscsi object in iscsi volume
|
||||||
set:
|
set:
|
||||||
workload:
|
workload:
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ tests:
|
|||||||
path: /some-path
|
path: /some-path
|
||||||
server: some-server
|
server: some-server
|
||||||
|
|
||||||
# Failures
|
# Failures
|
||||||
- it: should fail without path in nfs
|
- it: should fail without path in nfs
|
||||||
set:
|
set:
|
||||||
workload:
|
workload:
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ tests:
|
|||||||
secretName: test-release-name-common-test-some-non-existent-object
|
secretName: test-release-name-common-test-some-non-existent-object
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
# Failures
|
# Failures
|
||||||
- it: should fail without objectName in secret
|
- it: should fail without objectName in secret
|
||||||
set:
|
set:
|
||||||
workload:
|
workload:
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ tests:
|
|||||||
- it: should fail with name longer than 63 characters
|
- it: should fail with name longer than 63 characters
|
||||||
set:
|
set:
|
||||||
podDisruptionBudget:
|
podDisruptionBudget:
|
||||||
? my-poddisruptionbudget-super-long-name-that-is-longer-than-63-characters
|
my-poddisruptionbudget-super-long-name-that-is-longer-than-63-characters:
|
||||||
: enabled: true
|
enabled: true
|
||||||
asserts:
|
asserts:
|
||||||
- failedTemplate:
|
- 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.
|
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.
|
||||||
|
|||||||
@@ -94,8 +94,8 @@ tests:
|
|||||||
path: description
|
path: description
|
||||||
value: test description
|
value: test description
|
||||||
|
|
||||||
# - it:
|
# - it:
|
||||||
# Failures
|
# Failures
|
||||||
- it: should fail with invalid preemptionPolicy
|
- it: should fail with invalid preemptionPolicy
|
||||||
set:
|
set:
|
||||||
priorityClass:
|
priorityClass:
|
||||||
|
|||||||
@@ -40,7 +40,6 @@ tests:
|
|||||||
path: type
|
path: type
|
||||||
value: SomeCustomType
|
value: SomeCustomType
|
||||||
|
|
||||||
|
|
||||||
- it: should pass with key-value data from tpl
|
- it: should pass with key-value data from tpl
|
||||||
set:
|
set:
|
||||||
data: bar
|
data: bar
|
||||||
|
|||||||
@@ -41,10 +41,10 @@ tests:
|
|||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
publishNotReadyAddresses: false
|
publishNotReadyAddresses: false
|
||||||
ports:
|
ports:
|
||||||
- name: port-name
|
- name: port-name
|
||||||
port: 12345
|
port: 12345
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 12345
|
targetPort: 12345
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/instance: test-release-name
|
app.kubernetes.io/instance: test-release-name
|
||||||
app.kubernetes.io/name: common-test
|
app.kubernetes.io/name: common-test
|
||||||
@@ -115,14 +115,14 @@ tests:
|
|||||||
clientIP:
|
clientIP:
|
||||||
timeoutSeconds: 100
|
timeoutSeconds: 100
|
||||||
ports:
|
ports:
|
||||||
- name: port-name
|
- name: port-name
|
||||||
port: 12345
|
port: 12345
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 12345
|
targetPort: 12345
|
||||||
- name: port-name2
|
- name: port-name2
|
||||||
port: 12344
|
port: 12344
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 12346
|
targetPort: 12346
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/instance: test-release-name
|
app.kubernetes.io/instance: test-release-name
|
||||||
app.kubernetes.io/name: common-test
|
app.kubernetes.io/name: common-test
|
||||||
|
|||||||
@@ -37,10 +37,10 @@ tests:
|
|||||||
externalName: my-external-name
|
externalName: my-external-name
|
||||||
publishNotReadyAddresses: false
|
publishNotReadyAddresses: false
|
||||||
ports:
|
ports:
|
||||||
- name: port-name
|
- name: port-name
|
||||||
port: 12345
|
port: 12345
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 12345
|
targetPort: 12345
|
||||||
|
|
||||||
- it: should pass with type externalName, without ports
|
- it: should pass with type externalName, without ports
|
||||||
set:
|
set:
|
||||||
@@ -124,11 +124,11 @@ tests:
|
|||||||
clientIP:
|
clientIP:
|
||||||
timeoutSeconds: 100
|
timeoutSeconds: 100
|
||||||
ports:
|
ports:
|
||||||
- name: port-name
|
- name: port-name
|
||||||
port: 12345
|
port: 12345
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 12345
|
targetPort: 12345
|
||||||
- name: port-name2
|
- name: port-name2
|
||||||
port: 12344
|
port: 12344
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 12346
|
targetPort: 12346
|
||||||
|
|||||||
@@ -45,10 +45,10 @@ tests:
|
|||||||
allocateLoadBalancerNodePorts: false
|
allocateLoadBalancerNodePorts: false
|
||||||
publishNotReadyAddresses: false
|
publishNotReadyAddresses: false
|
||||||
ports:
|
ports:
|
||||||
- name: port-name
|
- name: port-name
|
||||||
port: 12345
|
port: 12345
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 12345
|
targetPort: 12345
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/instance: test-release-name
|
app.kubernetes.io/instance: test-release-name
|
||||||
app.kubernetes.io/name: common-test
|
app.kubernetes.io/name: common-test
|
||||||
@@ -137,14 +137,14 @@ tests:
|
|||||||
clientIP:
|
clientIP:
|
||||||
timeoutSeconds: 100
|
timeoutSeconds: 100
|
||||||
ports:
|
ports:
|
||||||
- name: port-name
|
- name: port-name
|
||||||
port: 12345
|
port: 12345
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 12345
|
targetPort: 12345
|
||||||
- name: port-name2
|
- name: port-name2
|
||||||
port: 12344
|
port: 12344
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 12346
|
targetPort: 12346
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/instance: test-release-name
|
app.kubernetes.io/instance: test-release-name
|
||||||
app.kubernetes.io/name: common-test
|
app.kubernetes.io/name: common-test
|
||||||
|
|||||||
@@ -42,11 +42,11 @@ tests:
|
|||||||
type: NodePort
|
type: NodePort
|
||||||
publishNotReadyAddresses: false
|
publishNotReadyAddresses: false
|
||||||
ports:
|
ports:
|
||||||
- name: port-name
|
- name: port-name
|
||||||
port: 12345
|
port: 12345
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 12345
|
targetPort: 12345
|
||||||
nodePort: 30000
|
nodePort: 30000
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/instance: test-release-name
|
app.kubernetes.io/instance: test-release-name
|
||||||
app.kubernetes.io/name: common-test
|
app.kubernetes.io/name: common-test
|
||||||
@@ -90,10 +90,10 @@ tests:
|
|||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
publishNotReadyAddresses: false
|
publishNotReadyAddresses: false
|
||||||
ports:
|
ports:
|
||||||
- name: port-name
|
- name: port-name
|
||||||
port: 12345
|
port: 12345
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 12345
|
targetPort: 12345
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/instance: test-release-name
|
app.kubernetes.io/instance: test-release-name
|
||||||
app.kubernetes.io/name: common-test
|
app.kubernetes.io/name: common-test
|
||||||
@@ -172,16 +172,16 @@ tests:
|
|||||||
clientIP:
|
clientIP:
|
||||||
timeoutSeconds: 100
|
timeoutSeconds: 100
|
||||||
ports:
|
ports:
|
||||||
- name: port-name
|
- name: port-name
|
||||||
port: 12345
|
port: 12345
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 12345
|
targetPort: 12345
|
||||||
nodePort: 30000
|
nodePort: 30000
|
||||||
- name: port-name2
|
- name: port-name2
|
||||||
port: 12344
|
port: 12344
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: 12346
|
targetPort: 12346
|
||||||
nodePort: 30001
|
nodePort: 30001
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/instance: test-release-name
|
app.kubernetes.io/instance: test-release-name
|
||||||
app.kubernetes.io/name: common-test
|
app.kubernetes.io/name: common-test
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ service:
|
|||||||
ports:
|
ports:
|
||||||
main:
|
main:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
# The above just disables the "main" objects,
|
# The above just disables the "main" objects,
|
||||||
# every other config is stays as it is set in common's values.yaml.
|
# every other config is stays as it is set in common's values.yaml.
|
||||||
# Tests need to use a different name, other than `main`,
|
# Tests need to use a different name, other than `main`,
|
||||||
|
|||||||
@@ -14,10 +14,19 @@
|
|||||||
*.swp
|
*.swp
|
||||||
*.bak
|
*.bak
|
||||||
*.tmp
|
*.tmp
|
||||||
*.orig
|
|
||||||
*~
|
*~
|
||||||
# Various IDEs
|
# Various IDEs
|
||||||
.project
|
.project
|
||||||
.idea/
|
.idea/
|
||||||
*.tmproj
|
*.tmproj
|
||||||
.vscode/
|
.vscode/
|
||||||
|
# OWNERS file for Kubernetes
|
||||||
|
OWNERS
|
||||||
|
# helm-docs templates
|
||||||
|
*.gotmpl
|
||||||
|
# docs folder
|
||||||
|
/docs
|
||||||
|
# icon
|
||||||
|
icon.png
|
||||||
|
icon.webp
|
||||||
|
icon-small.webp
|
||||||
|
|||||||
@@ -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
|
apiVersion: v2
|
||||||
appVersion: "latest"
|
appVersion: 1.10.3
|
||||||
|
dependencies: []
|
||||||
|
deprecated: false
|
||||||
description: Function library for TrueCharts
|
description: Function library for TrueCharts
|
||||||
home: https://github.com/truecharts/apps/tree/master/charts/common
|
home: https://truecharts.org/charts/library/common
|
||||||
icon: https://avatars.githubusercontent.com/u/76400755
|
icon: https://truecharts.org/img/hotlink-ok/chart-icons/common.webp
|
||||||
keywords:
|
keywords:
|
||||||
- truecharts
|
- truecharts
|
||||||
- library-chart
|
- library-chart
|
||||||
- common
|
- common
|
||||||
kubeVersion: ">=1.24.0-0"
|
kubeVersion: '>=1.24.0-0'
|
||||||
maintainers:
|
maintainers:
|
||||||
- email: info@truecharts.org
|
- name: TrueCharts
|
||||||
name: TrueCharts
|
email: info@truecharts.org
|
||||||
url: https://truecharts.org
|
url: https://truecharts.org
|
||||||
name: common
|
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
|
type: library
|
||||||
version: 25.0.0
|
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
|
|
||||||
|
|||||||
@@ -1,22 +1,61 @@
|
|||||||
# Common Library
|
---
|
||||||
|
title: README
|
||||||
|
---
|
||||||
|
|
||||||
## Naming Scheme
|
## General Info
|
||||||
|
|
||||||
- ServiceAccount:
|
TrueCharts can be installed as both _normal_ Helm Charts or as TrueNAS SCALE Apps.
|
||||||
- Primary: `$FullName`
|
Both solutions are fully supported, but we heavily advice the use of normal Helm Charts where possible
|
||||||
- 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`
|
|
||||||
|
|
||||||
> Full name -> `$ReleaseName-$ChartName`
|
For more information about this Chart, please check the docs on the TrueCharts [website](https://truecharts.org/charts/library/common)
|
||||||
> Any name that exceeds 63 characters, will throw an error
|
|
||||||
|
**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_
|
||||||
|
|||||||
@@ -224,7 +224,8 @@ service:
|
|||||||
primary: true
|
primary: true
|
||||||
protocol: http
|
protocol: http
|
||||||
|
|
||||||
credentials: {}
|
credentials:
|
||||||
|
{}
|
||||||
# mys3:
|
# mys3:
|
||||||
# type: s3
|
# type: s3
|
||||||
# url: ""
|
# url: ""
|
||||||
|
|||||||
@@ -31,6 +31,6 @@ name: tagspaces
|
|||||||
sources:
|
sources:
|
||||||
- https://github.com/tagspaces/tagspaces
|
- https://github.com/tagspaces/tagspaces
|
||||||
- https://github.com/truecharts/charts/tree/master/charts/stable/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
|
type: application
|
||||||
version: 6.0.0
|
version: 6.0.0
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ annotations:
|
|||||||
truecharts.org/min_helm_version: "3.11"
|
truecharts.org/min_helm_version: "3.11"
|
||||||
truecharts.org/train: stable
|
truecharts.org/train: stable
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 4.3.2
|
appVersion: 2024.10.01
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
version: 25.0.0
|
version: 25.0.0
|
||||||
|
|||||||
Reference in New Issue
Block a user