mirror of
https://github.com/bitnami/charts.git
synced 2026-08-09 12:55:41 +08:00
* [bitnami/neo4j] Add chart Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Add support for readOnlyRootFilesystem, use development image Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Remove serviceMonitor Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Add VIB tests and image improvements Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Add neo4j host Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Update chart Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Fix values metadata Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Update CHANGELOG.md Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> * Fix test inputs Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Add TLS support Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Change readiness Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Update README metadata Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> * Update test service ports Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Add goss https test Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Fix goss vars file Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Update dev image Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Update CHANGELOG.md Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> * Increase timeout Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Change bolt port Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Use bitnami/neo4j:5.20.0-debian-12-r2 Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Modify TLS secrets Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Update CHANGELOG.md Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> * Add ingress-tls-secret.yaml Signed-off-by: Miguel Ruiz <miruiz@vmware.com> --------- Signed-off-by: Miguel Ruiz <miruiz@vmware.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
45 lines
1.7 KiB
YAML
45 lines
1.7 KiB
YAML
{{- /*
|
|
Copyright Broadcom, Inc. All Rights Reserved.
|
|
SPDX-License-Identifier: APACHE-2.0
|
|
*/}}
|
|
|
|
{{- if and (.Capabilities.APIVersions.Has "autoscaling.k8s.io/v1/VerticalPodAutoscaler") .Values.autoscaling.vpa.enabled }}
|
|
apiVersion: autoscaling.k8s.io/v1
|
|
kind: VerticalPodAutoscaler
|
|
metadata:
|
|
name: {{ include "common.names.fullname" . }}
|
|
namespace: {{ include "common.names.namespace" . | quote }}
|
|
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
app.kubernetes.io/component: neo4j
|
|
{{- if or .Values.autoscaling.vpa.annotations .Values.commonAnnotations }}
|
|
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.autoscaling.vpa.annotations .Values.commonAnnotations ) "context" . ) }}
|
|
annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
resourcePolicy:
|
|
containerPolicies:
|
|
- containerName:
|
|
{{- with .Values.autoscaling.vpa.controlledResources }}
|
|
controlledResources:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
{{- with .Values.autoscaling.vpa.maxAllowed }}
|
|
maxAllowed:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
{{- with .Values.autoscaling.vpa.minAllowed }}
|
|
minAllowed:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
targetRef:
|
|
apiVersion: {{ include "common.capabilities.deployment.apiVersion" . }}
|
|
kind: Deployment
|
|
name: {{ include "common.names.fullname" . }}
|
|
{{- if .Values.autoscaling.vpa.updatePolicy }}
|
|
updatePolicy:
|
|
{{- with .Values.autoscaling.vpa.updatePolicy.updateMode }}
|
|
updateMode: {{ . }}
|
|
{{- end }}
|
|
{{- end }}
|
|
{{- end }}
|