diff --git a/pkg/apis/litmuschaos/v1alpha1/chaosexperiment_types.go b/pkg/apis/litmuschaos/v1alpha1/chaosexperiment_types.go index 1d3efd7df..64b6356fd 100644 --- a/pkg/apis/litmuschaos/v1alpha1/chaosexperiment_types.go +++ b/pkg/apis/litmuschaos/v1alpha1/chaosexperiment_types.go @@ -17,6 +17,7 @@ limitations under the License. package v1alpha1 import ( + corev1 "k8s.io/api/core/v1" rbacV1 "k8s.io/api/rbac/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) @@ -59,7 +60,7 @@ type ExperimentDef struct { // Image of the chaos experiment Image string `json:"image"` // ImagePullPolicy of the chaos experiment container - ImagePullPolicy string `json:"imagePullPolicy,omitempty"` + ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"` //Scope specifies the service account scope (& thereby blast radius) of the experiment Scope string `json:"scope"` // List of Permission needed for a service account to execute experiment