Skip to content

Commit

Permalink
create releases (#38)
Browse files Browse the repository at this point in the history
* feat(gotenberg): VPA and PDB (#35)

* Add affinity support for Thumbor (#37)

Co-authored-by: Andrew Shagun <[email protected]>

Co-authored-by: Zhelyan <[email protected]>
Co-authored-by: Andrei Shahun <[email protected]>
Co-authored-by: Andrew Shagun <[email protected]>
  • Loading branch information
4 people authored Nov 2, 2021
1 parent 2d98772 commit d0d3a55
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/thumbor/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: thumbor
icon: https://camo.githubusercontent.com/8add159463b5ef31481d1e0cc9fb590cd662fe62/68747470733a2f2f73332e65752d776573742d322e616d617a6f6e6177732e636f6d2f6d696e696d616c2d636f6d706163742f696d616765732f6d632d7468756d626f722e706e67
version: 1.0.29
version: 1.0.30
appVersion: "6.7.5"
description: A chart containing Thumbor
home: http://thumbor.org/
Expand Down
1 change: 1 addition & 0 deletions charts/thumbor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,4 @@ NAME: my-release
| resources.requests.memory | string | `"512Mi"` | |
| service.name | string | `"thumbor"` | |
| service.type | string | `"ClusterIP"` | |
| affinity | dictionary | `{}` | Affinity for pod assignment |
4 changes: 4 additions & 0 deletions charts/thumbor/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ spec:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
spec:
{{- if .Values.affinity }}
affinity:
{{- toYaml .Values.affinity | nindent 8 }}
{{- end }}
volumes:
- name: {{ template "thumbor.fullname" . }}-storage
{{- if .Values.persistence.enabled }}
Expand Down
12 changes: 12 additions & 0 deletions charts/thumbor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,15 @@ autoscaling:
minReplicas: 1
maxReplicas: 1
targetCPUUtilizationPercentage: 80

# affinity example:
#
#affinity:
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: node-type
# operator: In
# values:
# - thumbor

0 comments on commit d0d3a55

Please sign in to comment.