Skip to content

Commit

Permalink
chart: allowing to change replicaset of agent (#155)
Browse files Browse the repository at this point in the history
* chart: allowing to change replicaset of agent

* port-agent: added readme
  • Loading branch information
danielsinai authored Dec 18, 2024
1 parent 52be380 commit 9da9675
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/port-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: port-agent
description: A Helm chart for Port Agent
type: application
version: 0.8.5
version: 0.8.6
appVersion: "v0.7.8"
home: https://getport.io/
sources:
Expand Down
1 change: 1 addition & 0 deletions charts/port-agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ The following table lists the configuration parameters of the `port-agent` chart
| `image.repository` | Image repository | `ghcr.io/port-labs/port-agent` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `image.tag` | Image tag | `""` |
| `replicaCount` | Number of port-agent replicas (ensure Kafka topic has enough partitions when scaling up) | `1` |
| `imagePullSecrets` | Image pull secrets | `[]` |
| `nameOverride` | Chart name override | `""` |
| `fullnameOverride` | Fully qualified app name override | `""` |
Expand Down
2 changes: 1 addition & 1 deletion charts/port-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
spec:
strategy:
type: {{ .Values.rolloutStrategy }}
replicas: 1
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
{{- include "port-agent.selectorLabels" . | nindent 6 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/port-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ image:
pullPolicy: IfNotPresent
tag: ""

# If you increase this number, you will need to make sure that the kafka topic has enough partitions
replicaCount: 1

imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
Expand Down

0 comments on commit 9da9675

Please sign in to comment.