Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
helm: set default requests/limits
  • Loading branch information
ericpaulsen committed Mar 7, 2025
commit dfbddd637f8d8c2282cdd2959b71e4b02d10c01f
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/auto_access_url_1.golden
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/auto_access_url_1_coder.golden
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/auto_access_url_2.golden
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/auto_access_url_2_coder.golden
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/auto_access_url_3.golden
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/auto_access_url_3_coder.golden
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/command.golden
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/command_args.golden
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/command_args_coder.golden
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/command_coder.golden
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/default_values.golden
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/default_values_coder.golden
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/env_from.golden
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/env_from_coder.golden
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/extra_templates.golden
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/extra_templates_coder.golden
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/labels_annotations.golden
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/labels_annotations_coder.golden
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/prometheus.golden
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/prometheus_coder.golden
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/provisionerd_psk.golden
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/provisionerd_psk_coder.golden
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/sa.golden
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/sa_coder.golden
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/sa_disabled.golden
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
8 changes: 7 additions & 1 deletion helm/coder/tests/testdata/sa_disabled_coder.golden
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,13 @@ spec:
path: /healthz
port: http
scheme: HTTP
resources: {}
resources:
limits:
cpu: 2000m
memory: 4096Mi
requests:
cpu: 2000m
memory: 4096Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: null
Expand Down
Loading
Loading