mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
* Add Argo CD server Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add Argo CD application controller Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add Argo CD repo server component Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add Dex component Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Fix linter errors Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Change staticasset paths and remove https port from server Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add README.md and NOTES.txt * Skip the admin password change by creating it automatically Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Remove unneeded comments Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Wait for redis to avoid tokens sync errors Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add Dex validations and instructions Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add readme generator metadata Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Fix linter errors Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Address sugestions Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add Redis image section to the values.yaml file Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Use empty default dex.config Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add trailing space Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Delete additional applications Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add http prefix to metrics ports Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Remove additionalProjects and add selfSigned to ingress values Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Execute readme-generator again Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Remove option to deploy as statefulset Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Use xxx.containerPorts instead of xxx.ports Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Do not edit files from other charts * Fix wrong template name Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * Add validation and render server configuration from string Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com> * conver to warning the config validation Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>
35 lines
1.4 KiB
YAML
35 lines
1.4 KiB
YAML
{{- if .Values.repoServer.autoscaling.enabled }}
|
|
apiVersion: autoscaling/v2beta1
|
|
kind: HorizontalPodAutoscaler
|
|
metadata:
|
|
name: {{ include "argocd.repo-server" . }}
|
|
namespace: {{ .Release.Namespace | quote }}
|
|
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
|
app.kubernetes.io/component: repo-server
|
|
{{- if .Values.commonLabels }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.commonAnnotations }}
|
|
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
scaleTargetRef:
|
|
apiVersion: {{ include "common.capabilities.deployment.apiVersion" . }}
|
|
kind: Deployment
|
|
name: {{ include "argocd.repo-server" . }}
|
|
minReplicas: {{ .Values.repoServer.autoscaling.minReplicas }}
|
|
maxReplicas: {{ .Values.repoServer.autoscaling.maxReplicas }}
|
|
metrics:
|
|
{{- if .Values.repoServer.autoscaling.targetCPU }}
|
|
- type: Resource
|
|
resource:
|
|
name: cpu
|
|
targetAverageUtilization: {{ .Values.repoServer.autoscaling.targetCPU }}
|
|
{{- end }}
|
|
{{- if .Values.repoServer.autoscaling.targetMemory }}
|
|
- type: Resource
|
|
resource:
|
|
name: memory
|
|
targetAverageUtilization: {{ .Values.repoServer.autoscaling.targetMemory }}
|
|
{{- end }}
|
|
{{- end }} |