k8up-io / k8up

Kubernetes and OpenShift Backup Operator
https://k8up.io/
Apache License 2.0
617 stars 63 forks source link

Add securityContext and image registry prefix to the tutorial manifests #907

Open danpawlik opened 10 months ago

danpawlik commented 10 months ago

Summary

The securityContext parameters should be available into the manifests. Without it, testing the k8up on the MicroShift environment will raise warnings:

Warning: would violate PodSecurity "restricted:latest":
seccompProfile (pod or container "mariadb" must set
securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")

Also added the registry prefix to the images used in the tutorial, to avoid complication when the runtime environment would not choose docker.io as a default registry.

Checklist

For Code changes