forked from helm/charts
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[stable/odoo] fix upgrading existing deployments
In helm#17352 the `apiVersion` of the deployment resource was updated to `apps/v1` in tune with the api's deprecated in k8s 1.16. This change however breaks upgradability of existing odoo deployments with helm v3 (rc) as described in helm/helm#6646. To fix this, we have defined a `odoo.deployment.apiVersion` helper that returns the new `apiVersion` only when k8s 1.16 or higher is in use. Signed-off-by: Sameer Naik <sameersbn@vmware.com>
- Loading branch information
Sameer Naik
committed
Nov 8, 2019
1 parent
122647b
commit 1fa6a9b
Showing
3 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters