diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 562d10d83..252876c68 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -70,7 +70,7 @@ jobs: - name: Run default status test run: | kubectl apply -f config/testdata/status-defaults - for crd in alert provider receiver ; do + for crd in receiver ; do RESULT=$(kubectl get ${crd} status-defaults -o go-template={{.status}}) EXPECTED='map[observedGeneration:-1]' if [ "${RESULT}" != "${EXPECTED}" ] ; then @@ -87,9 +87,6 @@ jobs: - name: Run smoke tests run: | kubectl -n notification-system apply -f ./config/samples - kubectl -n notification-system wait provider/slack-provider-sample --for=condition=ready --timeout=1m - kubectl -n notification-system wait provider/generic-provider-sample --for=condition=ready --timeout=1m - kubectl -n notification-system wait alert/alert-sample --for=condition=ready --timeout=1m kubectl -n notification-system wait receiver/receiver-sample --for=condition=ready --timeout=1m - name: Logs run: | diff --git a/config/testdata/status-defaults/alert.yaml b/config/testdata/status-defaults/alert.yaml deleted file mode 100644 index 40bec30ad..000000000 --- a/config/testdata/status-defaults/alert.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -apiVersion: notification.toolkit.fluxcd.io/v1beta1 -kind: Alert -metadata: - name: status-defaults diff --git a/config/testdata/status-defaults/provider.yaml b/config/testdata/status-defaults/provider.yaml deleted file mode 100644 index 27e8372fe..000000000 --- a/config/testdata/status-defaults/provider.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: notification.toolkit.fluxcd.io/v1beta1 -kind: Provider -metadata: - name: status-defaults