Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions charts/sdc/.helmignore

This file was deleted.

4 changes: 2 additions & 2 deletions charts/sdc/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.2.1
version: 1.2.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.2.1"
appVersion: "1.2.2"

maintainers:
- name: pgodey
Expand Down
5 changes: 4 additions & 1 deletion charts/sdc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@ Additionally CERT-MANAGER, POSTGRES and PGADMIN can also be deployed as dependen
- cert-manager adds certificates and certificate issuers as resource types in Kubernetes clusters, and simplifies the process of obtaining, renewing and using those certificates.
- It will ensure certificates are valid and up to date, and attempt to renew certificates at a configured time before expiry.

3. Posgresql
3. PostgreSQL

- PostgreSQL, also known as Postgres, is a free and open-source relational database management system emphasizing extensibility and SQL compliance
- **Chart Version:** 12.1.3 (Bitnami PostgreSQL Helm chart)
- **Image:** radiantone/postgresql:15.1.0-debian-11-r7
- **PostgreSQL Version:** 15.1.0

4. PGAdmin

Expand Down
10 changes: 7 additions & 3 deletions charts/sdc/templates/hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "agent.fullname" . }}
Expand All @@ -17,12 +17,16 @@ spec:
- type: Resource
resource:
name: cpu
targetAverageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
target:
type: Utilization
averageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
{{- end }}
{{- if .Values.autoscaling.targetMemoryUtilizationPercentage }}
- type: Resource
resource:
name: memory
targetAverageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
target:
type: Utilization
averageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
{{- end }}
{{- end }}
12 changes: 8 additions & 4 deletions charts/sdc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,13 @@ resources: {}
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# Recommended values for production:
# limits:
# cpu: 100m
# memory: 128Mi
# cpu: 500m
# memory: 1Gi
# requests:
# cpu: 100m
# memory: 128Mi
# cpu: 250m
# memory: 512Mi

autoscaling:
enabled: false
Expand Down Expand Up @@ -207,6 +208,9 @@ cert-manager:
postgresql:
enabled: false
fullnameOverride: postgresql
image:
repository: radiantone/postgresql
tag: 15.1.0-debian-11-r7
primary:
nodeSelector: {}
# tenantname: xxxx
Expand Down
Loading