Skip to content

Commit

Permalink
(fix)types: use corev1.pullpolicy for experiment imagepullpolicy (#218)
Browse files Browse the repository at this point in the history
Signed-off-by: ksatchit <[email protected]>
  • Loading branch information
Karthik Satchitanand committed Jun 10, 2020
1 parent ce489b7 commit 8c0c626
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/apis/litmuschaos/v1alpha1/chaosexperiment_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8c0c626

Please sign in to comment.