forked from composable-operator/composable
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomp4.yaml
More file actions
35 lines (33 loc) · 777 Bytes
/
comp4.yaml
File metadata and controls
35 lines (33 loc) · 777 Bytes
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
apiVersion: ibmcloud.ibm.com/v1alpha1
kind: Composable
metadata:
labels:
controller-tools.k8s.io: "1.0"
name: comp
spec:
template:
apiVersion: ibmcloud.ibm.com/v1alpha1
kind: Service
metadata:
name:
getValueFrom:
kind: ConfigMap
name: myconfigmap
namespace: default
path: '{.data.name}'
spec:
instancename:
getValueFrom:
kind: ConfigMap
name: myconfigmap
namespace: default
path: '{.data.name}'
serviceClass: messagehub
plan:
getValueFrom:
kind: Secret
name: mysecret
namespace: default
path: '{.data.plan}'
format-transformers:
- "Base64ToString"