diff --git a/charts/sdc/.helmignore b/charts/sdc/.helmignore deleted file mode 100644 index 0e8a0eb..0000000 --- a/charts/sdc/.helmignore +++ /dev/null @@ -1,23 +0,0 @@ -# Patterns to ignore when building packages. -# This supports shell glob matching, relative path matching, and -# negation (prefixed with !). Only one pattern per line. -.DS_Store -# Common VCS dirs -.git/ -.gitignore -.bzr/ -.bzrignore -.hg/ -.hgignore -.svn/ -# Common backup files -*.swp -*.bak -*.tmp -*.orig -*~ -# Various IDEs -.project -.idea/ -*.tmproj -.vscode/ diff --git a/charts/sdc/Chart.yaml b/charts/sdc/Chart.yaml index 27172d2..e517f06 100644 --- a/charts/sdc/Chart.yaml +++ b/charts/sdc/Chart.yaml @@ -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 diff --git a/charts/sdc/README.md b/charts/sdc/README.md index a25d5e2..e440a21 100644 --- a/charts/sdc/README.md +++ b/charts/sdc/README.md @@ -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 diff --git a/charts/sdc/templates/hpa.yaml b/charts/sdc/templates/hpa.yaml index 22ae57b..20a9ed7 100644 --- a/charts/sdc/templates/hpa.yaml +++ b/charts/sdc/templates/hpa.yaml @@ -1,5 +1,5 @@ {{- if .Values.autoscaling.enabled }} -apiVersion: autoscaling/v2beta1 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: {{ include "agent.fullname" . }} @@ -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 }} diff --git a/charts/sdc/values.yaml b/charts/sdc/values.yaml index f091c50..a7c3448 100644 --- a/charts/sdc/values.yaml +++ b/charts/sdc/values.yaml @@ -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 @@ -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