Skip to content

Commit

Permalink
feat: configure secret files for prober
Browse files Browse the repository at this point in the history
  • Loading branch information
roaminggypsy committed Dec 11, 2024
1 parent 8362ce1 commit 825f00d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/main/k8s/dev/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
)
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 825f00d

Please sign in to comment.