Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stzov committed Mar 21, 2023
1 parent 60150c8 commit 742f3e7
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/charts/trust-manager/Chart.yaml
Expand Up @@ -17,4 +17,4 @@ sources:
- https://github.com/cert-manager/trust-manager

appVersion: v0.4.0
version: v0.4.0
version: v0.4.1
16 changes: 16 additions & 0 deletions deploy/charts/trust-manager/templates/deployment.yaml
Expand Up @@ -82,6 +82,22 @@ spec:
seccompProfile:
type: RuntimeDefault
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
- name: packages
emptyDir: {}
Expand Down
37 changes: 37 additions & 0 deletions deploy/charts/trust-manager/values.yaml
Expand Up @@ -77,6 +77,43 @@ resources: {}
# cpu: 100m
# memory: 128Mi

nodeSelector:
kubernetes.io/os: linux

# expects input structure as per specification https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.11/#affinity-v1-core
# for example:
# affinity:
# nodeAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# nodeSelectorTerms:
# - matchExpressions:
# - key: foo.bar.com/role
# operator: In
# values:
# - master
affinity: {}

# expects input structure as per specification https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.11/#toleration-v1-core
# for example:
# tolerations:
# - key: foo.bar.com/role
# operator: Equal
# value: master
# effect: NoSchedule
tolerations: []

# expects input structure as per specification https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#topologyspreadconstraint-v1-core
# for example:
# topologySpreadConstraints:
# - maxSkew: 2
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: ScheduleAnyway
# labelSelector:
# matchLabels:
# app.kubernetes.io/instance: cert-manager
# app.kubernetes.io/component: controller
topologySpreadConstraints: []

crds:
# -- Whether or not to install the crds.
enabled: true

0 comments on commit 742f3e7

Please sign in to comment.