gke-test-cluster-operator
gke-test-cluster-operator copied to clipboard
move defaults out of api/*/testclustergke_webhook.go
The primary need for this is to remove hardcoded defaults for:
c.Spec.Project = "cilium-ci"
c.Spec.Location = "europe-west2-b"
c.Spec.Region = "europe-west2"
c.Spec.JobSpec.Runner.Image = "quay.io/isovalent/gke-test-cluster-gcloud:803ff83d3786eb38ef05c95768060b0c7ae0fc4d"
c.Spec.JobSpec.Runner.InitImage = "quay.io/isovalent/gke-test-cluster-initutil:854733411778d633350adfa1ae66bf11ba658a3f"
There should be a per-namespace object that defines the defaults, to allow for multi-project setups etc.