mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/testlink] Implement again "Standardize 'fullname' and 'name' macros" (#15648)
This reverts commit 16e34fe06a.
Implement #15421 bumping a major version after #15602
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
e554cfb6da
commit
708b091893
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: testlink
|
||||
version: 4.4.5
|
||||
version: 5.0.0
|
||||
appVersion: 1.9.19
|
||||
description: Web-based test management system that facilitates software quality assurance.
|
||||
icon: https://bitnami.com/assets/stacks/testlink/img/testlink-stack-220x234.png
|
||||
|
||||
@@ -56,6 +56,8 @@ The following table lists the configurable parameters of the TestLink chart and
|
||||
| `image.tag` | TestLink image tag | `{TAG_NAME}` |
|
||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||
| `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
|
||||
| `nameOverride` | String to partially override testlink.fullname template with a string (will prepend the release name) | `nil` |
|
||||
| `fullnameOverride` | String to fully override testlink.fullname template with a string | `nil` |
|
||||
| `testlinkUsername` | Admin username | `user` |
|
||||
| `testlinkPassword` | Admin user password | _random 10 character long alphanumeric string_ |
|
||||
| `testlinkEmail` | Admin user email | `user@example.com` |
|
||||
|
||||
@@ -11,9 +11,17 @@ 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).
|
||||
*/}}
|
||||
{{- define "testlink.fullname" -}}
|
||||
{{- if .Values.fullnameOverride -}}
|
||||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
||||
{{- else -}}
|
||||
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
||||
{{- if contains $name .Release.Name -}}
|
||||
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
|
||||
{{- else -}}
|
||||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create chart name and version as used by the chart label.
|
||||
|
||||
@@ -26,6 +26,13 @@ image:
|
||||
# pullSecrets:
|
||||
# - myRegistryKeySecretName
|
||||
|
||||
## String to partially override testlink.fullname template (will maintain the release name)
|
||||
##
|
||||
# nameOverride:
|
||||
|
||||
## String to fully override testlink.fullname template
|
||||
##
|
||||
# fullnameOverride:
|
||||
|
||||
## List of nodeSelectors to limit where testlink can run
|
||||
## i.e
|
||||
|
||||
Reference in New Issue
Block a user