Skip to content

Commit

Permalink
Fix the automated build
Browse files Browse the repository at this point in the history
  • Loading branch information
hickeyma committed Apr 6, 2020
1 parent a477a35 commit a744a92
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
bin/
dist/
tmp/
releases/
16 changes: 8 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
builds:
- main: ./cmd/helm-mapkubeapis/map_kube_apis.go
- main: ./cmd/helm-mapkubeapis
binary: mapkubeapis
env:
- CGO_ENABLED=0
Expand All @@ -10,12 +10,12 @@ builds:
goarch:
- amd64
- arm64
archive:
format: tar.gz
files:
- README.md
- LICENSE
- plugin.yaml
- scripts/install_plugin.sh
archives:
- format: tar.gz
files:
- README.md
- LICENSE
- plugin.yaml
- scripts/install_plugin.sh
checksum:
name_template: 'checksums.txt'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Errors similar to the following can be seen:
Error: UPGRADE FAILED: unable to build kubernetes objects from current release manifest: unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta1"
```

The `mapkubeapis` plugin fixes the issue by mapping releases which contain deprecated Kubernetes APIs to supported APIs. This is performed inline in the release metadata. Once this operation is completed, you can then upgrade using the chart with supported APIs.
The `mapkubeapis` plugin fixes the issue by mapping releases which contain deprecated Kubernetes APIs to supported APIs. This is performed inline in the release metadata where the existing release is `superseded` and a new release (metadata only) is added. Once this operation is completed, you can then upgrade using the chart with supported APIs.

> Note: It currently support Helm v3 only.
Expand Down

0 comments on commit a744a92

Please sign in to comment.