Skip to content
Open
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 CHANGES/1587.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added `extra_volumes`, `extra_volume_mounts` and `service_account_name` fields to api, content and worker.
27 changes: 27 additions & 0 deletions apis/repo-manager.pulpproject.org/v1/pulp_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,15 @@ type Api struct {
// Environment variables to add to pulpcore-api container
EnvVars []corev1.EnvVar `json:"env_vars,omitempty"`

// ServiceAccount to use in pulpcore-api pods
ServiceAccountName string `json:"service_account_name,omitempty"`

// Volumes to add to pulpcore-api pods
ExtraVolumes []corev1.Volume `json:"extra_volumes,omitempty"`

// Volume mounts to add to pulpcore-api container
ExtraVolumeMounts []corev1.VolumeMount `json:"extra_volume_mounts,omitempty"`

// Annotations for the api deployment
// +kubebuilder:validation:Optional
// +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:hidden"}
Expand Down Expand Up @@ -579,6 +588,15 @@ type Content struct {
// +kubebuilder:validation:Optional
EnvVars []corev1.EnvVar `json:"env_vars,omitempty"`

// ServiceAccount to use in pulpcore-content pods
ServiceAccountName string `json:"service_account_name,omitempty"`

// Volumes to add to pulpcore-content pods
ExtraVolumes []corev1.Volume `json:"extra_volumes,omitempty"`

// Volume mounts to add to pulpcore-content container
ExtraVolumeMounts []corev1.VolumeMount `json:"extra_volume_mounts,omitempty"`

// Annotations for the content deployment
// +kubebuilder:validation:Optional
// +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:hidden"}
Expand Down Expand Up @@ -657,6 +675,15 @@ type Worker struct {
// Environment variables to add to pulpcore-worker container
EnvVars []corev1.EnvVar `json:"env_vars,omitempty"`

// ServiceAccount to use in pulpcore-worker pods
ServiceAccountName string `json:"service_account_name,omitempty"`

// Volumes to add to pulpcore-worker pods
ExtraVolumes []corev1.Volume `json:"extra_volumes,omitempty"`

// Volume mounts to add to pulpcore-worker container
ExtraVolumeMounts []corev1.VolumeMount `json:"extra_volume_mounts,omitempty"`

// Annotations for the worker deployment
// +kubebuilder:validation:Optional
// +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:hidden"}
Expand Down
42 changes: 42 additions & 0 deletions apis/repo-manager.pulpproject.org/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bundle/manifests/pulp-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ metadata:
capabilities: Full Lifecycle
categories: Integration & Delivery
containerImage: quay.io/pulp/pulp-operator:v1.0.0
createdAt: "2026-03-17T12:18:57Z"
createdAt: "2026-11-06T08:18:58Z"
description: Pulp is a platform for managing repositories of software packages
and making them available to a large number of consumers.
operators.operatorframework.io/builder: operator-sdk-v1.31.0
Expand Down
Loading
Loading