Skip to content

Commit

Permalink
Remove default run as root from jsonnet
Browse files Browse the repository at this point in the history
  • Loading branch information
EoinFarrell committed Jan 3, 2025
1 parent a7c7ac9 commit f3c13f4
Show file tree
Hide file tree
Showing 78 changed files with 0 additions and 874 deletions.
8 changes: 0 additions & 8 deletions operations/mimir-tests/test-all-components-generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -982,8 +982,6 @@ spec:
name: alertmanager-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 900
volumes:
- configMap:
Expand Down Expand Up @@ -1081,8 +1079,6 @@ spec:
name: compactor-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 900
volumes:
- configMap:
Expand Down Expand Up @@ -1192,8 +1188,6 @@ spec:
name: ingester-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 1200
volumes:
- configMap:
Expand Down Expand Up @@ -1529,8 +1523,6 @@ spec:
name: store-gateway-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 120
volumes:
- configMap:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -982,8 +982,6 @@ spec:
name: alertmanager-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 900
volumes:
- configMap:
Expand Down Expand Up @@ -1081,8 +1079,6 @@ spec:
name: compactor-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 900
volumes:
- configMap:
Expand Down Expand Up @@ -1192,8 +1188,6 @@ spec:
name: ingester-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 1200
volumes:
- configMap:
Expand Down Expand Up @@ -1529,8 +1523,6 @@ spec:
name: store-gateway-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 120
volumes:
- configMap:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -991,8 +991,6 @@ spec:
name: alertmanager-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 900
volumes:
- configMap:
Expand Down Expand Up @@ -1090,8 +1088,6 @@ spec:
name: compactor-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 900
volumes:
- configMap:
Expand Down Expand Up @@ -1201,8 +1197,6 @@ spec:
name: ingester-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 1200
volumes:
- configMap:
Expand Down Expand Up @@ -1538,8 +1532,6 @@ spec:
name: store-gateway-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 120
volumes:
- configMap:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -982,8 +982,6 @@ spec:
name: alertmanager-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 900
volumes:
- configMap:
Expand Down Expand Up @@ -1081,8 +1079,6 @@ spec:
name: compactor-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 900
volumes:
- configMap:
Expand Down Expand Up @@ -1194,8 +1190,6 @@ spec:
name: ingester-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 1200
volumes:
- configMap:
Expand Down Expand Up @@ -1531,8 +1525,6 @@ spec:
name: store-gateway-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 120
volumes:
- configMap:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -983,8 +983,6 @@ spec:
name: alertmanager-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 900
volumes:
- configMap:
Expand Down Expand Up @@ -1082,8 +1080,6 @@ spec:
name: compactor-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 900
volumes:
- configMap:
Expand Down Expand Up @@ -1193,8 +1189,6 @@ spec:
name: ingester-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 1200
volumes:
- configMap:
Expand Down Expand Up @@ -1530,8 +1524,6 @@ spec:
name: store-gateway-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 120
volumes:
- configMap:
Expand Down
16 changes: 0 additions & 16 deletions operations/mimir-tests/test-automated-downscale-generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1217,8 +1217,6 @@ spec:
name: alertmanager-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 900
volumes:
- configMap:
Expand Down Expand Up @@ -1316,8 +1314,6 @@ spec:
name: compactor-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 900
volumes:
- configMap:
Expand Down Expand Up @@ -1444,8 +1440,6 @@ spec:
name: ingester-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 1200
volumes:
- configMap:
Expand Down Expand Up @@ -1572,8 +1566,6 @@ spec:
name: ingester-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 1200
volumes:
- configMap:
Expand Down Expand Up @@ -1700,8 +1692,6 @@ spec:
name: ingester-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 1200
volumes:
- configMap:
Expand Down Expand Up @@ -2055,8 +2045,6 @@ spec:
name: store-gateway-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 120
volumes:
- configMap:
Expand Down Expand Up @@ -2198,8 +2186,6 @@ spec:
name: store-gateway-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 120
volumes:
- configMap:
Expand Down Expand Up @@ -2341,8 +2327,6 @@ spec:
name: store-gateway-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 120
volumes:
- configMap:
Expand Down
16 changes: 0 additions & 16 deletions operations/mimir-tests/test-automated-downscale-v2-generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1276,8 +1276,6 @@ spec:
name: alertmanager-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 900
volumes:
- configMap:
Expand Down Expand Up @@ -1375,8 +1373,6 @@ spec:
name: compactor-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 900
volumes:
- configMap:
Expand Down Expand Up @@ -1507,8 +1503,6 @@ spec:
name: ingester-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 1200
volumes:
- configMap:
Expand Down Expand Up @@ -1640,8 +1634,6 @@ spec:
name: ingester-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 1200
volumes:
- configMap:
Expand Down Expand Up @@ -1773,8 +1765,6 @@ spec:
name: ingester-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 1200
volumes:
- configMap:
Expand Down Expand Up @@ -2128,8 +2118,6 @@ spec:
name: store-gateway-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 120
volumes:
- configMap:
Expand Down Expand Up @@ -2271,8 +2259,6 @@ spec:
name: store-gateway-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 120
volumes:
- configMap:
Expand Down Expand Up @@ -2414,8 +2400,6 @@ spec:
name: store-gateway-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 120
volumes:
- configMap:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1336,8 +1336,6 @@ spec:
name: alertmanager-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 900
volumes:
- configMap:
Expand Down Expand Up @@ -1435,8 +1433,6 @@ spec:
name: compactor-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 900
volumes:
- configMap:
Expand Down Expand Up @@ -1546,8 +1542,6 @@ spec:
name: ingester-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 1200
volumes:
- configMap:
Expand Down Expand Up @@ -1883,8 +1877,6 @@ spec:
name: store-gateway-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 120
volumes:
- configMap:
Expand Down
8 changes: 0 additions & 8 deletions operations/mimir-tests/test-autoscaling-generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1336,8 +1336,6 @@ spec:
name: alertmanager-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 900
volumes:
- configMap:
Expand Down Expand Up @@ -1435,8 +1433,6 @@ spec:
name: compactor-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 900
volumes:
- configMap:
Expand Down Expand Up @@ -1546,8 +1542,6 @@ spec:
name: ingester-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 1200
volumes:
- configMap:
Expand Down Expand Up @@ -1883,8 +1877,6 @@ spec:
name: store-gateway-data
- mountPath: /etc/mimir
name: overrides
securityContext:
runAsUser: 0
terminationGracePeriodSeconds: 120
volumes:
- configMap:
Expand Down
Loading

0 comments on commit f3c13f4

Please sign in to comment.