Skip to content
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

Support for volumeMounts #358

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
10 changes: 10 additions & 0 deletions api/v1beta2/configuration_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,16 @@ type ConfigurationSpec struct {

// TerraformCredentialsHelperConfigMapReference specifies the reference to a configmap containing the terraform registry credentials helper
TerraformCredentialsHelperConfigMapReference *v1.SecretReference `json:"terraformCredentialsHelperConfigMapReference,omitempty"`

// VolumeSpec to mount volumes to the pod.
VolumeSpec *VolumeSpec `json:"volumeSpec,omitempty"`
}

type VolumeSpec struct {
// Volumes represents a named volume in a pod that may be accessed by any container in the pod.
Volumes []v1.Volume `json:"volumes,omitempty"`
// VolumeMount describes a mounting of a Volume within a container.
VolumeMounts []v1.VolumeMount `json:"volumeMounts,omitempty"`
}

// ConfigurationStatus defines the observed state of Configuration
Expand Down
34 changes: 34 additions & 0 deletions api/v1beta2/zz_generated.deepcopy.go

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

Loading