Skip to content

Commit

Permalink
updated [client.secrets] createOrReplace (#4582)
Browse files Browse the repository at this point in the history
* updated [client.secrets] createOrReplace

* modified:CHANGELOG.md
  • Loading branch information
SaumyaBhushan committed Nov 17, 2022
1 parent 4ab4dbb commit f58b1dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -21,6 +21,7 @@
#### New Features
* Fix #4136: added support for fieldValidation as a dsl method for POST/PUT/PATCH operations
* Fix #3896: added dsl support for server side apply
* Fix #4582: updated [client.secrets] createOrReplace document

#### _**Note**_: Breaking changes in the API

Expand Down
2 changes: 1 addition & 1 deletion doc/CHEATSHEET.md
Expand Up @@ -666,7 +666,7 @@ Secret secretCreated = client.secrets().inNamespace("default").create(secret1);
```
- Create or Replace an existing `Secret`:
```
Secret createdSecret = client.secrets().inNamespace("default").createOrReplace(secret1);
Secret createdSecret = client.secrets().inNamespace("default").resource(secret1).createOrReplace();
```
- List `Secret` resources in some namespace:
```
Expand Down

0 comments on commit f58b1dd

Please sign in to comment.