Skip to content

Commit

Permalink
chore(cmdProbe): Adding imagePullSecrets source cmdProbe
Browse files Browse the repository at this point in the history
Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io>
  • Loading branch information
ispeakc0de committed Aug 4, 2022
1 parent 90e8141 commit 2dfbd2b
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 4 deletions.
2 changes: 2 additions & 0 deletions api/litmuschaos/v1alpha1/chaosengine_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ type SourceDetails struct {
Volumes []corev1.Volume `json:"volumes,omitempty"`
// VolumesMount for the source pod
VolumesMount []corev1.VolumeMount `json:"volumeMount,omitempty"`
//ImagePullSecrets for source pod
ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
}

//PromProbeInputs contains all the inputs required for prometheus probe
Expand Down
5 changes: 5 additions & 0 deletions api/litmuschaos/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 13 additions & 2 deletions deploy/chaos_crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -319,9 +319,20 @@ spec:
description: Image for the source pod
type: string
imagePullPolicy:
description: ImagePullPolicy for the source
pod
description: ImagePullPolicy for the source pod
type: string
imagePullSecrets:
description: ImagePullSecrets for source pod
items:
description: LocalObjectReference contains enough information
to let you locate the referenced object inside the same
namespace.
properties:
name:
description: 'Name of the referent'
type: string
type: object
type: array
labels:
additionalProperties:
type: string
Expand Down
15 changes: 13 additions & 2 deletions deploy/crds/chaosengine_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,20 @@ spec:
description: Image for the source pod
type: string
imagePullPolicy:
description: ImagePullPolicy for the source
pod
description: ImagePullPolicy for the source pod
type: string
imagePullSecrets:
description: ImagePullSecrets for source pod
items:
description: LocalObjectReference contains enough information
to let you locate the referenced object inside the same
namespace.
properties:
name:
description: 'Name of the referent'
type: string
type: object
type: array
labels:
additionalProperties:
type: string
Expand Down

0 comments on commit 2dfbd2b

Please sign in to comment.