diff --git a/chart/headroom-controller/README.md b/chart/headroom-controller/README.md index 3c1c82117..99ed437fd 100644 --- a/chart/headroom-controller/README.md +++ b/chart/headroom-controller/README.md @@ -198,8 +198,8 @@ See [values.yaml](./values.yaml) for detailed configuration. | Parameter | Description | Default | |-----------|-------------|---------| -| `replicaCount` | Number of controller replicas. It is not recommended to alter this value. | `1` | | `image` | Container image | See [values.yaml](./values.yaml) | +| `replicas` | Number of controller replicas. It is not recommended to alter this value. | `1` | | `imagePullPolicy` | Image pull policy | `IfNotPresent` | | `imagePullSecrets` | Image pull secrets | `[]` | | `nameOverride` | Override chart name | `""` | diff --git a/chart/headroom-controller/templates/deployment.yaml b/chart/headroom-controller/templates/deployment.yaml index acc23727b..85cec32f5 100644 --- a/chart/headroom-controller/templates/deployment.yaml +++ b/chart/headroom-controller/templates/deployment.yaml @@ -5,7 +5,7 @@ metadata: labels: {{- include "headroom-controller.labels" . | nindent 4 }} spec: - replicas: {{ .Values.replicaCount }} + replicas: {{ .Values.replicas }} selector: matchLabels: {{- include "headroom-controller.selectorLabels" . | nindent 6 }} diff --git a/chart/headroom-controller/values.yaml b/chart/headroom-controller/values.yaml index 8a5b057e3..402a1bd8f 100644 --- a/chart/headroom-controller/values.yaml +++ b/chart/headroom-controller/values.yaml @@ -1,10 +1,10 @@ # Default values for headroom-controller -replicaCount: 1 - image: ghcr.io/openfaasltd/headroom-controller:v0.0.1-rc1 imagePullPolicy: IfNotPresent +replicas: 1 + rbac: create: true # Role can be either "Role" or "ClusterRole"