Skip to content

Commit 467cd1e

Browse files
weltekialexellis
authored andcommitted
Rename replicaCount to replicas
Make the headroom controller chart more consistent with other openfaas charts. Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
1 parent 7c43af1 commit 467cd1e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

chart/headroom-controller/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ See [values.yaml](./values.yaml) for detailed configuration.
198198

199199
| Parameter | Description | Default |
200200
|-----------|-------------|---------|
201-
| `replicaCount` | Number of controller replicas. It is not recommended to alter this value. | `1` |
202201
| `image` | Container image | See [values.yaml](./values.yaml) |
202+
| `replicas` | Number of controller replicas. It is not recommended to alter this value. | `1` |
203203
| `imagePullPolicy` | Image pull policy | `IfNotPresent` |
204204
| `imagePullSecrets` | Image pull secrets | `[]` |
205205
| `nameOverride` | Override chart name | `""` |

chart/headroom-controller/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
labels:
66
{{- include "headroom-controller.labels" . | nindent 4 }}
77
spec:
8-
replicas: {{ .Values.replicaCount }}
8+
replicas: {{ .Values.replicas }}
99
selector:
1010
matchLabels:
1111
{{- include "headroom-controller.selectorLabels" . | nindent 6 }}

chart/headroom-controller/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Default values for headroom-controller
2-
replicaCount: 1
3-
42
image: ghcr.io/openfaasltd/headroom-controller:v0.0.1-rc1
53

64
imagePullPolicy: IfNotPresent
75

6+
replicas: 1
7+
88
rbac:
99
create: true
1010
# Role can be either "Role" or "ClusterRole"

0 commit comments

Comments
 (0)