-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds k8s-staging-csi-secrets-store image pushing prow config
Adds the prow config needed for pushing the CSI secrets store driver to a staging registry, from where the images will be pushed.
- Loading branch information
1 parent
c4e0cda
commit b82ce92
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
config/jobs/image-pushing/k8s-staging-csi-secrets-store.yaml
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
postsubmits: | ||
# This is the github repo we'll build from. This block needs to be repeated | ||
# for each repo. | ||
kubernetes-sigs/secrets-store-csi-driver: | ||
# The name should be changed to match the repo name above | ||
- name: secrets-store-csi-driver-push-image | ||
# TODO: move this to a more appropriate cluster. | ||
cluster: test-infra-trusted | ||
annotations: | ||
# This is the name of some testgrid dashboard to report to. | ||
# If this is the first one for your sig, you may need to create one | ||
testgrid-dashboards: sig-auth-secrets-store-csi-driver | ||
decorate: true | ||
# we only need to run if necessary (e.g.: the version was bumped) | ||
run_if_changed: '^docker\/' | ||
# this causes the job to only run on the master branch. Remove it if your | ||
# job makes sense on every branch (unless it's setting a `latest` tag it | ||
# probably does). | ||
branches: | ||
- ^master$ | ||
spec: | ||
serviceAccountName: deployer # TODO(fejta)- use pusher | ||
containers: | ||
- image: gcr.io/k8s-testimages/image-builder:v20200213-0032cdb | ||
command: | ||
- /run.sh | ||
args: | ||
# this is the project GCB will run in, which is the same as the GCR | ||
# images are pushed to. | ||
- --project=gcr.io/k8s-staging-csi-secrets-store | ||
# This is the same as above, but with -gcb appended. | ||
- --scratch-bucket=gs://gcr.io/k8s-staging-csi-secrets-store-gcb | ||
- --env-passthrough=PULL_BASE_REF | ||
- --build-dir=. | ||
- docker | ||
volumeMounts: | ||
- name: windows-cert | ||
mountPath: /root/.docker-1809 | ||
- name: windows-cert | ||
mountPath: /root/.docker-1903 | ||
- name: windows-cert | ||
mountPath: /root/.docker-1909 | ||
volumes: | ||
- name: windows-cert | ||
secret: | ||
secretName: windows-img-promoter-cert |