diff --git a/infra/gcp/terraform/k8s-infra-prow-build-trusted/prow-build-trusted/resources/k8s-infra-test-pods/build-serviceaccounts.yaml b/infra/gcp/terraform/k8s-infra-prow-build-trusted/prow-build-trusted/resources/k8s-infra-test-pods/build-serviceaccounts.yaml index 1271de5bc6a..03c1174f07a 100644 --- a/infra/gcp/terraform/k8s-infra-prow-build-trusted/prow-build-trusted/resources/k8s-infra-test-pods/build-serviceaccounts.yaml +++ b/infra/gcp/terraform/k8s-infra-prow-build-trusted/prow-build-trusted/resources/k8s-infra-test-pods/build-serviceaccounts.yaml @@ -1,6 +1,14 @@ --- apiVersion: v1 kind: ServiceAccount +metadata: + annotations: + iam.gke.io/gcp-service-account: prow-build-trusted@k8s-infra-prow-build-trusted.iam.gserviceaccount.com + name: prow-build-trusted + namespace: k8s-infra-test-pods +--- +apiVersion: v1 +kind: ServiceAccount metadata: annotations: iam.gke.io/gcp-service-account: k8s-infra-prow@kubernetes-public.iam.gserviceaccount.com diff --git a/infra/gcp/terraform/k8s-infra-prow-build-trusted/prow-build-trusted/resources/k8s-infra-test-pods/cpu-limit-range_limitrange.yaml b/infra/gcp/terraform/k8s-infra-prow-build-trusted/prow-build-trusted/resources/k8s-infra-test-pods/cpu-limit-range_limitrange.yaml new file mode 100644 index 00000000000..ff15e5ce01c --- /dev/null +++ b/infra/gcp/terraform/k8s-infra-prow-build-trusted/prow-build-trusted/resources/k8s-infra-test-pods/cpu-limit-range_limitrange.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: LimitRange +metadata: + name: cpu-limit-range + namespace: k8s-infra-test-pods +spec: + limits: + - defaultRequest: + cpu: 250m + type: Container diff --git a/infra/gcp/terraform/k8s-infra-prow-build-trusted/prow-build-trusted/resources/k8s-infra-test-pods/mem-limit-range_limitrange.yaml b/infra/gcp/terraform/k8s-infra-prow-build-trusted/prow-build-trusted/resources/k8s-infra-test-pods/mem-limit-range_limitrange.yaml new file mode 100644 index 00000000000..c10a909e21b --- /dev/null +++ b/infra/gcp/terraform/k8s-infra-prow-build-trusted/prow-build-trusted/resources/k8s-infra-test-pods/mem-limit-range_limitrange.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: LimitRange +metadata: + name: mem-limit-range + namespace: k8s-infra-test-pods +spec: + limits: + - defaultRequest: + memory: 1Gi + type: Container diff --git a/infra/gcp/terraform/k8s-infra-prow-build-trusted/prow-build-trusted/resources/staging-test-pods/.gitkeep b/infra/gcp/terraform/k8s-infra-prow-build-trusted/prow-build-trusted/resources/staging-test-pods/.gitkeep deleted file mode 100644 index 06fc2a8cfce..00000000000 --- a/infra/gcp/terraform/k8s-infra-prow-build-trusted/prow-build-trusted/resources/staging-test-pods/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -TODO: remove this file once real files are in this directory