Skip to content

Commit

Permalink
Merge pull request #1 from lorenzmr/lm/controllerReplicas
Browse files Browse the repository at this point in the history
added controller replicas
  • Loading branch information
lorenzmaier authored Mar 15, 2024
2 parents ca1cdd9 + 478c086 commit bc556c3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions stable/akv2k8s/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ kubectl apply -f https://raw.githubusercontent.com/SparebankenVest/azure-key-vau
| controller.serviceAccount.labels | object | `{}` | Controller service account labels |
| controller.rbac | object | `{"create":null}` | Override global.rbac to create the controller rbac only |
| controller.rbac.create | bool | `nil` | Override global.rbac.create |
| controller.replicas | int | `1` | Controller replicas |
| controller.podSecurityContext | string | `nil` | Security context set on a pod level |
| controller.priorityClassName | string | `""` | Controller PriorityClass name |
| controller.securityContext.allowPrivilegeEscalation | bool | `true` | Must be `true` if using aks identity - can be set to false if userDefinedMSI is enabled, or Azure AD Pod Identity is used |
Expand Down
1 change: 1 addition & 0 deletions stable/akv2k8s/templates/controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ metadata:
{{ toYaml .Values.controller.labels | nindent 4 }}
{{- end }}
spec:
replicas: {{ default 1 .Values.controller.replicas }}
selector:
matchLabels:
{{- include "akv2k8s.selectors" . | nindent 6 }}
Expand Down
3 changes: 3 additions & 0 deletions stable/akv2k8s/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ controller:
# -- (bool) Override global.rbac.create
create: # true/false

# -- Controller replicas
replicas: 1

# -- Security context set on a pod level
podSecurityContext:

Expand Down

0 comments on commit bc556c3

Please sign in to comment.