Skip to content

Commit

Permalink
address reviews 3
Browse files Browse the repository at this point in the history
Signed-off-by: Sandipan Panda <[email protected]>
  • Loading branch information
sandipanpanda committed Sep 7, 2024
1 parent 8d9beee commit 9c652b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 23 deletions.
20 changes: 0 additions & 20 deletions manifests/base/webhook/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,23 +104,3 @@ webhooks:
resources:
- xgboostjobs
sideEffects: None
- admissionReviewVersions:
- v1
clientConfig:
service:
name: webhook-service
namespace: system
path: /validate-kubeflow-org-v1-jaxjob
failurePolicy: Fail
name: validator.jaxjob.training-operator.kubeflow.org
rules:
- apiGroups:
- kubeflow.org
apiVersions:
- v1
operations:
- CREATE
- UPDATE
resources:
- jaxjobs
sideEffects: None
6 changes: 3 additions & 3 deletions pkg/controller.v1/jax/jaxjob_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,13 @@ var _ = Describe("JAXJob controller", func() {
Type: kubeflowv1.JobCreated,
Status: corev1.ConditionTrue,
Reason: commonutil.NewReason(kubeflowv1.JAXJobKind, commonutil.JobCreatedReason),
Message: fmt.Sprintf("JAXJob %s is created.", ns.Name+"/"+name),
Message: fmt.Sprintf("JAXJob %s is created.", name),
},
{
Type: kubeflowv1.JobRunning,
Status: corev1.ConditionTrue,
Reason: commonutil.NewReason(kubeflowv1.JAXJobKind, commonutil.JobRunningReason),
Message: fmt.Sprintf("JAXJob %s is running.", name),
Message: fmt.Sprintf("JAXJob %s/%s is running.", ns.Name, name),
},
}, testutil.IgnoreJobConditionsTimes))

Expand Down Expand Up @@ -300,7 +300,7 @@ var _ = Describe("JAXJob controller", func() {
Type: kubeflowv1.JobRunning,
Status: corev1.ConditionTrue,
Reason: commonutil.NewReason(kubeflowv1.JAXJobKind, commonutil.JobRunningReason),
Message: fmt.Sprintf("JAXJob %s is running.", name),
Message: fmt.Sprintf("JAXJob %s/%s is running.", ns.Name, name),
},
}, testutil.IgnoreJobConditionsTimes))

Expand Down

0 comments on commit 9c652b7

Please sign in to comment.