Skip to content

[Merged by Bors] - Fix migrate-longer-csi-registration-path container runAsUser #260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
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
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ All notable changes to this project will be documented in this file.
### Changed

- Shortened the registration socket path for Microk8s compatibility ([#231]).
- The old CSI registration path will be automatically migrated during upgrade ([#258]).
- The old CSI registration path will be automatically migrated during upgrade ([#258], [#260]).
- You might need to manually remove `/var/lib/kubelet/plugins_registry/secrets.stackable.tech-reg.sock` when downgrading
- Made kubeletDir configurable ([#232]).
- Microk8s users will need to `--set kubeletDir=/var/snap/microk8s/common/var/lib/kubelet`.
Expand All @@ -23,6 +23,7 @@ All notable changes to this project will be documented in this file.
[#252]: https://github.com/stackabletech/secret-operator/pull/252
[#257]: https://github.com/stackabletech/secret-operator/pull/257
[#258]: https://github.com/stackabletech/secret-operator/pull/258
[#260]: https://github.com/stackabletech/secret-operator/pull/260

## [23.1.0] - 2023-01-23

Expand Down
2 changes: 1 addition & 1 deletion Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ helm_crds, helm_non_crds = filter_yaml(
set=[
'image.repository=' + registry + '/' + operator_name,
# Uncomment to enable unprivileged mode
'securityContext.privileged=false',
# 'securityContext.privileged=false',
],
),
api_version = "^apiextensions\\.k8s\\.io/.*$",
Expand Down
2 changes: 2 additions & 0 deletions deploy/helm/secret-operator/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ spec:
volumeMounts:
- name: registration-sock
mountPath: /registration
securityContext:
runAsUser: 0
volumes:
- name: registration-sock
hostPath:
Expand Down