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

Allow manager replicas to be configured via helm chart #329

Merged
merged 1 commit into from
Nov 13, 2023
Merged
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
2 changes: 1 addition & 1 deletion charts/k6-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "0.0.11"
description: A Helm chart to install the k6-operator
name: k6-operator
version: 2.0.0
version: 3.0.0
kubeVersion: ">=1.16.0-0"
home: https://k6.io
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/k6-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
annotations:
{{- include "k6-operator.customAnnotations" . | default "" | nindent 4 }}
spec:
replicas: 1
replicas: {{ .Values.manager.replicas }}
selector:
matchLabels:
{{- include "k6-operator.selectorLabels" . | nindent 6 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/k6-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ authProxy:
readinessProbe: {}

manager:
# manager.replicas -- number of controller-manager replicas (default: 1)
replicas: 1
serviceAccount:
# manager.serviceAccount.name -- kubernetes service account for the k6 manager
name: k6-operator-controller
Expand Down
Loading