Skip to content

Commit

Permalink
feat: Add default policyServer UI questions
Browse files Browse the repository at this point in the history
Signed-off-by: Víctor Cuadrado Juan <[email protected]>
  • Loading branch information
viccuad committed Apr 16, 2024
1 parent 2c4574c commit fd57444
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
9 changes: 9 additions & 0 deletions charts/kubewarden-controller/questions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ questions:
description: |
Additional namespaces that the audit scanner will not scan.
group: "Audit checks"
# controller HA:
- variable: "replicas"
type: integer
default: 1
required: true
label: Number of replicas
description: |
Number of replicas of the Controller Deployment
group: "Controller HA"
# Certificates:
- variable: tls.source
default: "cert-manager-self-signed"
Expand Down
18 changes: 18 additions & 0 deletions charts/kubewarden-defaults/questions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,21 @@ questions:
description: |
Additional namespaces that the recommended policies will not apply to.
group: "Recommended Policies"
# Default PolicyServer questions
- variable: "policyServer.serviceAccountName"
type: string
required: true
label: Name of the ServiceAccount associated to the PolicyServer default
description: |
Minimum number of policy-server Pods that must be available at all times.
Can be an integer or a percentage.
group: "Default PolicyServer"
# Default PolicyServer HA
- variable: "policyServer.replicaCount"
type: integer
default: 1
required: true
label: Number of replicas
description: |
Number of replicas of the PolicyServer Deployment
group: "Default PolicyServer HA"

0 comments on commit fd57444

Please sign in to comment.