diff --git a/couchdb/Chart.yaml b/couchdb/Chart.yaml index fbe0bfe..e369a78 100644 --- a/couchdb/Chart.yaml +++ b/couchdb/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: couchdb -version: 4.5.6 +version: 4.6.0 appVersion: 3.3.3 description: A database featuring seamless multi-master sync, that scales from big data to mobile, with an intuitive HTTP/JSON API and designed for diff --git a/couchdb/templates/statefulset.yaml b/couchdb/templates/statefulset.yaml index 5686f1c..fb9d7b2 100644 --- a/couchdb/templates/statefulset.yaml +++ b/couchdb/templates/statefulset.yaml @@ -210,6 +210,9 @@ spec: {{- with .Values.topologySpreadConstraints }} topologySpreadConstraints: {{ toYaml . | indent 8 }} +{{- end }} +{{- with .Values.priorityClassName }} + priorityClassName: {{ . | quote }} {{- end }} volumes: - name: config-storage diff --git a/couchdb/values.yaml b/couchdb/values.yaml index 586dc54..14da9e6 100644 --- a/couchdb/values.yaml +++ b/couchdb/values.yaml @@ -294,3 +294,6 @@ placementConfig: image: repository: caligrafix/couchdb-autoscaler-placement-manager tag: 0.1.0 + +# Optional priority class to be used for CouchDB pods +priorityClassName: "" \ No newline at end of file