Skip to content

Commit a4131e1

Browse files
authored
Merge pull request #1126 from maniSbindra/k8s.io/perf-tests/prefix-ENABLE_PVS-variable-with-CL2
Add CL2 prefix to ENABLE_PVS variable, to allow value to be overriden using env variable
2 parents a426a1e + 2d6b74e commit a4131e1

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

clusterloader2/testing/load/config.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
{{$ENABLE_CHAOSMONKEY := DefaultParam .ENABLE_CHAOSMONKEY false}}
1818
{{$PROMETHEUS_SCRAPE_KUBE_PROXY := DefaultParam .PROMETHEUS_SCRAPE_KUBE_PROXY true}}
1919
{{$ENABLE_PROMETHEUS_API_RESPONSIVENESS := DefaultParam .ENABLE_PROMETHEUS_API_RESPONSIVENESS false}}
20-
{{$ENABLE_CONFIGMAPS := DefaultParam .ENABLE_CONFIGMAPS false}}
21-
{{$ENABLE_DAEMONSETS := DefaultParam .ENABLE_DAEMONSETS false}}
22-
{{$ENABLE_JOBS := DefaultParam .ENABLE_JOBS false}}
23-
{{$ENABLE_PVS := DefaultParam .ENABLE_PVS false}}
24-
{{$ENABLE_SECRETS := DefaultParam .ENABLE_SECRETS false}}
25-
{{$ENABLE_STATEFULSETS := DefaultParam .ENABLE_STATEFULSETS false}}
20+
{{$ENABLE_CONFIGMAPS := DefaultParam .CL2_ENABLE_CONFIGMAPS false}}
21+
{{$ENABLE_DAEMONSETS := DefaultParam .CL2_ENABLE_DAEMONSETS false}}
22+
{{$ENABLE_JOBS := DefaultParam .CL2_ENABLE_JOBS false}}
23+
{{$ENABLE_PVS := DefaultParam .CL2_ENABLE_PVS false}}
24+
{{$ENABLE_SECRETS := DefaultParam .CL2_ENABLE_SECRETS false}}
25+
{{$ENABLE_STATEFULSETS := DefaultParam .CL2_ENABLE_STATEFULSETS false}}
2626
{{$ENABLE_NETWORKPOLICIES := DefaultParam .ENABLE_NETWORKPOLICIES false}}
2727
{{$ENABLE_SYSTEM_POD_METRICS:= DefaultParam .ENABLE_SYSTEM_POD_METRICS true}}
2828
{{$USE_SIMPLE_LATENCY_QUERY := DefaultParam .USE_SIMPLE_LATENCY_QUERY false}}

clusterloader2/testing/load/deployment.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{{$EnableConfigMaps := DefaultParam .ENABLE_CONFIGMAPS false}}
2-
{{$EnableSecrets := DefaultParam .ENABLE_SECRETS false}}
1+
{{$EnableConfigMaps := DefaultParam .CL2_ENABLE_CONFIGMAPS false}}
2+
{{$EnableSecrets := DefaultParam .CL2_ENABLE_SECRETS false}}
33
{{$CpuRequest := DefaultParam .CpuRequest "10m"}}
44
{{$MemoryRequest := DefaultParam .MemoryRequest "10M"}}
55

clusterloader2/testing/load/experimental-config.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
{{$ENABLE_CHAOSMONKEY := DefaultParam .ENABLE_CHAOSMONKEY false}}
2020
{{$PROMETHEUS_SCRAPE_KUBE_PROXY := DefaultParam .PROMETHEUS_SCRAPE_KUBE_PROXY true}}
2121
{{$ENABLE_PROMETHEUS_API_RESPONSIVENESS := DefaultParam .ENABLE_PROMETHEUS_API_RESPONSIVENESS false}}
22-
{{$ENABLE_CONFIGMAPS := DefaultParam .ENABLE_CONFIGMAPS false}}
23-
{{$ENABLE_DAEMONSETS := DefaultParam .ENABLE_DAEMONSETS false}}
24-
{{$ENABLE_JOBS := DefaultParam .ENABLE_JOBS false}}
25-
{{$ENABLE_PVS := DefaultParam .ENABLE_PVS false}}
26-
{{$ENABLE_SECRETS := DefaultParam .ENABLE_SECRETS false}}
27-
{{$ENABLE_STATEFULSETS := DefaultParam .ENABLE_STATEFULSETS false}}
22+
{{$ENABLE_CONFIGMAPS := DefaultParam .CL2_ENABLE_CONFIGMAPS false}}
23+
{{$ENABLE_DAEMONSETS := DefaultParam .CL2_ENABLE_DAEMONSETS false}}
24+
{{$ENABLE_JOBS := DefaultParam .CL2_ENABLE_JOBS false}}
25+
{{$ENABLE_PVS := DefaultParam .CL2_ENABLE_PVS false}}
26+
{{$ENABLE_SECRETS := DefaultParam .CL2_ENABLE_SECRETS false}}
27+
{{$ENABLE_STATEFULSETS := DefaultParam .CL2_ENABLE_STATEFULSETS false}}
2828
{{$ENABLE_NETWORKPOLICIES := DefaultParam .ENABLE_NETWORKPOLICIES false}}
2929
{{$ENABLE_SYSTEM_POD_METRICS:= DefaultParam .ENABLE_SYSTEM_POD_METRICS true}}
3030
{{$USE_SIMPLE_LATENCY_QUERY := DefaultParam .USE_SIMPLE_LATENCY_QUERY false}}

clusterloader2/testing/load/statefulset.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{$EnablePVs := DefaultParam .ENABLE_PVS false}}
1+
{{$EnablePVs := DefaultParam .CL2_ENABLE_PVS false}}
22

33
apiVersion: apps/v1
44
kind: StatefulSet

0 commit comments

Comments
 (0)