forked from openshift/installer
-
Notifications
You must be signed in to change notification settings - Fork 2
/
template.go
41 lines (36 loc) · 1.27 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
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
EtcdCaCert string
EtcdClientCert string
EtcdClientKey string
KubeCaCert string
KubeCaKey string
McsTLSCert string
McsTLSKey string
PullSecretBase64 string
RootCaCert string
ServiceServingCaCert string
ServiceServingCaKey string
WorkerIgnConfig string
CVOClusterID string
EtcdEndpointHostnames []string
EtcdEndpointDNSSuffix string
}
type openshiftTemplateData struct {
CloudCreds cloudCredsSecretData
Base64EncodedKubeadminPwHash string
}