prow/oss/cluster/build/grandmatriarch_test-pods.yaml (64 lines of code) (raw):

# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. apiVersion: v1 kind: Namespace metadata: name: test-pods --- apiVersion: v1 kind: ServiceAccount metadata: annotations: iam.gke.io/gcp-service-account: oss-prow@oss-prow.iam.gserviceaccount.com name: grandmatriarch namespace: test-pods --- kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: name: grandmatriarch namespace: test-pods rules: - apiGroups: - "" resources: - secrets verbs: - create - get - update --- kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: grandmatriarch namespace: test-pods roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: grandmatriarch subjects: - kind: ServiceAccount name: grandmatriarch --- apiVersion: apps/v1 kind: Deployment metadata: name: grandmatriarch namespace: test-pods labels: app: grandmatriarch-test spec: replicas: 1 selector: matchLabels: app: grandmatriarch-test template: metadata: labels: app: grandmatriarch-test spec: serviceAccountName: grandmatriarch containers: - name: bakery image: us-central1-docker.pkg.dev/gob-prow/prow-images/grandmatriarch:v20250423-91b28ca9b args: - http-cookiefile