forked from alexandreroman/tap-install-gitops
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtap-install-secrets.yml.tpl
More file actions
68 lines (62 loc) · 1.89 KB
/
tap-install-secrets.yml.tpl
File metadata and controls
68 lines (62 loc) · 1.89 KB
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
#@ load("@ytt:yaml", "yaml")
---
#@ def config():
tap:
credentials:
#! Pick one registry for downloading images: Tanzu Network or Pivotal Network
#! (use tanzuNet as key).
tanzuNet:
username: INSERT-TANZUNET-USERNAME
password: INSERT-TANZUNET-PASSWORD
tanzuNet-pivnet:
host: registry.pivotal.io
username: INSERT-PIVNET-USERNAME
password: INSERT-PIVNET-PASSWORD
registry:
username: INSERT-REGISTRY-USERNAME
password: INSERT-REGISTRY-PASSWORD
#! Remove suffix "-disabled" to enable GitHub integration:
#! - set clientId and clientSecret to enable authentication,
#! - set token to download resources from GitHub (such as Backstage catalogs).
github-disabled:
clientId: INSERT-GITHUB-CLIENTID
clientSecret: INSERT-GITHUB-CLIENTSECRET
token: INSERT-GITHUB-TOKEN
#! Remove suffix "-disabled" to enable Backstage persistence.
backstage-disabled:
database:
client: pg
host: INSERT-DB-HOST
port: 5432
username: INSERT-DB-USERNAME
password: INSERT-DB-PASSWORD
#! ---------- Additional configuration beyond basic TAP installation ----------
#! Remove suffix "-disabled" to enable a provider for External DNS.
externalDns:
aws-disabled:
region: eu-central-1
credentials: #! Note internal VMware users: CloudGate credentials will not have the necessary permissions to work
accessKey:
secretKey:
route_fifty_three_zone_id:
cloudflare-disabled:
credentials:
apiToken:
#@ end
---
apiVersion: v1
kind: Secret
metadata:
name: tap-install-gitops-github
namespace: tap-install-gitops
stringData:
username: github
password: INSERT-GITHUB-TOKEN
---
apiVersion: v1
kind: Secret
metadata:
name: tap-install-gitops
namespace: tap-install-gitops
stringData:
tap-secrets.yml: #@ yaml.encode(config())