diff --git a/src/main/k8s/dev/BUILD.bazel b/src/main/k8s/dev/BUILD.bazel index 93a237ca75d..4518dc7cad9 100644 --- a/src/main/k8s/dev/BUILD.bazel +++ b/src/main/k8s/dev/BUILD.bazel @@ -526,3 +526,24 @@ cue_dump( "//src/main/k8s:measurement_system_prober", ], ) + +kustomization_dir( + name = "measurement_system_prober_secret", + srcs = ["measurement_system_prober_secret_kustomization.yaml"], + renames = {"measurement_system_prober_secret_kustomization.yaml": "kustomization.yaml"}, +) + +kustomization_dir( + name = "measurement_system_prober", + testonly = True, + srcs = [ + "resource_requirements.yaml", + ":measurement_system_prober", + ], + generate_kustomization = True, + tags = ["manual"], + deps = [ + "config_files", + ":measurement_system_prober_secret", + ], +) diff --git a/src/main/k8s/dev/measurement_system_prober_secret_kustomization.yaml b/src/main/k8s/dev/measurement_system_prober_secret_kustomization.yaml new file mode 100644 index 00000000000..cbf9e197221 --- /dev/null +++ b/src/main/k8s/dev/measurement_system_prober_secret_kustomization.yaml @@ -0,0 +1,21 @@ +# Copyright 2024 The Cross-Media Measurement 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. + +secretGenerator: + - name: certs-and-configs + files: + - mc_cs_private.der + - mc_tls.pem + - mc_tls.key + - all_root_certs.pem \ No newline at end of file