Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Feature/add gke tests #541

Closed
wants to merge 11 commits into from
Closed

Conversation

gkowalski-google
Copy link
Contributor

Resolves #515

@@ -911,7 +911,7 @@ variable "git_sync_wait" {

variable "helm_chart_version" {
description = "The version of the Helm chart to use"
default = "2.1.0"
default = "2.2.0-rc1"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently using this version until 2.2.0 is released.


it "has the expected status" do
expect(pod.status.phase).to eq 'Running'
end
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These tests will ensure the minimum Forseti pods are running.

Copy link
Contributor

@kevensen kevensen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These LGTM.

examples/on_gke_end_to_end/outputs.tf Show resolved Hide resolved
@gkowalski-google gkowalski-google changed the base branch from master to modulerelease520 March 11, 2020 05:06
@gkowalski-google
Copy link
Contributor Author

/gcbrun

hiloboy0119 and others added 5 commits March 12, 2020 10:33
…480)

* Updating the way Forseti Server Configuration is retrieved from GCS

Moved away from `google_storage_object_signed_url` as it requires
a local json keyfile and I am deploying using service account
impersonation.

hashicorp/terraform-provider-google#3558

* Pinning version of helm provider to ~> v0.10

* Passing helm chart version through the on_gke_end_to_end example to the on_gke module

Co-authored-by: Gregg Kowalski <[email protected]>
…s.tf file for on-gke-end-to-end, update helm chart to the 2.2 RC.
@@ -69,7 +69,7 @@ locals {
"storage-api.googleapis.com",
"groupssettings.googleapis.com",
]
workload_identity = "${var.project_id}.svc.id.goog"
workload_identity_namespace = var.workload_identity_namespace == null ? "${var.project_id}.svc.id.goog" : var.workload_identity_namespace
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend not making this conditional: input variable or bust.

@gkowalski-google
Copy link
Contributor Author

Due to this bug with Helm, these tests will not pass and will need to upgrade to Helm 3 to get the fix.

Related to #548

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tests for on GKE end-to-end example
4 participants