forked from openshift/ansible-service-broker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy-ansible-service-broker.template.yaml
915 lines (844 loc) · 25.3 KB
/
deploy-ansible-service-broker.template.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
apiVersion: v1
kind: Template
metadata:
name: ansible-service-broker
objects:
- apiVersion: v1
kind: Service
metadata:
name: asb
labels:
app: ansible-service-broker
service: asb
annotations:
service.alpha.openshift.io/serving-cert-secret-name: asb-tls
spec:
ports:
- name: port-1338
port: 1338
targetPort: 1338
protocol: TCP
selector:
app: ansible-service-broker
service: asb
- apiVersion: v1
kind: Service
metadata:
name: asb-etcd
labels:
app: etcd
service: asb-etcd
annotations:
service.alpha.openshift.io/serving-cert-secret-name: etcd-tls
spec:
ports:
- name: port-2379
port: 2379
targetPort: 2379
protocol: TCP
selector:
app: etcd
service: asb-etcd
- apiVersion: v1
kind: ServiceAccount
metadata:
name: asb
namespace: "${NAMESPACE}"
- apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: asb
roleRef:
name: admin
kind: ClusterRole
apiGroup: rbac.authorization.k8s.io
subjects:
- kind: ServiceAccount
name: asb
namespace: "${NAMESPACE}"
- apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: asb-auth
rules:
- apiGroups: [""]
resources: ["namespaces"]
verbs: ["create", "delete"]
- apiGroups: ["authorization.openshift.io"]
resources: ["subjectrulesreview"]
verbs: ["create"]
- apiGroups: ["authorization.k8s.io"]
resources: ["subjectaccessreviews"]
verbs: ["create"]
- apiGroups: ["authentication.k8s.io"]
resources: ["tokenreviews"]
verbs: ["create"]
- apiGroups: ["image.openshift.io", ""]
attributeRestrictions: null
resources: ["images"]
verbs: ["get", "list"]
- apiGroups: ["network.openshift.io", ""]
attributeRestrictions: null
resources: ["clusternetworks", "netnamespaces"]
verbs: ["get"]
- apiGroups: ["network.openshift.io", ""]
attributeRestrictions: null
resources: ["netnamespaces"]
verbs: ["update"]
- apiGroups: ["networking.k8s.io", ""]
attributeRestrictions: null
resources: ["networkpolicies"]
verbs: ["create", "delete"]
- apiGroups: ["automationbroker.io"]
attributeRestrictions: null
resources: ["bundles", "jobstates", "servicebindings", "serviceinstances"]
verbs: ["*"]
- apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: asb-auth-bind
subjects:
- kind: ServiceAccount
name: asb
namespace: "${NAMESPACE}"
roleRef:
kind: ClusterRole
name: asb-auth
apiGroup: rbac.authorization.k8s.io
- apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: access-asb-role
rules:
- nonResourceURLs: ["${BROKER_URL_PREFIX}", "${BROKER_URL_PREFIX}/*"]
verbs: ["get", "post", "put", "patch", "delete"]
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: etcd
namespace: "${NAMESPACE}"
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
- apiVersion: v1
kind: DeploymentConfig
metadata:
name: asb
labels:
app: ansible-service-broker
service: asb
spec:
replicas: 1
selector:
app: ansible-service-broker
strategy:
type: Rolling
template:
metadata:
labels:
app: ansible-service-broker
service: asb
spec:
serviceAccount: asb
containers:
- image: ${BROKER_IMAGE}
name: asb
imagePullPolicy: IfNotPresent
volumeMounts:
- name: config-volume
mountPath: /etc/ansible-service-broker
- name: asb-tls
mountPath: /etc/tls/private
- name: asb-auth-volume
mountPath: /var/run/asb-auth
- name: asb-etcd-auth
mountPath: /var/run/asb-etcd-auth
ports:
- containerPort: 1338
protocol: TCP
env:
- name: BROKER_CONFIG
value: ${BROKER_CONFIG}
resources: {}
terminationMessagePath: /tmp/termination-log
readinessProbe:
httpGet:
path: /healthz
port: 1338
scheme: HTTPS
initialDelaySeconds: 15
timeoutSeconds: 1
livenessProbe:
httpGet:
port: 1338
path: /healthz
scheme: HTTPS
initialDelaySeconds: 15
timeoutSeconds: 1
volumes:
- name: config-volume
configMap:
name: broker-config
items:
- key: broker-config
path: config.yaml
- name: asb-tls
secret:
secretName: asb-tls
- name: asb-auth-volume
secret:
secretName: asb-auth-secret
- name: asb-etcd-auth
secret:
secretName: broker-etcd-auth-secret
- apiVersion: v1
kind: DeploymentConfig
metadata:
name: asb-etcd
labels:
app: etcd
service: asb-etcd
spec:
replicas: 1
selector:
app: etcd
strategy:
type: Rolling
template:
metadata:
labels:
app: etcd
service: asb-etcd
spec:
serviceAccount: asb
containers:
- image: ${ETCD_IMAGE}
name: etcd
volumeMounts:
- name: etcd
mountPath: /data
- name: etcd-tls
mountPath: /etc/tls/private
- name: etcd-auth
mountPath: /var/run/etcd-auth-secret
imagePullPolicy: IfNotPresent
terminationMessagePath: /tmp/termination-log
workingDir: /etcd
args:
- ${ETCD_PATH}
- --data-dir=/data
- --listen-client-urls=https://0.0.0.0:2379
- --advertise-client-urls=https://0.0.0.0:2379
- --client-cert-auth
- --trusted-ca-file=${ETCD_TRUSTED_CA_FILE}
- --cert-file=${ETCD_CERT_FILE}
- --key-file=${ETCD_KEY_FILE}
ports:
- containerPort: 2379
protocol: TCP
env:
- name: ETCDCTL_API
value: "3"
volumes:
- name: etcd
persistentVolumeClaim:
claimName: etcd
- name: etcd-tls
secret:
secretName: etcd-tls
- name: etcd-auth
secret:
secretName: etcd-auth-secret
- apiVersion: v1
kind: Secret
metadata:
name: asb-auth-secret
namespace: "${NAMESPACE}"
data:
username: ${BROKER_USER}
password: ${BROKER_PASS}
- apiVersion: v1
kind: Secret
metadata:
name: ${REGISTRY_SECRET_NAME}
namespace: "${NAMESPACE}"
data:
username: ${DOCKERHUB_USER}
password: ${DOCKERHUB_PASS}
- apiVersion: v1
kind: Secret
metadata:
name: etcd-auth-secret
namespace: "${NAMESPACE}"
data:
ca.crt: ${ETCD_TRUSTED_CA}
- apiVersion: v1
kind: Secret
metadata:
name: broker-etcd-auth-secret
namespace: "${NAMESPACE}"
data:
client.crt: ${BROKER_CLIENT_CERT}
client.key: ${BROKER_CLIENT_KEY}
- apiVersion: v1
kind: ConfigMap
metadata:
name: broker-config
namespace: "${NAMESPACE}"
labels:
app: ansible-service-broker
data:
broker-config: |
registry:
- type: "${REGISTRY_TYPE}"
name: "${REGISTRY_NAME}"
url: "${REGISTRY_URL}"
org: "${DOCKERHUB_ORG}"
tag: "${TAG}"
white_list:
- ".*-apb$"
- type: local_openshift
name: localregistry
namespaces: ['openshift']
# NOTE TO ADMINS: The default whitelist policy here will pass *all* APBs
# found in the local openshift registry. If this is not desired,
# manipulate the following regex to only match APBs you wish to be made available.
white_list:
- ".*"
dao:
type: "${DAO_TYPE}"
etcd_host: asb-etcd.${NAMESPACE}.svc
etcd_port: 2379
etcd_ca_file: ${BROKER_ETCD_TRUSTED_CA}
etcd_client_cert: ${BROKER_CLIENT_CERT_PATH}
etcd_client_key: ${BROKER_CLIENT_KEY_PATH}
log:
logfile: /var/log/ansible-service-broker/asb.log
stdout: true
level: debug
color: true
openshift:
host: "${CLUSTER_AUTH_HOST}"
ca_file: "${CA_FILE}"
bearer_token_file: "${BEARER_TOKEN_FILE}"
image_pull_policy: "${IMAGE_PULL_POLICY}"
sandbox_role: "${SANDBOX_ROLE}"
namespace: "${NAMESPACE}"
keep_namespace: ${KEEP_NAMESPACE}
keep_namespace_on_error: ${KEEP_NAMESPACE_ON_ERROR}
broker:
dev_broker: ${DEV_BROKER}
bootstrap_on_startup: ${BOOTSTRAP_ON_STARTUP}
refresh_interval: "${REFRESH_INTERVAL}"
launch_apb_on_bind: ${LAUNCH_APB_ON_BIND}
output_request: ${OUTPUT_REQUEST}
recovery: ${RECOVERY}
ssl_cert_key: /etc/tls/private/tls.key
ssl_cert: /etc/tls/private/tls.crt
auto_escalate: ${AUTO_ESCALATE}
cluster_url: ${NAMESPACE}
auth:
- type: basic
enabled: ${ENABLE_BASIC_AUTH}
- apiVersion: v1
kind: ServiceAccount
metadata:
name: ansibleservicebroker-client
namespace: "${NAMESPACE}"
- apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: ansibleservicebroker-client
subjects:
- kind: ServiceAccount
name: ansibleservicebroker-client
namespace: "${NAMESPACE}"
roleRef:
kind: ClusterRole
name: access-asb-role
apiGroup: rbac.authorization.k8s.io
- apiVersion: v1
kind: Secret
metadata:
name: ansibleservicebroker-client
annotations:
kubernetes.io/service-account.name: ansibleservicebroker-client
type: kubernetes.io/service-account-token
- apiVersion: v1
kind: Route
metadata:
name: asb-1338
labels:
app: ansible-service-broker
service: asb
spec:
to:
kind: Service
name: asb
port:
targetPort: port-1338
tls:
termination: reencrypt
- apiVersion: ${SVC_CAT_API_VER}
kind: ${BROKER_KIND}
metadata:
name: ansible-service-broker
spec:
url: https://asb.${NAMESPACE}.svc:1338${BROKER_URL_PREFIX}/
authInfo:
${{BROKER_AUTH}}
caBundle: ${BROKER_CA_CERT}
# CRDs for the broker.
- apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: bundles.automationbroker.io
spec:
group: automationbroker.io
version: v1
scope: Namespaced
names:
plural: bundles
singular: bundle
kind: Bundle
validation:
# openAPIV3Schema is the schema for validating custom objects.
openAPIV3Schema:
properties:
spec:
properties:
runtime:
type: integer
minimum: 1
maximum: 2
version:
type: string
pattern: '^[\d]+.[\d*]+$'
fqName:
type: string
image:
type: string
tags:
type: array
items:
type: string
bindable:
type: boolean
description:
type: string
metadata:
type: string
async:
type: string
pattern: '^(optional|required|unsupported)$'
plans:
type: array
minItems: 1
items:
type: object
properties:
id:
type: string
name:
type: string
description:
type: string
metadata:
type: string
free:
type: boolean
bindable:
type: boolean
updatesTo:
type: array
items:
type: string
parameters:
type: array
items:
type: object
properties:
name:
type: string
title:
type: string
type:
type: string
description:
type: string
default:
type: string
deprecateMaxLength:
type: integer
maxLength:
type: integer
minLength:
type: integer
pattern:
type: string
multipleOf:
type: float
maximum:
type: float
exclusiveMaximum:
type: float
minimum:
type: float
exclusiveMinimum:
type: float
enum:
type: array
items:
type: string
required:
type: boolean
updatable:
type: boolean
displayType:
type: string
displayGroup:
type: string
bindParameters:
type: array
properties:
name:
type: string
title:
type: string
type:
type: string
description:
type: string
default:
type: string
deprecateMaxLength:
type: integer
maxLength:
type: integer
minLength:
type: integer
pattern:
type: string
multipleOf:
type: float
maximum:
type: float
exclusiveMaximum:
type: float
minimum:
type: float
exclusiveMinimum:
type: float
enum:
type: array
items:
type: string
required:
type: boolean
updatable:
type: boolean
displayType:
type: string
displayGroup:
type: string
- apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: jobstates.automationbroker.io
spec:
group: automationbroker.io
version: v1
scope: Namespaced
names:
plural: jobstates
singular: jobstate
kind: JobState
validation:
# openAPIV3Schema is the schema for validating custom objects.
# Token is the name of the resource
openAPIV3Schema:
properties:
state:
type: string
podName:
type: string
method:
type: string
error:
type: string
description:
type: string
- apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: servicebindings.automationbroker.io
spec:
group: automationbroker.io
version: v1
scope: Namespaced
names:
plural: servicebindings
singular: servicebinding
kind: ServiceBinding
validation:
# openAPIV3Schema is the schema for validating custom objects.
openAPIV3Schema:
serviceInstanceId:
type: string
parameters:
type: string
JobToken:
type: string
- apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: serviceinstances.automationbroker.io
spec:
group: automationbroker.io
version: v1
scope: Namespaced
names:
plural: serviceinstances
singular: serviceinstance
kind: ServiceInstance
validation:
# openAPIV3Schema is the schema for validating custom objects.
openAPIV3Schema:
properties:
spec:
properties:
specId:
type: string
context:
type: object
properties:
plateform:
type: string
namespace:
type: string
parameters:
type: string
bindingIds:
type: array
items:
type: string
parameters:
- description: Service Catalog API Version. Newer service-catalogs use servicecatalog.k8s.io/v1beta1
displayname: Service Catalog API Version. Newer service-catalogs use servicecatalog.k8s.io/v1beta1
name: SVC_CAT_API_VER
value: servicecatalog.k8s.io/v1beta1
- description: Service Broker kind. Newer service-catalogs use ClusterServiceBroker
displayname: Service Broker kind. Newer service-catalogs use ClusterServiceBroker
name: BROKER_KIND
value: ClusterServiceBroker
- description: Service Broker CA Cert.
displayname: Service Broker kind.
name: BROKER_CA_CERT
value: ""
- description: Service Broker url prefix for the cluster
displayname: ASB Url Prefix
name: BROKER_URL_PREFIX
value: "/ansible-service-broker"
- description: Broker Auth Info
displayname: Broker Auth Info
name: BROKER_AUTH
value: '{ "bearer": { "secretRef": { "kind": "Secret", "namespace": "ansible-service-broker", "name": "ansibleservicebroker-client" } } }'
- description: Suffix for OpenShift routes
displayname: Suffix for OpenShift routes
name: ROUTING_SUFFIX
value: "172.17.0.1.nip.io"
- description: Container Image to use for Ansible Service Broker in format of imagename:tag
displayname: Ansible Service Broker Image
name: BROKER_IMAGE
value: ansibleplaybookbundle/origin-ansible-service-broker:latest
- description: Container Image to use for etcd in format of imagename:tag
displayname: etcd Image
name: ETCD_IMAGE
value: quay.io/coreos/etcd:latest
- description: Path of the etcd binary
displayname: etcd path
name: ETCD_PATH
value: /usr/local/bin/etcd
- description: Path of the etcd trusted ca file
displayname: etcd trusted ca file path
name: ETCD_TRUSTED_CA_FILE
value: /var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt
- description: Path of the etcd server cert file
displayname: etcd server cert path
name: ETCD_CERT_FILE
value: /etc/tls/private/tls.crt
- description: Path of the etcd server cert key file
displayname: etcd server key path
name: ETCD_KEY_FILE
value: /etc/tls/private/tls.key
- description: Path of the broker client cert file for etcd
displayname: etcd client cert path
name: BROKER_CLIENT_CERT_PATH
value: /etc/tls/private/tls.crt
- description: Path of the broker client cert key file for etcd
displayname: etcd client cert key path
name: BROKER_CLIENT_KEY_PATH
value: /etc/tls/private/tls.key
- description: Path of the etcd trusted ca file
displayname: etcd trusted ca file path
name: BROKER_ETCD_TRUSTED_CA
value: /var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt
- description: Value of the etcd server ca file
displayname: etcd trusted ca
name: ETCD_TRUSTED_CA
value: "YWRtaW4="
- description: Value of the broker client cert for etcd
displayname: broker client cert
name: BROKER_CLIENT_CERT
value: "YWRtaW4="
- description: Value of the broker client cert key for etcd
displayname: broker client cert key
name: BROKER_CLIENT_KEY
value: "YWRtaW4="
- description: Namespace of the project that is being deploy
displayname: broker client cert key
name: NAMESPACE
value: "ansible-service-broker"
- description: Configuration filepath for Ansible Service Broker
displayname: Ansible Service Broker Configuration File
name: BROKER_CONFIG
value: /etc/ansible-service-broker/config.yaml
- description: Dockerhub organization
displayname: Dockerhub organization
name: DOCKERHUB_ORG
value: ansibleplaybookbundle
- description: APB Image Tag
displayname: APB Image Tag
name: TAG
value: latest
- description: OpenShift User Password
displayname: OpenShift User Password
name: OPENSHIFT_PASS
value: admin
- description: OpenShift User Name
displayname: OpenShift User Name
name: OPENSHIFT_USER
value: admin
- description: OpenShift Target URL
displayname: OpenShift Target URL
name: OPENSHIFT_TARGET
value: kubernetes.default
- description: Registry Type
displayname: Registry Type
name: REGISTRY_TYPE
value: dockerhub
- description: Registry Secret Name
displayname: Registry Secret Name
name: REGISTRY_SECRET_NAME
value: registry-auth-secret
- description: Registry Auth Type
displayname: Registry Auth Type
name: REGISTRY_AUTH_TYPE
value: secret
# Intentionally shortening the registry name to lessen impact of
# PodPreset name has a requirement of being less than 63 chars
# https://github.com/kubernetes-incubator/service-catalog/issues/1047
# https://github.com/openshift/ansible-service-broker/issues/283
- description: Registry Name
displayname: Registry Name
name: REGISTRY_NAME
value: dh
- description: Registry URL
displayname: Registry URL
name: REGISTRY_URL
value: https://registry.hub.docker.com
- description: Include Broker Development Endpoint
displayname: Include Broker Development Endpoint
name: DEV_BROKER
value: "true"
- description: Launch APB on bind
displayname: Launch APB on bind
name: LAUNCH_APB_ON_BIND
value: "false"
- description: Will automatically bootstrap the broker on startup
displayname: Bootstrap On Startup
name: BOOTSTRAP_ON_STARTUP
value: "true"
- description: Refresh the available broker images every interval of seconds
displayname: Refresh Interval
name: REFRESH_INTERVAL
value: "600s"
- description: Output broker requests to log
displayname: Output broker requests to log
name: OUTPUT_REQUEST
value: "true"
- description: Recover unfinshed jobs on restart
displayname: Recovery
name: RECOVERY
value: "true"
- description: Auto escalate the broker. Will remove user impresonation
displayname: Auto Escalate
name: AUTO_ESCALATE
value: "false"
- description: APB ImagePullPolicy
displayname: APB ImagePullPolicy
name: IMAGE_PULL_POLICY
value: "IfNotPresent"
- description: Will enable basic authentication
displayname: Enable basic authentication
name: ENABLE_BASIC_AUTH
value: "false"
- description: Will enable CRD use. Valid values crd | etcd | ""
displayname: Enable CRD backend storage, will not use etcd.
name: DAO_TYPE
value: "etcd"
############################################################
# NOTE: These values MUST be base64 encoded.
# http://red.ht/2wbrCYo states "The value associated with
# keys in the data map must be base64 encoded."
############################################################
- description: Broker user password
displayname: Broker user password
name: BROKER_PASS
value: YWRtaW4=
- description: Broker user name
displayname: Broker user name
name: BROKER_USER
value: YWRtaW4=
- description: Dockerhub user password
displayname: Dockerhub user password
name: DOCKERHUB_PASS
value: ""
- description: Dockerhub user name
displayname: Dockerhub user name
name: DOCKERHUB_USER
value: ""
############################################################
# NOTE: Default behavior for these are going to use the kubernetes
# InClusterConfig. These are typically overridden for running
# the broker outside of a cluster. Under normal circumstances,
# you probably want to leave these blank.
############################################################
- description: Service Account CAFile Path
displayname: Service Account CAFile Path
name: CA_FILE
value: ""
- description: Service Account Bearer Token File
displayname: Service Account Bearer Token File
name: BEARER_TOKEN_FILE
value: ""
- description: Cluster Authentication Host
displayname: Cluster Authentication Host
name: CLUSTER_AUTH_HOST
value: ""
- description: Role to use for APB Sandboxes
displayname: Role to use for APB Sandboxes
name: SANDBOX_ROLE
value: "edit"
- description: Always keep the namespace after an APB is executed.
displayname: Always keep the namespace after an APB is executed.
name: KEEP_NAMESPACE
value: "false"
- description: Always keep the namespace after an APB is executed and has errored.
displayname: Always keep the namespace after an APB is executed and has errored.
name: KEEP_NAMESPACE_ON_ERROR
value: "true"
############################################################