mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-21 08:43:35 +00:00
* add application component name duplication check in webhook * Helm test will not clean up the test data, and the application test of the component with the same name created failed during e2e. * fix the problems encountered during the test: * ignore the parsing failure caused by the existing application without definition when checking; * after the addition is successful, the resources left by the helm test are automatically cleaned up; Co-authored-by: chwetion <chwetion@foxmail.com>
20 lines
363 B
YAML
20 lines
363 B
YAML
apiVersion: core.oam.dev/v1beta1
|
|
kind: Application
|
|
metadata:
|
|
name: first-application
|
|
spec:
|
|
components:
|
|
- name: myweb
|
|
type: worker
|
|
properties:
|
|
image: busybox
|
|
cmd:
|
|
- sleep
|
|
- "1000"
|
|
- name: myweb
|
|
type: worker
|
|
properties:
|
|
image: busybox
|
|
cmd:
|
|
- sleep
|
|
- "10000" |