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

feat: questions for tolerations and affinity. #482

Closed
wants to merge 1 commit into from
Closed
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
14 changes: 14 additions & 0 deletions charts/kubewarden-controller/questions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,20 @@ questions:
description: |
Number of replicas of the Controller Deployment
group: "Controller HA"
- variable: "global.tolerations"
type: yaml
label: Tolerations
description: |
Array of Tolerations to be applied to the Controller Deployment and Audit Scanner CronJob.
Each element of the array should be a valid Kubernetes Tolerations object.
group: "Scheduling"
- variable: "global.affinity"
type: yaml
label: Affinity and Anti-affinity
description: |
Affinity and Anti-affinity rules to be applied to the Controller Deployment and Audit Scanner CronJob.
The YAML should be a valid Kubernetes Affinity object.
group: "Scheduling"
# Certificates:
- variable: tls.source
default: "cert-manager-self-signed"
Expand Down
14 changes: 14 additions & 0 deletions charts/kubewarden-defaults/questions.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
# This is a Rancher questions file
---
questions:
- variable: "global.tolerations"
type: yaml
label: Tolerations
description: |
Array of Tolerations to be applied to the default PolicyServer.
Each element of the array should be a valid Kubernetes Tolerations object.
group: "Scheduling"
- variable: "global.affinity"
type: yaml
label: Affinity and Anti-affinity
description: |
Affinity and Anti-affinity rules to be applied to the default PolicyServer.
The YAML should be a valid Kubernetes Affinity object.
group: "Scheduling"
# Recommended policies questions:
- variable: "recommendedPolicies.enabled"
type: boolean
Expand Down
Loading