Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ All notable changes to this project will be documented in this file.
- All pods now set `securityContext.seccompProfile.type` to `RuntimeDefault` ([#957]).
- Support Vector 0.58.0 ([#953], [#959], [#960]).
- test: Bump hive to 4.2.1 ([#961]).
- The operator Deployment runs with a restricted security context and a read-only root filesystem, so it can be deployed into namespaces that enforce the `restricted` Pod Security Standard ([#963]).

### Fixed

Expand Down Expand Up @@ -89,6 +90,7 @@ All notable changes to this project will be documented in this file.
[#959]: https://github.com/stackabletech/trino-operator/pull/959
[#960]: https://github.com/stackabletech/trino-operator/pull/960
[#961]: https://github.com/stackabletech/trino-operator/pull/961
[#963]: https://github.com/stackabletech/trino-operator/pull/963

## [26.7.0] - 2026-07-21

Expand Down
21 changes: 17 additions & 4 deletions deploy/helm/trino-operator/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,26 @@
"title": "Pod security context",
"description": "Pod-level security context for the operator pod, for example fsGroup. Passed through to Kubernetes unchanged. Applies to the operator pod only.",
"type": "object",
"default": {}
"default": {
"runAsNonRoot": true,
"seccompProfile": {
"type": "RuntimeDefault"
}
}
},
"securityContext": {
"title": "Container security context",
"description": "Container-level security context for the operator container, for example readOnlyRootFilesystem or runAsNonRoot. Passed through to Kubernetes unchanged. Applies to the operator container only.",
"type": "object",
"default": {}
"default": {
"allowPrivilegeEscalation": false,
"capabilities": {
"drop": [
"ALL"
]
},
"readOnlyRootFilesystem": true
}
},
"resources": {
"title": "Resource requests and limits",
Expand Down Expand Up @@ -265,14 +278,14 @@
},
"fileLog": {
"title": "File logs",
"description": "Writes logs to /stackable/logs inside the container.",
"description": "Writes logs to /var/log/trino-operator inside the container, on an emptyDir volume.",
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean",
"default": false,
"description": "Whether the operator also writes logs to /stackable/logs inside the container. Off by default: it needs a volume to be useful, otherwise the logs vanish with the pod."
"description": "Whether the operator also writes logs to /var/log/trino-operator inside the container. Off by default. The logs survive container restarts but not the Pod."
},
"level": {
"title": "File log level",
Expand Down
25 changes: 15 additions & 10 deletions deploy/helm/trino-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,21 @@ podAnnotations: {}
labels:
stackable.tech/vendor: Stackable

podSecurityContext: {}
# fsGroup: 2000

securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
# Satisfies the restricted Pod Security Standard.
# Already standard on OpenShift.
podSecurityContext:
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault

securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
# Not part of the restricted profile.
# Anything the operator writes has to go to a mounted volume.
readOnlyRootFilesystem: true

resources:
limits:
Expand Down
Loading