Skip to content

Commit

Permalink
task: set hubimage allow failure
Browse files Browse the repository at this point in the history
  • Loading branch information
shaowenchen committed Jun 30, 2023
1 parent abee0ac commit 9be7700
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion task/set-hubimage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,28 @@ spec:
steps:
- name: replace quay.io/prometheus-operator
content: kubectl -n ${namespace} get ${resource} -o yaml | sed 's/quay.io\/prometheus-operator/hubimage/g' | kubectl apply -f -
allowfailure: "true"
- name: replace registry.k8s.io/kube-state-metrics
content: kubectl -n ${namespace} get ${resource} -o yaml | sed 's/registry.k8s.io\/kube-state-metrics/hubimage/g' | kubectl apply -f -
allowfailure: "true"
- name: replace quay.io/prometheus
content: kubectl -n ${namespace} get ${resource} -o yaml | sed 's/quay.io\/prometheus/hubimage/g' | kubectl apply -f -
allowfailure: "true"
- name: replace prom/blackbox-exporter
content: kubectl -n ${namespace} get ${resource} -o yaml | sed 's/prom\/blackbox-exporter/hubimage\/blackbox-exporter/g' | kubectl apply -f -
allowfailure: "true"
- name: replace k8s.gcr.io/autoscaling
content: kubectl -n ${namespace} get ${resource} -o yaml | sed 's/k8s.gcr.io\/autoscaling/hubimage/g' | kubectl apply -f -
allowfailure: "true"
- name: replace ghcr.io/chaos-mesh/chaos-mesh
content: kubectl -n ${namespace} get ${resource} -o yaml | sed 's/ghcr.io\/chaos-mesh\/chaos-mesh/hubimage\/chaos-mesh/g' | kubectl apply -f -
allowfailure: "true"
- name: replace ghcr.io/chaos-mesh/chaos-daemon
content: kubectl -n ${namespace} get ${resource} -o yaml | sed 's/ghcr.io\/chaos-mesh\/chaos-daemon/hubimage\/chaos-daemon/g' | kubectl apply -f -
allowfailure: "true"
- name: replace ghcr.io/chaos-mesh/chaos-dashboard
content: kubectl -n ${namespace} get ${resource} -o yaml | sed 's/ghcr.io\/chaos-mesh\/chaos-dashboard/hubimage\/chaos-dashboard/g' | kubectl apply -f -
allowfailure: "true"
- name: replace ghcr.io/chaos-mesh/chaos-coredns
content: kubectl -n ${namespace} get ${resource} -o yaml | sed 's/ghcr.io\/chaos-mesh\/chaos-coredns/hubimage\/chaos-coredns/g' | kubectl apply -f -
content: kubectl -n ${namespace} get ${resource} -o yaml | sed 's/ghcr.io\/chaos-mesh\/chaos-coredns/hubimage\/chaos-coredns/g' | kubectl apply -f -
allowfailure: "true"

0 comments on commit 9be7700

Please sign in to comment.