-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
template.go
47 lines (42 loc) · 1.5 KB
/
template.go
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
package manifests
// AwsCredsSecretData holds encoded credentials and is used to generate cloud-creds secret
type AwsCredsSecretData struct {
Base64encodeAccessKeyID string
Base64encodeSecretAccessKey string
}
// OpenStackCredsSecretData holds encoded credentials and is used to generate cloud-creds secret
type OpenStackCredsSecretData struct {
Base64encodeCloudCreds string
}
type cloudCredsSecretData struct {
AWS *AwsCredsSecretData
OpenStack *OpenStackCredsSecretData
}
type bootkubeTemplateData struct {
Base64encodeCloudProviderConfig string
CVOClusterID string
EtcdCaBundle string
EtcdCaCert string
EtcdClientCaCert string
EtcdClientCaKey string
EtcdClientCert string
EtcdClientKey string
EtcdEndpointDNSSuffix string
EtcdEndpointHostnames []string
EtcdMetricCaCert string
EtcdMetricClientCert string
EtcdMetricClientKey string
EtcdSignerCert string
EtcdSignerClientCert string
EtcdSignerClientKey string
EtcdSignerKey string
McsTLSCert string
McsTLSKey string
PullSecretBase64 string
RootCaCert string
WorkerIgnConfig string
}
type openshiftTemplateData struct {
CloudCreds cloudCredsSecretData
Base64EncodedKubeadminPwHash string
}