Fix typos

Signed-off-by: Alexander Berger <alex-berger@gmx.ch>
This commit is contained in:
Alexander Berger 2021-04-20 13:54:07 +02:00
parent fe766fb5c9
commit 4b6085518a
2 changed files with 2 additions and 2 deletions

View File

@ -1176,7 +1176,7 @@ the `HelmRelease.spec.install` and `HelmRelease.spec.upgrade` objects.
The following UpgradeCRDs policies are supported: The following UpgradeCRDs policies are supported:
- `Skip` Skip CRDs do neither install nor replace (update) any CRDs. - `Skip` Skip CRDs do neither install nor replace (update) any CRDs.
- `Create` Only create new CRDs which doe not yet exist, neither update nor delete any existing CRDs. - `Create` Only create new CRDs which do not yet exist, neither update nor delete any existing CRDs.
- `CreateReplace` Create new CRDs, update (replace) existing ones, but do **not** delete CRDs which - `CreateReplace` Create new CRDs, update (replace) existing ones, but do **not** delete CRDs which
no longer exist in the current helm release. no longer exist in the current helm release.

View File

@ -210,7 +210,7 @@ func (*rootScoped) Name() meta.RESTScopeName {
return meta.RESTScopeNameRoot return meta.RESTScopeNameRoot
} }
// This has been adapte from https://github.com/helm/helm/blob/v3.5.4/pkg/action/install.go#L127 // This has been adapted from https://github.com/helm/helm/blob/v3.5.4/pkg/action/install.go#L127
func (r *Runner) applyCRDs(policy v2.CRDsPolicy, hr v2.HelmRelease, chart *chart.Chart) error { func (r *Runner) applyCRDs(policy v2.CRDsPolicy, hr v2.HelmRelease, chart *chart.Chart) error {
cfg := r.config cfg := r.config
cfg.Log("apply CRDs with policy %s", policy) cfg.Log("apply CRDs with policy %s", policy)