This repository has been archived by the owner on Jan 9, 2021. It is now read-only.
-
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.
This change fixes a problem whereby deployment of the marketplace app would fail on GKE clusters with Kubernetes versions >= 1.15. The main problem was that we were using the Google Marketplace Tools Version 0.7.0, and this uses a version of kubectl (1.12) that does not know how to authenticate with Kubernetes version 1.15 or newer. The changes included are as follows: * Upgraded the Google Marketplace Tools container image used by the Deployer from 0.7.0 to 0.10.0. The newer version of these tools provide an adaptive Kubectl client version (tools read the Kubernetes server version, then select a matching kubectl binary). * Upgraded the Google Marketplace Tools submodule to 0.10.0. * Upgraded the version of Helm used by the deployer from 2.6.1 to 2.16.1 to eliminate this Helm bug: helm/helm#2998 * Deleted x-google-marketplace section for tester.image in schema.yaml to be consistent for Google Marketplace Tools v0.10.0 * Added a build.sh flag (`-p` or `--persist`) to persist the application deployment after testing. * Fixed the deployment's `deploy-info` annotations to use keys that are valid JSON keys (i.e. with quotes). Fixes Issue #25 "Project fails to deploy on GKE 1.15.7-gke.23"
- Loading branch information
diverdane
committed
Mar 10, 2020
1 parent
6e3bce6
commit b8be637
Showing
12 changed files
with
104 additions
and
40 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
GCLOUD_CLUSTER_NAME: !var ci/google-conjur-cloud-launcher-onboard/gcloud-cluster-name | ||
GCLOUD_ZONE: !var ci/google-conjur-cloud-launcher-onboard/gcloud-zone | ||
GCLOUD_PROJECT_NAME: !var ci/google-conjur-cloud-launcher-onboard/gcloud-project-name | ||
GCLOUD_SERVICE_KEY: !var:file ci/google-conjur-cloud-launcher-onboard/gcloud-service-key | ||
common: | ||
GCLOUD_CLUSTER_NAME: !var ci/google-conjur-cloud-launcher-onboard/gcloud-cluster-name | ||
GCLOUD_ZONE: !var ci/google-conjur-cloud-launcher-onboard/gcloud-zone | ||
GCLOUD_PROJECT_NAME: !var ci/google-conjur-cloud-launcher-onboard/gcloud-project-name | ||
GCLOUD_SERVICE_KEY: !var:file ci/google-conjur-cloud-launcher-onboard/gcloud-service-key | ||
|
||
DOCKER_REGISTRY_URL: gcr.io | ||
DOCKER_REGISTRY_PATH: gcr.io/conjur-cloud-launcher-onboard | ||
DOCKER_REGISTRY_URL: gcr.io | ||
DOCKER_REGISTRY_PATH: gcr.io/conjur-cloud-launcher-onboard | ||
|
||
gke-1-12-10: | ||
GCLOUD_CLUSTER_NAME: !var ci/google-conjur-cloud-launcher-onboard/gcloud-cluster-name | ||
GCLOUD_ZONE: !var ci/google-conjur-cloud-launcher-onboard/gcloud-zone | ||
|
||
gke-1-15-9: | ||
GCLOUD_CLUSTER_NAME: onboarding-cluster-1-15-9 | ||
GCLOUD_ZONE: !var ci/google-conjur-cloud-launcher-onboard/gcloud-zone |
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