forked from vmware-tanzu/servicebinding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathservice-binding.yaml
44 lines (42 loc) · 968 Bytes
/
service-binding.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright 2020 VMware, Inc.
# SPDX-License-Identifier: Apache-2.0
---
apiVersion: servicebinding.io/v1alpha3
kind: ServiceBinding
metadata:
name: multi-binding-1
labels:
multi-binding: "true"
spec:
# direct Secret reference is used for compatibility, but not recommended for dynamically provisioned services
service:
apiVersion: v1
kind: Secret
name: multi-binding-1
workload:
apiVersion: batch/v1
kind: Job
name: multi-binding
env:
- name: MULTI_BINDING_1
key: number
---
apiVersion: servicebinding.io/v1alpha3
kind: ServiceBinding
metadata:
name: multi-binding-2
labels:
multi-binding: "true"
spec:
# direct Secret reference is used for compatibility, but not recommended for dynamically provisioned services
service:
apiVersion: v1
kind: Secret
name: multi-binding-2
workload:
apiVersion: batch/v1
kind: Job
name: multi-binding
env:
- name: MULTI_BINDING_2
key: number