Skip to content

Commit

Permalink
doc:fix minioJob env_ref_doc
Browse files Browse the repository at this point in the history
doc:fix minioJob env_ref_doc
  • Loading branch information
jiuker committed Jul 23, 2024
1 parent 3606109 commit 62e4748
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/minio-job.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,16 @@ spec:
- name: add-my-user-1
op: admin/user/add
args:
user: ${USER}
password: ${PASSWORD}
user: $(USER)
password: $(PASSWORD)
envFrom:
- secretRef:
name: mytestsecretenvs
- name: add-my-user-2
op: admin/user/add
args:
user: pedro
password: $PASSWORD
password: $(PASSWORD)
env:
- name: PASSWORD
valueFrom:
Expand Down
1 change: 1 addition & 0 deletions pkg/controller/job-controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ func NewJobController(
}
controller.HandleObject(newJob)
},
DeleteFunc: controller.enqueueJob,
})
return controller
}
Expand Down

0 comments on commit 62e4748

Please sign in to comment.