Skip to content

Commit

Permalink
Merge pull request #60 from projectsyn/feat/use-priorityclass
Browse files Browse the repository at this point in the history
Add priorityclass system-cluster-critical
  • Loading branch information
DebakelOrakel authored Apr 16, 2024
2 parents b4b768c + e1ce90d commit fd6099f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions component/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ local deployment = kube.Deployment('espejo') {
template+: {
spec+: {
serviceAccountName: service_account.metadata.name,
priorityClassName: 'system-cluster-critical',
containers_+: {
espejo: kube.Container('espejo') {
image: params.images.espejo.image + ':' + params.images.espejo.tag,
Expand Down
1 change: 1 addition & 0 deletions tests/golden/defaults/espejo/espejo/10_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ spec:
volumeMounts: []
imagePullSecrets: []
initContainers: []
priorityClassName: system-cluster-critical
serviceAccountName: espejo
terminationGracePeriodSeconds: 30
volumes: []

0 comments on commit fd6099f

Please sign in to comment.