Skip to content

Commit 91cf9c5

Browse files
author
eliranb
committed
Make imagePullPolicy field optional in InitContainer configuration
1 parent 38f57ba commit 91cf9c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v1beta/lightrunjavaagent_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ type InitContainer struct {
4343
// Image of the init container. Image name and tag will define platform and version of the agent
4444
Image string `json:"image"`
4545
// Pull policy of the init container. Can be one of: Always, IfNotPresent, or Never.
46-
ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy"`
46+
ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
4747
}
4848

4949
// LightrunJavaAgentSpec defines the desired state of LightrunJavaAgent

0 commit comments

Comments
 (0)