chore(cli): Removed appName from config schema. This is redundant to metadata name

This commit is contained in:
Waldemar 2025-09-30 11:33:52 +02:00
parent 5f0eccd315
commit 5d6fd8fc59
9 changed files with 14 additions and 68 deletions

View file

@ -1,18 +1,15 @@
# Is there a swagger file for the new EdgeConnect API?
#
# How does it differ from the EdgeXR API?
kind: edgeconnect-deployment
metadata:
name: "edge-app-demo"
name: "edge-app-demo" # name could be used for appName
spec:
# dockerApp:
# appName: "edge-app-demo"
# dockerApp: # Docker is OBSOLETE
# appVersion: "1.0.0"
# manifestFile: "./docker-compose.yaml"
# image: "https://registry-1.docker.io/library/nginx:latest"
k8sApp:
appName: "edge-app-demo" # appinstance name is $appName-$appVersion-instance
appVersion: "1.0.1"
appVersion: "1.0.0"
manifestFile: "./k8s-deployment.yaml" # store hash of the manifest file in annotation field. Annotations is a comma separated map of arbitrary key value pairs,
infraTemplate:
- organization: "edp2"