Skip to content

Commit

Permalink
feat: update pgcat chart.
Browse files Browse the repository at this point in the history
release version 0.3.0.
  • Loading branch information
dellnoantechnp committed Dec 10, 2024
1 parent 7dae460 commit 57ea91c
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
3 changes: 2 additions & 1 deletion charts/pgcat/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ dependencies:
- bitnami-common
version: 2.x.x
name: pgcat
version: 0.2.11
version: 0.3.0
kubeVersion: ">=1.26.0"
4 changes: 4 additions & 0 deletions charts/pgcat/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ spec:
serviceAccountName: {{ include "pgcat.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- .Values.topologySpreadConstraints | toYaml | nindent 6 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
securityContext:
Expand Down
18 changes: 18 additions & 0 deletions charts/pgcat/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,24 @@ tolerations: []
##
affinity: {}

## You can define one or multiple topologySpreadConstraints entries to instruct the kube-scheduler
## how to place each incoming Pod in relation to the existing Pods across your cluster.
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#topologyspreadconstraints-field
##
## @topologySpreadConstraints
# topologySpreadConstraints:
# - maxSkew: 1
# topologyKey: kubernetes.io/hostname
# whenUnsatisfiable: [ScheduleAnyway|DoNotSchedule]
# labelSelector:
# matchLabels:
# app.kubernetes.io/instance: my-pgcat
# matchLabelKeys: <list> # optional; beta since v1.27
# nodeAffinityPolicy: [Honor|Ignore] # optional; beta since v1.26
# nodeTaintsPolicy: [Honor|Ignore] # optional; beta since v1.26
topologySpreadConstraints: {}


## PgCat configuration
## @param configuration [object]
configuration:
Expand Down

0 comments on commit 57ea91c

Please sign in to comment.