<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes - **New Features** - Enhanced support for PostgreSQL and OpenID Connect (OIDC) authentication in the Helm chart. - Introduced a new template for managing external secrets and a dedicated service for metrics. - Added Horizontal Pod Autoscaler (HPA) and Pod Disruption Budget (PDB) configurations. - New configuration options for custom Certificate Authority (CA) certificates. - **Improvements** - Updated application version and dependencies for better organization and readability. - Expanded configuration options for Redis, MongoDB, and PostgreSQL, allowing for improved customization. - Enhanced deployment configuration with dynamic scaling capabilities. - **Bug Fixes** - Improved error handling for configuration misalignments to prevent runtime issues. - **Documentation** - Updated README and values.yaml to reflect new configuration parameters and options. <!-- end of auto-generated comment: release notes by coderabbit.ai --> <!-- This is an auto-generated comment: Cypress test results --> > [!WARNING] > Tests have not run on the HEAD 0e76b6af34501ed646ea840af22786b33426c9fe yet > <hr>Tue, 31 Dec 2024 12:31:29 UTC <!-- end of auto-generated comment: Cypress test results -->
29 lines
829 B
YAML
29 lines
829 B
YAML
{{- if .Values.keda.enabled -}}
|
|
apiVersion: keda.sh/v1alpha1
|
|
kind: ScaledObject
|
|
metadata:
|
|
name: {{ include "appsmith.fullname" . }}
|
|
namespace: {{ include "appsmith.namespace" . }}
|
|
labels:
|
|
{{- include "appsmith.labels" . | nindent 4 }}
|
|
spec:
|
|
scaleTargetRef:
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
name: {{ include "appsmith.fullname" . }}
|
|
pollingInterval: {{ .Values.keda.pollingInterval }}
|
|
cooldownPeriod: {{ .Values.keda.cooldownPeriod }}
|
|
minReplicaCount: {{ .Values.keda.minReplicaCount }}
|
|
maxReplicaCount: {{ .Values.keda.maxReplicaCount }}
|
|
{{- with .Values.keda.fallback }}
|
|
fallback:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
triggers:
|
|
{{- range $v := .Values.keda.triggers }}
|
|
- type: {{ $v.type }}
|
|
metadata:
|
|
{{- toYaml $v.metadata | nindent 6 }}
|
|
{{- end }}
|
|
{{- end -}}
|