Documentation
¶
Index ¶
- Constants
- func CreateCertificates(kluster *v1.Kluster, apiURL, authURL, domain string) (map[string]string, error)
- func EnsureFinalizerCreated(client clientset.KubernikusV1Interface, kluster *v1.Kluster, finalizer string) (err error)
- func EnsureFinalizerRemoved(client clientset.KubernikusV1Interface, kluster *v1.Kluster, finalizer string) (err error)
- func GenerateBootstrapToken() string
- type AltNames
- type Bundle
- type Certificates
- type Config
Constants ¶
View Source
const ( CA_ISSUER_KUBERNIKUS_IDENTIFIER_0 = "SAP Converged Cloud" CA_ISSUER_KUBERNIKUS_IDENTIFIER_1 = "Kubernikus" // This is the default Kubernetes version that clusters are created in DEFAULT_KUBERNETES_VERSION = "1.9.0" )
Variables ¶
This section is empty.
Functions ¶
func CreateCertificates ¶
func EnsureFinalizerCreated ¶ added in v1.5.0
func EnsureFinalizerRemoved ¶ added in v1.5.0
Types ¶
type Bundle ¶
type Bundle struct {
Certificate *x509.Certificate
PrivateKey *rsa.PrivateKey
}
type Certificates ¶
type Certificates struct {
Etcd struct {
Clients struct {
CA Bundle
ApiServer Bundle
}
Peers struct {
CA Bundle
Universal Bundle
}
}
ApiServer struct {
Clients struct {
CA Bundle
ControllerManager Bundle
Scheduler Bundle
Proxy Bundle
ClusterAdmin Bundle
Wormhole Bundle
}
Nodes struct {
CA Bundle
Universal Bundle
}
}
Kubelet struct {
Clients struct {
CA Bundle
ApiServer Bundle
}
}
TLS struct {
CA Bundle
ApiServer Bundle
Wormhole Bundle
}
}
func (*Certificates) MarshalYAML ¶
func (c *Certificates) MarshalYAML() (interface{}, error)
Source Files
¶
- bootstrap.go
- certificates.go
- constants.go
- kluster.go
Click to show internal directories.
Click to hide internal directories.