Skip to content

Commit e715552

Browse files
authored
docs: Fix security context examples (#88)
1 parent 1f60282 commit e715552

2 files changed

Lines changed: 19 additions & 12 deletions

File tree

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
helmWait: true
22
catalog:
33
podSecurityContext:
4-
capabilities:
5-
drop:
6-
- ALL
7-
readOnlyRootFilesystem: true
84
runAsNonRoot: true
5+
seccompProfile:
6+
type: RuntimeDefault
97

108
containerSecurityContext:
11-
runAsNonRoot: true
9+
allowPrivilegeEscalation: false
1210
readOnlyRootFilesystem: true
11+
capabilities:
12+
drop:
13+
- all

charts/lakekeeper/values.yaml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,17 +71,23 @@ catalog:
7171
podSecurityContext:
7272
{}
7373
# # ---- EXAMPLE ----
74-
# # securityContext:
75-
# capabilities:
76-
# drop:
77-
# - ALL
78-
# readOnlyRootFilesystem: true
79-
# runAsNonRoot: true
74+
# podSecurityContext:
75+
# runAsNonRoot: true
76+
# seccompProfile:
77+
# type: RuntimeDefault
8078

8179
# -- (<html><a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.29/#podsecuritycontext-v1-core">podsecuritycontext-v1-core</a></html>)
8280
# security context for the catalog container.
8381
# `runAsUser` is ignored, please set with `catalog.image.uid`, `runAsGroup` is ignored, please set with `catalog.image.gid`
84-
containerSecurityContext: {}
82+
containerSecurityContext:
83+
{}
84+
# # ---- EXAMPLE ----
85+
# containerSecurityContext
86+
# allowPrivilegeEscalation: false
87+
# readOnlyRootFilesystem: true
88+
# capabilities:
89+
# drop:
90+
# - all
8591

8692
# -- Labels for the catalog Deployment
8793
labels: {}

0 commit comments

Comments
 (0)