Skip to content

Commit

Permalink
Drop securityContext since the chown handles the permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
zalegrala committed Mar 15, 2024
1 parent 1564491 commit fe17af1
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions operations/jsonnet-compiled/StatefulSet-ingester.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ spec:
name: ingester-data
- mountPath: /overrides
name: overrides
securityContext:
fsGroup: 10001
terminationGracePeriodSeconds: 1200
volumes:
- configMap:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ spec:
name: metrics-generator-data
- mountPath: /overrides
name: overrides
securityContext:
fsGroup: 10001
volumes:
- configMap:
name: tempo-metrics-generator
Expand Down
1 change: 0 additions & 1 deletion operations/jsonnet/microservices/generator.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
]) +
statefulset.mixin.spec.withPodManagementPolicy('Parallel') +
$.util.podPriority('high') +
statefulset.mixin.spec.template.spec.securityContext.withFsGroup(10001) + // 10001 is the group ID assigned to Tempo in the Dockerfile
(if with_anti_affinity then $.util.antiAffinity else {}),

tempo_metrics_generator_statefulset: $.newGeneratorStatefulSet(target_name, self.tempo_metrics_generator_container) + statefulset.mixin.spec.withReplicas($._config.metrics_generator.replicas),
Expand Down
1 change: 0 additions & 1 deletion operations/jsonnet/microservices/ingester.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
]) +
statefulset.mixin.spec.withPodManagementPolicy('Parallel') +
statefulset.mixin.spec.template.spec.withTerminationGracePeriodSeconds(1200) +
statefulset.mixin.spec.template.spec.securityContext.withFsGroup(10001) + // 10001 is the group ID assigned to Tempo in the Dockerfile
$.util.podPriority('high') +
(if with_anti_affinity then $.util.antiAffinity else {})
,
Expand Down

0 comments on commit fe17af1

Please sign in to comment.