Files
kubevela/docs/examples/insert-secret/app.yaml

19 lines
334 B
YAML

apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: myapp
namespace: default
spec:
components:
- name: comp1
type: webservice
properties:
image: busybox
cmd:
- "sleep"
- "1000"
- name: myweb
type: secretconsumer
properties:
image: nginx:1.14.0
dbSecret: mys