Skip to content

Commit

Permalink
doc: fix minioJob env_ref_doc (#2236)
Browse files Browse the repository at this point in the history
doc:fix minioJob env_ref_doc

Co-authored-by: jiuker <[email protected]>
  • Loading branch information
jiuker and jiuker authored Jul 25, 2024
1 parent 2c72c36 commit 5a6fa65
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 5a6fa65

Please sign in to comment.