This repository was archived by the owner on Feb 14, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +14
-9
lines changed Expand file tree Collapse file tree 4 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,4 @@ fluentd:
9
9
path : ' /metrics'
10
10
port : ' 24231'
11
11
12
- images :
13
- log_cache : " "
14
- syslog_server : " "
15
- log_cache_gateway : " "
16
- fluent : " "
17
- cf_auth_proxy : " "
18
-
19
12
debug : false
Original file line number Diff line number Diff line change
1
+
2
+ # @ load("@ytt:overlay", "overlay")
3
+ # @data/values
4
+ ---
5
+ # @overlay/match missing_ok=True
6
+ images :
7
+ log_cache : " "
8
+ syslog_server : " "
9
+ log_cache_gateway : " "
10
+ fluent : " "
11
+ cf_auth_proxy : " "
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ function buildAndReplaceImage {
16
16
docker push $REPOSITORY /$image :latest
17
17
18
18
imageRef=" $( docker image inspect $REPOSITORY /$image :latest --format ' {{index .RepoDigests 0}}' ) "
19
- sed -i' ' -e " s| $yttValuesRef :.*| $yttValuesRef : \" $imageRef \" |" config/00- values.yml
19
+ sed -i' ' -e " s| $yttValuesRef :.*| $yttValuesRef : \" $imageRef \" |" config/values/images .yml
20
20
}
21
21
buildAndReplaceImage log-cache vendor/log-cache/src cmd/log-cache/Dockerfile log_cache > /tmp/logcache.txt &
22
22
buildAndReplaceImage log-cache-gateway vendor/log-cache/src cmd/gateway/Dockerfile log_cache_gateway > /tmp/log-cache-gateway.txt &
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ BASE_DIR="${SCRIPT_DIR}/.."
8
8
9
9
pushd " ${CF_FOR_K8s_DIR} "
10
10
vendir sync -d config/logging/_ytt_lib/cf-k8s-logging=" ${BASE_DIR} /config"
11
- cp -r " ${BASE_DIR} " /tests/assets/* config/logging/_ytt_lib/cf-k8s-logging/
11
+ cp -r " ${BASE_DIR} " /tests/assets/aggregate-drain.yml config/logging/_ytt_lib/cf-k8s-logging/values/
12
+ cp -r " ${BASE_DIR} " /tests/assets/ncat-deploy.yml config/logging/_ytt_lib/cf-k8s-logging/
12
13
popd
13
14
You can’t perform that action at this time.
0 commit comments