File tree Expand file tree Collapse file tree
charts/sophora-image-access-service Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ type: application
1515# This is the chart version. This version number should be incremented each time you make changes
1616# to the chart and its templates, including the app version.
1717# Versions are expected to follow Semantic Versioning (https://semver.org/)
18- version : 1.5 .0
18+ version : 1.6 .0
1919annotations :
2020 artifacthub.io/changes : |
2121 - kind: added
22- description: "Added HTTPRoute support for Gateway API. "
22+ description: "Added affinity "
2323
2424# This is the version number of the application being deployed. This version number should be
2525# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change 2323 imagePullSecrets :
2424 {{- toYaml . | nindent 8 }}
2525 {{- end }}
26+ affinity : {{- toYaml .Values.affinity | nindent 8 }}
2627 serviceAccountName : {{ include "access-service.serviceAccountName" . }}
2728 containers :
2829 - name : image-access-service
Original file line number Diff line number Diff line change @@ -77,3 +77,13 @@ extraDeploy:
7777 spec :
7878 data : foo
7979
80+ affinity :
81+ podAntiAffinity :
82+ requiredDuringSchedulingIgnoredDuringExecution :
83+ - labelSelector :
84+ matchExpressions :
85+ - key : app.kubernetes.io/instance
86+ operator : In
87+ values :
88+ - " {{ .Release.Name }}"
89+ topologyKey : " kubernetes.io/hostname"
Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ serviceMonitor:
6363 interval : 10s
6464 path : /actuator/prometheus
6565
66+ affinity : {}
67+
6668ingress :
6769 enabled : false
6870 # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
You can’t perform that action at this time.
0 commit comments