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
1 change: 1 addition & 0 deletions charts/bifrost-gateway-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Example text, add your PR info according to example below below this line. Do not bump chart version in Chart.yaml unless a chart release will be made following your PR.
- Add ServiceMonitor CRD to enable metrics endpoint discovery and configuration ([#202](https://github.com/tv2-oss/bifrost-gateway-controller/pull/202)) [@michaelvl](https://github.com/michaelvl)
- Update securityContext for container to contain `readOnlyRootFilesystem: true` and `runAsNonRoot: true`

## [0.1.7]

Expand Down
2 changes: 2 additions & 0 deletions charts/bifrost-gateway-controller/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ spec:
readinessProbe: {{- toYaml .Values.controllerManager.manager.readinessProbe | nindent 10 }}
resources: {{- toYaml .Values.controllerManager.manager.resources | nindent 10 }}
securityContext:
readOnlyRootFilesystem: true
runAsNonRoot: true
allowPrivilegeEscalation: false
capabilities:
drop:
Expand Down