Skip to content

Commit

Permalink
Add priorityclass system-cluster-critical to operator
Browse files Browse the repository at this point in the history
Ensure this component has precedence over user deployed workload.
  • Loading branch information
DebakelOrakel committed Apr 17, 2024
1 parent a889d65 commit ea0caac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ parameters:
image: quay.io/argoproj/argocd
tag: 'v2.9.2@sha256:8576d347f30fa4c56a0129d1c0a0f5ed1e75662f0499f1ed7e917c405fd909dc'

priority_class: system-cluster-critical
additional_facts: {}
1 change: 1 addition & 0 deletions component/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ local deployment = kube.Deployment('steward') {
},
},
},
priorityClassName: params.priority_class,
serviceAccountName: service_account.metadata.name,
},
},
Expand Down
1 change: 1 addition & 0 deletions tests/golden/defaults/steward/steward/10_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ spec:
volumeMounts: []
imagePullSecrets: []
initContainers: []
priorityClassName: system-cluster-critical
serviceAccountName: steward
terminationGracePeriodSeconds: 30
volumes: []

0 comments on commit ea0caac

Please sign in to comment.