Skip to content

Commit

Permalink
Update examples/operator templates and values
Browse files Browse the repository at this point in the history
  • Loading branch information
ag2308 authored and arttor committed Dec 18, 2024
1 parent 3e732b0 commit 7704d84
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ metadata:
{{- include "operator.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.controllerManager.replicas }}
strategy:
rollingUpdate:
maxSurge: {{ .Values.controllerManager.strategy.rollingUpdate.maxSurge | quote
}}
maxUnavailable: {{ .Values.controllerManager.strategy.rollingUpdate.maxUnavailable
| quote }}
type: {{ .Values.controllerManager.strategy.type | quote }}
selector:
matchLabels:
control-plane: controller-manager
Expand Down
5 changes: 5 additions & 0 deletions examples/operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ controllerManager:
serviceAccount:
annotations:
k8s.acme.org/some-meta-data: ACME Inc.
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
kubernetesClusterDomain: cluster.local
managerConfig:
controllerManagerConfigYaml: |-
Expand Down

0 comments on commit 7704d84

Please sign in to comment.