Skip to content

Commit

Permalink
support for volumeMounts
Browse files Browse the repository at this point in the history
  • Loading branch information
LochanRn committed Mar 29, 2023
1 parent f8184ed commit 8198433
Show file tree
Hide file tree
Showing 4 changed files with 1,588 additions and 2 deletions.
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

0 comments on commit 8198433

Please sign in to comment.