Revert "[stable/osclass] Standardize 'fullname' and 'name' macros (#15433)" (#15618)

This reverts commit 19f9e1c6dd.

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
This commit is contained in:
Carlos Rodríguez Hernández
2019-07-17 06:32:47 -07:00
committed by Kubernetes Prow Robot
parent cac2468fe5
commit ab477db246
4 changed files with 1 additions and 20 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: osclass
version: 4.4.4
version: 4.4.5
appVersion: 3.7.4
description: Osclass is a php script that allows you to quickly create and manage
your own free classifieds site.
-2
View File
@@ -56,8 +56,6 @@ The following table lists the configurable parameters of the Osclass chart and t
| `image.tag` | Osclass 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 osclass.fullname template with a string (will prepend the release name) | `nil` |
| `fullnameOverride` | String to fully override osclass.fullname template with a string | `nil` |
| `osclassHost` | Osclass host to create application URLs | `nil` |
| `osclassLoadBalancerIP` | `loadBalancerIP` for the Osclass Service | `nil` |
| `osclassUsername` | User of the application | `user` |
-9
View File
@@ -11,18 +11,9 @@ 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 "osclass.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 a default fully qualified app name.
-8
View File
@@ -26,14 +26,6 @@ image:
# pullSecrets:
# - myRegistryKeySecretName
## String to partially override osclass.fullname template (will maintain the release name)
##
# nameOverride:
## String to fully override osclass.fullname template
##
# fullnameOverride:
## Osclass host to create application URLs
## ref: https://github.com/bitnami/bitnami-docker-osclass#configuration
##