Skip to content

Conversation

@maximiliantech
Copy link
Member

@maximiliantech maximiliantech commented Aug 18, 2025

What this PR does / why we need it:
For cluster-provider-kind, we need to pass down values for ExtraVolumes and ExtraVolumeMounts to the PodSpec of the Cluster Provider Deployment, see cluster-provider-kind (How it works). This PR adds the fields ExtraVolumes and ExtraVolumeMounts to the DeploymentSpec.

Additionally, this PR fixes a small bug that occurred while working on openmcp-project/cluster-provider-kind#66. During start up of the cluster-provider-kind, the init job did not have the necessary permissions to create ClusterProfiles on the Platform cluster. 89a3230 (#118) fixes this.

Which issue(s) this PR fixes:
NONE

Special notes for your reviewer:
The PR might seem very big, but the biggest chunk of changes originates in the embedding of the []corev1.Volume and []corev1.VolumeMount from k8s.io/api/core/v1 go package.

Release note:

Adding `ExtraVolumes` and `ExtraVolumeMounts` fields to the `DeploymentSpec`
Fixing permission issues on `ClusterProfiles` during Init job of Cluster Providers and Service Providers

@maximiliantech maximiliantech changed the title feat(deployment): add Volumes and ExtraVolumes to DeploymentSpec feat(deployment): add ExtraVolumes and ExtraVolumesMounts to DeploymentSpec Aug 18, 2025
@maximiliantech maximiliantech changed the title feat(deployment): add ExtraVolumes and ExtraVolumesMounts to DeploymentSpec feat(deployment): add ExtraVolumes and ExtraVolumeMounts to DeploymentSpec Aug 18, 2025
@maximiliantech maximiliantech marked this pull request as ready for review August 21, 2025 13:05
@maximiliantech maximiliantech merged commit ea84b6a into main Aug 21, 2025
7 checks passed
@maximiliantech maximiliantech deleted the feat/cluster-provider-deployment-volumes branch August 21, 2025 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants