This repository has been archived by the owner on Mar 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 249
/
harbor_params.yml
159 lines (143 loc) · 5.82 KB
/
harbor_params.yml
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
######## PKS tile-specific parameters
product_name: harbor-container-registry # do not change
product_slug: harbor-container-registry # do not change
product_version: ^1\.5\..*$ # PKS tile version to install
product_globs: "*.pivotal"
# Note: check companion "pks_vault_params.sh" script for automated credentials
# creation for this pipeline in either Vault or CredHub.
######## AZs and Networks configuration for the tile
networks: |
network:
name: ((services_network_name))
other_availability_zones:
- name: ((az_1_name))
- name: ((az_2_name))
- name: ((az_3_name))
singleton_availability_zone:
name: ((az_1_name))
properties: |
######## General
### The FQDN (not IP) of Harbor instance. Its domain must match the wildcard domain used for generating Harbor certificate.
.properties.hostname:
value: ((harbor_hostname))
######## SSL certificate and private key for Harbor
### SSL Certificate and key PEMs
.properties.server_cert_key:
#
# The "generate_cert_domains" parameter controls the automatic certificates
# generation behavior for this property.
#
# If auto-generation of certs is desired, leave this parameter un-commented
# and update the array of domain names to be used for cert generation.
# e.g. ["harbor.mydomain.com"].
# Leave parameters cert_pem and private_key_pem with empty values in this case.
#
# Otherwise, either comment out or delete this parameter line and
# provide the certificate (cert_pem) and private key (private_key_pem) values
# in the corresponding parameters further below.
#
generate_cert_domains: ["((harbor_domain))"]
value:
cert_pem:
private_key_pem:
### Certificate Authority (CA) for the server certificate. If using self-signed certificate, please paste the corresponding CA here. Leave empty if using root CA of Ops Manager.
.properties.server_cert_ca:
value:
######## Credentials
### The password for the system administrator
.properties.admin_password:
value:
secret: ((harbor_admin_password))
######## Authentication Mode
### Options:
### - db_auth (Internal, i.e. Harbor internal user management)
### - ldap_auth (LDAP)
### - uaa_auth_pks (UAA in Pivotal Container Service)
### - uaa_auth_pas (UAA in Pivotal Application Service)
.properties.auth_mode:
value: db_auth
### if "ldap_auth" is chosen for authentiaction mode, then uncomment and fill out the ldap parameters below
### otherwise, leave this section commented out to avoid Ops Manager parameter settings errors
###
### The LDAP Endpoint URL.
# .properties.auth_mode.ldap_auth.url:
# value: ( ( ldap_auth_url ) )
### Verify LDAP server SSL certificate (flag) - true or false
# .properties.auth_mode.ldap_auth.verify_cert:
# value: ( ( ldap_auth_verify_cert ) )
### The DN of the user who has the permission to search the LDAP server.
# .properties.auth_mode.ldap_auth.searchdn:
# value: ( ( ldap_auth_searchdn ) )
### The password of the user who has the permission to search the LDAP server.
# .properties.auth_mode.ldap_auth.searchpwd:
# value:
# secret: ( ( ldap_auth_searchpwd ) )
### The base DN from which to look up a user in LDAP server
# .properties.auth_mode.ldap_auth.basedn:
# value: ( ( ldap_auth_basedn ) )
### The attribute used in a search to match a user, it could be uid, cn, email, sAMAccountName or other attributes depending on your LDAP server
# .properties.auth_mode.ldap_auth.uid:
# value: ( ( ldap_auth_uid ) )
### Search filter for LDAP server. Make sure the syntax of the filter is correct
# .properties.auth_mode.ldap_auth.filter:
# value: ( ( ldap_auth_filter ) )
### The LDAP scope to search for users
### Options:
### - 0 (Base)
### - 1 (nsx_networking_enabledevel)
### - 2 (Subtree)
# .properties.auth_mode.ldap_auth.scope:
# value: ( ( ldap_auth_scope ) )
### The timeout (in seconds) when connecting to the LDAP Server
# .properties.auth_mode.ldap_auth.timeout:
# value: ( ( ldap_auth_timeout ) )
######## Container Registry Storage
### Container Registry's filesystem
### Options:
### - filesystem (Local File System)
### - s3 (AWS S3)
.properties.registry_storage:
value: filesystem
### if "s3" is chosen for Container Registry Storage, then uncomment and fill out the s3 parameters below
### otherwise, leave this section commented out to avoid Ops Manager parameter settings errors
###
### S3 Access Key
# .properties.registry_storage.s3.access_key:
# value: ( ( s3_registry_storage_access_key ) )
### S3 Secret Key
# .properties.registry_storage.s3.secret_key:
# value:
# secret: ( ( s3_registry_storage_secret_key ) )
### S3 Region
# .properties.registry_storage.s3.region:
# value: ( ( s3_registry_storage_region ) )
### S3 Endpoint URL of your S3-compatible file store
# .properties.registry_storage.s3.endpoint_url:
# value: ( ( s3_registry_storage_endpoint_url ) )
### S3 Bucket Name
# .properties.registry_storage.s3.bucket:
# value: ( ( s3_registry_storage_bucket ) )
### S3 Root Directory in the Bucket
# .properties.registry_storage.s3.root_directory:
# value: ( ( s3_registry_storage_root_directory ) )
######## Clair Settings
### Determine if include Clair in the deployment to support vulnerability scanning (flag: true or false)
.properties.with_clair:
value: true
######## with_notary Settings
### Determine if include Notary in the deployment to support content trust (flag: true or false)
.properties.with_notary:
value: true
######## Errands to disable
errands_to_disable: ""
# smoke-testing, uaa-deregistration
######## Resources
resources: |
harbor-app:
instance_type:
id: large.disk
persistent_disk:
size_mb: "102400"
smoke-testing:
instance_type:
id: medium