From 65f869a57493f84ff948702a481f727594474453 Mon Sep 17 00:00:00 2001 From: Varsha Prasad Narsing Date: Tue, 21 Feb 2023 13:24:07 -0500 Subject: [PATCH] [infra] Add cloudbuild --- cloudbuild/cloudbuild_kube-rbac-proxy.yaml | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 cloudbuild/cloudbuild_kube-rbac-proxy.yaml diff --git a/cloudbuild/cloudbuild_kube-rbac-proxy.yaml b/cloudbuild/cloudbuild_kube-rbac-proxy.yaml new file mode 100644 index 00000000000..907edb4cf84 --- /dev/null +++ b/cloudbuild/cloudbuild_kube-rbac-proxy.yaml @@ -0,0 +1,24 @@ +# Copyright 2021 The Kubernetes Authors. +# +# 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 +# +# http://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. + +substitutions: + # This is the kube-rbac-proxy version, source image tags for which must exist remotely. + _KUBE_RBAC_PROXY_VERSION: v0.13.1 +steps: +- name: "gcr.io/cloud-builders/docker" + env: + - "KUBE_RBAC_PROXY_VERSION=${_KUBE_RBAC_PROXY_VERSION}" + entrypoint: "/usr/bin/env" + args: ["bash", "-c", "./build/build.sh"] +images: ["gcr.io/kubebuilder/kube-rbac-proxy:${_KUBE_RBAC_PROXY_VERSION}"] \ No newline at end of file