diff --git a/manifests/vela-system/delete-caps-application-helm-test-vela-app.yaml b/manifests/vela-system/delete-caps-application-helm-test-vela-app.yaml new file mode 100644 index 0000000..bb93c98 --- /dev/null +++ b/manifests/vela-system/delete-caps-application-helm-test-vela-app.yaml @@ -0,0 +1,10 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: Application +metadata: + annotations: + helm.sh/hook: test-success + helm.sh/hook-delete-policy: hook-succeeded + name: helm-test-vela-app + namespace: vela-system diff --git a/manifests/vela-system/delete-caps-componentdefinition-cron-task.yaml b/manifests/vela-system/delete-caps-componentdefinition-cron-task.yaml new file mode 100644 index 0000000..27d3b6c --- /dev/null +++ b/manifests/vela-system/delete-caps-componentdefinition-cron-task.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: ComponentDefinition +metadata: + namespace: vela-system + name: cron-task diff --git a/manifests/vela-system/delete-caps-componentdefinition-daemon.yaml b/manifests/vela-system/delete-caps-componentdefinition-daemon.yaml new file mode 100644 index 0000000..f68f8a0 --- /dev/null +++ b/manifests/vela-system/delete-caps-componentdefinition-daemon.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: ComponentDefinition +metadata: + namespace: vela-system + name: daemon diff --git a/manifests/vela-system/delete-caps-componentdefinition-k8s-objects.yaml b/manifests/vela-system/delete-caps-componentdefinition-k8s-objects.yaml new file mode 100644 index 0000000..565405b --- /dev/null +++ b/manifests/vela-system/delete-caps-componentdefinition-k8s-objects.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: ComponentDefinition +metadata: + namespace: vela-system + name: k8s-objects diff --git a/manifests/vela-system/delete-caps-componentdefinition-raw.yaml b/manifests/vela-system/delete-caps-componentdefinition-raw.yaml new file mode 100644 index 0000000..2cf27bd --- /dev/null +++ b/manifests/vela-system/delete-caps-componentdefinition-raw.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: ComponentDefinition +metadata: + namespace: vela-system + name: raw diff --git a/manifests/vela-system/delete-caps-componentdefinition-ref-objects.yaml b/manifests/vela-system/delete-caps-componentdefinition-ref-objects.yaml new file mode 100644 index 0000000..79f5748 --- /dev/null +++ b/manifests/vela-system/delete-caps-componentdefinition-ref-objects.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: ComponentDefinition +metadata: + namespace: vela-system + name: ref-objects diff --git a/manifests/vela-system/delete-caps-componentdefinition-task.yaml b/manifests/vela-system/delete-caps-componentdefinition-task.yaml new file mode 100644 index 0000000..b175686 --- /dev/null +++ b/manifests/vela-system/delete-caps-componentdefinition-task.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: ComponentDefinition +metadata: + namespace: vela-system + name: task diff --git a/manifests/vela-system/delete-caps-componentdefinition-webservice.yaml b/manifests/vela-system/delete-caps-componentdefinition-webservice.yaml new file mode 100644 index 0000000..d664f03 --- /dev/null +++ b/manifests/vela-system/delete-caps-componentdefinition-webservice.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: ComponentDefinition +metadata: + namespace: vela-system + name: webservice diff --git a/manifests/vela-system/delete-caps-componentdefinition-worker.yaml b/manifests/vela-system/delete-caps-componentdefinition-worker.yaml new file mode 100644 index 0000000..5b77c71 --- /dev/null +++ b/manifests/vela-system/delete-caps-componentdefinition-worker.yaml @@ -0,0 +1,10 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: ComponentDefinition +metadata: + namespace: vela-system + name: worker +###################################### +# delete all PolicyDefinitions +###################################### diff --git a/manifests/vela-system/delete-caps-policydefinition-apply-once.yaml b/manifests/vela-system/delete-caps-policydefinition-apply-once.yaml new file mode 100644 index 0000000..ee4a36a --- /dev/null +++ b/manifests/vela-system/delete-caps-policydefinition-apply-once.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: PolicyDefinition +metadata: + namespace: vela-system + name: apply-once diff --git a/manifests/vela-system/delete-caps-policydefinition-envbinding.yaml b/manifests/vela-system/delete-caps-policydefinition-envbinding.yaml new file mode 100644 index 0000000..ed573da --- /dev/null +++ b/manifests/vela-system/delete-caps-policydefinition-envbinding.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: PolicyDefinition +metadata: + namespace: vela-system + name: envbinding diff --git a/manifests/vela-system/delete-caps-policydefinition-garbage-collect.yaml b/manifests/vela-system/delete-caps-policydefinition-garbage-collect.yaml new file mode 100644 index 0000000..69b1dad --- /dev/null +++ b/manifests/vela-system/delete-caps-policydefinition-garbage-collect.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: PolicyDefinition +metadata: + namespace: vela-system + name: garbage-collect diff --git a/manifests/vela-system/delete-caps-policydefinition-health.yaml b/manifests/vela-system/delete-caps-policydefinition-health.yaml new file mode 100644 index 0000000..902c23d --- /dev/null +++ b/manifests/vela-system/delete-caps-policydefinition-health.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: PolicyDefinition +metadata: + namespace: vela-system + name: health diff --git a/manifests/vela-system/delete-caps-policydefinition-override.yaml b/manifests/vela-system/delete-caps-policydefinition-override.yaml new file mode 100644 index 0000000..8993b1e --- /dev/null +++ b/manifests/vela-system/delete-caps-policydefinition-override.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: PolicyDefinition +metadata: + namespace: vela-system + name: override diff --git a/manifests/vela-system/delete-caps-policydefinition-read-only.yaml b/manifests/vela-system/delete-caps-policydefinition-read-only.yaml new file mode 100644 index 0000000..b92a5db --- /dev/null +++ b/manifests/vela-system/delete-caps-policydefinition-read-only.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: PolicyDefinition +metadata: + namespace: vela-system + name: read-only diff --git a/manifests/vela-system/delete-caps-policydefinition-replication.yaml b/manifests/vela-system/delete-caps-policydefinition-replication.yaml new file mode 100644 index 0000000..6355227 --- /dev/null +++ b/manifests/vela-system/delete-caps-policydefinition-replication.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: PolicyDefinition +metadata: + namespace: vela-system + name: replication diff --git a/manifests/vela-system/delete-caps-policydefinition-shared-resource.yaml b/manifests/vela-system/delete-caps-policydefinition-shared-resource.yaml new file mode 100644 index 0000000..06a2a05 --- /dev/null +++ b/manifests/vela-system/delete-caps-policydefinition-shared-resource.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: PolicyDefinition +metadata: + namespace: vela-system + name: shared-resource diff --git a/manifests/vela-system/delete-caps-policydefinition-take-over.yaml b/manifests/vela-system/delete-caps-policydefinition-take-over.yaml new file mode 100644 index 0000000..15b78be --- /dev/null +++ b/manifests/vela-system/delete-caps-policydefinition-take-over.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: PolicyDefinition +metadata: + namespace: vela-system + name: take-over diff --git a/manifests/vela-system/delete-caps-policydefinition-topology.yaml b/manifests/vela-system/delete-caps-policydefinition-topology.yaml new file mode 100644 index 0000000..809c5c6 --- /dev/null +++ b/manifests/vela-system/delete-caps-policydefinition-topology.yaml @@ -0,0 +1,10 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: PolicyDefinition +metadata: + namespace: vela-system + name: topology +###################################### +# delete all ScopeDefinitions +###################################### diff --git a/manifests/vela-system/delete-caps-scopedefinition-healthscopes.core.oam.dev.yaml b/manifests/vela-system/delete-caps-scopedefinition-healthscopes.core.oam.dev.yaml new file mode 100644 index 0000000..8fff5ef --- /dev/null +++ b/manifests/vela-system/delete-caps-scopedefinition-healthscopes.core.oam.dev.yaml @@ -0,0 +1,10 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: ScopeDefinition +metadata: + name: healthscopes.core.oam.dev + namespace: vela-system +###################################### +# delete all Applications +###################################### diff --git a/manifests/vela-system/delete-caps-traitdefinition-affinity.yaml b/manifests/vela-system/delete-caps-traitdefinition-affinity.yaml new file mode 100644 index 0000000..53e6305 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-affinity.yaml @@ -0,0 +1,10 @@ +###################################### +# delete all TraitDefinitions +###################################### +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: affinity diff --git a/manifests/vela-system/delete-caps-traitdefinition-annotations.yaml b/manifests/vela-system/delete-caps-traitdefinition-annotations.yaml new file mode 100644 index 0000000..11a3516 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-annotations.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: annotations diff --git a/manifests/vela-system/delete-caps-traitdefinition-command.yaml b/manifests/vela-system/delete-caps-traitdefinition-command.yaml new file mode 100644 index 0000000..32cca14 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-command.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: command diff --git a/manifests/vela-system/delete-caps-traitdefinition-configmap.yaml b/manifests/vela-system/delete-caps-traitdefinition-configmap.yaml new file mode 100644 index 0000000..de3daa4 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-configmap.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: configmap diff --git a/manifests/vela-system/delete-caps-traitdefinition-container-image.yaml b/manifests/vela-system/delete-caps-traitdefinition-container-image.yaml new file mode 100644 index 0000000..430b94f --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-container-image.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: container-image diff --git a/manifests/vela-system/delete-caps-traitdefinition-cpuscaler.yaml b/manifests/vela-system/delete-caps-traitdefinition-cpuscaler.yaml new file mode 100644 index 0000000..fa8908c --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-cpuscaler.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: cpuscaler diff --git a/manifests/vela-system/delete-caps-traitdefinition-env.yaml b/manifests/vela-system/delete-caps-traitdefinition-env.yaml new file mode 100644 index 0000000..f405998 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-env.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: env diff --git a/manifests/vela-system/delete-caps-traitdefinition-expose.yaml b/manifests/vela-system/delete-caps-traitdefinition-expose.yaml new file mode 100644 index 0000000..83386da --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-expose.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: expose diff --git a/manifests/vela-system/delete-caps-traitdefinition-gateway.yaml b/manifests/vela-system/delete-caps-traitdefinition-gateway.yaml new file mode 100644 index 0000000..4758d67 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-gateway.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: gateway diff --git a/manifests/vela-system/delete-caps-traitdefinition-hostalias.yaml b/manifests/vela-system/delete-caps-traitdefinition-hostalias.yaml new file mode 100644 index 0000000..4e74fcb --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-hostalias.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: hostalias diff --git a/manifests/vela-system/delete-caps-traitdefinition-hpa.yaml b/manifests/vela-system/delete-caps-traitdefinition-hpa.yaml new file mode 100644 index 0000000..1898171 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-hpa.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: hpa diff --git a/manifests/vela-system/delete-caps-traitdefinition-ingress-1-20.yaml b/manifests/vela-system/delete-caps-traitdefinition-ingress-1-20.yaml new file mode 100644 index 0000000..331058c --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-ingress-1-20.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: ingress-1-20 diff --git a/manifests/vela-system/delete-caps-traitdefinition-ingress.yaml b/manifests/vela-system/delete-caps-traitdefinition-ingress.yaml new file mode 100644 index 0000000..5a8c869 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-ingress.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: ingress diff --git a/manifests/vela-system/delete-caps-traitdefinition-init-container.yaml b/manifests/vela-system/delete-caps-traitdefinition-init-container.yaml new file mode 100644 index 0000000..20518a7 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-init-container.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: init-container diff --git a/manifests/vela-system/delete-caps-traitdefinition-json-merge-patch.yaml b/manifests/vela-system/delete-caps-traitdefinition-json-merge-patch.yaml new file mode 100644 index 0000000..9421976 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-json-merge-patch.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: json-merge-patch diff --git a/manifests/vela-system/delete-caps-traitdefinition-json-patch.yaml b/manifests/vela-system/delete-caps-traitdefinition-json-patch.yaml new file mode 100644 index 0000000..fef94b7 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-json-patch.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: json-patch diff --git a/manifests/vela-system/delete-caps-traitdefinition-k8s-update-strategy.yaml b/manifests/vela-system/delete-caps-traitdefinition-k8s-update-strategy.yaml new file mode 100644 index 0000000..bf11200 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-k8s-update-strategy.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: k8s-update-strategy diff --git a/manifests/vela-system/delete-caps-traitdefinition-labels.yaml b/manifests/vela-system/delete-caps-traitdefinition-labels.yaml new file mode 100644 index 0000000..b1d76ec --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-labels.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: labels diff --git a/manifests/vela-system/delete-caps-traitdefinition-lifecycle.yaml b/manifests/vela-system/delete-caps-traitdefinition-lifecycle.yaml new file mode 100644 index 0000000..6e72cc0 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-lifecycle.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: lifecycle diff --git a/manifests/vela-system/delete-caps-traitdefinition-nocalhost.yaml b/manifests/vela-system/delete-caps-traitdefinition-nocalhost.yaml new file mode 100644 index 0000000..c19be18 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-nocalhost.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: nocalhost diff --git a/manifests/vela-system/delete-caps-traitdefinition-node-affinity.yaml b/manifests/vela-system/delete-caps-traitdefinition-node-affinity.yaml new file mode 100644 index 0000000..af59489 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-node-affinity.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: node-affinity diff --git a/manifests/vela-system/delete-caps-traitdefinition-pure-ingress.yaml b/manifests/vela-system/delete-caps-traitdefinition-pure-ingress.yaml new file mode 100644 index 0000000..050522c --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-pure-ingress.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: pure-ingress diff --git a/manifests/vela-system/delete-caps-traitdefinition-pvc.yaml b/manifests/vela-system/delete-caps-traitdefinition-pvc.yaml new file mode 100644 index 0000000..d2488b0 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-pvc.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: pvc diff --git a/manifests/vela-system/delete-caps-traitdefinition-resource.yaml b/manifests/vela-system/delete-caps-traitdefinition-resource.yaml new file mode 100644 index 0000000..acc1564 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-resource.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: resource diff --git a/manifests/vela-system/delete-caps-traitdefinition-scaler.yaml b/manifests/vela-system/delete-caps-traitdefinition-scaler.yaml new file mode 100644 index 0000000..a1d5dc4 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-scaler.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: scaler diff --git a/manifests/vela-system/delete-caps-traitdefinition-service-account.yaml b/manifests/vela-system/delete-caps-traitdefinition-service-account.yaml new file mode 100644 index 0000000..8a7c3a6 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-service-account.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: service-account diff --git a/manifests/vela-system/delete-caps-traitdefinition-service-binding.yaml b/manifests/vela-system/delete-caps-traitdefinition-service-binding.yaml new file mode 100644 index 0000000..e172136 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-service-binding.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: service-binding diff --git a/manifests/vela-system/delete-caps-traitdefinition-sidecar.yaml b/manifests/vela-system/delete-caps-traitdefinition-sidecar.yaml new file mode 100644 index 0000000..150ec5e --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-sidecar.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: sidecar diff --git a/manifests/vela-system/delete-caps-traitdefinition-startup-probe.yaml b/manifests/vela-system/delete-caps-traitdefinition-startup-probe.yaml new file mode 100644 index 0000000..1c10e9f --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-startup-probe.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: startup-probe diff --git a/manifests/vela-system/delete-caps-traitdefinition-storage.yaml b/manifests/vela-system/delete-caps-traitdefinition-storage.yaml new file mode 100644 index 0000000..6721000 --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-storage.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: storage diff --git a/manifests/vela-system/delete-caps-traitdefinition-topologyspreadconstraints.yaml b/manifests/vela-system/delete-caps-traitdefinition-topologyspreadconstraints.yaml new file mode 100644 index 0000000..62cf62a --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-topologyspreadconstraints.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: topologyspreadconstraints diff --git a/manifests/vela-system/delete-caps-traitdefinition-volumes.yaml b/manifests/vela-system/delete-caps-traitdefinition-volumes.yaml new file mode 100644 index 0000000..df0350c --- /dev/null +++ b/manifests/vela-system/delete-caps-traitdefinition-volumes.yaml @@ -0,0 +1,10 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: TraitDefinition +metadata: + namespace: vela-system + name: volumes +###################################### +# delete all WorkflowStepDefinitions +###################################### diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-apply-application-in-parallel.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-apply-application-in-parallel.yaml new file mode 100644 index 0000000..607f06e --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-apply-application-in-parallel.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: apply-application-in-parallel diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-apply-application.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-apply-application.yaml new file mode 100644 index 0000000..a6ee629 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-apply-application.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: apply-application diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-apply-component.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-apply-component.yaml new file mode 100644 index 0000000..2849cf2 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-apply-component.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: apply-component diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-apply-deployment.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-apply-deployment.yaml new file mode 100644 index 0000000..ed868b5 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-apply-deployment.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: apply-deployment diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-apply-object.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-apply-object.yaml new file mode 100644 index 0000000..8b22cab --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-apply-object.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: apply-object diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-apply-remaining.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-apply-remaining.yaml new file mode 100644 index 0000000..3d05272 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-apply-remaining.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: apply-remaining diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-apply-terraform-config.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-apply-terraform-config.yaml new file mode 100644 index 0000000..a1f2bd5 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-apply-terraform-config.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: apply-terraform-config diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-apply-terraform-provider.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-apply-terraform-provider.yaml new file mode 100644 index 0000000..5a39e22 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-apply-terraform-provider.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: apply-terraform-provider diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-build-push-image.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-build-push-image.yaml new file mode 100644 index 0000000..fe56680 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-build-push-image.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: build-push-image diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-check-metrics.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-check-metrics.yaml new file mode 100644 index 0000000..a2fda1e --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-check-metrics.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: check-metrics diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-clean-jobs.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-clean-jobs.yaml new file mode 100644 index 0000000..d59bc2b --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-clean-jobs.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: clean-jobs diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-collect-service-endpoints.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-collect-service-endpoints.yaml new file mode 100644 index 0000000..6e23902 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-collect-service-endpoints.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: collect-service-endpoints diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-create-config.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-create-config.yaml new file mode 100644 index 0000000..e6e7b3f --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-create-config.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: create-config diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-delete-config.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-delete-config.yaml new file mode 100644 index 0000000..c54c309 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-delete-config.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: delete-config diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-depends-on-app.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-depends-on-app.yaml new file mode 100644 index 0000000..0f96be2 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-depends-on-app.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: depends-on-app diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-deploy-cloud-resource.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-deploy-cloud-resource.yaml new file mode 100644 index 0000000..0abe801 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-deploy-cloud-resource.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: deploy-cloud-resource diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-deploy.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-deploy.yaml new file mode 100644 index 0000000..b9b0587 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-deploy.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: deploy diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-deploy2env.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-deploy2env.yaml new file mode 100644 index 0000000..1be716c --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-deploy2env.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: deploy2env diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-deploy2runtime.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-deploy2runtime.yaml new file mode 100644 index 0000000..49b3979 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-deploy2runtime.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: deploy2runtime diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-export-data.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-export-data.yaml new file mode 100644 index 0000000..ffeb56c --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-export-data.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: export-data diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-export-service.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-export-service.yaml new file mode 100644 index 0000000..2ae583d --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-export-service.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: export-service diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-export2config.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-export2config.yaml new file mode 100644 index 0000000..a774dc7 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-export2config.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: export2config diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-export2secret.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-export2secret.yaml new file mode 100644 index 0000000..1c79a37 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-export2secret.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: export2secret diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-generate-jdbc-connection.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-generate-jdbc-connection.yaml new file mode 100644 index 0000000..391aced --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-generate-jdbc-connection.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: generate-jdbc-connection diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-list-config.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-list-config.yaml new file mode 100644 index 0000000..3d416a5 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-list-config.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: list-config diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-notification.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-notification.yaml new file mode 100644 index 0000000..98c364b --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-notification.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: notification diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-print-message-in-status.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-print-message-in-status.yaml new file mode 100644 index 0000000..fc4b4c3 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-print-message-in-status.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: print-message-in-status diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-read-config.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-read-config.yaml new file mode 100644 index 0000000..842534b --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-read-config.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: read-config diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-read-object.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-read-object.yaml new file mode 100644 index 0000000..82d13c6 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-read-object.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: read-object diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-request.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-request.yaml new file mode 100644 index 0000000..dd1c8fc --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-request.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: request diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-share-cloud-resource.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-share-cloud-resource.yaml new file mode 100644 index 0000000..5493e57 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-share-cloud-resource.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: share-cloud-resource diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-step-group.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-step-group.yaml new file mode 100644 index 0000000..7b83844 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-step-group.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: step-group diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-suspend.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-suspend.yaml new file mode 100644 index 0000000..702f30a --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-suspend.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: suspend diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-vela-cli.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-vela-cli.yaml new file mode 100644 index 0000000..2b4368e --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-vela-cli.yaml @@ -0,0 +1,7 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: vela-cli diff --git a/manifests/vela-system/delete-caps-workflowstepdefinition-webhook.yaml b/manifests/vela-system/delete-caps-workflowstepdefinition-webhook.yaml new file mode 100644 index 0000000..cda06a8 --- /dev/null +++ b/manifests/vela-system/delete-caps-workflowstepdefinition-webhook.yaml @@ -0,0 +1,10 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkflowStepDefinition +metadata: + namespace: vela-system + name: webhook +###################################### +# delete all WorkloadDefinitions +###################################### diff --git a/manifests/vela-system/delete-caps-workloaddefinition-autodetects.core.oam.dev.yaml b/manifests/vela-system/delete-caps-workloaddefinition-autodetects.core.oam.dev.yaml new file mode 100644 index 0000000..64492b4 --- /dev/null +++ b/manifests/vela-system/delete-caps-workloaddefinition-autodetects.core.oam.dev.yaml @@ -0,0 +1,31 @@ +--- +$patch: delete +apiVersion: core.oam.dev/v1beta1 +kind: WorkloadDefinition +metadata: + namespace: vela-system + name: autodetects.core.oam.dev +# --- +# $patch: delete +# apiVersion: core.oam.dev/v1beta1 +# kind: WorkloadDefinition +# metadata: +# namespace: vela-system +# name: daemonsets.apps +# --- +# $patch: delete +# apiVersion: core.oam.dev/v1beta1 +# kind: WorkloadDefinition +# metadata: +# namespace: vela-system +# name: deployments.apps +# --- +# $patch: delete +# apiVersion: core.oam.dev/v1beta1 +# kind: WorkloadDefinition +# metadata: +# namespace: vela-system +# name: jobs.batch +###################################### +# delete all ComponentDefinitions +###################################### diff --git a/manifests/vela-system/delete-caps.yaml b/manifests/vela-system/delete-caps.yaml deleted file mode 100644 index c38ecd0..0000000 --- a/manifests/vela-system/delete-caps.yaml +++ /dev/null @@ -1,661 +0,0 @@ -###################################### -# delete all TraitDefinitions -###################################### ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: affinity ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: annotations ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: command ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: configmap ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: container-image ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: cpuscaler ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: env ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: expose ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: gateway ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: hostalias ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: hpa ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: ingress ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: ingress-1-20 ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: init-container ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: json-merge-patch ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: json-patch ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: k8s-update-strategy ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: labels ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: lifecycle ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: nocalhost ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: node-affinity ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: pure-ingress ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: pvc ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: resource ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: scaler ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: service-account ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: service-binding ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: sidecar ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: startup-probe ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: storage ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: topologyspreadconstraints ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: TraitDefinition -metadata: - namespace: vela-system - name: volumes -###################################### -# delete all WorkflowStepDefinitions -###################################### ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: apply-application ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: apply-application-in-parallel ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: apply-component ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: apply-deployment ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: apply-object ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: apply-remaining ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: apply-terraform-config ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: apply-terraform-provider ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: build-push-image ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: check-metrics ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: clean-jobs ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: collect-service-endpoints ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: create-config ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: delete-config ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: depends-on-app ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: deploy ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: deploy-cloud-resource ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: deploy2env ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: deploy2runtime ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: export-data ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: export-service ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: export2config ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: export2secret ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: generate-jdbc-connection ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: list-config ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: notification ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: print-message-in-status ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: read-config ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: read-object ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: request ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: share-cloud-resource ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: step-group ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: suspend ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: vela-cli ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkflowStepDefinition -metadata: - namespace: vela-system - name: webhook -###################################### -# delete all WorkloadDefinitions -###################################### ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: WorkloadDefinition -metadata: - namespace: vela-system - name: autodetects.core.oam.dev -# --- -# $patch: delete -# apiVersion: core.oam.dev/v1beta1 -# kind: WorkloadDefinition -# metadata: -# namespace: vela-system -# name: daemonsets.apps -# --- -# $patch: delete -# apiVersion: core.oam.dev/v1beta1 -# kind: WorkloadDefinition -# metadata: -# namespace: vela-system -# name: deployments.apps -# --- -# $patch: delete -# apiVersion: core.oam.dev/v1beta1 -# kind: WorkloadDefinition -# metadata: -# namespace: vela-system -# name: jobs.batch -###################################### -# delete all ComponentDefinitions -###################################### ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: ComponentDefinition -metadata: - namespace: vela-system - name: cron-task ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: ComponentDefinition -metadata: - namespace: vela-system - name: daemon ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: ComponentDefinition -metadata: - namespace: vela-system - name: k8s-objects ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: ComponentDefinition -metadata: - namespace: vela-system - name: raw ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: ComponentDefinition -metadata: - namespace: vela-system - name: ref-objects ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: ComponentDefinition -metadata: - namespace: vela-system - name: task ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: ComponentDefinition -metadata: - namespace: vela-system - name: webservice ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: ComponentDefinition -metadata: - namespace: vela-system - name: worker -###################################### -# delete all PolicyDefinitions -###################################### ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: PolicyDefinition -metadata: - namespace: vela-system - name: apply-once ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: PolicyDefinition -metadata: - namespace: vela-system - name: envbinding ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: PolicyDefinition -metadata: - namespace: vela-system - name: garbage-collect ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: PolicyDefinition -metadata: - namespace: vela-system - name: health ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: PolicyDefinition -metadata: - namespace: vela-system - name: override ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: PolicyDefinition -metadata: - namespace: vela-system - name: read-only ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: PolicyDefinition -metadata: - namespace: vela-system - name: replication ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: PolicyDefinition -metadata: - namespace: vela-system - name: shared-resource ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: PolicyDefinition -metadata: - namespace: vela-system - name: take-over ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: PolicyDefinition -metadata: - namespace: vela-system - name: topology -###################################### -# delete all ScopeDefinitions -###################################### ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: ScopeDefinition -metadata: - name: healthscopes.core.oam.dev - namespace: vela-system -###################################### -# delete all Applications -###################################### ---- -$patch: delete -apiVersion: core.oam.dev/v1beta1 -kind: Application -metadata: - annotations: - helm.sh/hook: test-success - helm.sh/hook-delete-policy: hook-succeeded - name: helm-test-vela-app - namespace: vela-system diff --git a/manifests/vela-system/kustomization.yaml b/manifests/vela-system/kustomization.yaml index 50e9457..5bebdc1 100644 --- a/manifests/vela-system/kustomization.yaml +++ b/manifests/vela-system/kustomization.yaml @@ -6,4 +6,91 @@ resources: - "./base" patches: - - delete-caps.yaml + - path: delete-caps-application-helm-test-vela-app.yaml + - path: delete-caps-componentdefinition-cron-task.yaml + - path: delete-caps-componentdefinition-daemon.yaml + - path: delete-caps-componentdefinition-k8s-objects.yaml + - path: delete-caps-componentdefinition-raw.yaml + - path: delete-caps-componentdefinition-ref-objects.yaml + - path: delete-caps-componentdefinition-task.yaml + - path: delete-caps-componentdefinition-webservice.yaml + - path: delete-caps-componentdefinition-worker.yaml + - path: delete-caps-policydefinition-apply-once.yaml + - path: delete-caps-policydefinition-envbinding.yaml + - path: delete-caps-policydefinition-garbage-collect.yaml + - path: delete-caps-policydefinition-health.yaml + - path: delete-caps-policydefinition-override.yaml + - path: delete-caps-policydefinition-read-only.yaml + - path: delete-caps-policydefinition-replication.yaml + - path: delete-caps-policydefinition-shared-resource.yaml + - path: delete-caps-policydefinition-take-over.yaml + - path: delete-caps-policydefinition-topology.yaml + - path: delete-caps-scopedefinition-healthscopes.core.oam.dev.yaml + - path: delete-caps-traitdefinition-affinity.yaml + - path: delete-caps-traitdefinition-annotations.yaml + - path: delete-caps-traitdefinition-command.yaml + - path: delete-caps-traitdefinition-configmap.yaml + - path: delete-caps-traitdefinition-container-image.yaml + - path: delete-caps-traitdefinition-cpuscaler.yaml + - path: delete-caps-traitdefinition-env.yaml + - path: delete-caps-traitdefinition-expose.yaml + - path: delete-caps-traitdefinition-gateway.yaml + - path: delete-caps-traitdefinition-hostalias.yaml + - path: delete-caps-traitdefinition-hpa.yaml + - path: delete-caps-traitdefinition-ingress-1-20.yaml + - path: delete-caps-traitdefinition-ingress.yaml + - path: delete-caps-traitdefinition-init-container.yaml + - path: delete-caps-traitdefinition-json-merge-patch.yaml + - path: delete-caps-traitdefinition-json-patch.yaml + - path: delete-caps-traitdefinition-k8s-update-strategy.yaml + - path: delete-caps-traitdefinition-labels.yaml + - path: delete-caps-traitdefinition-lifecycle.yaml + - path: delete-caps-traitdefinition-nocalhost.yaml + - path: delete-caps-traitdefinition-node-affinity.yaml + - path: delete-caps-traitdefinition-pure-ingress.yaml + - path: delete-caps-traitdefinition-pvc.yaml + - path: delete-caps-traitdefinition-resource.yaml + - path: delete-caps-traitdefinition-scaler.yaml + - path: delete-caps-traitdefinition-service-account.yaml + - path: delete-caps-traitdefinition-service-binding.yaml + - path: delete-caps-traitdefinition-sidecar.yaml + - path: delete-caps-traitdefinition-startup-probe.yaml + - path: delete-caps-traitdefinition-storage.yaml + - path: delete-caps-traitdefinition-topologyspreadconstraints.yaml + - path: delete-caps-traitdefinition-volumes.yaml + - path: delete-caps-workflowstepdefinition-apply-application-in-parallel.yaml + - path: delete-caps-workflowstepdefinition-apply-application.yaml + - path: delete-caps-workflowstepdefinition-apply-component.yaml + - path: delete-caps-workflowstepdefinition-apply-deployment.yaml + - path: delete-caps-workflowstepdefinition-apply-object.yaml + - path: delete-caps-workflowstepdefinition-apply-remaining.yaml + - path: delete-caps-workflowstepdefinition-apply-terraform-config.yaml + - path: delete-caps-workflowstepdefinition-apply-terraform-provider.yaml + - path: delete-caps-workflowstepdefinition-build-push-image.yaml + - path: delete-caps-workflowstepdefinition-check-metrics.yaml + - path: delete-caps-workflowstepdefinition-clean-jobs.yaml + - path: delete-caps-workflowstepdefinition-collect-service-endpoints.yaml + - path: delete-caps-workflowstepdefinition-create-config.yaml + - path: delete-caps-workflowstepdefinition-delete-config.yaml + - path: delete-caps-workflowstepdefinition-depends-on-app.yaml + - path: delete-caps-workflowstepdefinition-deploy2env.yaml + - path: delete-caps-workflowstepdefinition-deploy2runtime.yaml + - path: delete-caps-workflowstepdefinition-deploy-cloud-resource.yaml + - path: delete-caps-workflowstepdefinition-deploy.yaml + - path: delete-caps-workflowstepdefinition-export2config.yaml + - path: delete-caps-workflowstepdefinition-export2secret.yaml + - path: delete-caps-workflowstepdefinition-export-data.yaml + - path: delete-caps-workflowstepdefinition-export-service.yaml + - path: delete-caps-workflowstepdefinition-generate-jdbc-connection.yaml + - path: delete-caps-workflowstepdefinition-list-config.yaml + - path: delete-caps-workflowstepdefinition-notification.yaml + - path: delete-caps-workflowstepdefinition-print-message-in-status.yaml + - path: delete-caps-workflowstepdefinition-read-config.yaml + - path: delete-caps-workflowstepdefinition-read-object.yaml + - path: delete-caps-workflowstepdefinition-request.yaml + - path: delete-caps-workflowstepdefinition-share-cloud-resource.yaml + - path: delete-caps-workflowstepdefinition-step-group.yaml + - path: delete-caps-workflowstepdefinition-suspend.yaml + - path: delete-caps-workflowstepdefinition-vela-cli.yaml + - path: delete-caps-workflowstepdefinition-webhook.yaml + - path: delete-caps-workloaddefinition-autodetects.core.oam.dev.yaml