Skip to content

Commit

Permalink
chore: add pod tolerations options to operator
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiminglim authored and oscerd committed Aug 22, 2022
1 parent 962dcea commit c1472e3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions helm/camel-k/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ Camel K chart and their default values. The chart allows configuration of an `In
| `operator.global` | Indicates if the operator should watch all namespaces | `false` |
| `operator.resources` | The resource requests and limits to use for the operator | |
| `operator.securityContext` | The (container-related) securityContext to use for the operator | |
| `operator.tolerations` | The list of tolerations to use for the operator | |

## Contributing

Expand Down
4 changes: 4 additions & 0 deletions helm/camel-k/templates/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,7 @@ spec:
{{- toYaml . | nindent 12 }}
{{- end }}
serviceAccountName: camel-k-operator
{{- with .Values.operator.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{-end }}
1 change: 1 addition & 0 deletions helm/camel-k/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ operator:
global: "false"
resources: {}
securityContext: {}
tolerations: []

platform:
build:
Expand Down

0 comments on commit c1472e3

Please sign in to comment.