Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anchore-admission-controller: adding topologySpreadConstraints #408

Merged
merged 1 commit into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stable/anchore-admission-controller/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: anchore-admission-controller
version: 0.6.2
version: 0.6.3
appVersion: 0.6.2
description: A kubernetes admission controller for validating and mutating webhooks that operates against Anchore Engine to make access decisions and annotations
home: https://github.com/anchore/kubernetes-admission-controller
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,6 @@ spec:
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
{{- if .Values.topologySpreadConstraints }}
topologySpreadConstraints: {{- toYaml .Values.topologySpreadConstraints | nindent 8 }}
{{- end }}
5 changes: 5 additions & 0 deletions stable/anchore-admission-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ tolerations: []
## Constrain which nodes your pod is eligible to be scheduled on, based on labels on the node
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
affinity: {}

## Controls how Pods are spread across your cluster among failure-domains such as regions, zones, nodes, and other user-defined topology domains.
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
topologySpreadConstraints: []

extraLabels: {}

# define name of existing secret containing anchore credentials
Expand Down
Loading