Skip to content

Commit cbfce51

Browse files
committed
doc: add support for skipping CRD installation in README
1 parent 6def3a9 commit cbfce51

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ Release result = installCommand
169169
// Optionally set the path to the file containing repository names and URLs
170170
// Defaults to "~/.config/helm/repositories.yaml"
171171
.withRepositoryConfig(Paths.get("path", "to", "config"))
172+
// Optionally skip installation of CRDs
173+
.skipCrds()
172174
.call();
173175
```
174176

@@ -615,6 +617,8 @@ String result = templateCommand
615617
// Optionally set the path to the file containing repository names and URLs
616618
// Defaults to "~/.config/helm/repositories.yaml"
617619
.withRepositoryConfig(Paths.get("path", "to", "config"))
620+
// Optionally skip rendering of CRDs
621+
.skipCrds()
618622
.call();
619623
```
620624

@@ -748,6 +752,8 @@ Release result = upgradeCommand
748752
// Optionally set the path to the file containing repository names and URLs
749753
// Defaults to "~/.config/helm/repositories.yaml"
750754
.withRepositoryConfig(Paths.get("path", "to", "config"))
755+
// Optionally skip installation of CRDs
756+
.skipCrds()
751757
.call();
752758
```
753759

0 commit comments

Comments
 (0)