Skip to content

Commit 8198433

Browse files
committed
support for volumeMounts
1 parent f8184ed commit 8198433

File tree

4 files changed

+1588
-2
lines changed

4 files changed

+1588
-2
lines changed

api/v1beta2/configuration_types.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,16 @@ type ConfigurationSpec struct {
8888

8989
// TerraformCredentialsHelperConfigMapReference specifies the reference to a configmap containing the terraform registry credentials helper
9090
TerraformCredentialsHelperConfigMapReference *v1.SecretReference `json:"terraformCredentialsHelperConfigMapReference,omitempty"`
91+
92+
// VolumeSpec to mount volumes to the pod.
93+
VolumeSpec *VolumeSpec `json:"volumeSpec,omitempty"`
94+
}
95+
96+
type VolumeSpec struct {
97+
// Volumes represents a named volume in a pod that may be accessed by any container in the pod.
98+
Volumes []v1.Volume `json:"volumes,omitempty"`
99+
// VolumeMount describes a mounting of a Volume within a container.
100+
VolumeMounts []v1.VolumeMount `json:"volumeMounts,omitempty"`
91101
}
92102

93103
// ConfigurationStatus defines the observed state of Configuration

api/v1beta2/zz_generated.deepcopy.go

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)