Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

fix: RemoteSecret prometheus configuration location #95

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
sed -i -e 's|\(https://github.com/redhat-appstudio/remote-secret/config/overlays/openshift_vault?ref=\)\(.*\)|\1{{ revision }}|' components/remote-secret-controller/overlays/development/kustomization.yaml;
awk -i inplace -v n=1 '/newTag:/ { if (++count == n) sub(/newTag:.*/, "newTag: {{ revision }}")} 1' components/remote-secret-controller/overlays/development/kustomization.yaml
sed -i -e 's|\(https://github.com/redhat-appstudio/remote-secret/config/overlays/openshift_aws?ref=\)\(.*\)|\1{{ revision }}|' components/remote-secret-controller/overlays/staging/base/kustomization.yaml;
sed -i -e 's|\(https://github.com/redhat-appstudio/remote-secret/config/prometheus?ref=\)\(.*\)|\1{{ revision }}|' components/remote-secret-controller/overlays/staging/base/kustomization.yaml;
sed -i -e 's|\(https://github.com/redhat-appstudio/remote-secret/config/monitoring/prometheus?ref=\)\(.*\)|\1{{ revision }}|' components/remote-secret-controller/overlays/staging/base/kustomization.yaml;
awk -i inplace -v n=1 '/newTag:/ { if (++count == n) sub(/newTag:.*/, "newTag: {{ revision }}")} 1' components/remote-secret-controller/overlays/staging/base/kustomization.yaml
mapping:
components:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
sed -i -e 's|\(https://github.com/redhat-appstudio/remote-secret/config/overlays/openshift_vault?ref=\)\(.*\)|\1{{ revision }}|' components/remote-secret-controller/overlays/development/kustomization.yaml;
awk -i inplace -v n=1 '/newTag:/ { if (++count == n) sub(/newTag:.*/, "newTag: {{ revision }}")} 1' components/remote-secret-controller/overlays/development/kustomization.yaml
sed -i -e 's|\(https://github.com/redhat-appstudio/remote-secret/config/overlays/openshift_aws?ref=\)\(.*\)|\1{{ revision }}|' components/remote-secret-controller/overlays/staging/base/kustomization.yaml;
sed -i -e 's|\(https://github.com/redhat-appstudio/remote-secret/config/prometheus?ref=\)\(.*\)|\1{{ revision }}|' components/remote-secret-controller/overlays/staging/base/kustomization.yaml;
sed -i -e 's|\(https://github.com/redhat-appstudio/remote-secret/config/monitoring/prometheus?ref=\)\(.*\)|\1{{ revision }}|' components/remote-secret-controller/overlays/staging/base/kustomization.yaml;
awk -i inplace -v n=1 '/newTag:/ { if (++count == n) sub(/newTag:.*/, "newTag: {{ revision }}")} 1' components/remote-secret-controller/overlays/staging/base/kustomization.yaml

mapping:
Expand Down
Loading