Skip to content

Commit

Permalink
Revert file renaming to maintain backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
bonzofenix committed May 28, 2024
1 parent f89e27d commit e60f202
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ci/autoscaler/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ anchors:
operations/loggregator-certs-from-cf.yml
operations/add-extra-plan.yml
operations/set-release-version.yml
operations/use-log-cache.yml
operations/configure-log-cache-and-forward-metrics-via-mtls.yml
operations/enable-metricsforwarder-via-metron-agent.yml
operations/remove-metricsserver.yml
operations/remove-metricsgateway.yml
Expand All @@ -36,7 +36,7 @@ anchors:
operations/loggregator-certs-from-cf.yml
operations/add-extra-plan.yml
operations/set-release-version.yml
operations/use-log-cache.yml
operations/configure-log-cache-and-forward-metrics-via-mtls.yml
operations/enable-metricsforwarder-via-syslog-agent.yml
operations/remove-metricsserver.yml
operations/remove-metricsgateway.yml
Expand Down
2 changes: 1 addition & 1 deletion ci/autoscaler/scripts/deploy-autoscaler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ops_files=${OPS_FILES:-"${autoscaler_dir}/operations/add-releases.yml\
${autoscaler_dir}/operations/loggregator-certs-from-cf.yml\
${autoscaler_dir}/operations/add-extra-plan.yml\
${autoscaler_dir}/operations/set-release-version.yml\
${autoscaler_dir}/operations/use-log-cache.yml\
${autoscaler_dir}/operations/configure-log-cache-and-forward-metrics-via-mtls.yml\
${autoscaler_dir}/operations/remove-metricsserver.yml\
${autoscaler_dir}/operations/remove-metricsgateway.yml\
${autoscaler_dir}/operations/enable-log-cache-via-uaa.yml\
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# safeguard: make sure there is no loggregator agent configured
- type: remove
path: /instance_groups/name=metricsforwarder/jobs/name=loggregator_agent?


# configure metricscollector
- type: replace
path: /instance_groups/name=eventgenerator/jobs/name=eventgenerator/properties/autoscaler/eventgenerator/metricscollector/use_log_cache?
Expand Down
1 change: 0 additions & 1 deletion operations/enable-metricsforwarder-via-metron-agent.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# configure metricsforwarder
- type: replace
path: /instance_groups/name=metricsforwarder/jobs/name=metricsforwarder/properties/autoscaler/metricsforwarder/loggregator
value:
Expand Down

0 comments on commit e60f202

Please sign in to comment.