Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Make kubefed webhook replica count configurable #1469

Merged
merged 3 commits into from
Jun 24, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions charts/kubefed/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apiVersion: v2
description: KubeFed helm chart
name: kubefed
version: 0.0.4
version: 0.0.5
kubeVersion: ">= 1.16.0-0"
dependencies:
- name: controllermanager
version: 0.0.4
version: 0.0.5
repository: "https://localhost/" # Required but unused.
condition: controllermanager.enabled

1 change: 1 addition & 0 deletions charts/kubefed/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ chart and their default values.
| controllermanager.controller.podAnnotations | Pod level annotations for the KubeFed controller. | {} |
| controllermanager.controller.replicaCount | Number of replicas for KubeFed controller manager. | 2 |
| controllermanager.controller.imagePullPolicy | Image pull policy. | IfNotPresent |
| controllermanager.webhook.replicaCount | Number of replicas for Kubefed Admission Webhook. | 1 |
| controllermanager.webhook.repository | Repo of the KubeFed image. | quay.io/kubernetes-multicluster |
| controllermanager.webhook.image | Name of the KubeFed image. | kubefed |
| controllermanager.webhook.tag | Tag of the KubeFed image. | canary |
Expand Down
2 changes: 1 addition & 1 deletion charts/kubefed/charts/controllermanager/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
appVersion: "0.8.1"
description: A Helm chart for KubeFed Controller Manager
name: controllermanager
version: 0.0.4
version: 0.0.5
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ metadata:
{{ toYaml .Values.webhook.annotations | indent 4 }}
{{- end }}
spec:
replicas: 1
replicas: {{ .Values.webhook.replicaCount }}
selector:
matchLabels:
kubefed-admission-webhook: "true"
Expand Down
1 change: 1 addition & 0 deletions charts/kubefed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ controllermanager:
memory: 64Mi
webhook:
annotations: {}
replicaCount: 1
repository: quay.io/kubernetes-multicluster
image: kubefed
tag: canary
Expand Down