Skip to content

Commit cd0f1c1

Browse files
committed
Re ran the examples to correctly generate them
1 parent f05ecfa commit cd0f1c1

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

examples/app/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ fluentdElasticsearch:
2222
requests:
2323
cpu: 100m
2424
memory: 200Mi
25+
hpa:
26+
maxReplicas: 10
27+
minReplicas: 2
28+
targetCPUUtilizationPercentage: 80
2529
kubernetesClusterDomain: cluster.local
2630
myConfig:
2731
dummyconfigmapkey: dummyconfigmapvalue

examples/operator/templates/app-hpa.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ metadata:
55
labels:
66
{{- include "operator.labels" . | nindent 4 }}
77
spec:
8-
maxReplicas: 10
9-
minReplicas: 2
108
scaleTargetRef:
119
apiVersion: apps/v1
1210
kind: Deployment
1311
name: myapp
14-
targetCPUUtilizationPercentage: 80
12+
minReplicas: {{ .Values.appHpa.minReplicas }}
13+
maxReplicas: {{ .Values.appHpa.maxReplicas }}
14+
targetCPUUtilizationPercentage: {{ .Values.appHpa.targetCPUUtilizationPercentage }}

examples/operator/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
appHpa:
2+
maxReplicas: 10
3+
minReplicas: 2
4+
targetCPUUtilizationPercentage: 80
15
configmapVars:
26
var4: value for var4
37
controllerManager:

0 commit comments

Comments
 (0)