Skip to content

Commit

Permalink
[nri-metadata-injection] Make replicas as configurable (#52)
Browse files Browse the repository at this point in the history
* [nri-metadata-injection] Make replicas as configurable

* [nri-metadata-injection] Bump chart version to 1.0.3
  • Loading branch information
gopisaba authored Jun 4, 2020
1 parent e3361df commit c51a09a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/nri-metadata-injection/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart to deploy the New Relic metadata injection webhook.
name: nri-metadata-injection
version: 1.0.2
version: 1.0.3
appVersion: 1.2.0
home: https://hub.docker.com/r/newrelic/k8s-metadata-injection
source:
Expand Down
1 change: 1 addition & 0 deletions charts/nri-metadata-injection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ This chart will deploy the [New Relic Infrastructure metadata injection webhook]
| `imageJob.repository` | The job container to pull. | `newrelic/k8s-webhook-cert-manager` |
| `imageJob.pullPolicy` | The job pull policy. | `IfNotPresent` |
| `imageJob.tag` | The job version of the container to pull. | `1.2.1` |
| `replicas` | Number of replicas in the deployment | `1` |
| `resources` | Any resources you wish to assign to the pod. | See Resources below |
| `serviveAccount.create` | If true a service account would be created and assigned for the webhook and the job. | `true` |
| `serviveAccount.name` | The service account to assign to the webhook and the job. If `serviveAccount.create` is true then this name will be used when creating the service account; if this value is not set or it evaluates to false, then when creating the account the returned value from the template `nr-metadata-injection.fullname` will be used as name. | |
Expand Down
2 changes: 1 addition & 1 deletion charts/nri-metadata-injection/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
labels:
{{- include "nri-metadata-injection.labels" . | nindent 4 }}
spec:
replicas: 1
replicas: {{ .Values.replicas }}
selector:
matchLabels:
{{- include "nri-metadata-injection.appLabel" . | nindent 6 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/nri-metadata-injection/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobImage:
tag: 1.2.1
pullPolicy: IfNotPresent

replicas: 1

resources:
limits:
memory: 80M
Expand Down

0 comments on commit c51a09a

Please sign in to comment.