fix(ci): correctly load prometheus-operator manifest
This commit is contained in:
parent
04d5c307ec
commit
00e2365625
|
@ -148,14 +148,16 @@ jobs:
|
||||||
|
|
||||||
- name: Add Dependencies
|
- name: Add Dependencies
|
||||||
run: |
|
run: |
|
||||||
|
## TODO: Move to our Helm Charts
|
||||||
|
## TODO: Only add when required
|
||||||
if [[ "${{ matrix.chart }}" != "charts/operators/metallb" ]]; then
|
if [[ "${{ matrix.chart }}" != "charts/operators/metallb" ]]; then
|
||||||
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.13.10/config/manifests/metallb-native.yaml
|
kubectl apply -f --server-side --force-conflicts https://raw.githubusercontent.com/metallb/metallb/v0.13.10/config/manifests/metallb-native.yaml
|
||||||
fi
|
fi
|
||||||
if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then
|
if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then
|
||||||
kubectl apply -f https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.17/releases/cnpg-1.17.5.yaml
|
kubectl apply -f --server-side --force-conflicts https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.17/releases/cnpg-1.17.5.yaml
|
||||||
fi
|
fi
|
||||||
if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then
|
if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then
|
||||||
kubectl apply -f https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.65.2/bundle.yaml
|
kubectl apply -f --server-side --force-conflicts https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.65.2/bundle.yaml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Run chart-testing (install)
|
- name: Run chart-testing (install)
|
||||||
|
@ -206,16 +208,14 @@ jobs:
|
||||||
|
|
||||||
- name: Add Dependencies
|
- name: Add Dependencies
|
||||||
run: |
|
run: |
|
||||||
## TODO: Move to our Helm Charts
|
|
||||||
## TODO: Only add when required
|
|
||||||
if [[ "${{ matrix.chart }}" != "charts/operators/metallb" ]]; then
|
if [[ "${{ matrix.chart }}" != "charts/operators/metallb" ]]; then
|
||||||
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.13.10/config/manifests/metallb-native.yaml
|
kubectl apply -f --server-side --force-conflicts https://raw.githubusercontent.com/metallb/metallb/v0.13.10/config/manifests/metallb-native.yaml
|
||||||
fi
|
fi
|
||||||
if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then
|
if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then
|
||||||
kubectl apply -f https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.17/releases/cnpg-1.17.5.yaml
|
kubectl apply -f --server-side --force-conflicts https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.17/releases/cnpg-1.17.5.yaml
|
||||||
fi
|
fi
|
||||||
if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then
|
if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then
|
||||||
kubectl apply -f https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.65.2/bundle.yaml
|
kubectl apply -f --server-side --force-conflicts https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.65.2/bundle.yaml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Run chart-testing (install)
|
- name: Run chart-testing (install)
|
||||||
|
@ -267,13 +267,13 @@ jobs:
|
||||||
- name: Add Dependencies
|
- name: Add Dependencies
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ matrix.chart }}" != "charts/operators/metallb" ]]; then
|
if [[ "${{ matrix.chart }}" != "charts/operators/metallb" ]]; then
|
||||||
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.13.10/config/manifests/metallb-native.yaml
|
kubectl apply -f --server-side --force-conflicts https://raw.githubusercontent.com/metallb/metallb/v0.13.10/config/manifests/metallb-native.yaml
|
||||||
fi
|
fi
|
||||||
if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then
|
if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then
|
||||||
kubectl apply -f https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.17/releases/cnpg-1.17.5.yaml
|
kubectl apply -f --server-side --force-conflicts https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.17/releases/cnpg-1.17.5.yaml
|
||||||
fi
|
fi
|
||||||
if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then
|
if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then
|
||||||
kubectl apply -f https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.65.2/bundle.yaml
|
kubectl apply -f --server-side --force-conflicts https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.65.2/bundle.yaml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Run chart-testing (install)
|
- name: Run chart-testing (install)
|
||||||
|
@ -325,13 +325,13 @@ jobs:
|
||||||
- name: Add Dependencies
|
- name: Add Dependencies
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ matrix.chart }}" != "charts/operators/metallb" ]]; then
|
if [[ "${{ matrix.chart }}" != "charts/operators/metallb" ]]; then
|
||||||
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.13.10/config/manifests/metallb-native.yaml
|
kubectl apply -f --server-side --force-conflicts https://raw.githubusercontent.com/metallb/metallb/v0.13.10/config/manifests/metallb-native.yaml
|
||||||
fi
|
fi
|
||||||
if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then
|
if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then
|
||||||
kubectl apply -f https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.17/releases/cnpg-1.17.5.yaml
|
kubectl apply -f --server-side --force-conflicts https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.17/releases/cnpg-1.17.5.yaml
|
||||||
fi
|
fi
|
||||||
if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then
|
if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then
|
||||||
kubectl apply -f https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.65.2/bundle.yaml
|
kubectl apply -f --server-side --force-conflicts https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.65.2/bundle.yaml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Run chart-testing (install)
|
- name: Run chart-testing (install)
|
||||||
|
@ -383,13 +383,13 @@ jobs:
|
||||||
- name: Add Dependencies
|
- name: Add Dependencies
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ matrix.chart }}" != "charts/operators/metallb" ]]; then
|
if [[ "${{ matrix.chart }}" != "charts/operators/metallb" ]]; then
|
||||||
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.13.10/config/manifests/metallb-native.yaml
|
kubectl apply -f --server-side --force-conflicts https://raw.githubusercontent.com/metallb/metallb/v0.13.10/config/manifests/metallb-native.yaml
|
||||||
fi
|
fi
|
||||||
if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then
|
if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then
|
||||||
kubectl apply -f https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.17/releases/cnpg-1.17.5.yaml
|
kubectl apply -f --server-side --force-conflicts https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.17/releases/cnpg-1.17.5.yaml
|
||||||
fi
|
fi
|
||||||
if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then
|
if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then
|
||||||
kubectl apply -f https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.65.2/bundle.yaml
|
kubectl apply -f --server-side --force-conflicts --server-side --force-conflicts https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.65.2/bundle.yaml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Run chart-testing (install)
|
- name: Run chart-testing (install)
|
||||||
|
@ -441,13 +441,13 @@ jobs:
|
||||||
- name: Add Dependencies
|
- name: Add Dependencies
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ matrix.chart }}" != "charts/operators/metallb" ]]; then
|
if [[ "${{ matrix.chart }}" != "charts/operators/metallb" ]]; then
|
||||||
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.13.10/config/manifests/metallb-native.yaml
|
kubectl apply -f --server-side --force-conflicts https://raw.githubusercontent.com/metallb/metallb/v0.13.10/config/manifests/metallb-native.yaml
|
||||||
fi
|
fi
|
||||||
if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then
|
if [[ "${{ matrix.chart }}" != "charts/operators/cloudnative-pg" ]]; then
|
||||||
kubectl apply -f https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.17/releases/cnpg-1.17.5.yaml
|
kubectl apply -f --server-side --force-conflicts https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.17/releases/cnpg-1.17.5.yaml
|
||||||
fi
|
fi
|
||||||
if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then
|
if [[ "${{ matrix.chart }}" != "charts/operators/prometheus-operator" ]]; then
|
||||||
kubectl apply -f https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.65.2/bundle.yaml
|
kubectl apply -f --server-side --force-conflicts https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.65.2/bundle.yaml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Run chart-testing (install)
|
- name: Run chart-testing (install)
|
||||||
|
|
Loading…
Reference in New Issue