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
Original file line number Diff line number Diff line change
Expand Up @@ -46,28 +46,20 @@ more.

## Installation on OpenShift

We recommend using the [Vault agent injector on Openshift](/vault/docs/platform/k8s/helm/openshift)
instead of the Secrets Store CSI driver. OpenShift
[does not recommend](https://docs.openshift.com/container-platform/4.9/storage/persistent_storage/persistent-storage-hostpath.html)
using `hostPath` mounting in production or
[certify Helm charts](https://github.com/redhat-certification/chart-verifier/blob/dbf89bff2d09142e4709d689a9f4037a739c2244/docs/helm-chart-checks.md#table-2-helm-chart-default-checks)
using CSI objects because pods must run as privileged. Pods will have elevated access to
other pods on the same node, which OpenShift does not recommend.

You can run the Secrets Store CSI driver with additional
security configurations on a OpenShift development
or testing cluster.

Deploy the Secrets Store CSI driver and Vault Helm chart
to your OpenShift cluster.

Then, patch the `DaemonSet` for the Vault CSI provider to
run with a privileged security context.
Deploy the Secrets Store CSI driver and Vault Helm chart to your OpenShift
cluster. Set the [provider container's securityContext](/vault/docs/deploy/kubernetes/helm/configuration#container-2)
to `privileged: true` in the Vault Helm chart values:

```shell-session
$ kubectl patch daemonset vault-csi-provider \
--type='json' \
--patch='[{"op": "add", "path": "/spec/template/spec/containers/0/securityContext", "value": {"privileged": true} }]'
```yaml
csi:
daemonSet:
securityContext:
container:
privileged: true
```

The Secrets Store CSI driver and Vault CSI provider need `hostPath` mount access.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,28 +46,20 @@ more.

## Installation on OpenShift

We recommend using the [Vault agent injector on Openshift](/vault/docs/platform/k8s/helm/openshift)
instead of the Secrets Store CSI driver. OpenShift
[does not recommend](https://docs.openshift.com/container-platform/4.9/storage/persistent_storage/persistent-storage-hostpath.html)
using `hostPath` mounting in production or
[certify Helm charts](https://github.com/redhat-certification/chart-verifier/blob/dbf89bff2d09142e4709d689a9f4037a739c2244/docs/helm-chart-checks.md#table-2-helm-chart-default-checks)
using CSI objects because pods must run as privileged. Pods will have elevated access to
other pods on the same node, which OpenShift does not recommend.

You can run the Secrets Store CSI driver with additional
security configurations on a OpenShift development
or testing cluster.

Deploy the Secrets Store CSI driver and Vault Helm chart
to your OpenShift cluster.

Then, patch the `DaemonSet` for the Vault CSI provider to
run with a privileged security context.
Deploy the Secrets Store CSI driver and Vault Helm chart to your OpenShift
cluster. Set the [provider container's securityContext](/vault/docs/deploy/kubernetes/helm/configuration#container-2)
to `privileged: true` in the Vault Helm chart values:

```shell-session
$ kubectl patch daemonset vault-csi-provider \
--type='json' \
--patch='[{"op": "add", "path": "/spec/template/spec/containers/0/securityContext", "value": {"privileged": true} }]'
```yaml
csi:
daemonSet:
securityContext:
container:
privileged: true
```

The Secrets Store CSI driver and Vault CSI provider need `hostPath` mount access.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,28 +46,20 @@ more.

## Installation on OpenShift

We recommend using the [Vault agent injector on Openshift](/vault/docs/platform/k8s/helm/openshift)
instead of the Secrets Store CSI driver. OpenShift
[does not recommend](https://docs.openshift.com/container-platform/4.9/storage/persistent_storage/persistent-storage-hostpath.html)
using `hostPath` mounting in production or
[certify Helm charts](https://github.com/redhat-certification/chart-verifier/blob/dbf89bff2d09142e4709d689a9f4037a739c2244/docs/helm-chart-checks.md#table-2-helm-chart-default-checks)
using CSI objects because pods must run as privileged. Pods will have elevated access to
other pods on the same node, which OpenShift does not recommend.

You can run the Secrets Store CSI driver with additional
security configurations on a OpenShift development
or testing cluster.

Deploy the Secrets Store CSI driver and Vault Helm chart
to your OpenShift cluster.

Then, patch the `DaemonSet` for the Vault CSI provider to
run with a privileged security context.
Deploy the Secrets Store CSI driver and Vault Helm chart to your OpenShift
cluster. Set the [provider container's securityContext](/vault/docs/deploy/kubernetes/helm/configuration#container-2)
to `privileged: true` in the Vault Helm chart values:

```shell-session
$ kubectl patch daemonset vault-csi-provider \
--type='json' \
--patch='[{"op": "add", "path": "/spec/template/spec/containers/0/securityContext", "value": {"privileged": true} }]'
```yaml
csi:
daemonSet:
securityContext:
container:
privileged: true
```

The Secrets Store CSI driver and Vault CSI provider need `hostPath` mount access.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,28 +46,20 @@ more.

## Installation on OpenShift

We recommend using the [Vault agent injector on Openshift](/vault/docs/platform/k8s/helm/openshift)
instead of the Secrets Store CSI driver. OpenShift
[does not recommend](https://docs.openshift.com/container-platform/4.9/storage/persistent_storage/persistent-storage-hostpath.html)
using `hostPath` mounting in production or
[certify Helm charts](https://github.com/redhat-certification/chart-verifier/blob/dbf89bff2d09142e4709d689a9f4037a739c2244/docs/helm-chart-checks.md#table-2-helm-chart-default-checks)
using CSI objects because pods must run as privileged. Pods will have elevated access to
other pods on the same node, which OpenShift does not recommend.

You can run the Secrets Store CSI driver with additional
security configurations on a OpenShift development
or testing cluster.

Deploy the Secrets Store CSI driver and Vault Helm chart
to your OpenShift cluster.

Then, patch the `DaemonSet` for the Vault CSI provider to
run with a privileged security context.
Deploy the Secrets Store CSI driver and Vault Helm chart to your OpenShift
cluster. Set the [provider container's securityContext](/vault/docs/deploy/kubernetes/helm/configuration#container-2)
to `privileged: true` in the Vault Helm chart values:

```shell-session
$ kubectl patch daemonset vault-csi-provider \
--type='json' \
--patch='[{"op": "add", "path": "/spec/template/spec/containers/0/securityContext", "value": {"privileged": true} }]'
```yaml
csi:
daemonSet:
securityContext:
container:
privileged: true
```

The Secrets Store CSI driver and Vault CSI provider need `hostPath` mount access.
Expand Down
Loading