forked from cloudfoundry-incubator/quarks-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
boshdeployment-with-custom-variable.yaml
59 lines (59 loc) · 1.06 KB
/
boshdeployment-with-custom-variable.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
apiVersion: v1
kind: Secret
metadata:
name: var-custom-password
type: Opaque
stringData:
password: custom_password
---
apiVersion: v1
kind: ConfigMap
metadata:
name: nats-manifest
data:
manifest: |
---
name: nats-deployment
releases:
- name: nats
version: "26"
url: docker.io/cfcontainerization
stemcell:
os: opensuse-42.3
version: 30.g9c91e77-30.80-7.0.0_257.gb97ced55
instance_groups:
- name: nats
instances: 1
jobs:
- name: nats
release: nats
properties:
nats:
user: admin
password: ((custom_password))
variables:
- name: custom_password
type: password
---
apiVersion: v1
kind: ConfigMap
metadata:
name: ops-scale
data:
ops: |
- type: replace
path: /instance_groups/name=nats?/instances
value: 2
---
apiVersion: quarks.cloudfoundry.org/v1alpha1
kind: BOSHDeployment
metadata:
name: nats-deployment
spec:
manifest:
name: nats-manifest
type: configmap
ops:
- name: ops-scale
type: configmap