Skip to content

Commit 925f3e5

Browse files
committed
Remove autoscaling using HPA
1 parent 2ca5747 commit 925f3e5

5 files changed

Lines changed: 0 additions & 44 deletions

File tree

charts/spire/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ Kubernetes: `>=1.21.0-0`
5757
| agent.image.version | string | `""` | |
5858
| agent.nodeSelector."kubernetes.io/arch" | string | `"amd64"` | |
5959
| agent.resources | object | `{}` | |
60-
| autoscaling.enabled | bool | `false` | |
61-
| autoscaling.maxReplicas | int | `100` | |
62-
| autoscaling.minReplicas | int | `1` | |
63-
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
6460
| csiDriver.image.pullPolicy | string | `"IfNotPresent"` | |
6561
| csiDriver.image.registry | string | `"ghcr.io"` | |
6662
| csiDriver.image.repository | string | `"spiffe/spiffe-csi-driver"` | |

charts/spire/templates/hpa.yaml

Lines changed: 0 additions & 29 deletions
This file was deleted.

charts/spire/templates/oidc-deployment.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ metadata:
77
labels:
88
{{- include "spire.oidc.labels" . | nindent 4 }}
99
spec:
10-
{{- if not .Values.autoscaling.enabled }}
1110
replicas: {{ .Values.oidc.replicaCount }}
12-
{{- end }}
1311
selector:
1412
matchLabels:
1513
{{- include "spire.oidc.selectorLabels" . | nindent 6 }}

charts/spire/templates/server-statefulset.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ metadata:
66
labels:
77
{{- include "spire.server.labels" . | nindent 4 }}
88
spec:
9-
{{- if not .Values.autoscaling.enabled }}
109
replicas: {{ .Values.server.replicaCount }}
11-
{{- end }}
1210
serviceName: {{ include "spire.fullname" . }}-server
1311
selector:
1412
matchLabels:

charts/spire/values.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -234,13 +234,6 @@ serviceAccount:
234234
# If not set and create is true, a name is generated using the fullname template
235235
name: ""
236236

237-
autoscaling:
238-
enabled: false
239-
minReplicas: 1
240-
maxReplicas: 100
241-
targetCPUUtilizationPercentage: 80
242-
# targetMemoryUtilizationPercentage: 80
243-
244237
# spireSettings
245238

246239
spire:

0 commit comments

Comments
 (0)