mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
[bitnami/parse] Parse standarization (#9867)
* Parse standarization Signed-off-by: Fran Mulero <fmulero@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * Apply suggestions Signed-off-by: Fran Mulero <fmulero@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * Change dependencies with mongodb Signed-off-by: Fran Mulero <fmulero@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * Update dependencies Signed-off-by: Fran Mulero <fmulero@vmware.com> * Amend typo Signed-off-by: Fran Mulero <fmulero@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * Remove quotes Signed-off-by: Fran Mulero <fmulero@vmware.com> * Amend service definition and add vib verify Signed-off-by: Fran Mulero <fmulero@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * Amend vib tests Signed-off-by: Fran Mulero <fmulero@vmware.com> * Amend documentation Signed-off-by: Fran Mulero <fmulero@vmware.com> * Amend server.service.ports.http Signed-off-by: Fran Mulero <fmulero@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * [bitnami/parse] Update components versions Signed-off-by: Bitnami Containers <containers@bitnami.com> Co-authored-by: Bitnami Containers <containers@bitnami.com> Co-authored-by: Miguel Ruiz <miruiz@vmware.com>
This commit is contained in:
@@ -28,6 +28,17 @@ Return the proper Docker Image Registry Secret Names
|
||||
{{- include "common.images.pullSecrets" (dict "images" (list .Values.server.image .Values.dashboard.image .Values.volumePermissions.image) "global" .Values.global) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create the name of the service account to use
|
||||
*/}}
|
||||
{{- define "parse.serviceAccountName" -}}
|
||||
{{- if .Values.serviceAccount.create -}}
|
||||
{{ default (printf "%s-server" (include "common.names.fullname" .)) .Values.serviceAccount.name }}
|
||||
{{- else -}}
|
||||
{{ default "default" .Values.serviceAccount.name }}
|
||||
{{- end -}}
|
||||
{{- 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).
|
||||
@@ -45,10 +56,10 @@ Get the user defined LoadBalancerIP for this release.
|
||||
Note, returns 127.0.0.1 if using ClusterIP.
|
||||
*/}}
|
||||
{{- define "parse.serviceIP" -}}
|
||||
{{- if eq .Values.service.type "ClusterIP" -}}
|
||||
{{- if eq .Values.dashboard.service.type "ClusterIP" -}}
|
||||
127.0.0.1
|
||||
{{- else -}}
|
||||
{{- default "" .Values.service.loadBalancerIP -}}
|
||||
{{- default "" .Values.dashboard.service.loadBalancerIP -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -73,7 +84,7 @@ but Helm 2.9 and 2.10 does not support it, so we need to implement this if-else
|
||||
|
||||
{{/*
|
||||
Gets the port to access Parse outside the cluster.
|
||||
When using ingress, we should use the port 80/443 instead of service.port
|
||||
When using ingress, we should use the port 80/443 instead of service.ports.http
|
||||
*/}}
|
||||
{{- define "parse.external-port" -}}
|
||||
{{/*
|
||||
@@ -89,7 +100,7 @@ but Helm 2.9 and 2.10 does not support it, so we need to implement this if-else
|
||||
{{- $ingressHttpPort -}}
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
{{ .Values.server.port }}
|
||||
{{ .Values.server.containerPorts.http }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user